Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'Hide Admin'

Viewing 25 results - 751 through 775 (of 915 total)
  • Author
    Search Results
  • #86024
    @mercime
    Participant

    1. Did you change settings like BuddyPress > General Settings – Hide for logged out users?
    2. Did you change your theme? Did you check if your new theme had wp_footer() in footer.php?

    #85700
    Anton
    Participant

    Would this work to hide the “Create a Forum”

    if(!is_admin || !is_mod)
    {
    blah blah hide create forum form or button
    }

    #85698
    Anton
    Participant

    Thanks @nit3watch

    Wouldn’t it be simple to hide the option “create a forum” from members so that only admins and moderators can create forums? What is the code to check? Is it is_group_admin or is_group_mod?

    #85275
    modemlooper
    Moderator

    you could hide #bp-adminbar-notifications-menu via CSS display:none

    nit3watch
    Participant

    Im using @Modemlooper BuddyPress Widget Theme’s code in my own theme and I would like to hide the widget title box’s?

    I thought about just using echo to display the data but I can’t come right. Im using the enhanced-buddypress-widgets and with all the admin options and stuff I keep getting errors or nothing displays..

    here’s my edited code of enhanced-buddypress-widgets to display only the popular groups without the newest,active,popular links.. http://pastebin.com/arCFtUuE

    Any one know how I can go about doing this?

    rossagrant
    Participant

    Hi guys,
    I have taken away my members ability to delet their topics and forum posts in BP by deleting bp_get_the_topic_post_is_mine() in my themes topic.php file.

    I would also like to hide the delete links in the activity stream for members, in both the main activity and each seperate groups activity.
    Obviously admin needs to be able to delete these but I don’t want members to be able to.

    Is it a similar process as the forum posts and group topics? I presume it is but don’t know where to locate it. I still need the ‘view’ link but don’t want the ‘delete’ link for members.
    Thanks.
    Ross :)

    #84991
    @mercime
    Participant

    @damian2001, change to bp-default theme, you will see the bp-admin bar across all sites like the one at http://testbp.org/
    Double check dashboard – BuddyPress > General Settings > Hide admin bar for logged out users?:> should be NO

    rossagrant
    Participant

    Hi guys,
    I’m sure I’m not the only one who would like to do this.
    I would like to hide the edit/ delete links in forum posts from my members so that once they post something it cannot be changed. I run a site where people can cause a nuisance by posting then editing their post before an admin sees what had been originally posted and I want to stop this.

    Hiding them may work but then if someone simply input the url they could still mess with the posts. Is there a fool proof way so that ONLY ADMIN can ever see and use these?

    Thanks so much!
    Ross :)

    #13166
    lincme.co.uk
    Member

    This is a simple rehash of some old code by @nuprn1 (thanks Rich), and filters out various activity messages to keep the stream from clogging up. Put the following in your theme’s functions.php file, and modify as desired;

    // Remove (hide) various activities from streams.
    function my_hidden_activities($a, $activities) {
    //if admin we want to know
    //if (is_site_admin())
    // return $activities;

    $nothanks = array(“new_blog_post”, “created_group”, “joined_group”, “new_member”, “friendship_created”, “activity_liked”);

    foreach ($activities->activities as $key => $activity) {
    if (in_array($activity->type, $nothanks, true)) {
    unset($activities->activities[$key]);
    $activities->activity_count = $activities->activity_count-1;
    $activities->total_activity_count = $activities->total_activity_count-1;
    $activities->pag_num = $activities->pag_num -1;
    }
    }

    // Renumber the array keys to account for missing items.
    $activities_new = array_values( $activities->activities );
    $activities->activities = $activities_new;

    return $activities;
    }
    add_action(‘bp_has_activities’, ‘my_hidden_activities’, 10, 2 );

    #83068
    Hugo Ashmore
    Participant

    No you’re not the only one I raised a ticket on the matter.

    Problem is that for the moment you shouldn’t use that hide adminbar unless you make some changes. The issue is that there is a function that checks to see if disable adminbar is true and if so it generates a style tag with a ruleset to hide the adminbar with display:none, this function then adds an action with places this style tag erroneously in the wp_footer hook resulting in a style tag sitting in the document body, a major validation issue as it’s obviously illegal to place this tag at this point in a document.

    As in reality this style tag is not actually required due to the adminbar being removed anyway the function ought to have been removed, but for some unknown reason it was deemed to be ok to leave until bp 1.3 branch is released.

    To fix in the meanwhile as there may be a wait for 1.3 you will have to add a remove_action or edit the core file holding the function (not first choice)

    In a child functions.php file you can try adding this line:

    remove_action(‘wp_footer’, ‘bp_core_override_adminbar_css’);

    That should prevent the action from running, tested and works for me on WP 3.0 BP 1.2..4.1, but there may possibly be better approaches?

    Archie Webmaker
    Participant

    Have you notice (or I am the only one):

    If I hide admin bar for logged out users
    I receive this error message:
    document type does not allow element “style” here

    If I don’t hide admin bar for logged out users

    I passed the w3 validator

    Kevin
    Participant

    I foolishly attempted to do this http://www.phidevinc.com/tech-tips/changing-conceailing-and-securing-wp-admin/comment-page-1#comment-1073 It didn’t work so I deleted what I did and now I’m no longer super admin of my website. I’m only admin. How can I get my super admin status back?

    r-a-y
    Keymaster

    I don’t think that’s the case.

    You only have a blog if you’re the administrator of a blog.

    justbishop
    Member

    How is Buddypress hidden on the plugins screen (where you activate/deactivate plugins in the admin panel) for user sites? I’m using a ton of Buddypress add-on plugins, as well as Cubepoints and a few others that my users really have no use for, and all of those being shown for them to activate/deactivate is really overwhelming for them.

    Just wondering if anyone knows what file the code that hides the core BP plugin from child sites actually is, or if anyone has successfully hidden other plugins from child sites? I thought maybe if I could see the code that does it, maybe I could apply it to the other plugins I’m using that I’d like hidden from users.

    Andreas Karsten
    Participant

    I have been looking here and elsewhere to figure out how a specific blog could be hidden from the blogs directory, such as the admin blog. Is this possible at all?

    #81444
    justbishop
    Member

    Not sure what to tel you about the theme issues you’re having (I just modified the BP default one), but I get what you mean about the BP groups/forums confusion.

    The audience I’m after is used to vbulletin forums, so I actually found some code posted here on BP.org that made groups open onto the group forum by default, and then I put a conditional around the activity stream posting thing on the group activity pages that only allows admins to see/use that. This way, all group activity id funneled into the forums, unless the group admin just feels the need to post something to the activity stream. I also just did away with the ability to post activity stream updates from the sitewide stream page, but you could just modify the ‘post update to’ dropdown menu there to hide and make it post to the user’s profile only.

    All in all, I’ve found that Buddypress can be a bit of work if you want to change the way it does certain things, but for most people the features are worth the trade-off of some extra work. I hope you get it all figured out and working the way you’d like :)

    escape311
    Member

    I’m trying to find a way to remove the BuddyPress admin bar for anyone who is not a moderator or admin. Regular, logged in members don’t really need to see it. I have notifications in a widget in the sidebar which is all my users were using it for anyways. Any ideas how I can do this?

    Thanks!

    EDIT: I solved this actually. Although I didn’t remove the admin bar, I modified it. I mainly just wanted to hide the Visit link, and create a link to the Dashboard and a sub link to create a New Post only visible to Moderators/Admins. I did this by modifying the Buddypress Admin Bar Mods plugin.

    #80952
    @mercime
    Participant

    @themeanwhile – you can enable or disable the various components so if you want Activities only, enable that and disable other components. After you activate BuddyPress, go to the new BuddyPress menu item on the left column of dashboard, and go to

    a) General Settings – these are your choices
    Base profile group name:
    Full Name field name:
    Disable BuddyPress to WordPress profile syncing?: Yes No
    Hide admin bar for logged out users?: Yes No
    Disable avatar uploads? (Gravatars will still work): Yes No
    Disable user account deletion?: Yes No
    Disable global forum directory?: Yes No
    Disable activity stream commenting on blog and forum posts?: Yes No
    Default User Avatar – For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their email address

    b) Component Setup
    Activity Streams – Allow users to post activity updates and track all activity across the entire site.
    Enabled Disabled
    Blog Tracking – Tracks blogs, blog posts and blogs comments for a user across a WPMU installation.
    Enabled Disabled
    bbPress Forums – Activates bbPress forum support within BuddyPress groups or any other custom component.
    Enabled Disabled
    Friends – Allows the creation of friend connections between users.
    Enabled Disabled
    Groups – Let users create, join and participate in groups.
    Enabled Disabled
    Private Messaging – Let users send private messages to one another. Site admins can also send site-wide notices.
    Enabled Disabled
    Extended Profiles – Activates customizable profiles and avatars for site users.
    Enabled Disabled

    I would suggest you set up a test install so you can check the features for yourself.

    “Of course, activity filters, profile page, friends page, settings page, etc, would also need to be migrated to display in the backend.”
    Why? If you want to make the BP Activity section private, you can add conditional tags for is_user_logged_in …

    drifter0658
    Member

    If you rename it now ( usually rename it/ wp-content/plugins1) that will hide access to the plugins from the admin portion of your site. You would then be able to get to your site’s admin panel. Once you log in and reach your admin panel, rename the plugins directory back to /wp-content/plugins.

    The problem is most likely with the last plugin you activated.

    #80665

    In reply to: Hide Admin

    Mark
    Participant

    Socialpreneur has a nice snippet here that makes it easy to hide the admin from the members list assuming you know the admin’s login name.

    Place this in your bp-custom.php:


    function my_bp_member_user_login() {
    echo my_bp_get_member_user_login();
    }
    function my_bp_get_member_user_login() {
    global $members_template;
    return apply_filters( 'my_bp_get_member_user_login', $members_template->member->user_login );
    }

    Then in your members-loop.php file, place this just below the while statement (wrapped in php tags!):
    if ( my_bp_get_member_user_login() == 'admin' ) continue ;

    (Supposing your admin’s login is ‘admin’.)

    lee_vhoi_ol
    Member

    Thanks for the reply, I just went into my wp-admin panel and on to Buddypress>General Settings but I do not find any Membership box. Here are the choices available:

    Disable BuddyPress to WordPress profile syncing?: Yes No
    Hide admin bar for logged out users?: Yes No
    Disable avatar uploads? (Gravatars will still work): Yes No
    Disable user account deletion?: Yes No
    Disable global forum directory?: Yes No
    Disable activity stream commenting on blog and forum posts?: Yes No
    Default User Avatar

    I also tried the other sections under Buddypress, and they don’t seem to be there. Am I missing anything?

    Thanks

    #79920
    justbishop
    Member

    Thanks :)

    I was actually coming to post that I didn’t really need it any more, but it’d still be useful info I suppose.

    In my case, the actual “blog” part of the main blog wasn’t being used for anything, so I’m just using that as the classifieds post system. I have custom fields set up (custom field template plugin) for users to call their remotely hosted photos, and am using a combo of the Members and Adminimize plugins to hide admin panel stuff that they don’t need to see. I also had to do some editing of the core wp-admin/edit-users.php to get rid of unnecessary profile fields in the backend, but nothing too bad that it can’t be redone after an update.

    #79263
    mrjarbenne
    Participant

    I use a Profile Privacy plugin created by http://www.jfarthing.com/. Sadly, the link to the plugin in my dashboard comes up 404 in the wp repositorty, and I can’t seem to find reference to it on his site. That said, the plugin allows for you to manage who can see certain fields in the profile (everyone, friends, user). When profile fields are set to “user” only the user and the site admin can view the info. Perhaps an attempt to contact jfarthing will met results. Good luck.

    #79120
    r-a-y
    Keymaster

    You still want to keep blogs, but want to hide it from the navigation correct?

    Use CSS!
    li#blogs-personal-li, a#bp-admin-blogs {display:none;}

Viewing 25 results - 751 through 775 (of 915 total)
Skip to toolbar