Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'Hide Admin'

Viewing 25 results - 776 through 800 (of 908 total)
  • Author
    Search Results
  • #76149

    In reply to: Hide Admin

    Scotm
    Participant

    Just caught wind of this plugin to hide admin activity: https://wordpress.org/extend/plugins/bp-ninja/

    #76082

    In reply to: Hide Admin

    Scotm
    Participant

    @sbrajesh

    No luck with that code to hide Admin activity. Can you pastebin to make sure I have it clean?

    marvc
    Participant

    Possible cross-post: My apologies in advance.
    Project site: http://nubiint.com
    BuddyPress Sub-directory: http://nubiint.com/community

    I’ve enabled the option to “Hide admin bar for logged out users” and it works fine. I’m now trying to prevent the bar from appearing on other sub-directories for logged in users. So I have the following sub-directories:
    /business
    /int-info
    /networking
    /tech

    I’ve uploaded the “bp-hide-sub-blog-adminbar” plugin and activated it but it doesn’t do anything by default so I add a blog ID as follows:

    <?php
    if($blog_id != 2) < – /business Blog ID

    This doesn’t do anything. Am I missing something?

    Another issue I notice on the Main MU site for logged in users is the following that appears below the website:

    •My Account
    ?Activity
    ?Personal
    ?Friends
    ?Groups
    ?Favorites
    ? @admin Mentions
    ?Profile
    ?Public
    ?Edit Profile
    ?Change Avatar
    ?Blogs (6)
    ?Messages ?Inbox
    ?Sent Messages
    ?Compose
    ?Notices
    ?Friends (0)
    ?My Friends
    ?Requests
    ?Groups (0)
    ?My Groups
    ?Invites
    ?Settings
    ?General
    ?Notifications
    ?Log Out
    •My Blogs
    ?NU.B.I-I.N.T.
    ?Dashboard
    ?New Post
    ?Manage Posts
    ?Manage Comments
    ?Business
    ?Dashboard
    ?New Post
    ?Manage Posts
    ?Manage Comments
    ?Community
    ?Dashboard
    ?New Post
    ?Manage Posts
    ?Manage Comments
    ?Networking
    ?Dashboard
    ?New Post
    ?Manage Posts
    ?Manage Comments
    ?Technology
    ?Dashboard
    ?New Post
    ?Manage Posts
    ?Manage Comments
    ?Internet Information
    ?Dashboard
    ?New Post
    ?Manage Posts
    ?Manage Comments
    •Notifications
    ?No new notifications.
    •Visit
    ?Random Member
    ?Random Group
    ?Random Blog

    You can see it by navigating to the site above. How do I remove this?

    Any responses appreciated.

    #75787

    In reply to: Hide Admin

    Brajesh Singh
    Participant

    hey @r-a-y :) no prob.
    @scotm looking forward to hear if it works or not.

    #75780

    In reply to: Hide Admin

    r-a-y
    Keymaster

    Yes, you’re right Paul!

    #75779

    In reply to: Hide Admin

    Scotm
    Participant

    @sbrajesh I’m going to try that…Thanks

    #75778

    In reply to: Hide Admin

    Paul Wong-Gibbs
    Keymaster

    BP 1.2.3 does provide is_site_admin() in the compat file, FWIW.

    #75776

    In reply to: Hide Admin

    r-a-y
    Keymaster

    Hey @sbrajesh, you’re right! Sorry about that! Was thinking off the top ;)

    #75774

    In reply to: Hide Admin

    Brajesh Singh
    Participant

    hi @r-a-y is_site_admin() and is_admin() are very different. is_admin() checks whether you are inside wordpress admin or not.
    @scotm
    How about making the activity of admin user private
    `add_filter(“bp_activity_hide_sitewide_before_save”,”make_admin_activity_private”,10,2);
    function make_admin_activity_private($hide_sitewide,$activity){
    //get the current activity
    if(current_user_can(‘manage_options’))//user is admin
    return 1;
    else
    return $hide_sitewide;

    }
    `
    Hopefully the code goes through this forum.

    #75753

    In reply to: Hide Admin

    r-a-y
    Keymaster

    The snippet only works on WPMU.

    If you’re using standard WP, replace is_site_admin() with if(current_user_can(‘manage_options’)) (thanks Brajesh).

    Also, you could try adding the function in your theme’s functions.php (omit the add_action line).

    #75751

    In reply to: Hide Admin

    Scotm
    Participant

    Tried it, errors.

    #75750

    In reply to: Hide Admin

    r-a-y
    Keymaster

    @scotm – if you read the end of that post, there’s a free solution noted by Brajesh.

    #75748

    In reply to: Hide Admin

    Scotm
    Participant

    Saw that one…premium.

    #75725

    In reply to: Hide Admin

    r-a-y
    Keymaster

    @DJPaul @scotm – I believe @sbrajesh did a plugin to hide admin stuff… let me see if I can find it:

    Stealth Mode for BuddyPress Site Admin Plugin

    #75712

    In reply to: Hide Admin

    Scotm
    Participant

    @DJPaul Any activity that the Admin carries out in my opinion should be hidden. Starting a Group, a forum topic, etc. In my case I am creating a number of groups for members to join and I’d like to hide all of that activity.

    #75710

    In reply to: Hide Admin

    Paul Wong-Gibbs
    Keymaster

    @scotm what are you doing on your BP site with the admin user to generate activity which you don’t want in the activity stream?

    @nuprn1 did you do a plugin to hide the admin account from the members directory, or was that someone else?

    #75707

    In reply to: Hide Admin

    symm2112
    Participant

    I’m not sure if it hides activity, but I heard a trick to “hiding” admins from the member list was to change their status in the database of the user to “99” and that prevents it from showing in the member’s list.

    #75697

    In reply to: Hide Admin

    Scotm
    Participant

    Still curious about this one. Can we hide the Admin throughout BuddyPress activity sitewide?

    rossagrant
    Participant

    Hi guys,
    My site is financial based and has to abide by governing rules set by the Financial Authorities. Therefore when someone posts a forum post it has to be uneditable and undeletable by the member who posted it as it. An admin can edit it or delete it but not the member. Is there anyway to hide the buttons from the member or disable them altogether?

    #74922

    In reply to: Badge Maker

    pcwriter
    Participant

    @warut

    V1.3 works just fine… thanks!

    Another suggestion: allow site admins to define a default width and height, and allow users to adjust if needed.

    As it is now, badge dimensions are defined by those of the uploaded logo (width if vertical layout, height if horizontal layout).

    Oh, and please do allow site admins/users to show or hide the field labels. As Greg says, they aren’t really needed.

    :-)

    #74886

    In reply to: Badge Maker

    gregfielding
    Participant

    @warut

    I’m playing with 1.3 and it’s working great…

    2 suggestions:

    1. Create an option in the admin menu to hide the names of the profile fields. Most of the fields are pretty self explanatory anyway and the extra words just clutter things up.

    2. Create an extra field for users to type in a short message or description, giving them some other way to personalize their badge.

    It looks great warut!

    #74370
    Xevo
    Participant

    @ Smuda

    Well ok, but I stand by my point I don’t think you should block all traffic towards wp-admin. Just hide it.

    @ etiviti (rich!)

    Isn’t it smarter to use current_user_can(‘edit_posts’)? That way anything higher than a subscriber can access the wp-admin.

    #73970
    annie_sp04
    Participant

    Same error on fresh install… Maybe i should just leave it there? or create a different bar that will load only for authors?

    #73968
    annie_sp04
    Participant

    I’m using WPMU 2.9.2 and the latest version of Buddypress. I guess i’ll try using it in a fresh install, maybe someone on our staff edited something they shouldn’t and it’s causing this error…

    Thanks :)

    #73963
    Paul Wong-Gibbs
    Keymaster

    is_user_logged_in() is present in both WP and WPMU. Odd. What versions of WordPress/WordPress MU are you using?

Viewing 25 results - 776 through 800 (of 908 total)
Skip to toolbar