Replies
- Brajesh Singh on October 9, 2024 at 1:19 pm in reply to: “Post Visiblity” in translation file is not Buddyblog Pro translation file #53284This reply has been marked as private.
- Brajesh Singh on October 8, 2024 at 9:13 pm in reply to: [Resolved] Limit invitations to avoid beeing spammed #53278
Hi Alex,
Thank you for the question.I am afraid, I lack the time to look much into this.
Something like this may work for you.
add_filter( 'bp_user_can', function ( $retval, $user_id, $capability, $site_id, $args ) { if ( 'bp_members_send_invitation' !== $capability ) { return $retval; } $count = BP_Invitation::get_total_count( array( 'inviter_id' => $user_id ) ); $max_allowed = 20;// change it. if ( $count >= $max_allowed ) { $retval = false; } return $retval; }, 10, 5 );
I haven’t tested it, Please test it by setting lower limit and see if that works?
Regards
Brajesh - Brajesh Singh on October 8, 2024 at 8:51 pm in reply to: [Resolved] Buddyboss – hide admin user id from member directory and network search. #53276
Hi J,
Thank you for the reply.1. The code will work fine with members directory without any issue.
2. For the network search, I will suggest testing with each BuddyBoss major release.About the other issue related to activity, Please contact BuddyBoss. It is a very much BuddyBoss specific behaviour and I believe they should be able to assist you with it better than I can.
Regards
Brajesh Hi Lawerence,
Thank you for the reply.MediaPress does not offer mixed gallery out of the box.
You will need to hire a developer to allow mixed gallery. Changing label is easy. They can be translated.
Regards
Brajesh- Brajesh Singh on October 8, 2024 at 6:35 pm in reply to: [Resolved] Buddyboss – hide admin user id from member directory and network search. #53272
Hi,
In the first snippet, you can replace 1,2,3 etc with the actual user ids(example 1, 5, 7,9 etc).In the second snippet, I have shown exact code needed to exclude the ‘administrator’ role. That should be good enough for your use case without any modification. You don’t need the first snippet.
Regards
Brajesh - Brajesh Singh on October 8, 2024 at 5:55 pm in reply to: [Resolved] Buddyboss – hide admin user id from member directory and network search. #53270
Hi J,
Welcome to BuddyDev support forums.Here is a link that shows exact code for hiding admin users from members directory.
https://buddydev.com/hiding-users-on-buddypress-based-site/
I am not sure if that will help you with network search though.
Regards
Brajesh - Brajesh Singh on October 7, 2024 at 8:15 pm in reply to: [Resolved] Would it be possible for the uploaded images to be downloaded to the default wor #53263
You are welcome.
- Brajesh Singh on October 7, 2024 at 8:09 pm in reply to: [Resolved] How to completely remove Buddydev plugins including deleting all files? #53262
Hi,
Since BuddyPress or Multi network is not active, the order does not matter.Your delete button is for deleting entries from table(deleting data). You can visit the Operations table and drop that table. Be careful and cross check that you are only deleting that table.
Regards
Brajesh - Brajesh Singh on October 7, 2024 at 4:11 pm in reply to: [Resolved] Would it be possible for the uploaded images to be downloaded to the default wor #53258
Hi,
Welcome to Buddydev support forums.We are unable to assist you with Youzify. The Youzify team is in a better position to assist you.
Please contact their support team here on wordpress.org
https://wordpress.org/support/plugin/youzify/I hope they will assist with it.
Regards
Brajesh - Brajesh Singh on October 7, 2024 at 8:41 am in reply to: BuddyPress User Profile Tabs Creator Pro – Remove default sub nav? #53256
Hi Frank,
Welcome to BuddyDev support forums.
BuddyBoss needs a default sub tab for all of its tabs.
There are 2 ways.1. If you remove the default sub tab, you will need to use another sub nav as sub tab. e.g notifications should be made the default.
2. Or you can get rid if the whole tab.
Since you are only interested in removing the default sub tab of the settings, Please set another sub tab of setting as default tab and it will work.
Regards
Brajesh