Documentation
BuddyBoss Web
BuddyBoss Web
Learn how to install, configure and customise the BuddyBoss Platform and Theme to launch your online community or elearning site
BuddyBoss App
BuddyBoss App
Read our guides as we setup and configure your BuddyBoss App, including configuration, branding, testing and publishing your very own native app
Integrations
Integrations
Extend your site with our official and third party plugins. We’ll explain what’s possible and how they improve your Web and App experience
Recent Articles
Sort the Courses in Profile Page Based on the Course Order Number
Unfortunately, we don't have an option to change the order directly; it will require custom work. However, you can use the following custom code to change the order of courses based on a custom field like course_order. You can add this code to your child theme’s functions.php file: https://codeshare.io/9bZeOV For this custom order to work, you need to add a custom field named course_order to each course: Go to LearnDash LMS > Courses in your WordPress dashboard. Edit each course. Scroll down to the Custom Fields section. Add a custom field named course_order and assign it a value (e.g., 1 for the first course, 2 for the second, etc.). Save the course. If you don't have custom field support enabled, you'll need to activate it for your LearnDash courses.
Hide "A username and password must be provided. Lost your password?" from the Sign-in Page
Please be advised that there's currently no out-of-the-box option to do this in BuddyBoss. Modifications are typically considered custom work, but we are making an exception in this case. Kindly check our Support Policy here: https://www.buddyboss.com/support-policy/. Kindly note that if it’s hidden, users won’t know what the issue is if they enter incorrect details while logging in. Kindly try adding the following code. 1. Go to Appearance > Theme File Editor 2. Under “Select theme to edit”, choose (BuddyBoss Child/Whatever theme is active), then click “Select”. 3. Below Theme Files, select Theme Functions (functions.php). 4. Append the following just before the closing PHP tag “?>”: function bb_hide_msg_on_login_css() { echo ''; } add_action('login_enqueue_scripts', 'bb_hide_msg_on_login_css'); NOTE: Please make a backup of your site. 5. Click “Update File”.
Notify me of new replies default enabled
By default, we do not have a setting on the BuddyBoss Platform that will make the "Notify me of New Replies" enabled by default when posting New Discussion on Forums. However, you can use the JavaScript code below to achieve this. Please follow the steps below: 1. Go to BuddyBoss > Theme Options 2. Under JavaScript, enable JavaScript 3. Append the following: jQuery(document).ready(function($) { $("#bbp_topic_subscription").prop('checked', true); }); 4. Save changes. Note: Any modifications are considered custom work already. Know more about our Support policy here: https://www.buddyboss.com/support-policy/ Without the code: With the code:
Display the Submenu in the Header Horizontally
Please be advised that, as of now, BuddyBoss does not have an out-of-the-box option for this. Modifications are generally considered custom work; however, we are making an exception in this case. Kindly review our Support Policy here: https://www.buddyboss.com/support-policy/. Please try adding the following CSS code. Kindly note that if the submenu has more than 4 items, this code might not work as expected. 1. Go to BuddyBoss > Theme Options 2. Under Custom Codes, enable CSS 3. Append the following: .bb-template-v2 .site-header #primary-navbar .menu-item>.ab-submenu .bb-sub-menu .menu-item { display: inline-flex; } .site-header #primary-navbar .primary-menu .menu-item>.ab-submenu .bb-sub-menu{ max-width:none; } .site-header #primary-navbar .primary-menu .menu-item>.ab-submenu{ left:-180px; } 4. Save Changes
Hide the View Source of your WordPress site
By default, we do not have a specific setting that will hide the View Source of your WordPress website. However, you ma use a 3rd party plugin that has the capabilities to hide the View Source of your site. The plugin is called Disabled Source, Disabled Right Click, and Content Protection. https://wordpress.org/plugins/disabled-source-disabled-right-click-and-content-protection/ Just to set your expectation, this plugin is a third-party plugin which we are not able to guarantee support and compatibility as we have not fully tested them. However, you are free to try.
Hide the "Share what's on your mind" Box
By default, the platform does not have this option. You can use the following CSS code. Please follow the steps below: 1. Go to BuddyBoss > Theme Options 2. Under Custom Codes, enable CSS 3. Append the following: /*add codes here*/ div#bp-nouveau-activity-form { display: none !important; } 4. Save changes. Note: Any modifications are considered as custom work already. Know more about our Support policy here: https://www.buddyboss.com/support-policy/ Screenshots Without code
Display the Members Within a Group Alphabetically
Please be advised that there's currently no out-of-the-box option to do this in BuddyBoss. Modifications are typically considered custom work, but we are making an exception in this case. Kindly check our Support Policy here: https://www.buddyboss.com/support-policy/. Kindly try adding the following code in your theme files: 1. Go to Appearance > Theme File Editor 2. Under “Select theme to edit”, choose (BuddyBoss Child/Whatever theme is active), then click “Select”. 3. Below Theme Files, select Theme Functions (functions.php). 4. Append the following just before the closing PHP tag “?>”: /** * Filter the group member IDs and return them sorted alphabetically by display name. * * @param array $value The array of user IDs to be filtered. * @return array $sorted_users The array of sorted user IDs by display name. */ add_filter('bp_group_member_query_group_member_ids', 'bb_bp_group_has_members'); function bb_bp_group_has_members( $value ) { // Arguments for fetching users by specified IDs and ordering by display name $args = [ 'include' => $value, // Include only the specified user IDs 'orderby' => 'display_name', // Order by display name 'order' => 'ASC', // Ascending order ]; // Fetch users based on the provided arguments $users = get_users( $args ); // Initialize an empty array to hold sorted user IDs $sorted_users = []; // Loop through the users and collect their IDs foreach ( $users as $user ) { $sorted_users[] = $user->ID; } // Return the sorted user IDs return $sorted_users; } NOTE: Please make a backup of your site. 5. Click “Update File”.
Hide Logout Confirmation message
The logout confirmation which may state like if you are sure to logout, click on... is not coming from BuddyBoss. It maybe from other 3rd party plugins installed on your site. At any rate, you can try to add the Function.PHP code on your activated Theme's function.php. We do not have a specific setting for this on the Platform. Please try adding the below Function in your theme files by following these steps: 1. Go to Appearance > Theme Editor 2. Under “Select theme to edit”, choose (BuddyBoss Child/Whatever theme is active), then click “Select”. 3. Below Theme Files, select Theme Functions (functions.php). 4. Append the following just before the closing PHP tag “?>”: function custom_logout_redirect() { wp_redirect(home_url()); // Redirect to homepage, change this URL if needed exit(); } add_action('wp_logout', 'custom_logout_redirect'); 5. Click “Update File” to save the changes. Note: Any modifications are considered custom work already. Know more about our Support policy here: https://www.buddyboss.com/support-policy/
Prevent users from editing their Nicknames on mobile view
By default we do not have a specific setting that will prevent users to edit their Nicknames. You can use the CSS code below to achieve this on your site in a mobile view. 1. Go to BuddyBoss > Theme Options 2. Under Custom Codes, enable CSS 3. Append the following: @media (max-width: 768px) { #profile-edit-form .field_nickname input { pointer-events: none; } } 4. Save changes. Note: Any modifications are considered custom work already. Know more about our Support policy here: https://www.buddyboss.com/support-policy/ With the code: Without the code:
Hide Member Directory Page
By default, the platform does not have this option. You can use the following Function.php code to achieve this. Please try adding the below Function in your theme files by following these steps: 1. Go to Appearance > Theme Editor 2. Under “Select theme to edit”, choose (BuddyBoss Child/Whatever theme is active), then click “Select”. 3. Below Theme Files, select Theme Functions (functions.php). 4. Append the following just before the closing PHP tag “?>”: function bbp_hide_members_directory() { if ( bp_is_members_directory() ) { bp_do_404(); load_template( get_404_template() ); exit( 0 ); } } add_action( 'bp_template_redirect', 'bbp_hide_members_directory' ); 5. Click “Update File” to save the changes. Note: Any modifications are considered custom work already. Know more about our Support policy here: https://www.buddyboss.com/support-policy/ With the code: Without the Code: