BuddyBoss Home – Web Support Forums Solutions Social Learner Forum Tab on Course Page

  • This topic has 24 replies, 2 contibutors, and was last updated 9 years ago by Anonymous.
Viewing 15 posts - 1 through 15 (of 25 total)
  • Question

    #42912
    @dbayless

    How can I get rid of the “Forum” tab on an individual Course Page?

    • I have enabled the BuddyPress User Group component
    • I have activated BuddyPress for Sensei, but
    • I have disabled (BuddyPress) Group Forums

    In other words, I use bbPress for general discussions and BuddyPress Groups for course-specific conversations.

    The menu on the Groups page (e.g. http://humanscalebusiness.org/groups/navigating-the-valley-of-broken-dreams-group/, screenshot attached) includes a “Course” tab on the Group menu, and the tab links to the appropriate course summary page (e.g. http://humanscalebusiness.org/groups/navigating-the-valley-of-broken-dreams-group/experiences/).

    However, if I go to the Course page associated with the Group (e.g. http://humanscalebusiness.org/course/broken-dreams/), there is a “Forum” tab in the menu (see attached screenshot). When one clicks on the Forum tab, one is directed to the 404 error page (see attached screenshot).

    I’m really excited about this theme – I think it’s going to work brilliantly for our needs. I appreciate your help in figuring out a handful of configuration challenges.

    Answers

    #42928

    Anonymous
    @

    Hi @dbayless, It have missing condition to check for active status of Forum for Current Group. that’s why it is displaying forums tab even it is not active.
    it is added inside boss-sensei/Templates/Sensei/content-single-course.php
    Line 172
    update it with following code

    
     <?php if ( !empty( $group_data->enable_forum ) ){ ?>
                                        <li id="nav-forum-groups-li"><a href="<?php echo $group_slug.'/forum/'; ?>" id="nav-forum"><?php _e('Forum','boss-sensei'); ?></a></li>
                                      <?php } ?>
    

    It will be fixed in next version
    Regards
    Varun Dubey

    #42938
    @dbayless

    @vapvarun, thanks for the quick reply!

    However, when I copy and paste the code snippet into Line 172 of content-single-course.php (see screenshot), I don’t get the expected results in the Course page menu (see second attached screenshot).

    What have I done incorrectly?

    #42943

    Anonymous
    @

    Hello @dbayless, you have added at wrong location send your login details at [email protected] i will add them.
    It need to be added inside plugins folder
    boss-sensei/Templates/Sensei/content-single-course.php

    Replace

    
    <li id="nav-forum-groups-li"><a href="<?php echo $group_slug.'/forum/'; ?>" id="nav-forum"><?php _e('Forum','boss-sensei'); ?></a></li>
    

    and add

    
    <?php if ( !empty( $group_data->enable_forum ) ){ ?>
                                        <li id="nav-forum-groups-li"><a href="<?php echo $group_slug.'/forum/'; ?>" id="nav-forum"><?php _e('Forum','boss-sensei'); ?></a></li>
                                      <?php } ?>
    

    Regards
    Varun Dubey

    #42958
    @dbayless

    @vapvarun, I’m following your instructions to the best of my ability to no avail.

    When is the next version of the plugin expected to be published? If it’s not going to be long, I think I can wait.

    #42961

    Anonymous
    @

    It will be updated shortly
    Regards
    Varun Dubey

    #42966
    @dbayless

    Varun, I’ll just hold out until the next plugin update.

    Thanks for your help! I really appreciate your responsiveness.

    #42988

    Anonymous
    @

    🙂 welcome

    #46355
    @dbayless

    @vapvarun, do you have any idea when the fix for this problem is scheduled to be implemented?

    #46379

    Anonymous
    @

    Hey @dbayless, i can provide you development copy it is fixed inside that. We are added other priorities fixes to next version it may be released within week.
    Regards
    Varun Dubey

    #46387
    @dbayless

    Thanks, Varun. I can hold on for the fix. I just wanted to make sure one was in the pipeline.

    #46470

    Anonymous
    @

    Hi @dbayless , i have checked it again it is already pushed last week , you can download updates from my account section or can update Boss Sensei plugin.
    Regards
    Varun Dubey

    #46506
    @dbayless

    Varun, I think I’ve got everything updated, but I’m still having the problem. Here is what is installed on my site right now:

    • Boss. Theme 1.2.0
    • Buddy Boss Wall 1.2.1
    • Social Learner for Sensei 1.0.3
    • Boss for Sensei 1.0.2
    • BuddyPress for Sensei 1.0.8

    When I navigate to http://humanscalebusiness.org/course/reaching-break-even-cash-flow/, I still get the “Forum” tab (see attached screenshot) on the BuddyPress menu. As you can see from the second attached screenshot, I’ve turned off the Settings > Forums > Enable Group Forums option.

    What am I missing?

    #46514

    Anonymous
    @

    Hi @dbayless it was marked done on the basis way of testing,

    They have added codes on the basis of dual condition if bbpress is active and group have a forum id
    if(function_exists(‘bbpress’) && $forum_id)
    might be you have linked that group with forum earlier and it gets the forum id inside database

    they should have to checked different condition group forum is enabled or not on the basis of group id
    if ( !empty( $group_data->enable_forum ) )

    exactly like i had pasted above responses.

    I have notified about this to developers again

    Sorry for keep waiting for this small fix from long time.

    Regards
    Varun Dubey

    #46516
    @dbayless

    Varun, you wrote:

    might be you have linked that group with forum earlier and it gets the forum id inside database

    I think you are right. I do recall playing around with course-linked forum before deleting the form and turning off the option.

    Thanks!

Viewing 15 posts - 1 through 15 (of 25 total)
  • The question ‘Forum Tab on Course Page’ is closed to new replies.