Replies
- Brajesh Singh on March 21, 2017 at 9:46 pm in reply to: [Resolved] Prevent Hyperlinks in the BuddyPress Activity #8032
You are welcome Thank you for confirming Dandy 🙂
- Brajesh Singh on March 21, 2017 at 9:42 pm in reply to: [Resolved] Different home page for logged in users #8031
Hi George,
Thank you for asking. It is a very good question.yes, It is easily doable.
here is the code that you can use to display a different page on home page for logged in user
/** * When a user is logged in, tell WordPress to use 'page' on front page of the site * @param string $value * * @return string */ function buddydev_set_page_as_front_for_loggedin_user( $value ) { if ( is_user_logged_in() ) { $value = 'page';//page is set as front page } return $value; } add_filter( 'pre_option_show_on_front', 'buddydev_set_page_as_front_for_loggedin_user' ); /** * For logged in users, set our static page to act as home page * * @param $value * * @return int */ function buddydev_set_context_based_page_on_front( $value ) { if( ! is_user_logged_in() ) { return $value; } //for logged in user, use page id 9 return 5;//change with your own page id. } add_filter( 'pre_option_page_on_front', 'buddydev_set_context_based_page_on_front' );You can change the page_id with your own id.
Hope that helps.
Regards
Brajesh - Brajesh Singh on March 21, 2017 at 8:50 pm in reply to: The stealth mode is only active for one Admin #8030
Hi,
You can login as the other user( You can use https://wordpress.org/plugins/user-switching/ for switching user) and set it from their profile settings screen.Hope that helps.
Regards
Brajesh Hi Xochi,
I am sorry, it is not yet possible. We will add it this quarter for sure.- Brajesh Singh on March 20, 2017 at 11:07 pm in reply to: Displaying title and user on shortcode pages #7977
Hi Xochi,
I am not sure of the issue. I am going to ask @ravisharma to take a fresh look at this and see if he can help here.Thank you
Brajesh - Brajesh Singh on March 20, 2017 at 11:06 pm in reply to: [Resolved] Bp branded login and activation links #7976
Hi Daniele,
Thank you for posting.You are right, It seems we did not consider the activation as we only considered BuddyPress registration.
We can add support for custom account activation page or we can let wp-login.php handle it.
What will be more useful for you ? Please let me know and we can update the plugin.Thank you
Brajesh Hi Clay,
Thank you for posting.We support “order” and “orderbyy” options in teh gallery list shortcode. By default, it is sorted by date in descending order.
You can use the following options in the shortcode
[mpp-list-gallery order =’DESC’ orderby = ‘date’]All the values for order/orderby supported in WP_Query are supported in the shortcode.
https://codex.wordpress.org/Class_Reference/WP_Query#Order_.26_Orderby_Parameters
Hope that helps.
Regards
Brajesh- Brajesh Singh on March 18, 2017 at 10:44 pm in reply to: [Resolved] Conditional Profile Fields #7964
Thank you Denis,
I and my team will be a bit off tomorrow. Please allow me to post a solution on Monday.Thank you
Brajesh You are welcome. Please do let me know if using the plugin worked for you or not?
I can provide code to avoid any image generation by Community Builder but that may not be the best solution.