Replies
Hi,
Thank you for the question.
I haven’t used any plugin for similar purpose in past, so I am unable to suggest.You may want to give a shot to the plugins from this page
https://wordpress.org/plugins/tags/tournament/and see if any of them suits you.
Regards
Brajesh- Brajesh Singh on June 17, 2019 at 2:48 am in reply to: [Resolved] redirecting not logged in users to login IF accessing buddypress pages (profile) #23540
Hi Kristian,
Thank you for the question.You may use the following code.
/** * Restrict access to BuddyPress for non logged users completely. */ function buddydev_restrict_bp_pages() { // If Logged in // Or not on BuddyPress pages // Or it is register/activation page // Do not restrict. if ( is_user_logged_in() || ! is_buddypress() || bp_is_register_page() || bp_is_activation_page() ) { return; } bp_core_redirect( wp_login_url() ); } add_action( 'bp_template_redirect', 'buddydev_restrict_bp_pages' );Hope that helps.
Regards
Brajesh - Brajesh Singh on June 17, 2019 at 2:42 am in reply to: [Resolved] Hide member type page from non PMPro members #23539
Hi Daria,
Thank you for the topic.
The restrictions are enforced by PMpro BuddyPress addon and I believe they have forgotten to add support for the member type directory.
If you want, I can assist with custom code to restrict the member type directory or you can ask the PMPro team to add support for the member type directory restrictions.
Regards
Brajesh - Brajesh Singh on June 17, 2019 at 2:39 am in reply to: [Resolved] Plain text mail + compatibility with WP HTML Mail. #23538
Hi Mocha,
Thank you for the question.1. BuddyPress supports HTML email out of the box. If it was not working, Most probably a conflict with 3rd party plugin. I have seen issues when using 3rd party smtp plugins.
2. The above code does not do much. It re enables the html email from BuddyPress(which should be the default case). The settings was being overridden by some code or 3rd party plugin and I don’t see any harm in using the above code.
The only thing it does is instead of using wp_mail() it uses bp_send_email() which uses a custom extend version of PHP Mailer.
The problem with this approach is most of the smtp plugin’s won’t be able to deliver it(the filters are different).
Hope that clarifies
Regards
Brajesh - Brajesh Singh on June 14, 2019 at 9:26 pm in reply to: [Resolved] How to show more than 50 forums in BBPress? #23525
Hi Torben,
Thank you for confirming. I am glad it worked 🙂Regards
Brajesh - Brajesh Singh on June 14, 2019 at 9:18 pm in reply to: [Resolved] How to disable public and private messages for specific users #23523This reply has been marked as private.
- Brajesh Singh on June 14, 2019 at 9:15 pm in reply to: [Resolved] MediaPress Plugin – How Do I Stop Video Uploads? #23522
Hi Propertytips,
Thank you for confirming.TO enable it for some media type and not others? Yes, it is doable via filter but that won’t work on activity screen.
Please allow me to keep this for our major version. We are committing to next phase of MediaPress from August and I am making a list of things to do. I will be adding it too.
Thank you
Brajesh - Brajesh Singh on June 14, 2019 at 9:13 pm in reply to: [Resolved] Mediapress comments and Activity Feed comments #23520
Hi Richard,
Thank you for confirming. I am glad it is working 🙂Regards
Brajesh - Brajesh Singh on June 14, 2019 at 9:12 pm in reply to: [Resolved] Private advice regarding membership payment systems #23519
You are welcome. I hope that WooCommerce works for you.
Regards
Brajesh - Brajesh Singh on June 14, 2019 at 9:11 pm in reply to: @mention autofill on custom dashboard page #23518
Hi Nic,
You may try thisadd_filter( 'bp_activity_maybe_load_mentions_scripts', 'buddydev_enable_mention_autosuggestions', 10, 2 ); function buddydev_enable_mention_autosuggestions( $load, $mentions_enabled ) { if( ! $mentions_enabled ) { return $load;//activity mention is not enabled, so no need to bother } //modify this condition to suit yours if( is_user_logged_in() ) { $load = true; } return $load; }That should do it on all pages.
Regards
Brajesh