Search Results for 'Hide Admin'
-
Search Results
-
Hello,
Please, is there a plugin that can hide all members in buddypress to members, so that members can only see their friends in own profile?
Only admin can see all members.
Also hide all groups, newest groups, new groups, new members, groups memberships, friendships.
Only admin can see all them.
Thanks.Topic: Admin link in profile menu
Hello
I need help to hide administrators in member widget.
I have a code that hides the administrators from the member list but they keep appearing in the members widget, active users and online users
Thank you
Topic: Redirect to a custom tab
Hi.
Im using this code to hide the tabs in the profile’s visitor
function bpfr_hide_tabs() { global $bp; if( class_exists( 'bbPress' ) || bp_is_active ( 'groups' ) ) : if ( bp_is_user() && !is_super_admin() && !bp_is_my_profile() ) { bp_core_redirect( get_option('home') . '/members/' . bp_core_get_user(). '/reviews' ); bp_core_remove_nav_item( 'friends' ); bp_core_remove_nav_item( 'groups' ); bp_core_remove_nav_item( 'activity' ); } endif; } add_action( 'bp_setup_nav', 'bpfr_hide_tabs', 15 );
but the line
bp_core_redirect( get_option('home') . '/members/' . bp_core_get_user( ). '/reviews' );
dont works.
i tried with this('BP_DEFAULT_COMPONENT','reviews');
but this dont works..Thanks very much!!
Hello,
I was wondering if there is a plugin, or bit of code I could remove or add to make it where there is no possible way for me to see user’s private messages. Right now I can use the Export Personal Data tool or go to their profiles and click messages. I want to disable both of these features permanently.
Thanks!First time poster! Hello everyone 🙂
I am using: Marketplace One Social theme, WC Vendors, Woocommerce, BP Better messages (websocket upgrade).
Is there a way to make the ability to start conversations only for admin? I am designing a freelancer type website where I only want the Admin to be able to connect buyers and sellers into a private conversation after the purchase has been made (to avoid circumvention). I want vendors and subscribers to have access to their messages, just not the ability to start a new one.
I am thinking maybe CSS to hide compose features? Could that be the easiest solution?
Thanks in advance for any ideas!
Even after removing all probably issues in my plugins, functions and bp-custim.php, I can’t seem to get the ‘Deny access to admins profile not working’ to work:
//deny access to admins profile. User is redirected to the homepage function bpfr_hide_admins_profile() { global $bp; if(bp_is_profile && $bp->displayed_user->id == 1 && $bp->loggedin_user->id != 1) : wp_redirect( home_url() ); exit; endif; } add_action( 'wp', 'bpfr_hide_admins_profile', 1 );
I have everything up to date as much as possible.
Any ideas?
Have also tried:
bp_is_user()
many thanks
Hi. I noticed that the three options which BuddyPress offers in regards to field visibility is “Only Me”, “Friends Only”, and “Everyone”. If someone sets their preference of a field to “Only Me” or “Friends Only”, is it still possible for the admin to see it? If not, is there a method that I can implement to see it as an admin but to hide it to other members? Also, can I put this field into an additional column on the Users Admin Panel? Thanks for any assistance which you can provide me.
Topic: check for a group admin
Hi,
after update to BP 4.0. I have problems with two BP functions – bp_displayed_user_id, bp_is_my_profile
Fatal error: Uncaught Error: Call to undefined function bp_displayed_user_id() in ...wp-content/themes/socialize-child/functions.php:73 Stack trace: #0 ...wp-includes/class-wp-hook.php(286): hide_profile('') #1 ...wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 ...wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 ...wp-settings.php(450): do_action('init') #4 ...wp-config.php(84): require_once('/www/doc/www.lo...') #5 ...wp-load.php(37): require_once('/www/doc/www.lo...') #6 ...wp-admin/admin.php(31): require_once('/www/doc/www.lo...') #7 ...wp-admin/index.php(10): require_once('/www/doc/www.lo...') #8 {main} thrown in ...wp-content/themes/socialize-child/functions.php on line 73
Thanks for help
Hi!
Is it possible to hide members own pages from other users than admin.
Example if I have users “user1” and “user2”.
If User1 is in his own page “www.yourdomain.com/members/user1”
User1 can acces to User2 own page by changing only url to “www.yourdomain.com/members/user2”