Forum Replies Created
-
Thread is never answered.
Where should I paste the code? I tried it in the bp-custom.php file but I get a syntax error.
Kind regards,
Ishanna
nobody?
I installed the Bp Follow plugin and it covers precisely what I was looking for.
Now I wish for the ‘Following’ and ‘Followers’ tabs to be renamed and only to be visible for profile owner.Is there maybe a code/plugin I can use to hide the ‘following/followers’ tabs from other profile users except from the profile owners??
Kind Regards,
Ishanna
@bp-help
Thank you!
The buddyblock plugin seems to cover exactly what I’m looking for.
I only want users to be able to block specific profiles. The ‘friends’ option is disabled so if also givin the option for ‘only friends’ might bring some confusion.Thank you for the tip.
No free solution available?
Maybe some code I can use?Kind regards,
Ishanna
Thanks for your input! I will try this soon.
Ps: sorry for my bad English.Kind regards,
Ishanna
Yes! Thank you, it works. 😀
Hallo @sbrajesh !
I tried use code:
add_action(‘bp_friends_setup_nav’,'bpdev_custom_hide_friends_if_not_self’); function bpdev_custom_hide_friends_if_not_self(){ if(bp_is_my_profile()|| is_super_admin()) return ; bp_core_remove_nav_item(‘friends’); }
I copied and pasted the code into the ‘bp_custom.php’ file but it did not work for me.
I’m new to wordpress, html, php and css but I seem to find my way til now. Some advise please? I really need this option to work and I can’t find a plugin that cover this.Kind regards,