BuddyBoss Home – Web Support Forums Solutions Social Learner Send Invites link to 404 page

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

    #54573
    @adminchroncleproject-com

    Hi,

    When a user is in a subscribed course, there is a tab “Send Invites’ ( http://www.screencast.com/t/TabhDCeaA ) – that links to a 404 error page. http://www.screencast.com/t/1T4mpu6CM0

    Could you help us fix that ? we would rather not have the tab.

    I tried your suggested code from another ticket (see below), but the tab is still there:

    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’ );

    Answers

    #54596

    Anonymous
    @

    Hi, @adminchroncleproject-com, Please try this code to hide ‘Send Invites’ and ‘Members’ tabs from buddypress pages.

    
    function remove_nav_items() {
        bp_core_remove_nav_item( 'invite-anyone' );
        bp_core_remove_nav_item( 'members' );
    
    }
    add_action( 'bp_setup_nav', 'remove_nav_items');
    

    Regards

    #54612
    @adminchroncleproject-com

    Hi,

    Just to clarify, the members tab is fine.

    The “Send Invites” tab is the problem. We do not have that tab “Send Invite’ in the buddypress groups (see here when we are in the group: http://www.screencast.com/t/svutBlzwC3 ), we have it when we are on the course page ( see here: http://www.screencast.com/t/LNnZeyGO ) –

    The course page is not the group page, but have tabs that link to the groups tabs, they are displayed by either the boss sensei plugin or the Social Learner theme I suppose.
    (it should not really, that produces the problem we have and confusion for users!)
    So in the course page (once I am subscribed), I see a ‘Send Invites” tab that link to a 404 error page. Please help me remove that tab.

    Thank you,

    #54645

    Anonymous
    @

    Hi @adminchroncleproject-com

    Sorry for confusion

    It is hard coded in BuddyPress for sensei plugin
    If you do not want to edit Send invite functionality you will need to edit it for now
    else you can install invite anyone plugin

    I have notified to developer to add conditional logic there to display the tab only when invite anyone plugin is active

    Regards
    Varun Dubey

    #54647
    @mln83

    Hi @vapvarun,

    Please if you could notify developers to include conditional logic in BuddyPress for LearnDash plugin as well.

    It’s the same problem there.

    Best regards,
    Michael

    #54675

    Anonymous
    @

    Hi @mln83, I have notified it to our developers it will be fixed soon

    Regards

Viewing 6 posts - 1 through 6 (of 6 total)
  • The question ‘Send Invites link to 404 page’ is closed to new replies.