I need to remove options like Forums, Setting etc from Student Dashboard Menu

Home Forums Legacy Support 4.0 Bugs & Issues I need to remove options like Forums, Setting etc from Student Dashboard Menu

Viewing 15 posts - 1 through 15 (of 24 total)
  • Author
    Posts
  • #302153
    jimmyahuja07
    Participant
    Hi, I have gone through the similar questions asked and have tried changing the customizer.php to remove certain menu options from Student Dashboard, but that code some how is not removing the options. IF though I open buddypress and disable those from settings it removes the options from both Admin as well as student dashboard, which I don't want to do. this is the code which I tried from other posts : add_action(‘bp_setup_nav’,’bp_remove_menu_tabs_from_user_profile1′,999); function bp_remove_menu_tabs_from_user_profile1() { if(!current_user_can(‘edit_posts’)){ bp_core_remove_nav_item(‘messages’); bp_core_remove_nav_item(‘notifications’); } } Please point me in the right direction as to where tto put this code to make the necessary changes.
    #302198
    Diana
    Participant
    Please tell me are you using vibe course module plugin (which means you are on old version) or you are using vibebp plugin? The code will be different in both the cases
    #302216
    jimmyahuja07
    Participant
    /* Plugin Name: WPLMS Customizer Plugin Plugin URI: http://www.Vibethemes.com Description: A simple WordPress plugin to modify WPLMS template Version: 1.0 Author: VibeThemes Author URI: http://www.vibethemes.com License: GPL2 */
    #302217
    jimmyahuja07
    Participant
    VibeBP
    #304332
    jimmyahuja07
    Participant
    Kindly help.
    #305285
    Jackson
    Blocked
    Hello, Please share website url with admin credentials also share the screenshot which element you want to hide , i will do same for you, Thanks,
    #305323
    jimmyahuja07
    Participant
    This reply has been marked as private.
    #309883
    Anshuman Sahu
    Keymaster
    Please follow this video to change menus : https://www.youtube.com/watch?v=El7UdRb8i5M&t=1s
    #309891
    jimmyahuja07
    Participant
    Hey Alex, When I login as student, the Dashboard page is not available as of now. I am not sure how it stopped working. Please help, else I wont be able to make any changes in the dashboard options.
    #310366
    Jackson
    Blocked
    Hello, okay, I will check your website tomorrow, please ping me once tomorrow, Thanks,
    #310986
    jimmyahuja07
    Participant
    Hi, please do check once.
    #311425
    Diana
    Participant
    This reply has been marked as private.
    #311429
    Veronica
    Moderator
    hi, please provide the student credentials to check the same on your site also if you want to show member-specific menus then you need to follow this: https://www.youtube.com/watch?v=El7UdRb8i5M&t=1s if user's are unable to access then check settings>>buddypress>>pages>>members-directory if it is accessible or not if no then please rerun the setup wizard skip the stying related step just run the import directory section and then check if it works for you
    #311541
    jimmyahuja07
    Participant
    This reply has been marked as private.
    #311542
    jimmyahuja07
    Participant
    I have re-run the setup wizard importing the Necessary settings content, but still members-directory page is not coming. http://prnt.sc/uin1ku
Viewing 15 posts - 1 through 15 (of 24 total)
  • The topic ‘I need to remove options like Forums, Setting etc from Student Dashboard Menu’ is closed to new replies.