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.
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
/*
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
*/
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,
This reply has been marked as private.
Please follow this video to change menus :
https://www.youtube.com/watch?v=El7UdRb8i5M&t=1s
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.
Hello,
okay, I will check your website tomorrow,
please ping me once tomorrow,
Thanks,
Hi, please do check once.
This reply has been marked as private.
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
This reply has been marked as private.
I have re-run the setup wizard importing the Necessary settings content, but still members-directory page is not coming.
http://prnt.sc/uin1ku