Replies
- Ravi on August 21, 2019 at 6:51 am in reply to: [Resolved] How do I only hide admin accounts with Profile Visibility Manager? #24808
Hello Kurt
Thank you for purchasing the plugin. Please let me know is there any chance of more than one admin on your site.
If No,
Please enable “Only site admin can update user settings” then only site admin can set profile visibility and you can set the prefrence for the admin under profile setting Profile Privacy tab.
Regards
Ravi - Ravi on August 8, 2019 at 9:51 am in reply to: [Resolved] Design problems with the User Testimonials plugin #24536
Hello Gregg,
Thank you for the acknowledgement.
Regards
Ravi - Ravi on August 7, 2019 at 7:12 am in reply to: [Resolved] Design problems with the User Testimonials plugin #24513
Hello Gregg,
I have added some CSS code into the customizer custom css panel. Please take a look.
Regards
Ravi - Ravi on August 6, 2019 at 4:49 am in reply to: [Resolved] Design problems with the User Testimonials plugin #24498
Hello Gregg,
Thank you for posting.Please link me to your site with some testing account detail sothat I can help you with some css to fix this issue.
Regards
Ravi - Ravi on August 6, 2019 at 4:43 am in reply to: [Resolved] Altering my buddydev php restrict code to only allow access to a page type #24496
Hello Kristian,
Thank you for the kind words. I am glad that I could help.
Regards
Ravi - Ravi on August 5, 2019 at 5:33 am in reply to: [Resolved] Altering my buddydev php restrict code to only allow access to a page type #24484
Hello Kristian,
Thank you for posting. Try the following code for allow access to listing page for not loggedin users.
/** * Restrict access to BuddyPress for non logged users completely. */ function buddydev_restrict_bp_pages() { if ( ! is_buddypress() || bp_is_register_page() || bp_is_activation_page() ) { return; } if ( is_user_logged_in() ) { return; } elseif ( bp_is_current_component( 'listings' ) ) { // Replace by your component name if not works. return; } bp_core_redirect( wp_login_url() ); } add_action( 'bp_template_redirect', 'buddydev_restrict_bp_pages' );Please let me know if works or not.
Regards
Ravi- This reply was modified 7 years, 3 months ago by
Ravi.
- This reply was modified 7 years, 3 months ago by
- Ravi on July 30, 2019 at 9:35 am in reply to: [Resolved] BuddyPress Editable Activity doesnt work well with MediaPress #24405
Hello Milan,
Thank you for the acknowledgment.
Regards
Ravi - Ravi on July 30, 2019 at 9:34 am in reply to: [Resolved] BuddyDev Moderation: Exclude specific groups from having the Report button. #24403
Hello Gregg,
Thank you for the acknowledgment.
Regards
Ravi - Ravi on July 29, 2019 at 10:07 am in reply to: [Resolved] BuddyPress Editable Activity doesnt work well with MediaPress #24387
Hello Milan,
Please try the following code. It will allow editing MediaPress activity text.
function buddydev_modify_activity_allowed_type( $allowed_types ) { if ( ! in_array( 'mpp_media_upload', $allowed_types ) ) { $allowed_types[] = 'mpp_media_upload'; } return $allowed_types; } add_filter( 'bp_editable_activity_allowed_type', 'buddydev_modify_activity_allowed_type' );Please let me know it works.
Regards
Ravi - Ravi on July 29, 2019 at 7:57 am in reply to: [Resolved] BuddyDev Moderation: Exclude specific groups from having the Report button. #24386
Hello Gregg,
Please try the following code. It will hide report button form certatin groups.
function buddydev_modify_report_button( $button, $args ) { if ( 'bp_group' != $args['item_type'] ) { return $button; } // Replace by you groups id. $hide_for_groups = array( 43, 42 ); if ( in_array( $args['item_id'], $hide_for_groups ) ) { $button = ''; } return $button; } add_filter( 'bpmts_report_button', 'buddydev_modify_report_button', 10, 2 );Please let me know if works.
Regards
Ravi