Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Only members get profiles


pcwriter
Participant

@pcwriter

@christophG

You can do this with the s2member plugin. In the “API/Scripting” section, you’ll find some advanced conditionals that can be added in your theme templates, or included in a custom function. If you’re using s2member, you could try adding this to your theme’s functions.php file… should work anyway ;-)

`function remove_member_profile_nav() {
if (!current_user_can(‘access_s2member_level1’)) {
bp_core_remove_nav_item( ‘profile’ );
}
}
add_action( ‘bp_setup_nav’, ‘remove_member_profile_nav’, 15 );`

Skip to toolbar