Replies
- Ravi on November 14, 2021 at 3:37 pm in reply to: Buddy Boss & Anonymous Posing Add-on Plugin #41575
Hello RK,
Sorry for the inconvenience. Please let me know what issue exactly you are facing i.e. Are you facing a problem in posting anonymous activity or activity comments? or Posted anonymous activity is not anonymous any more means showing posting user details.
Please let me know so that I can help.
Regards
Ravi - Ravi on November 14, 2021 at 3:30 pm in reply to: [Resolved] Suspended users can be messaged from existing message threads #41573
Hello Nifty,
Sorry for the inconvenience and thank you for the suggestion. We will check the issue as well as the implementation feasibility and will update you.
Regards
Ravi- This reply was modified 3 years, 8 months ago by
Ravi.
- This reply was modified 3 years, 8 months ago by
- Ravi on November 10, 2021 at 9:39 am in reply to: [Resolved] Prevent users’ access to other pages and articles #41529
Hello Niculae,
Thank you for the acknowledgement. Sorry, But I can not help you much with this issue. For suggestion, Why don’t you disable the editor in the content field?
Regards
Ravi Hello Kiki,
Please replace the following code with this:
instead of
// Replace this by user level name. if ( $level && $level->name = 'gold' ) { return true; }
use this comparison with level id.
// Replace this by user level name. if ( $level && $level->ID == 1 ) { return true; }
You can locate Level id using the following screenshot:
https://www.awesomescreenshot.com/image/16481660?key=002369155b0b6d20f3ea154d40c58042
Regards
RaviHello Nick,
Please check the following screenshot:
https://www.awesomescreenshot.com/image/16480708?key=71a3d5104d8b5df28d5315361d81949f
‘manage_forum_posts_custom_column’ is a dynamic action for “manage_{$post_type}_posts_custom_column”
Actual hook
do_action( "manage_{$post->post_type}_posts_custom_column", $column_name, $post->ID );
Please check.
Regards
Ravi- This reply was modified 3 years, 8 months ago by
Ravi.
- This reply was modified 3 years, 8 months ago by
Hello Nick,
Try the following code. It will add a new column named “Shortcode” in the Forums list table screen admin section.
// Add the custom columns to the book post type: add_filter( 'bbp_admin_forums_column_headers', 'buddydev_add_shortcode_column' ); function buddydev_add_shortcode_column($columns) { $columns['shortcode'] = __( 'Shortcode' ); return $columns; } // Add the data to the custom columns for the book post type: add_action( 'manage_forum_posts_custom_column' , 'buddydev_render_shortcode_column', 10, 2 ); function buddydev_render_shortcode_column( $column, $post_id ) { switch ( $column ) { case 'shortcode' : echo "[bbp-single-forum id={$post_id}]"; break; } }
Regards
RaviHello Kiki,
Please try the following code it will disable “Recent profile visits component” by Paid Membership Pro membership name.
add_filter( 'visitor_is_enabled_for_user', function ( $is_enabled, $user_id ) { if ( ! function_exists( 'pmpro_getOption' ) ) { return $is_enabled; } $level = pmpro_getMembershipLevelForUser( $user_id ); // Replace this by user level name. if ( $level && $level->name = 'gold' ) { return true; } // All other cases return false. return false; }, 10, 2 );
Regards
RaviThank you for contacting us.
- Ravi on November 9, 2021 at 5:52 am in reply to: [Resolved] Unable to create subgroups (nothing in config to activate so) #41503
Hello Bruno,
Thank you for posting.
A)
Using a plugin that allows selecting a group as parent groups. There are a few alternatives herehttps://github.com/dcavins/hierarchical-groups-for-bp
or
https://wordpress.org/plugins/bp-group-hierarchy/I will suggest trying the first and see if that works for you.
B)
For the Nouveau template pack please contact the theme author and ask them whether they support the Nouveau template pack or not.For any assistance please do let me know.
Regards
Ravi - Ravi on November 8, 2021 at 10:11 am in reply to: [Resolved] Prevent users’ access to other pages and articles #41490
Hello Niculae,
Thank you for the acknowledgement. Please update the following line of code:
use
$buttons = array_diff( $buttons, array( 'link', 'wp_more' ) );
instead of
$buttons = array_diff( $buttons, array( 'link' ) );
Regards
Ravi