Replies
- Ravi on December 2, 2021 at 7:04 am in reply to: BuddyPress Auto Friendship Pro feature suggestion #41882
Hello Tosin,
Thank you for the suggestion. Yes, We already have this feature on our ToDo list of the plugin and will try to implement this as soon as possible. We will update you accordingly.
Regards
Ravi Hello Lance,
Please try the following code and change exclude page ids with yours. Please let me know it helps you or not.
/** * Make a WordPress site Private, works with/Without BuddyPress * * @author sbrajesh * @global string $pagenow * */ function buddydev_private_site() { // Do not restrict logged in users. if ( is_user_logged_in() ) { return; } global $pagenow; // Are we on login page or site front page? if ( $pagenow == 'wp-login.php' || is_front_page() ) { return; } // Change page ids with yours. $exclude_page_ids = array( 7, 8 ); if ( is_page( $exclude_page_ids ) ) { return; } // Handle Special case of BuddyPress registration/Login. if ( function_exists( 'is_buddypress' ) && is_buddypress() ) { if ( bp_is_activation_page() || bp_is_register_page() ) { return; } } // Get login page url. $redirect_url = wp_login_url( site_url( '/' ) ); wp_safe_redirect( $redirect_url ); exit( 0 ); } add_action( 'template_redirect', 'buddydev_private_site', 0 );
Regards
RaviHello Lance,
Please confirm. Are you referring to the following blog?
https://buddydev.com/making-a-wordpress-buddypress-site-private-the-right-way/Please take a look at the following plugin:
https://wordpress.org/plugins/buddypress-members-only/Regards
RaviHello Lance,
Thank you for praising our work. Please point me to the blog post you are talking about so that I can help.
Regards
RaviHello RK,
Thank you for sharing the details. I have tried after updating the plugin settings and it is showing now. There might be any cache causing the issue. Please check.
Regards
Ravi- Ravi on November 30, 2021 at 6:13 pm in reply to: Show Member Type Under profile name in Profile and members page #41839
Hello Ashwin,
Please check whether members-loop.php has been overridden by the theme. You can locate this file under Active Theme Directory > buddyPress > members > members-loop.php. If found please check whether the following section is there in the theme template or not.
<?php if ( bp_nouveau_member_has_extra_content() ) : ?> <div class="item-extra-content"> <?php bp_nouveau_member_extra_content() ; ?> </div><!-- .item-extra-content --> <?php endif ; ?>
Regards
Ravi - Ravi on November 30, 2021 at 4:53 pm in reply to: Show Member Type Under profile name in Profile and members page #41835
Hello Ashwin,
Try the following code I have checked it with the BuddyPress Nouveau template and it shows member type details.
add_filter( 'bp_after_member_type_list_parse_args', function ( $args ) { if ( bp_is_user() || bp_is_members_directory() ) { $args['show_all'] = true; } return $args; } ); add_action( 'bp_directory_members_item', function () { bp_member_type_list( bp_get_member_user_id(), array( 'label' => array( 'plural' => __( 'Member Types', 'buddypress' ), 'singular' => __( 'Member Type', 'buddypress' ), ), 'list_element' => 'span', ) ); } );
Please let me know if it helps or not.
Regards
Ravi - Ravi on November 30, 2021 at 4:31 pm in reply to: [Resolved] media uploader shortcode doesn’t show member’s gallery #41834
Hello,
Thank you for posting. The shortcode you are using will show only the Media uploading form. For listing Member’s galleries you can use the [mpp-list-gallery] shortcode. For more info please refer to the following url.
https://buddydev.com/mediapress/shortcodes/mediapress-gallery-listing-shortcodes/
Regards
Ravi Hello kiki,
Please upgrade your plugin and check. We have added support for marking recent visitor’s notifications as read when the user clicks on them.
Regards
RaviHello Kiki,
I have checked and found that is not a bug in a plugin it is normal behaviour as BuddyPress local notifications. BuddyPress does not mark a notification as read unless you mark the notification as read using the action link next to the notification.
Are you facing marking notification as read using action links also?.
Please let me know
Regards
Ravi