404 error when “suppressing” the Activity tab
-
Hi there! š
I want to suppress the whole Activity tab and Make the Profile the default tab. Iāve found code to do that but then I get a 404 error page when I click on a userās link.
This is the code Iāve found:
/* *** */
/* Remove Activity tab from profile */
define( āBP_DEFAULT_COMPONENTā, āprofileā ); // Triem nova pestanya per defecte
function bphelp_remove_activity_from_profile(){
bp_core_remove_nav_item(āactivityā);
}
add_action(ābp_activity_setup_navā,ābphelp_remove_activity_from_profileā);/* *** */
Is there something wrong or missing?
Thanks in advance.
Jaume.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘404 error when āsuppressingā the Activity tab’ is closed to new replies.