Replies
- Brajesh Singh on February 2, 2023 at 5:45 pm in reply to: [Resolved] Disable Specific Plugins and Load Specific css on Each Buddyboss Component #48250
Here is a smaple code.
add_action( 'bp_template_redirect', function () { if ( bp_is_user() ) { // do somethign here. } } );You need to call the functions after they have been loaded. Most of the plugins complete their loading by ‘plugins_loaded’ action(there are some exceptions) and you can use it after that. There is another aspect(if the state is ready) when you call, for example, if you call is_page() on plugins_loaded, It will false even one page as the main query is not set. so, you need to understand these 2 aspects.
Regards
Brajesh - Brajesh Singh on February 2, 2023 at 5:40 pm in reply to: log error class-badge-display-helper #48249
Hi,
Please upgrade to 1.2.6. it is fixed.
This happens when some plugin or code disables user roles/removes all roles.Regards
Brajesh - Brajesh Singh on February 1, 2023 at 8:10 pm in reply to: [Resolved] Buddypress register redirect url #48244
Hi Iain,
I am sorry for the inconvenienceDo you an a staging setup? If yes, Please grant me temporary admin access and share the etails. I can quickly check it for the issue.
Regards
Brajesh - Brajesh Singh on February 1, 2023 at 7:58 am in reply to: BuddyPress Xprofile Custom Field Types – Image Upload Error Message #48231
Hi Ranadeep,
Welcome to BuddyDev support forums.I am sorry but I am unable to find that message in the plugin.
We do have “File type not allowed:” message.Can you re-check if you are using the plugin from us. The message you are referring to was part of the original plugin(which we forked after it was abandoned).
Please let me know and I will assist.
Regards
Brajesh - Brajesh Singh on February 1, 2023 at 7:54 am in reply to: [Resolved] author archive doesnt work #48230
Hi,
Thank you for letting us know.
I am glad it is resolved.Regards
Brajesh - Brajesh Singh on February 1, 2023 at 7:47 am in reply to: log error class-badge-display-helper #48229
Hi,
Thank you for reporting the issue.I am sorry for the inconvenience.
For some reason, one of your user roles is empty causing it. I will release an update to fix the notice.Regards
Brajesh Hi Carsten,
We will have a better idea once we re-check the code. We will update you in next 2 days.Regards
Brajesh- Brajesh Singh on February 1, 2023 at 7:40 am in reply to: [Resolved] Make the BP profile field for URL clickable to get redirected in new window #48227
Hi Daniel,
Thank you.
That’s good to know.Time is the most valuable commodity. So, we try to minimize non essential work.
I am glad to know that you are doing better with the code now 🙂
Regards
Brajesh - Brajesh Singh on February 1, 2023 at 7:38 am in reply to: [Resolved] How can I completely remove data after deleting plugin? (Conditional fields BP) #48226
Hi Richard,
You are welcome. Hi Nik,
Thank you.
Currently, we are using ‘edit_others_posts’ capability which should be fine for editors to approve. If it is not, there is a probability that you are using a custom post type with mapped capability.You can filter on ‘bblpro_user_can_moderate_posts’ to return true for allowed users and false for not allowed.
Regards
Brajesh