Replies
Hello Chanel,
Sorry, It didn’t work for you. Please share the screenshot from where you want to remove it. I checked it with the user navigation menu and it works fine there.
Regards
Ravi- Ravi on April 4, 2024 at 6:37 am in reply to: Breadcrumbs using SEO Press + Generate Press Element #52266
Hello La,
Thank you for posting. It seems the breadcrumb feature is a paid feature by SEOPress so it is better to contact the plugin author for the same as they can better assist you with this issue because they better understand what they are doing code-wise.
Regards
Ravi Hello Chanel,
Thank you for posting. I am assuming you are not using the BuddyBlog Pro plugin. Please try the following code:
add_action( 'bp_buddyblog_setup_nav', function () { $user_id = bp_displayed_user_id(); $user = $user_id ? get_user_by( 'id', $user_id ) : null; if ( $user && array_intersect( (array) $user->roles, array( 'administrator' ) ) ) { bp_core_remove_nav_item( 'buddyblog', 'members' ); } }, 15 );
It will remove the user nav menu
Regards
Ravi- Ravi on April 3, 2024 at 7:21 am in reply to: Gallery Counter in the Groups since BuddyPress V12.x everytime “0” #52256
Hello Maurice,
Sorry for the delayed reply. I have checked it on my development server and it is working fine. You can check it here:
https://pasteboard.co/gHRq34apAuEe.png
Please let me know where you put this code or is there any chance you have modified it? if not, Please try to debug after deactivating other plugins, custom code and switching to the default theme temporarily.
Please let me know if it helps or not.
Regards
Ravi - Ravi on April 1, 2024 at 4:09 am in reply to: Gallery Counter in the Groups since BuddyPress V12.x everytime “0” #52237
Hello Maurice,
Thank you for the acknowledgement. I will try it in the evening and let you know.
Regards
Ravi - Ravi on March 29, 2024 at 10:16 am in reply to: Gallery Counter in the Groups since BuddyPress V12.x everytime “0” #52228
Hello Maurice,
Please revert the changes you have made in the code and use the code from the following gist repo.
https://gist.github.com/raviousprime/df00ef5d45426c7766833d40c8bf34f6
Please let me know if it helps or not.
Regards
Ravi - Ravi on March 27, 2024 at 11:57 pm in reply to: Buddypress Moderation User notification on hiding activity not working and links #52225
Hello Casper,
Sorry for the inconvenience. I am sorry for not getting your issue. Please help me to understand your issue so that I can help you. Please let me know if I am right or wrong here.
1. You users are not getting any acknowledgement email that their activity is under moderation or marked as hidden. I am assuming the “Hold new activities in moderation” setting is disabled here.
2. By the “Activity edit tab/page” you are referring to the edit activity screen in the backend?It would be great if you could provide me screenshots or a short video of your issues. Also, let me know which version of the plugins i.e. “BuddyPress Moderation Tools” and “BuddyPress” you are using.
Regards
Ravi Hello Joy,
Thank you for the acknowledgement. I am glad that I could help.
Regards
Ravi- Ravi on March 27, 2024 at 10:58 pm in reply to: Member Type Pro still shows member type on /members page after deleting #52221
Hello Ryan,
Sorry for the inconvenience. There might be chances that Member Type is not deleted completely as BuddyPress create its own entry for the same member type. So there are chances that your directory tab coming from that member type of BuddyPress. To fix this, You need to delete the same member type from there as well. You can delete it by navigating to the Users > Member Types menu in the backend. Please give it a try and let me know.
Regards
Ravi Hello Joy,
I understand your frustration with the email notification issue you’re facing in Buddypress. Let’s try to send BuddyPress emails using the WordPress mail function instead of BuddyPress for that please put the following code in your “bp-custom.php” file.
add_filter( 'bp_email_use_wp_mail', '__return_true' );
After placing this code please give it a try and let me know if the issue still persits or not.
Regards
Ravi