Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'Hide Admin'

Viewing 25 results - 676 through 700 (of 915 total)
  • Author
    Search Results
  • #104828
    aljuk
    Member

    @philippmuenchen – it works fine. I’m guessing you’re trying to test it while you’re logged in as Admin? The privacy controls don’t apply to Admin. Admin can see everything. Log in as a regular user and then test.

    Age calculation: http://code.hyperspatial.com/all-code/buddypress-code/buddypress-age/

    @noizeburger – it works for all fieldgroups, not just Base.

    #104776

    In reply to: Hide Admin

    @Symm2112, thanks a lot for your ’99’ status trick – it most definitely hides the user from everything in BP, just what is was looking for.

    ifanatics
    Member

    Greetings,

    Running WP 3.0.4 Multisite enabled, BP 1.2.7

    I’m using Justin Klein’s excellent WP-FB Autoconnect plugin and it’s working great for allowing FB users to connect to my buddypress site. It automatically creates them an account and it’s running very smoothly. The only problem is that the main blog appears under the “My Blogs” admin bar menu item as well as the “Blogs” tab on profiles of users who have connected using this plugin. This is NOT an issue for people who use the traditional Buddypress registration page. I’ve noticed that users who connect using the FB plugin are not assigned a user role, so I’m not sure if this is the issue.

    What I’d like to do is “block” the main blog from showing up in these users’ admin bar menu and profile menu. Can this be done by simply adding some code to functions.php or bp-custom.php?

    I should note that I have been discussing this with the plugin developer, Justin Klein, and this is not necessarily a plugin issue. The plugin “works” as expected and does what it’s supposed to do, and what I’m asking here is not related to the plugin directly.

    Thanks!

    rossagrant
    Participant

    @zoran100

    Hi mate,
    I worked this out in the end.

    If you go into your buddypress file on your ftp, then go into the Bp forums file, you will see something called bp-forums-templatetags.php.

    You are looking for references like these:

    ‘ function bp_get_the_topic_admin_links( $args = ” ) {
    global $bp, $forum_template;

    $defaults = array(
    ‘seperator’ => ‘|’
    );

    $r = wp_parse_args( $args, $defaults );
    extract( $r, EXTR_SKIP );

    $links[] = ‘‘ . __( ‘Edit Topic’, ‘buddypress’ ) . ‘‘;

    if ( $bp->is_item_admin || $bp->is_item_mod || is_super_admin() ) {‘

    Look at the last line of that code.

    To only allow a admin to see the edit / delete links delete the other permissions as appropriate.

    Hope that helps!

    :)

    #103752
    modemlooper
    Moderator

    There are exclude page plugins for this but the next version of BP includes custom drop down menus that you can adjust via admin.

    I’m creating a site using WP & BP and the Twenty Tens theme. The BP Compatibility gave me links to use for activity, members, groups, forums and register, but nothing for profile. I can’t figure out how to create the Profile link. (I also installed plug-ins to bypass WP profile and hide admin/dashboard—but the profile has never worked—for BP or WP. Help?
    http://www.teachertime123.com/

    #103347

    Okay, just figured out how to get the chat box to display and hide the admin bar.

    I had my admin bar hidden using the display: none tag. I undid that and went into adminbar.css and gave the adminbar a z-index of 1 or 2. Anything more than that and the admin bar would show.

    #103346
    calvinhsu
    Participant

    @acaps2007

    I think I’ve find an easy way to provide the effect you mentioned. It’s rather a css trick than a php-code way. Below is what I’ve find during this process:

    First, I find the function bp_adminbar_notifications_menu() in bp-core-adminbar.php, but it only works when adminbar is enable, and it simply lists out all notifications rather than the “mouse-over” effect we want. It seems admin-bar.js is also required, which is totally beyond me.

    So I realized that since it already requires adminbar to be enable in the first place, why are we bothering to duplicate this item, especially in so complex a way?

    We just need to hide all other items in adminbar, and re-position the notification menu.

    So finally I come up with this:

    /** Play with admin-bar to grab notification menu */
    
    #wp-admin-bar {
    position: absolute;
    }
    
    #wp-admin-bar .padder {
    background: none;
    }
    
    #wp-admin-bar .padder #admin-bar-logo, #wp-admin-bar .padder ul #bp-adminbar-account-menu, #wp-admin-bar .padder ul #bp-adminbar-blogs-menu, #wp-admin-bar .padder ul #bp-adminbar-thisblog-menu, #wp-admin-bar .padder ul #bp-adminbar-authors-menu, #wp-admin-bar .padder ul #bp-adminbar-visitrandom-menu {
    display: none;
    }

    Now we have notification menu there, and it’s no longer a “always-in-the-front” item. What remains to be done is further defining the style of this little baby, its position, background color, font color, etc.

    Hope this would do some help.

    #18921
    luvs
    Member

    Please don’t just say to go to the etivite forums because he abandoned them.

    Hello, if you notice, on the etivite site, there is some css stuff I need help on… I am trying to get the buigger avatar, and the buigger CSS for the first post, like here, http://etivite.com/groups/buddypress/forum/topic/quick-tip-hide-activity-updates-andor-replies-by-types-for-non-logged-visitors-in-users/

    I have a basic CSS made, but it does not work whatever I do!!!!
    `ul#topic-post-list li.first {
    background: none repeat scroll 0 0 #FFFFFF !important;
    font-size: 125%;
    padding-left: 35px;
    }
    ul#topic-post-list li.first div.post-content {
    margin-bottom: 20px;
    margin-left: 73px;
    margin-top: 15px;
    }
    ul#topic-post-list li.first div.admin-links {
    top: 5px !important;`

    Another thing, would be awesome, is you see how he has the “Started %% by %%” Latest Reply from %

    How do you get that also?

    (if you notice I am sort of trying to get away from the basic buddypress forums)

    dslax27
    Member
    #102176

    In reply to: Hide Directory

    James
    Participant

    ok, core developer doesn’t know this line (?) :)

    `remove_action(‘bp_adminbar_menus’, ‘bp_adminbar_blogs_menu’, 6);`

    for those, who needs, it will hide “my blogs” and account-“blogs” from admin bar.
    last stop – blogs in navigation, who will help?

    #102170

    In reply to: Hide Directory

    James
    Participant

    @DJPaul

    huge step forward, thanks, blogs directory disappeared…but, my blogs in admin bar and blogs in navigation still here.

    #18654
    James
    Participant

    hi,

    searched around google and bp, found a lot of topics re how to hide particular blog from blogs directory and nothing re how to hide whole directory.
    idea is to have MU enabled, but not to show this possibility to members for some time, let’s say beginning stage of site operation. yes, I found topic re how to hide blog(0) from profile, but even if blog creation is switched off, member still sees blogs directory (with one/main blog) + my blogs menu in admin bar, what definitely will raise tons of questions :)

    if someone has some code line, please share.

    thank you.

    #102042
    Paul Wong-Gibbs
    Keymaster

    by that, I meant we will use the WP admin bar if we have time. Otherwise, the current solution is that we hide the WP admin bar when used with BuddyPress.

    #102004
    Hugo Ashmore
    Participant

    Well it’s hidden! can’t say why as it’s a custom theme.

    if you want to see if it works enclose the ruleset in comments

    `
    /*
    #wp-admin-bar, #wp-admin-bar.padder {
    height: 0;
    display: none; /* Hide it- not required. */

    }
    */
    `
    Of course this will depend on whether the original styles for adminbar are being called and whether they suit the layout as to whether anything is seen.

    #101997
    acaps2007
    Member

    This is what it says in styles.css:

    `/* > Admin Bar


    */

    #wp-admin-bar, #wp-admin-bar.padder {
    height: 0;
    display: none; /* Hide it- not required. */

    }

    /* > Header


    */`

    Hugo Ashmore
    Participant

    This is something that is expressed from time to time i.e “More friendly interface” but it’s one of those things that slightly puzzles me again this is WP and the method of running it is the dashboard and that shouldn’t be a barrier for people really. There are however a few front end posting plugins which essentially drag the dashboard create post page/function to the frontend of a site that may make things a little simpler for users, but not sure on user blogs whether it’s easy or possible to then further abstract or hide the dashboard.

    #17155
    katemgilbert
    Participant

    I want to take the “Blogs” link from the My Account menu and serve it up as its own item in the BP Admin bar, called something different (My Sites).

    I have already commented out the links I want to hide from the admin bar in bp-core-adminbar.php (My Blogs, Visit), so I know where the code needs to go. But can someone tell me how to to format it? I don’t think adding a <li> with a link is the answer…

    Have also looked at this thread but I’m still lost.

    Thanks!

    oloranya
    Member

    I’m new to buddypress, so feel free to point and laugh at any blatantly stupid mistakes. ;)

    I’m setting up WordPress 3.0.2 with the latest release of buddypress locally to test it out for a possible web project and I’m having some trouble with using an existing bbpress install. I used this method to hide buddypress group forums in my bbpress install, and it worked great, with one glaring problem that I’m not sure if it’s due to the overall method or the hidden forum plugin. The problem is two-fold.

    First, this part: ` define ( ‘BP FORUMS PARENT FORUM_ID’, 3 ); `

    Which is supposed to make buddypress put all forums created by groups in the group category with the id of 3 is not working at all. However, even if I manually put these group forums into the proper category, the hidden-forums plugin is hiding the category, but not the forums within it.

    Any ideas?

    #16888
    ltnp
    Member

    Is there any way to hide the subnav items without removing the items from the adminbar? A search gave me the following codes:

    function boone_remove_blogs_nav() {
    bp_core_remove_nav_item( ‘friends’ );
    bp_core_remove_nav_item( ‘settings’ );
    bp_core_remove_nav_item( ‘groups’ );
    }
    add_action( ‘bp_setup_nav’, ‘boone_remove_blogs_nav’, 15 );

    When I use this code I remove the items from the subnav and the adminbar. The user is no longer able to use the functions. The reason for asking this is that the subnav menus is also available on the adminbar on top of the page. It is not necessary to have same menu on several places on the page.

    I have also problem removing the actions “Followers” and “Following”. It seems that these actions does not response to the code I use.

    Thank you for helping me solve this problem!

    Regards
    Phuong

    #98841
    kaelwithme
    Participant

    yeah, well i’m trying to look for a way. which i can’t find via plugins/admin since you should restrict/hide such navs on the BP page which are different from WP pages in a sense that they kinda don’t exist. they’re generated on the fly.

    do you by any means know what the equivalent of is_home() to the member profile page is?

    #16765
    csbarrett
    Member

    I would like to remove the “Activity” “Members” “Groups” and “Forums” links from the default WP menu.

    I found the BP-WP Navbar Menu plugin, but it only lets me put WP page links in the BP Admin Menu and hide the default WP Menu. But I don’t want to hide the default WP Menu. I want to keep the WP page links in the default WP menu and move the BP component links to the BP Admin Menu. How can I do this?

    #98411

    In reply to: Hide Admin

    bpinspire
    Participant

    Any new update on this one?

    #16511
    Asdrubal
    Member

    Hy folks,
    I use:
    `something`
    to make just admin see some content
    but i hold like know to how hide some content of logged and not “editor”,
    something like:

    not work
    whats type of permission that i can use?
    thanks for all this community

    zomex
    Member

    Hello everyone,

    So for the last year I’ve been meaning to create a new skateboarding website but this time more of a community with WordPress MU/Buddypress rather than information based< I'm blown away with both WordPress MU and Buddypress!

    I’m running into a couple of issues which I help someone can help me with. Granted, they are quite minor but I’m a bit mad

    My new site is: http://www.skateify.com/
    Now thanks to WordPress MU visitors can create their own blogs, e.g acoolsite.skateify.com

    Anyway here are my questions:

    1) On my main site you’ll see that the top admin bar stretches across the whole site. Now when someone creates a blog such as http://concept.skateify.com the bar doesn’t stretch across the whole site. This would normally involve some CSS tweaks but the strange thing is that the CSS files are identical with the main domain as each blog uses the same custom theme. So I’m trying to figure out why this is. For those who are familiar with Buddypress, do sub-blogs automatically have different stylesheets?

    2) I have created a custom permalink structure for the main blog. Now when someone registers for a free blog by default I would like this permalink structure to be selected. Is this possible or am I taking this too far?

    3) Is it possible to hide the default theme from users admin panel and turn my theme on by default? At the moment when a new blog is created it shows a white page. I imagine this is because it’s looking for the default WordPress theme (TwentyTen). It works perfectly once the user selects my custom theme in the admin panel.

    Thanks very much for any assistance with this!
    Jack

Viewing 25 results - 676 through 700 (of 915 total)
Skip to toolbar