BuddyBoss Home – Web Support Forums Solutions Social Learner Disable some features

Viewing 9 posts - 1 through 9 (of 9 total)
  • Question

    #45560
    @familybudgeting

    Hello,

    I love the social learner theme, but for various reasons the “social” aspect doesn’t sit well with my users.

    I’m wanting to know how to turn off:

    – Forums
    – Private messaging
    – Notifications

    When you’re taking a course, there’s a menu on the course index page. Ideally I’d like to remove that menu entirely, but if not then these items:
    – Forum
    – Members
    – Send invites
    – Manage

    Thanks,

    Mike

    Answers

    #45585

    Anonymous
    @

    Hi @familybudgeting, you can disable them from BuddyPress options

    Settings >> BuddyPress
    You can uncheck those component and they will also be removed from menus.
    Regards
    Varun Dubey

    #45624
    @familybudgeting

    Hi Varun,

    Thanks! I’m not familiar with BuddyPress and hadn’t found that menu option.

    But, it doesn’t work as desired. When I disable User Groups and attempt to view a course, I get: “Fatal error: Call to undefined function groups_get_group() in /home/uzziah/public_html/wp-content/plugins/boss-sensei/templates/sensei/content-single-course.php on line 155”

    With User Groups enabled this error goes away.

    It also doesn’t appear to remove the attached forums but I couldn’t see an option for that in BuddyPress. If I disable the bbPress plugin entirely I get 404 errors on my course content.

    Thanks in advance for your help.

    Cheers,

    Mike

    #45661

    Anonymous
    @

    Hi @familybudgeting, Group feature is required for the Social Learner, our complete integration is based on groups.
    Regards

    #45724
    @familybudgeting

    Um, okay, so when I keep Groups enabled but disable the other things, the menu options on a course remain the same.

    So I ask again: How can I remove those options from the course menu?

    #45748

    Anonymous
    @

    Hi @familybudgeting, You can disable forums when you are creating new group or using manage group options.
    Manage is compulsory Menu, for group admin to manage it, and Members indicate for which have joined that group.
    You can remove send invites using custom codes
    You can add following codes inside child theme functions.php

    
     function remove_group_options() {
        global $bp;
    
        bp_core_remove_subnav_item($bp->groups->slug, 'members');
        bp_core_remove_subnav_item($bp->groups->slug, 'send-invites');
    
    }
    add_action( 'bp_setup_nav', 'remove_group_options' ); 
    

    Regards
    Varun Dubey

    #59600
    @melody

    Hi,

    I had a similar error when disabled the User Group options but with the plugin Boss Learndash: “Fatal error: Call to undefined function groups_get_group() in \wp-content\plugins\boss-learndash\templates\learndash\single-sfwd-course.php on line 128”

    It seems that when you remove a course from a group or delete a group, the database is not updated.
    As the course was detected like belonging to a group and could not be changed.

    If you want to remove the error you must have access to your database and here is the solution:
    In the “wp_postmeta” table change all the “meta_key” : “bp_course_group” with a value of “1” to the value “-1”.
    And this is it! 🙂

    Hope it will help people with the same error.
    It will be good if the problem could be resolve in next update.

    Best regards

    #59662

    Anonymous
    @

    Hi @melody

    thanks for your input
    I have suggested developers to take a look of it
    Regards
    Varun Dubey

    #59687
    @melody

    Hi,

    Sorry it seems I was too quick with my message.
    The solution ahead only remove the tabs “Home / Member / Send invite” in the class page which was once in a group.

    With only the first solution if you deactivate the “User group”, the error come back when you register in the course or if you mark completed a lesson.

    In order to resolve the errors, my solution was to totally remove the tables “wp_bp_groups”, “wp_bp_groups_groupmeta” and “wp_bp_groups_members”. (I removed them because there were not present in my database when I installed the theme and plugins. It seems that they are created when you activate the “User Group” option the first time.)
    You should also remove the lines with “meta_key” value of “bp_course_group” in the “wp_postmeta” table.

    @vapvarun thanks for your help 🙂

    Best regards

Viewing 9 posts - 1 through 9 (of 9 total)
  • The question ‘Disable some features’ is closed to new replies.