Replies
Thanks Brajesh for your reply
Great new I’m sure that it will improve.Thanks
Thank you for your answer
So, if I understood correctly you don’t have permission yet to have this plugin. The plugin will not be available this month.
- slim kacem on August 15, 2018 at 9:34 pm in reply to: [Resolved] Fatal error with buddypress moderation tool #16819
ok resolved thanks
- slim kacem on February 20, 2018 at 10:53 pm in reply to: Modify visibility of Existing Profile Tab (in buddypress profile ) #13504
Thanks Brajesh for your cooperation and your nice job.
I’m not sure but it seems to me, that is not possible to move main tab to subtab with the new update of the plugin.
My need is to move main tab (follower, following) to subtab in a one new main tab colled follow. Is it possible?
Thanks
- slim kacem on February 15, 2018 at 8:53 pm in reply to: Modify visibility of Existing Profile Tab (in buddypress profile ) #13452
Grate thanks
I have another question is it possible to modify a tab to a sub tab with the plugin.
In fact, follower plugin adds 2 tabs to the buddypress profil, is it possible to moved this 2 tabs in one tab containing 2 sub tabs.Thanks
- slim kacem on February 15, 2018 at 8:14 pm in reply to: Modify visibility of Existing Profile Tab (in buddypress profile ) #13449
Hi Brajesh
I’m waiting for the upgrade that allow the modification of the visibility of existing profile Tab. Is it coming soon?
Thanks
- slim kacem on January 7, 2018 at 5:26 am in reply to: Modify visibility of Existing Profile Tab (in buddypress profile ) #12738
Hi Brajesh, BuddyPress User Profile Tabs Creator Pro plugin 1.0.2 is published, did it support friends visibility now?
Can you have a look to my programm in the previous comment please.Thanks
- slim kacem on December 21, 2017 at 4:27 am in reply to: Modify visibility of Existing Profile Tab (in buddypress profile ) #12526
Thank you for your help.
I tried your code and it’s working for me except for groups and forums.
I am trying to hide them for non logged users.
Her is my code
function bpdev_custom_hide() { // show only for those people if ( bp_is_my_profile() || is_super_admin() ) { return; } if (! is_user_logged_in()) { bp_core_remove_nav_item( 'activity' ); bp_core_remove_nav_item( 'friends' ); bp_core_remove_nav_item( 'groups' ); // not working bp_core_remove_nav_item( 'forums' ); // not working bp_core_remove_nav_item( 'articles' ); // not working } else if (! bp_is_my_profile()) { bp_core_remove_subnav_item( 'activity', 'mentions' ); bp_core_remove_subnav_item( 'activity', 'favorites' ); bp_core_remove_subnav_item( 'activity', 'friends' ); bp_core_remove_subnav_item( 'activity', 'groups' ); bp_core_remove_nav_item( 'friends' ); return; } //else if (! friends_check_friendship( bp_displayed_user_id(), bp_loggedin_user_id())) { //} } add_action('bp_friends_setup_nav','bpdev_custom_hide');
Thank you.
- slim kacem on December 20, 2017 at 10:11 pm in reply to: [Resolved] tab visible by freinds only #12522
nice tnank you
- slim kacem on December 20, 2017 at 10:08 pm in reply to: Modify visibility of Existing Profile Tab (in buddypress profile ) #12521
Thanks for your reply Brajesh
I found your code in buddypress forum
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’); }
.
it is to limit visibility to only profile owner and admin, did you think it’s still working?
can you help me with modified code to: -limit the visibility of tab to only loged in members.
-limit the visibility of tab to only freinds and admin.thanks