Skip to:
Content
Pages
Categories
Search
Top
Bottom

Disable password change


  • mayawi
    Participant

    @mayawi

    Hi,

    I am building Intranet and using BuddyPress so all employees have profile page. I need to disable the password change. We integrated OneLogin to the Intranet site so employees only have access through that and I don’t want them to change their password from the Intranet.

    My other question how do I access the Navigation menu of the BuddyPress to change order or disable some items?

    Thank you for your help.

    May Fathallah

Viewing 2 replies - 1 through 2 (of 2 total)

  • Amit Agrahari
    Participant

    @amitgrhr

    @mayawi Using the following code snippet, you can completely conceal the General tab in the settings.

    add_action( 'bp_setup_nav', 'wbcom_custom_set_default_sub_nav', 20 );
    function wbcom_custom_set_default_sub_nav() {
    	//Remove the general tab
    	bp_core_remove_subnav_item( bp_get_settings_slug(), 'general', 'members' );
    
    	//Set the Email tab as the default sub nav 
    	bp_core_new_nav_default(
    		array(
    			'parent_slug'  => bp_get_settings_slug(),
    			'subnav_slug'  => 'notifications',
    			'screen_function' => 'bp_settings_screen_general',
    		)
    	);
    }

    ariadnaquingles
    Participant

    @ariadnaquingles

    Hi my lost-password web page is not showing do you know why ?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar