Replies
- Ethan Figliola on June 9, 2022 at 2:17 am in reply to: Issues with registration member types. #45263
yes
- Ethan Figliola on June 8, 2022 at 11:57 pm in reply to: Issues with registration member types. #45256
If you login as a test user for example ethanfiggs you will see the code i put it ends up blocking more then the pages described but all the custom bp profile tabs made for some reason
- Ethan Figliola on May 27, 2022 at 2:54 pm in reply to: Issues with registration member types. #45110
any update?
- Ethan Figliola on May 25, 2022 at 3:13 pm in reply to: Issues with registration member types. #45090
For example, need to hide the user menu tab slugged 1-2 or getting started.
- Ethan Figliola on May 25, 2022 at 3:12 pm in reply to: Issues with registration member types. #45089This reply has been marked as private.
- Ethan Figliola on May 24, 2022 at 6:28 pm in reply to: Issues with registration member types. #45073
Also while you are in there I am having an issue hiding custom menus based on role. Here is my code and the issue is no matter what i put for the slug I want to hide it works but it also stops the other custom tabs from working it says looks like this page doesnt exists:
function bpfr_hide_activity_nav() {
$user_id = get_current_user_id();
$user = wp_get_current_user();
if ( $user_id == in_array( ‘editor’, $user->roles ) or in_array( ‘customer’, $user->roles ) ) {bp_core_remove_nav_item( ‘1-3’ );
}
return;
}add_action( ‘bp_ready’, ‘bpfr_hide_activity_nav’, 110, 3 );
instead of just hiding 1-3 it also prevents users from accessing casting-get-started which does not make any sense as it’s not included there.
- Ethan Figliola on May 24, 2022 at 4:28 pm in reply to: Issues with registration member types. #45072This reply has been marked as private.
- Ethan Figliola on May 19, 2022 at 3:53 pm in reply to: Issues with registration member types. #45025
Would you like to try it on the website?
- Ethan Figliola on May 19, 2022 at 3:53 pm in reply to: Issues with registration member types. #45024
Hi Any update?
Please i need to get this completed - Ethan Figliola on May 11, 2022 at 8:35 pm in reply to: Issues with registration member types. #44921
I have updated.