Skip to:

Search Results for 'toolbar'

Viewing 25 results - 1 through 25 (of 758 total)
  • Author
    Search Results
  • #262852
    Profile photo of danbp

    The toolbar is part of WordPress, not BuddyPress.
    BP offers in his Main Settings to show the Toolbar for logged out users (default: enabled).

    Removing WP’s toolbar is a very common task, widely commented and explained over the web and on WP’s codex. Read here.

    Profile photo of rjt1985

    Hi there,

    I have Buddypress installed on a Multisite, on site 2 of the multisite.

    Site 1 is the outward facing main website. Site 2 is the “locked down” members only community, powered by Buddypress.

    Problem is, when a logged in user ventures from Site 2 into Site 1, they are met with the WordPress toolbar across the top of the page… which doesn’t look very nice in comparison to my theme. How can I remove the toolbar to logged in Subscribers?

    Thanks in advance,


    Profile photo of terrorjunk2

    So I’m using the buddypress Login/register links in my header, but the login link redirects to the standard wordpress page, my theme came with a custom login page so I’d like to use that page, how could I achieve that?

    Did some research on here and Google but all I get are toolbar plugins and code that doesn’t work…

    Thanks in advance!

    Profile photo of sherissa_r

    Thanks for this.

    What is the easiest way to hide the Dashboard menu item from the Buddypress Toolbar? See sceenshot.

    Profile photo of sherissa_r

    Hi, I’ve been searching all day and have not found a good tutorial on how to edit the Buddypress /WP admin toolbar in the top right-hand corner.
    Is this the only tutorial available?

    Modifying the Toolbar

    I would like to change the labels for some of the menu items.
    e.g. Forums to Discussions
    Friends to Network
    Groups to My Groups
    Courses to My Courses

    Thank you in advance if you’re able to guide me to a tutorial on how to do this using bp-custom.php or my child theme’s function.php

    Profile photo of danbp

    BuddyPress’s toolbar menu works like any other toolbar sub-menu item.

    See WP codex for details

    Read here for some usage examples explained in details:

    How to hide / remove the General tab under Settings


    In reply to: delete notifications

    Profile photo of danbp

    Hi @mohamedalikortli,

    thank you for the sharing, but I am afraid that your proposal is not acceptable in regard of coding best practice. I let your snippet in place, but i also warn all readers to use it, unless they know what they do.

    This forum is public and most users coming here for help are querying at first for BuddyPress related issues solution, not third party plugin tricks like the one you share here. The majority is also not very comfortable with php or even site development.
    This aspect is one of the main reason to provide usefull and safe code.
    IT IS NOT THE CASE HERE – and i wouldn’t recommand it.

    Not because it doesn’t or wouldn’t work ( and i haven’t tested it), but because it is not correctly written. Allowing such a snippet is like encouraging (and by the way perpetuating) bad practices. Hopefully you understand and agree that we don’t want this on the BuddyPress support forum.

    @sbrajesh ‘s BuddyPress Clear Notification plugin was last updated in march 2016, which is pretty recent. I doubt that the bug is in his plugin and i expect more a menu related issue… but this is only an expectation of mine.

    If you estimate that your workaround is helpfull for that plugin, get in touch with Brajesh or publish it on the plugin support.

    By the way, next time you publish code on this form, use the code button available on the editor toolbar to insert it properly.

    FYI about what you did wrong or not properly:
    – hacking a core file. Notification template should be used, but from inside a child-theme, not directly from bp-legacy).
    – comments should be in english (some in your example are in french)
    – your recommendation is against all WP usage:

    copy this script into ur document root where u have installed ur wordpress

    – you can add custom code via bp-custom.php. There is also no need to go to wp root, when you can do the same thing from within your child-theme.
    – why do you recall jquery ? It is already loaded when you run BP…
    – i’m not a developer, but i’m pretty sure there are other things to mention about coding.

    In regard of the script itself, BP provide much simplier way to delete notification or show a delete button: reference.
    You’re also using french in that script.

    Calling a file “test” is ok, but in that case you should provide some explanation on how to finally use your snippet. As already said, not everybody here is able to understand – and use raw code – when you provide a workaround. Providing code is fine, providing code+tutorial is always better.

    Désolé d’être sévère et rien de personnel, mais juste une mise au point nécessaire.

    [modlook] @jjj, @djpaul, @boonebgorges, @mercime, @hnla, @shanebp, @henrywright

    Profile photo of danbp

    Sorry, but we can’t assist you for premium theme or third party plugin issues. The toolbar is part of WordPress and BuddyPress only allows you to show/hide it for logged out users. See checkbox in BP’s main settings: Show the Toolbar for logged out users.

    Control if you have a specific function runing in your theme functions.php file. If you don’t know how to proceed, ask for help on your theme support. If you find nothing in the theme, ask on woocommerce support.

    Profile photo of bosmana

    I use WP version 4.7, RamboPro theme 2.5 and BuddyPress

    After installing Woocommerce, the toolbar disappeared for regular users (users higher than ‘contributor’ do see the toolbar).

    There is 1 closed topic in this forums addressing this, yet the solutions do not work for me:

    1. Henry Wright suggested the following
    “I think WooCommerce might disable the admin bar but I’m not entirely sure why. Try adding this to your theme’s functions.php file:

    add_filter( ‘woocommerce_disable_admin_bar’, ‘__return_false’ );”

    However, this will permanently show the toolbar, even for users who are not logged in (which is what I want to avoid).

    Does anyone know a good solution?


    In reply to: Broken after install

    Profile photo of danbp

    Hi guys,

    which theme do you use ? Try with Twenty Sixteen or fifteen, and if you deactivated the toolbar in your settings, try to activate it, then activate BP again.

    Another thing to try is to not use the theme customizer. Setup WP, then BP and use a twenty theme, without customizer actions. This basic trio should work.

    If your site use php 7+, try to use only php 7.0 (not 7.0.x) as BP is not ready for the very latest php version at this time… You could also try to use only php 5.6 instead of 7.0…

    Just in case of, as this was already mentionned on Trac, you can follow about that issue on #7406

    Profile photo of danbp

    Is “xprofile component” the feature exposed in “Settings > BuddyPress” named “Extended Profiles” (at the very top of the config page)? (It probably is, but I just want to be sure, thanks.)

    Yes it is !

    it is possible […] to effect the change of either the email or password fields?

    Yes it is ! from here: – the link can be found under the top right usermenu on wp’s toolbar: username > settings > general OR/AND on the buddymenu, when you’re on your profile: Settings ! And that’s it !


    For all other BP related questions, please read through the codex, i really have no time to (re)write all explanations. Sorry, hope you uderstand.

    Profile photo of danbp


    i’ll try to explain. You’re using WordPress and a plugin called BuddyPRess which add a community dimension to WP.

    Members are the heart of BP. Anything done by the plugin will return something related to members: activities, friendships, dicussion and much more.

    How is this possible ?
    Because WP let you register members separately. To do this, WP ask for a username(pseudonym), a password and a valid email.

    You cannot avoid this, whatever plugin you use. It is how it works.

    Now, we have 2 different question in this topic.

    1) how to restrict access to profile settings ?
    2) do we need a plugin for that ?

    About point 1
    WordPress was designed to be a blog builder. A CMS with one blog author who was mainly also the site
    owner/builder… This changed with the years and today, you can handle a multiauthor blog.

    When you install BP, you can still handle a multiauthor blog (or even blogs) and also a big community of different users, whith different (wp) roles.

    What hasn’t changed is the way WP handles authors(or members): from within the dashboard, whatever the role.

    When BP is activated, and if you use the xprofile component, you can build a registration form who is added to the original wp registration form. This form is then available on each user profile and can be modified from there.

    To restrict user access to wp-admin, you can use different technique. This depends of your coding knowledge or working philosophy, with custom code or applying some plugin solution.

    This is independant of BuddyPress and out of the scope of this forum. Just remember that BP let you access to your credentials from front-end.

    About point 2
    – in theory, you don’t need a plugin
    – you always need to read about a plugin before using it.
    For example, the workaround mentionned in this topic about the usage of Profile Builder.
    – here a recent tutorial – for beginners – you may found more advanced advice by googling about “wordpress restrict dashbord access”.

    When you read the teaser on that plugin page, you already should have understand that you don’t need it !
    Simple to use profile plugin allowing front-end login, user registration and edit profile by using shortcodes.

    Astonishment ! BuddyPress offers exactly the same options (among others).

    What ever plugin you use, the regiter process of WordPress won’t change, and the user list or the user data will always be at the same place. What plugins do (most of them), is to modify the appearance of that process.

    What you can also do is to remove all WP related items from the toolbar, if you use it. This is widely documented and discussed on WP’s support and codex. It’s WP territory and has nothing to do with the fact you use BuddyPress.

    Admitting you found a solution for the backend, you need to use BP’s login widget. From there, users can enter the site. And if they loosed their password, they can ask for a new one from there (usually the sidebar, on front-end).


    In reply to: Cannot See Groups

    Profile photo of Venutius

    The Member Toolbar is the BuddyPress drop down menu, do you mean the tabs on the profile page? There’s lots of discussions about changing those tabs


    In reply to: Cannot See Groups

    Profile photo of Venutius
    Profile photo of siqve006
    dev grl

    How can I let my users edit their profile pictures and cover image and any other info without seeing the backend of my site to do so? I also don’t want the buddypress users to see a toolbar when logged in.

    Profile photo of sounds

    Hardly paranoid considering we’re talking about a piece of software.

    What I meant was, the toolbar is belong to wordpress, as you mentioned.
    It’s strange that they add a feature and don’t include any options to remove different
    elements of the toolbar, like it didn’t matter or they left it up to someone else to deal with.

    I thought I added the two links myself actually with some customizer plugin, not the case.

    Profile photo of danbp

    I don’t understandd this paranoïd question: So this is another case where they decided to leave out any option.

    – Who are “They” ?
    – What are the other case ?
    – Which options are leaved out ?

    Really mysterious, unless the truth is elswhere ? May be in the Twilight Zone ?

    You have the option to disable the Toolbar under Settings > BuddyPress > Options.
    You have the possibility to use BP’s login widget under Apparence > Widgets

    Profile photo of danbp


    the toolbar belongs to WordPress. How to remove items is explained here:
    Searching the forum will certainly bring you some more hints too.

    Profile photo of sounds


    There are two links on the left side of the admin toolbar: Login & Register
    How do you remove them? does Buddypress add them? and where is the option to disable them if so?


    Profile photo of giuseppecuttone

    the buddle notification icon, located in administration bar in the left zone of the AVATAR, is not showed by defauls in mobiles devices.
    In order to show it @shayne-thiessen explaned in the following post what is the CSS codec we can must add in order to show it:
    Resuming, the CSS code is the following

    /* Show only default top level items */
    	#wp-toolbar > ul > li {
        		display: block;

    But now there is a little problem… when I clic in the notification icon, in the mobiles devices it will show only a little part of the dropdown windows with notification, because the dropdown windows is showed from the icon to the right zone, so it goes out of the display, while in computers the dropdown windows is showed from the icon to the left zone.
    So my question is:
    how can I show the dropdownmenu in the mobiles from the icon to the left zone (just like in the web)
    Thank very much for your support.

    Profile photo of danbp


    it seems that you have a lot of pages on the site and that you use weird settings.

    I would do the following:
    – remove any redirect settings and other done via plugins.
    – deactivate all plugins except buddypress.
    – activate 2016, and not a child theme.
    – ensure that each active BP component has a page assigned and that this page is unique, without any template or model assigned. Just a title and nothing else.
    Actually, you have links like “…/” (found in the Who’s on widget). Or the link to Archangel’s profile indicates “../”

    That’s unusual and cannot work properly, except if your WP is in a directory called “activity”. And it is not the case ! Note also that BP should be at the same level as WP.

    – set up pretty permalinks (what ever but default option) and save.

    – and read attentively the install guide.

    Other dysfunctionning points:
    The toolbar has a Register button who link to ../ (this works correctly)
    but the homepage shows ../ If you want visitors to register, send them to /join/ page and not to an empty page.

    …and of course, this link doesn’t work too (at least for a not logged visitor) : ../

    Here the list of correct slugs of a default BP install:
    – -> BP site activity page (active by default)
    – -> BP members directory (mandatory)
    – -> BP groups directory (if group component is active)

    These BP pages are dynamic and depending the context, you can have ie: -> goes to a profile -> goes to the friends screen of the specified user

    It works the same for groups.

    Once BP and WP are working correctly together, you can reactivate the child theme and your plugins.

    Profile photo of chtn2109

    I am going to create a new custom notification for a user that if someone mention the user in any review with @, the related user will get a email and a new notification has been generated, this notification I created dynamically, but I get empty message showing on user profile notification area, I checked the db_table for notification as well it has proper entries as well,

    $description = apply_filters_ref_array( 'bp_notifications_get_notifications_for_user', array( $notification->component_action, $notification->item_id, $notification->secondary_item_id, 1, 'string', $notification->component_action, $notification->component_name, $notification->id ) );

    In the above line I found that ‘bp_notifications_get_notifications_for_user’ filter return me the empty description of my notification from line no 523 in function “bp_get_the_notification_description” of file buddypress/bp-notifications/bp-notifications-template.php

    Below is my custom code for generate notification:

    //add new notification mention_in_comment
    function mention_in_comment_filter_notifications_publish_post_get_registered_components( $component_names = array() ) {
        // Force $component_names to be an array
        if ( ! is_array( $component_names ) ) {
            $component_names = array();
        // Add 'custom' component to registered components array
        array_push( $component_names, 'mention_in_comment' );
        // Return component's with 'custom' appended
        return $component_names;
    add_filter( 'bp_notifications_get_registered_components', 'mention_in_comment_filter_notifications_publish_post_get_registered_components' );
    //show new notification text
    function bp_mention_in_comment_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
        // New custom notifications
        if ( 'mention_in_comment_action' === $action ) {
            $comment_info = get_comment( $item_id );
            $author_name = ($comment_info->user_id) ? get_the_author_meta( 'display_name', $comment_info->user_id ) : $comment_info->comment_author; 
            $custom_title = $author_name. ' mentioned you in a new comment on '.get_the_title($comment_info->comment_post_ID);
            $custom_link  = get_comment_link( $comment_info->comment_ID );
            $custom_text = $author_name. ' mentioned you in a new comment: <br/>' . $comment_info->comment_content;
            // WordPress Toolbar
            if ( 'string' === $format ) {
                $return = apply_filters( 'mention_in_comment_filter', '' . esc_html( $custom_text ) . '', $custom_text, $custom_link );
            // Deprecated BuddyBar
            } else {
                $return = apply_filters( 'mention_in_comment_filter', array(
                    'text' => $custom_text,
                    'link' => $custom_link
                ), $custom_link, (int) $total_items, $custom_text, $custom_title );
            return "Just say hello.";        
    add_filter( 'bp_notifications_get_notifications_for_user', 'bp_mention_in_comment_format_buddypress_notifications', 1, 5 );
     //add notification to the mentioned user
        $notification = bp_notifications_add_notification( array(
                          'user_id'           => $user_id,
                          'item_id'           => $comment->comment_ID,
                          'secondary_item_id' => $user_id,
                          'component_name'    => 'mention_in_comment',
                          'component_action'  => 'mention_in_comment_action',
                          'date_notified'     => bp_core_current_time(),
                          'is_new'            => 1) );

    Could you please let me knwo what is wrong with my code or something else, how can more debug and solve this.

    Profile photo of giuseppecuttone

    I will be your savior,
    for same rasons, wordpress decided not show admin bar like default in mobile.
    It is so,maybe, because when user log in in mobile device, a lot of menu will be showed… really I dont know why…
    But if you dont have this problem, and want show admin bar for log in an log out users, you must add in CSS the following codec:

    @media screen and (max-width:782px) {
        #wpadminbar {
        html {

    The codec where say html position absolute is for delete noise black bar located in the up side zone.
    If you want, you can also show the notification icon (I think it is named budlle notification) into the admin mar, adding the following codec in CSS zone:

    /* Show only default top level items */
    	#wp-toolbar > ul > li {
        		display: block;

    I have gone mad to find the solution, but now we have it.
    If you dont want show menu in admin bar to the suscriptors, colaborator and authors, you can use the AG CUSTOM ADMIN plugin. It hide them and help you in a clean design. (you can also hide wordpress logo, and so much things…)

    Now, I have only a litlle / big problem:
    the drop down menu, when I click in the “notification icon” in the admin bar, is not showed correctly… It is showed from the “notification icon” to the right zone, so in mobiles user can red the title of the notification.
    The solution is show the dropdown menu from the “notification icon” to the left zone. So, also in mobiles users can red the title of the notification.
    Can you help me for to make that?
    I have helped you, now I hope someone can help me 😉
    Thank for your support and have funny

    Profile photo of Editor Mike
    Editor Mike

    Hi, is it possible to turn off the toolbar bubble for tags, but retain the e-mail notification?

Viewing 25 results - 1 through 25 (of 758 total)
Skip to toolbar