Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'Hide Admin'

Viewing 25 results - 76 through 100 (of 635 total)
  • Author
    Search Results
  • jackmaa1
    Participant

    Hi moefahmy
    Can you please provide me the way to hide what’s new textbox if not an admin.
    I need to restrict users other than admin to post update.

    dimeco
    Participant

    Two things:

    I’m using the newest wordpress, installed social learner from buddyboss, (and used their dummy data).

    I went in and set the forums (individually) to Closed > Hidden…

    but they still appear in the main admin panel (forums), AND it says “Public” in green, even though they are all closed/hidden.

    I’ve double and triple checked the settings (and yes, they do appear in the hidden link at the top).

    Is there any way to:

    1) update from appearing as public on the admin side (because they aren’t),
    and
    2) hide them from appearing in the admin panel completely UNLESS I click on the hidden link?

    It’s annoying to see them taking up the space…

    davidhere
    Participant

    Hi folks, new BuddyPress user here. (Using BP 3.1.0, WP 4.9.8, site in development)

    I’m looking to use BP for the following specific functionality:

    1) Allow our members to post updates on their own profile (privately) for their own reference (diary style), which they will be able to review themselves later, over time.
    2) It would be great if the admin user(s) could post comments on their diary entries too.

    First hurdle: I would like to know how to “hide” certain elements of BuddyPress. When I go to the Activity page for a test user, besides the activity entry box and feed, I see links to toggle between “All Users” and “Mentions”. Then there’s an RSS link, a “Search Activity” box (might keep that, sure), and a dropdown for ‘Everything’ and some other options.

    My first question: How do I go about hiding / disabling the functionality I don’t want our members to see/use? Should I edit plugins/buddypress/bp-activity/bp-activity-template.php ? Is this a good idea? :-O

    Second question: Changing references of “Activity” to, say, “Diary” — is this best done with a translate plugin (e.g. LocoTranslate)?

    3rd question: How would I enable admins the ability to add comments within a member’s activity stream (e.g. respond to specific entries)? Does anyone have any ideas on that? Is there another plugin somewhere that enables such functionality, perhaps?

    Thanks for advice/tips you can give!
    David.

    offworld21
    Participant

    Hi,

    Is it possible to change the text of the Register Button from ‘Register’ to ‘Join us’? I’d also like to have the destination when the button is clicked to be a page with an AgileCRM form form, instead of either the BuddyPress or PMPro form (both of which I’m using). The reason for this is that I initially need new sign-ups to go straight into AgileCRM for manual approval, after which their user account will be manually created on WordPress by an admin, and the new user details emailed.

    Ideally I’d like new users to complete sign-up and be manually approved, whilst at the same time their details being sent to AgileCRM and a new contact created. I’ve tried this but even though I’ve set new sign-ups for manual approval, a new account is created (albeit with limited access), and they are immediately logged into the site. I cannot see a way to change this.

    I also tried using Zapier to pull new users into AgileCRM from WordPress but that too didn’t seem to work, event though when going through the testing stage it created a record in AgileCRM.

    I’m using PMPro because the client is looking to take online payments for sign-ups in the future, and want to retain the functionality and option to use the PMPro register page in the future.

    Current set-up:
    WordPress – 4.9.7
    Theme: Boss Child Theme
    Plugins:
    Agile CRM – v1.1
    All-in-One WP Migration – v6.72
    bbPress – v2.5.14
    BuddyBoss One Click Installer – v1.0.6
    BuddyBoss Products Updater – v1.0.2
    BuddyPress – v3.1.0
    BuddyPress Docs – v2.1.0
    BuddyPress Follow – v1.2.2
    BuddyPress Global Search – v1.1.9
    Hide Admin Bar From Non-admins – v1.0
    Import Users from CSV – v1.0.0
    Page Builder by SiteOrigin – v2.7.3
    Paid Memberships Pro – v1.9.5.3
    Paid Memberships Pro – Add Member Admin – v.4
    Paid Memberships Pro – Advanced Levels Page Shortcode Add On – v.2.4
    Paid Memberships Pro – Approvals Add On – v1.0.4
    Paid Memberships Pro – bbPress Add On – v1.5.5
    Paid Memberships Pro – BuddyPress Add On – v1.1.1
    Paid Memberships Pro – Email Templates Add On – v0.7.1
    Paid Memberships Pro – Membership Manager Role Add On – v.3.1
    Regenerate Thumbnails – v3.0.2
    SiteOrigin Widgets Bundle – 1.12.1
    The Events Calendar – v4.6.20.1

    Please let me know if you need any further information.

    Thanks in advance.

    kenmcall
    Participant

    Greetings,

    We are using LDAP to populate and maintain our Buddypress members list, and because of this we don’t want people to be able to change their password or email address via the Settings > General tab. We would like to therefore hide the General tab and have Settings redirect to a different tab instead (preferably Settings > Profile)

    I have gone through the forums and have viewed other posts by people dealing with the same issue, specifically this one:

    How to hide / remove the General tab under Settings

    Here’s the code:

    function bpex_change_profile_settings_default_tab() {
    
    	if( bp_is_active( 'xprofile' ) ) :
    
    	$access        = bp_core_can_edit_settings();
    	$slug          = bp_get_settings_slug();
    
    	$args = array(
    		'parent_slug'     => $slug,
    		'subnav_slug'	  => 'notifications',
    		'screen_function' => 'bp_settings_screen_notification',
    		'user_has_access' => $access
    		);
     
    	bp_core_new_nav_default( $args );
    
    	endif;
    
    }
    add_action( 'bp_actions', 'bpex_change_profile_settings_default_tab' );
    
    function bpex_remove_general_item_on_usermenu() {
    global $wp_admin_bar;
    
    	if ( bp_use_wp_admin_bar() ) {
    		$wp_admin_bar->remove_node( 'my-account-settings-general' );
    	}
    
    }
    add_action( 'wp_before_admin_bar_render', 'bpex_remove_general_item_on_usermenu' );
    
    function bpex_remove_profile_settings_general_tab() {
    
    	if( bp_is_active( 'xprofile' ) ) :	
    
    		bp_core_remove_subnav_item( 'settings', 'general' );
    
    	endif;
    
    }
    add_action( 'bp_actions', 'bpex_remove_profile_settings_general_tab' );

    This seems to be the solution I need, but when I add the code to bp-custom.php it does remove the General tab, but now clicking on Settings generates a 404 error. As this post is over a year old, I’m wondering if there have been changes to Buddypress that stops this from working.

    I should mention that I’ve done some (but not a lot) of PHP programming. I did have a co-oworker who is quite proficient at PHP look over this with me, but everything we tried failed to work.

    Thanks for any help anyone can give.

    #275035
    chaddblanchard
    Participant

    Is there a way to hide admin accounts from showing up in searches and in member listings? We have several admins that are only on the site to manage members. We want them to have site access but no show up as members.

    #274832
    Venutius
    Moderator

    Here is a profile redirect script:

    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 );

    This one redirects for user_id == 1, you could replace this with a function that checks the profile completeness.

    Shashi Kumar
    Participant

    @janurmas

    1. To hide admin bar to non-logged in user, you can use a plugin name Remove Dashboard Access.

    2. There is no direct method to make BuddyPress profile page full-width. You can achieve this by editing Buddypress templates. To do this
    Create a child theme
    Put Buddypress folder in your child theme and edit the profile template. To do we should understand the templating system of Buddypress. Here is a tutorial for that.

    3. You can use a plugin by Buddydev which lets you write posts from front end and add blog tab under user’s profile menu.

    Hope this help you.

    janurmas
    Participant

    Hello, I have a bit issue on my site: Skillonpage.com after installing BuddyPress. My WordPress Admin Bar appears to non-logged-in users. I want to disable the admin bar for the non-logged-in users. Is it possible to do that?

    Then, how should I make the BuddyPress’ profile page becomes full-width instead of having a sidebar? And how to hide the header and footer for the BuddyPress pages? Because it’s a blog that has articles too, while the BuddyPress is just for the authors’ profile pages.

    I also want to list the articles under the author’s profile on my site. Could you please tell me how to set it? Is that possible to make it without doing some customization? Thank you, in advance!

    balebond
    Participant

    Ideally, I want to customize which groups a user can post to on profile and activity pages. The drop down lists all groups they are a member of but want to restrict non-admins from posting activity to certain groups. I have achieved this on the group page but members can still post from Activity using the dropdown.

    An alternative would be to just hide “Post to:” dropdown entirely. Any ideas? Thanks in advance.

    balebond
    Participant

    Just a follow up. I got the method from this link to work and it hides the “whats new” form from non-admins on the group page.

    However, now I notice that users still get the group in their “Post in:” list on their personal activity page and can circumvent. So, trying to figure this part out next.

    Anyone know how to restrict that dropdown?

    #273569

    In reply to: wordpress top bar

    Venutius
    Moderator

    There’s a number of plugins that will allow you to remove the wp-admin top bar, just search the plugin directory.

    Hide Admin Bar

    #273300
    cyberjulie
    Participant

    WordPress : 4.9.6 as a directory
    Theme : Kleo last update
    Plugins :
    Activity Reactions For Buddypress Version 1.0.22
    Akismet Anti-Spam Version 4.0.3
    bbPress Version 2.5.14
    bbPress auto subscribe for new topics and replies Version 1.0
    BuddyPress Version 3.0.0
    Contact Form 7 Version 5.0.2
    Essential Grid Version 2.2.3
    Events Manager Version 5.8.1.1
    Events Manager Pro Version 2.5.1
    Heartbeat Control Version 1.2.3
    Hide Admin Bar Version 1.7.1.3
    iThemes Security Version 6.9.2
    K Elements Version 4.3.5
    Lightweight Subscribe To Comments Version 1.5.7
    MetaSlider Version 3.7.2
    reBusted! Version 1.1
    Rendez Vous Version 1.4.2
    rtMedia for WordPress, BuddyPress and bbPress Version 4.4.8
    Simple Buddypress Profile Privacy Version 0.7.7
    Slider Revolution Version 5.4.6.3.1
    Wordfence Security Version 7.1.4
    WP FullCalendar Version 1.2
    WP Rocket Version 3.0.4
    WP-Optimize Version 2.2.4
    Éditeur de page Version 5.4.7

    Link : https://dispo.fun

    Hello, since installing version 3.0.0, we’ve lost the ability to comment on group posts. Is this a bug ???
    On the other hand, in the presentation video of the template New, we see an editor like the one to customize the themes but for Buddy Press. How can we reach it?

    Regards

    Julie

    matthlobo
    Participant

    I would like to hide admin from the activities of my boss theme, i’m using the LearnDash and would like to hide the admin from the student sidebar list from the right side

    gheebuttersnaps
    Participant

    Hey there,

    I am currently setting up a members directory for our alumni association using buddypress (currently Version 3 RC1 from trac). I really love it and so far the feedback from our testers is really positive. I might consider contributing a showcase/case study if there is anything like that for buddypress. I have already contributed several translations and will add more during the weekend!

    I have one issue remaining which is related to the search function. We allow our members to hide certain information from other members. For example one member can set their current location to “adminsonly”. Let’s assume this example. We have user Thomas in city Berlin and user Peter in city Munich. Thomas decides to hide his location from other members and sets the field visibility to adminsonly. Now Peter views Thomas’ profile and is not able to see his location. So far everything works as expected. Now Peter uses the search function and uses the keyword “Berlin”. The result set contains Thomas (without displaying any information about the city) although Peter should not be able to know the city.

    I would tend to consider this as a breach of privacy for users. That’s why I currently have removed the search boxes from all pages. Technically, if someone knows the URL search strings he/she could still do the search. Is it possible to configure the search so that it only searches fields which are available to the user conducting the search?

    Thanks and regards!

    #272887
    Venutius
    Moderator

    Yep that’s the WordPress Admin Bar. The only BP setting that affects this is that you can hide the entire bar for non logged in users via Settings>>BuddyPress>>Options.

    As I said there’s a lot of plugins that will help you style this bar, just search WP Plugins for admin bar and you will find them.

    Nik
    Participant

    Hi there

    Is there any way of preventing users (other than admin) from deleting their own activity eg. I don’t want them to be able to delete entries such as “User x updated their profile”.

    I’ve successfully prevented commenting on certain activities using bp_activity_can_comment and I’m thinking maybe I can use bp_activity_user_can_delete in a similar way, but can’t seem to make that work.

    Any suggestions would be gratefully received.

    With many thanks in advance.

    PS. I know I can hide “Delete” with CSS but would really prefer to use a filter instead.

    #272711
    Venutius
    Moderator

    Update – the following works:

    function venutius_hide_tab() {
    	if ( !is_super_admin() ) {
    		bp_core_remove_subnav_item( 'settings', 'general' ); 
    	}
    }
    add_action( 'bp_setup_nav', 'venutius_hide_tab', 15 );

    However it causes a page not found error when you click on Settings, this is due to the removed nav item being the default tab for the settings link. I’m currently trying to find the right code to reset this default.

    #272695
    Venutius
    Moderator

    So you could add something like the following to your functions or bp-custom.php:

    function venutius_hide_tab() {
    	if ( !is_super_admin() && !bp_is_my_profile() ) {
    		bp_core_remove_subnav_item( 'settings', 'general' ); 
    	}
    }
    add_action( 'bp_setup_nav', 'venutius_hide_tab', 15 );
    hiverizecaro
    Participant

    Hi,
    I would like to change the ‘show_tab’ arguments based on a setting made upon group creation.
    Something like:

    $is_wanted = groups_get_groupmeta( $group_id, ‘show-to’ );

    <?php if ($is_wanted): ?>
    ‘show_tab’=> ‘member’
    <?php else: ?>
    ‘show_tab’=> ‘admin’
    <?php endif; ?>

    How can this parameter be accessed?
    It would also be ok to hide the tab in the group compleatly, like

    $parent_nav_slug = bp_get_current_group_slug();
    $tab = ‘gruppen-stockkarte’;
    bp_core_remove_subnav_item( $parent_nav_slug, $tab, ‘groups’ );

    BUT based on the group_id and groups_get_groupmeta, not for all groups.

    Thanks for your help!

    ( sorry for doubbling the topic, I couldnt figure out how to edit)

    #272624
    panosa1973
    Participant

    @venutius you were right on the money! This worked. Now a member can see their Friends menu item even when they’re on another member’s profile but without having access to the other member’s friends. And you said it was gonna be difficult. Hah! 🙂
    Thank you yet again!

    function hide_friends_tab() {
    	global $bp;
    	if ( !bp_is_my_profile() && !is_super_admin() ) {
    		bp_core_remove_nav_item( 'friends' ); 
    
    		bp_core_new_nav_item( 
        	        array( 
                    'name' => __('Friends', 'buddypress'), 
                    'slug' =>  $bp->friends->slug, 
                    'position' => 50, 
                    'show_for_displayed_user' => false,
                    'default_subnav_slug' => 'friends'
        ));
    	
    	}
    }
    add_action( 'bp_setup_nav', 'hide_friends_tab', 15 );
    Venutius
    Moderator

    What plugin did you use to add the option to only display a menu item to logged in users? Seems like that is what is not functioning. hiding the activity link by hiding the menu item does not hide the activity page from non logged in users, if they know the url they will still be able to view it, to prevent that you should explore the security options available to you. There a number of privacy plugins for bp with a range of features, is it only the Activity page you want to hide?

    BuddyPress uses the default WordPress login page, there’s a number of customisers for this, for example: https://wordpress.org/plugins/admin-custom-login/

    panosa1973
    Participant

    WordPress 4.9.5 -> BuddyPress 2.9.4 -> Agama Blue Child Theme

    I ended up with the below code from posts in these forums but it doesn’t do quite what I need it to do.
    Users should not be able to see other users’ friends so the Friends tab when viewing another user’s profile page must be removed along with the functionality. Here’s my code:

    function bpfr_hide_tabs() {
    	if ( !is_super_admin() && !bp_is_my_profile() ) {
    		bp_core_remove_subnav_item( 'profile', 'friends' );  // This does nothing
    		//bp_core_remove_nav_item( 'friends' );  //Or this but this also hides the Friends main menu item, not just the Friends tab in the user's profile page 
    	}
    }
    add_action( 'bp_setup_nav', 'bpfr_hide_tabs', 15 );

    I’ve switched between both options in the code. bp_core_remove_subnav_item( 'profile', 'friends' ); doesn’t really do anything and bp_core_remove_nav_item( 'friends' ); does remove the Friends tab from another user’s profile but it also removes it from the main menu which is a different thing. The main menu Friends link points to my own Friends whereas the Friends tab in another user’s profile points to their friends. Any help would be appreciated.

    #272469
    panosa1973
    Participant

    I managed to hide the View tab with CSS:

    function remove_some_tabs() {
        if ( !is_super_admin()) {
    		//This hides the View tab
    		echo '<style>li#public-personal-li {Display: none;} </style>';
    		//This hides the additional members input box when sending a msg
    		echo '<style>#send-to-input {Display: none;} </style>';        
    	}
    }
    add_action( 'wp_head', 'remove_some_tabs');
    #272344

    In reply to: Hiding the admin user

    shanebp
    Moderator

    You could use the overload method.
    imo, using hooks is easier.

    For example, to hide admin users from the members loop, you could put this into bp-custom.php… untested…

    function grw_members_loop_ghosts( $retval ) {
    
        if ( bp_is_members_directory() ) {
    
            $admins = get_users( array(
    				'fields' => 'ID',
    				'role'   => 'administrator',
    			      ));
            
            $admins = implode(',', $admins );
    
            $retval['exclude'] = $admins;
        }
    
        return $retval;
    }
    add_filter( 'bp_before_has_members_parse_args', 'grw_members_loop_ghosts' );
Viewing 25 results - 76 through 100 (of 635 total)
Skip to toolbar