Skip to:

Search Results for 'toolbar'

Viewing 25 results - 1 through 25 (of 767 total)
  • Author
    Search Results
  • #266200
    Profile photo of jeffersonbrunheirajeffersonbrunheira


    After instalation plugin, show error message:

    [30-May-2017 16:02:22 UTC] Erro de banco de dados do WordPress Table ‘portal.wp_2_bp_xprofile_fields’ doesn’t exist para a consulta SELECT name, parent_id, type type FROM wp_2_bp_xprofile_fields feita por require(‘wp-blog-header.php’), require_once(‘wp-includes/template-loader.php’), include(‘/themes/woffice_2.4.1/woffice/page.php’), get_footer, locate_template, load_template, require_once(‘/themes/woffice_2.4.1/woffice/footer.php’), wp_footer, do_action(‘wp_footer’), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, wp_admin_bar_render, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, Woffice_Setup->toolbar_admin_menu, woffice_get_settings_option, fw_get_db_settings_option, FW_Db_Options_Model->get, FW_Db_Options_Model_Settings->get_options, _FW_Component_Theme->get_settings_options, _FW_Component_Theme->get_options, fw_get_variables_from_file, require(‘/themes/woffice_2.4.1/woffice/framework-customizations/theme/options/settings.php’), _FW_Component_Theme->get_options, fw_get_variables_from_file, require(‘/themes/woffice_2.4.1/woffice/framework-customizations/theme/options/buddypress.php’)

    Help me, please?


    Profile photo of danbpdanbp


    WP’s toolbar is not part of BP, and not part of your theme. This bar belongs to WP.

    I suggest that you don’t remove(or deactivate) the whole bar, but only remove any menu item belonging to WP, except the “howdy” menu where BP install his sub-menu items.

    To do this, you have to use some custom functions related to wp_admin_bar class.

    Use $wp_admin_bar->add_node or $wp_admin_bar->remove_node

    Codex reference:

    …and a little tutorial, in case of!

    How to Customize the WordPress ToolBar

    Profile photo of zsaucezsauce

    Hello everyone!

    I’ve been searching for hours on every site I can possibly think of, and I’ve looked at tons of articles in regards to the admin bar, but haven’t found any similar issues.

    The website I am currently building I am using BuddyPress version 2.8.2, BuddyBoss theme version 2.3.3, and WordPress version 4.7.4.

    I want to hide the WordPress admin bar from all users except the administrator. That’s simple, as I have found many different ways to do it (coding, plugins, etc).

    The issue I am running into is when I hide the WordPress admin toolbar (regardless of method, ie. coding or plugin), it also removes all of the dropdown options for the BuddyPress admin toolbar (activity, profile, friends, messages, etc) that shows up with the BuddyBoss theme. I originally thought it was a coding issue in the BuddyBoss theme, but from the information I found, the admin bar that shows up with the theme comes from the BuddyPress plugin.

    I imagine that the BuddyPress plugin uses the same call function (I don’t code much so I don’t know the proper term) to get it’s drop down menu as WordPress does for it’s admin toolbar. My issue is I can’t figure out where/what that is so that I can change it to something custom.

    Any assistance would be greatly appreciated.

    Profile photo of caharacahara

    Hey all I’m attempting to modify the content returned by BuddyPress’ default ‘@’ mention notification. I’m using this as part of a custom profile page and would like to modify the “username mentioned you’ text to something more personalized based on post type.

    // Change mention output
    function format_mention_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string', $component_action, $component_name, $notification_id) {
        if ( $component_action === 'new_at_mention') { // User mentioned notification
            $mentioned_source_type = get_post_type($item_id);
            $username = wl_get_username($secondary_item_id);
            $mention_avatar = wl_get_avatar($secondary_item_id);
            $mention_title = '';
            $mention_text = $username;
            if ($mentioned_source_type == 'topic') {
                $mention_title = bbp_get_topic_title( $item_id );
                $mention_text .= ' mentioned you in the forum post ';
                $mention_source_link = ''; // link to topic
            } else if ($mentioned_source_type == 'reply') {
                $parent_topic_id = bbp_get_reply_topic_id( $item_id );
                $mention_title = bbp_get_topic_title( $parent_topic_id );
                $mention_text .= ' mentioned you in their response to the forum post ';
                $mention_source_link = bbp_get_reply_url( $item_id ); // link to reply
            } else if ($mentioned_source_type == 'comment') {
                $comment = get_comment($item_id);
                $mention_text .= ' mentioned you in their comment';
                $mention_source_link = get_comment_link($comment);
            } else {
                $mention_avatar = '';
                $mention_title = get_the_title($item_id);
                $mention_text = 'You were mentioned in ';
                $mention_source_link = get_permalink($item_id);
            $mention_source_link = wp_nonce_url( add_query_arg( array( 'action' => 'read', 'notification_id' => $notification_id), $mention_source_link ), 'bp_notification_mark_read_' . $notification_id);
            // WordPress Toolbar
            if ( 'string' === $format ) {
                $return = apply_filters( 'bp_activity_single_at_mentions_notification', '<a href="' . esc_url( $mention_source_link ) . '" title="New mention">'. $mention_avatar . esc_html( $mention_text ) . '<span class="activity-title">'.$mention_title.'</span></a>', (int) $total_items, $mention_text, $mention_source_link );
            // Deprecated BuddyBar
            } else {
                $return = apply_filters( 'bp_activity_single_at_mentions_notification', array(
                    'text' => $mention_text . $mention_title,
                    'link' => $mention_source_link
                ), $mention_source_link, (int) $total_items, $mention_text, $mention_title );
        return $return;
    add_filter( 'bp_notifications_get_notifications_for_user', 'format_mention_notifications', 100, 8 );

    What I’ve tried so far:
    – Changing the priority of the filter
    – Moving my logic into the activity_format_notifications action with various different priorities
    – All of the above in a custom plugin file, bp-custom.php, and my themes’ function.php file

    I’ve used a similar filter for custom notifications and that aspect works great. I just can’t seem to override the default content with my own. My thoughts are that the the filters/actions run too late to be noticed by BuddyPress.

    Many thanks for your help.

    Profile photo of per4manceper4mance

    Wanted to test today the profile fields for but got a blank (white) page. The source text shows me the following:

    <!DOCTYPE html>
    <!--[if IE 8]>
    <html xmlns="" class="ie8 wp-toolbar"  lang="de-DE">
    <!--[if !(IE 8) ]><!-->
    <html xmlns="" class="wp-toolbar"  lang="de-DE">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>Profilfelder &lsaquo; — WordPress</title>
    <script type="text/javascript">
    addLoadEvent = function(func){if(typeof jQuery!="undefined")jQuery(document).ready(func);else if(typeof wpOnload!='function'){wpOnload=func;}else{var oldonload=wpOnload;wpOnload=function(){oldonload();func();}}};
    var ajaxurl = '/wp-admin/admin-ajax.php',
    	pagenow = 'users_page_bp-profile-setup',
    	typenow = '',
    	adminpage = 'users_page_bp-profile-setup',
    	thousandsSeparator = '.',
    	decimalPoint = ',',
    	isRtl = 0;
    <meta name="viewport" content="width=device-width,initial-scale=1.0">

    Unfortunately I’m unable to get access to the profile fields setup page. Using WP 4.7.3, BP 2.8.2, BP Xprofile Custom Fields Type 2.6.3 with PHP 7, MySQL 5.6

    Any help? Thx!

    Profile photo of danbpdanbp

    When you are on frontend, your profile tab, you should see follwing menu items under the buddy nav bar:

    View | Edit | Change Profile Photo | Change Cover Image

    and the same items under your user menu (below Howdy), in the top right corner on the Toolbar, as submenu of the Profile item.

    If it isn’t case, some common issues can be:
    – you omitted to save your BP options
    – you use a cache and see the site content from before BP installation
    – there is a weird bug in a file
    – your theme isn’t taylored for BuddyPress
    – there is a conflict with another plugin

    What you could try:
    – double check your settings
    – clear the cache
    – reload a fresh copy of BP via FTP
    – test with a Twenty theme
    – you have to debug

    Note also that you can only load ONE avatar or ONE cover image at a time and that you have definitely only one picture for each bundled with your account.

    Profile photo of danbpdanbp


    sorry but this is not related to BuddyPress.
    Dashboard access is part of WordPress and the way it is displayed on your screensht indicate that it is also theme dependant somehow.
    You can hide any menu item from the WP toolbar by following these instructions

    or you can chosse to active/deactive the toolbar option in BP settings or use a plugin to limit dashboard access.


    In reply to: WP V 4.7.2

    Profile photo of shanebpshanebp

    It looks like your theme has replaced the toolbar… ?

    To confirm that the issue is due to your theme, try switching momentarily to a WP theme like 2015.

    Profile photo of Bee-StingBee-Sting

    I can’t seem to get the Login button to appear on my site. I’ve been trying repeatedly and it won’t engage, and yes, I’ve gone to Settings> BuddyPress> Options> Main Settings> Toolbar> and ticked the Show the Toolbar for logged out users option.

    Still nothing. Arrrrrrrrgh!

    Profile photo of sadiq20161Md Sadiqur Rahman

    Hi there,
    I am using buddypress and bbpress. I got a problem in forum notification. For subscribed forum, I get email for both new topic and reply. But I do not get notification for NEW TOPIC in website profile toolbar (for reply, its working fine). Can anyone help me out?

    Profile photo of danbpdanbp

    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 rjt1985rjt1985

    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 terrorjunk2terrorjunk2

    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_rsherissa_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_rsherissa_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 danbpdanbp

    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 danbpdanbp

    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 danbpdanbp

    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 bosmanabosmana

    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 danbpdanbp

    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 danbpdanbp

    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 danbpdanbp


    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 VenutiusVenutius

    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 VenutiusVenutius
Viewing 25 results - 1 through 25 (of 767 total)
Skip to toolbar