Replies
- Brajesh Singh on August 29, 2020 at 8:06 pm in reply to: Custom Profile Tabs – new subnav button is not responding #32837
Hi,
Select 2 is a library for enhancing selectbox experience. It seems one of the plugins is loading it and inappropriate applying it on all the select boxes.We do not use select2 for this plugin. It is coming from another plugin. If you can share the list of active plugins, I may be able to guess which one is doing it.
Regards
Brajesh - Brajesh Singh on August 29, 2020 at 7:42 pm in reply to: [Resolved] Member Types Pro – validation of group registrations #32836
Hi Olivier,
Thank you for the patience.Please upgrade to 1.4.5 and put this code in your bp-custom.php
// enable private group joining request by Member Types pro(instead of auto joining user to the group). add_filter( 'bpmtp_enable_group_join_as_request', '__return_true' );It will send the group join request for private groups instead of auto joining them. Please note that only Private groups support request. Hidden/public groups do not support request.
Regards
Brajesh - Brajesh Singh on August 29, 2020 at 7:03 pm in reply to: Restrict Email Domains – Limit to only one signup form? #32835
Hi David,
Thank you for the reply.Please upgrade to 1.1.3 and put this code in your theme’s functions.php
// Disable WP restrict email domains for all plugins except ultimate member. add_filter( 'wp_restrict_email_domains_integration_enabled', function ( $enabled, $plugin_id ) { if ( 'um' !== $plugin_id ) { $enabled = false; } return $enabled; }, 10, 2 );That will make sure that it is only active for ultimate member.
Regards
Brajesh - Brajesh Singh on August 29, 2020 at 6:14 pm in reply to: [Resolved] Hide Core Tabs using BuddyPress User Profile Tabs Creator Pro #32827
You are welcome.
- Brajesh Singh on August 29, 2020 at 6:14 pm in reply to: Custom Profile Tabs – new subnav button is not responding #32826
Hi,
It seems to be a javascript conflict.Please open the browser console on the new/edit tab page( if you are using chrome, you can press ctrl+shift+I) and check the “Console” tab. Please post me the error message you see there.
Regards
Brajesh - Brajesh Singh on August 29, 2020 at 4:26 pm in reply to: [Resolved] Remove Report and Block buttons from div#item-meta, functions to override? #32823
Hi Carsten,
Thank you for the update.Yes, that’s using selector to scope the rules.
Regards
Brajesh - Brajesh Singh on August 29, 2020 at 4:25 pm in reply to: Blog Post – Allow activity authors to delete activity comments by other users… #32822
Hi John,
The problem is we are relaying on the javascript included in the legacy template pack for communicating the action to the server.When you are moving the link, I am assuming it is changing the selector scope for the button and the legacy javascript is not able to handle that.
That’s why it is not working.
If you want, you can copy the code from buddypress.js and modify to achieve the same.
Regards
Brajesh - Brajesh Singh on August 29, 2020 at 4:23 pm in reply to: BuddyPress Moderation Tools – Users are able to report their own Comments, #32821
Hi John,
Thank you for the details.
Thais code seems to be the button.The button has no knowledge whether it should be visible or not.
We put the button behind a gate like this
if ( is_user_logged_in() && bpmts_is_me( bp_get_activity_user_id() ) ) { return; } if ( bpmts_user_can_report() ) { bpmts_report_button( array( 'item_id' => bp_get_activity_id(), 'item_type' => 'bp_activity', 'context' => bp_get_activity_object_name(), 'context_id' => bp_get_activity_item_id(), 'use_wrapper' => false, 'link_class' => 'button item-button bp-secondary-action bpmts-activity-report-button', ) ); }to make sure it is not visible to the unauthorized users(including self).
Regards
Brajesh - Brajesh Singh on August 29, 2020 at 3:51 pm in reply to: [Resolved] Buddyblog in Multisite environment #32820This reply has been marked as private.
Hi Anders,
You will need to modify member-loop.php and implement your own grid.You may take a look at either Community Builder or BuddyBoss platform for inspirations on how to have a members grid.
Thank you
BrajeshPS:- In future, Please make sure to mention if the media is NSFW.