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

    #45256
    @kahunaburger

    Just wanted to add your courses/group template does not check to see if Forums are active before adding a link in the group navigation (we are not using the BP forum component).

    Answers

    #45300

    Anonymous
    @

    Hi @kahunaburger

    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

    #45301
    @kahunaburger

    Sorry I forgot I posted this already in another topic. 🙂

    Thanks

    #45339

    Anonymous
    @

    🙂

Viewing 4 posts - 1 through 4 (of 4 total)
  • The question ‘Forums Not Active’ is closed to new replies.