Skip to:

Search Results for 'toolbar'

Viewing 25 results - 1 through 25 (of 574 total)
  • Author
    Search Results
  • #194035

    In reply to: Create a group

    Avatar of jessicana

    What I have done is that I used a plugin that hides the admin bar for all the users (logged in and logged out) and users can’t see or use the toolbar. When the user is logged in, s/he can see the profile link in the menu which takes him/her to the default buddyPrss profile and s/he can start from there. That’s why if create group exist under the profile tab (without admin) it would make my life easier.

    The theme I am using is not helping me to go around this and that’s why I was thinking of using a different theme that is BuddyPress ready.


    In reply to: Create a group

    Avatar of danbp


    if you allow group creation to your members, they can do so by going to group directory.
    The “create group” button is in the group header.

    Once created, the member see on his profile, a tab named My Groups (or Groups) with a counter. On the tab, the group list created by him.

    -> When users are logged out, they have no access to the Toolbar or to the Create Group button on the group directory.

    This is so by default. Any other behaviour can be considered as theme related (for ex. if you use a theme specifically designed for BuddyPress). IMHO rare, but can eventually exist.

    You can hide the Toolbar to logged out user in the buddypress settings.

    About BP/WP jargon:
    the Toolbar is the wordpress black toolbar at the top of the site.
    the User menu is the menu at the top right corner, under wp’s Howdy
    the buddymenu is the bar under the page header and before the page content. Depending the context (page, status), this menu bar has an associated sub menu.

    Avatar of jlambrecht265

    Hey all!

    I’m struggling finding answers for this. I promise I’ve done some comprehensive googling before coming to you guys.

    So what I want is super simple, I think.

    If you are an admin, I want it to leave the admin toolbar alone.


    If you are a subscriber or NOT logged in, I would like it to ONLY display the user information in the right hand corner. i.e have the Login, Register, Profile, and Notifications portion of it.

    Does anyone know how to do this? And while we’re at it, how to I switch the toolbar to stay in a fixed location? Change the color? How do I restrict access to the wp-admin portion and keep it from being entered manually? How do I set a landing page that forces users to log into the site before viewing any of the site content?

    THANK YOU SO MUCH! Sorry for a thousand questions, I’m still kind of new at all of this.

    PS: Would it be easier to get a plugin that disables the admin bar for non-admins altogether and use the BP login widget in the header? How would I put a widget up there if that’s the case. Just tried this. I don’t like the default login widget – It doesn’t display any of the drop down things that it does in the toolbar

    Avatar of danbp

    Deactivate all plugins but buddypress and activate 2014 and retest your install.
    See if the notices disappear and if the site loads correctly.
    If not, deactivate buddypress and retest.

    If ok, activate custom community and retest only with wp.
    If the errors are back, you have the culprit.
    If it is ok, activate BP. Retest.

    If ok, you reactivate one by one your plugins. Except BP Toolbar, outdated and still in beta since april 2013. This plugin was intended for BP 1.5 to 1.7. And BuddyPress is use now the wp Toolbar.

    If nothing of this is working correctly, you have to ask on the theme support.

    Avatar of gibbousmoon

    I’m working with a brand new install of WP 3.9.2, and I don’t recall whether I installed BP or the Custom Community theme first, but when I have both enabled, I get this error:

    Notice: Indirect modification of overloaded property BuddyPress::$add_root has no effect in /home/nanoedmo/public_html/wp-content/plugins/buddypress/bp-core/bp-core-functions.php on line 564

    If I switch to another theme, the error disappears. Initially the error would just load at the top of the page while the site continued to function, but now the error is the ONLY thing that displays on any page, which renders my site completely unusable. It’s quite possible that the change in behavior corresponded to when the host site upgraded me to WP 4.0.

    Now, the facts.

    * Hosted by SiteGround
    * WordPress 4.0
    * Directory install
    * In a subdirectory
    * Upgraded from WP 3.9.2
    * BP 2.0.2
    * Other plugins activated: Akismet, bbPress, BP Custom Profile Menu, BP Group Email Subscription, BP Toolbar, Captcha Pro, Counterize (and its plugins), Limit Login Attempts, NaNo Stats, ProgPress, Shortcode Reference, The Events Calendar, WordPress SEO.
    * Using Custom Community theme
    * Core files untouched
    * No custom functions in bp-custom.php
    * bbPress version 2.5.4
    * This error is almost the only one in php_errorlog. Occasionally I see this one:
    PHP Warning: Cannot modify header information – headers already sent by (output started at /home/nanoedmo/public_html/wp-content/plugins/buddypress/bp-core/bp-core-functions.php:564) in /home/nanoedmo/public_html/wp-includes/pluggable.php on line 1173

    Avatar of danbp


    On a single install, users have never access to the dashboard. This only happens if they have a blog on a multi site. And the admin they see is the admin of their blog, not the main blog where BP is installed.

    But first, read here please, provide the information and your theme name. be warned that if you use a premium, that you can’t expect much help on this forum, as we have no access to such themes.

    FYI: the admin toolbar or any of the BP menus are working like any other menus and toolbar labels on wordpress. Is explained on the WP codex.
    For more advanced details, see here.

    For specific BP customization, read the BP Codex.

    Avatar of vivis

    I used this code bud the notifications disapear completly, i want to use it on my header not in the toolbar, i have disabled the toolbar. And i use sweetdate theme not kleo.

    Avatar of danbp

    hi @vivis,

    try with this function <?php bp_notifications_toolbar_menu ?>
    Read also the documentation of your Premium theme (Kleo) about menu and the WP codex on how to add toolbar menus and sub menus.

    Avatar of MrMarkG

    Is there an example page.php or buddypress.php in the BP install that I could copy into my theme? I didn’t see one.

    The name on the top right comes from my own toolbar which uses bootstrap styles:

      <nav class="navbar navbar-default" role="navigation">
      <div class="container-fluid">
        <!-- Brand and toggle get grouped for better mobile display -->
        <div class="navbar-header">
          <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        <!-- Collect the nav links, forms, and other content for toggling -->
        <div class="collapse navbar-collapse navbar-inverse navbar-fixed-top" id="bs-example-navbar-collapse-1">
          <ul class="nav navbar-nav">
    	    <?php wp_list_pages(array('title_li' => '')); ?> 
    	  <ul class="nav navbar-nav navbar-right">
    	  <?php if ( is_user_logged_in()) : 
    			  // get the currently logged-in user
    			$user = wp_get_current_user(); ?>
    			<li><a href="<?php echo bp_loggedin_user_domain(); ?>"">
    			<button type="button" class="btn btn-info">
    			<span class="glyphicon glyphicon-envelope"></span> 
    			<span class="badge"><?php bp_total_unread_messages_count() ?></span>
    			<?php // echo the user's display_name
    			 echo $user->display_name; ?>
    	  <?php else: ?>	
          <form class="navbar-form" role="login">
            <div class="form-group">
              <input type="text" class="form-control" placeholder="User Name">
    		  <input type="text" class="form-control" placeholder="Password">
            <button type="submit" class="btn btn-default">Login</button>
    	    <?php endif; ?>

    Again, if I’m doing the toolbar wrong, let me know, but I have a very particular style guide I need to use.

    Thanks very much!


    Avatar of danbp

    Any theme contains a page.php or buddypress.php if you use a child theme.

    The username is coded like this:
    <h1 class="entry-title"><?php the_title(); ?></h1>

    You simply add your conditionnal around the h1 line

    if (….)
    h1 the title

    Don’t see exactly from where the name on the top right is coming. Is it the one on the Toolbar (howdy) ?
    Give the code


    In reply to: Forwarding Messages

    Avatar of akovia

    I must be seeing things then. (Certainly a possibility)

    Private Messages

    Private Messaging works like an internal site email. Members can message people on their friends list as well as forward and reply to received messages. Each member will have their own individual Inbox and Sent messages folders as well as a Compose message screen. Members will be notified of new messages by a new message count in own Messages tab, in notification circle in Admin toolbar, as well as receive email notifications of the private message, if enabled.

    Avatar of 1a-spielwiese

    Your last answer I have seen right now. – I can’t answer in detail before tomorrow; I have to logout and to leave.

    Only short:

    “What is the /usage/ folder for?”

    Maybe for for statistics.

    “Most hoster have a root folder like htdocs or wwww.
    You install WP at the root. Eg. server root/wp-content, server root/wp-admin, etc”

    The highest level is not named. The wp-config.php and the .htaccess are on the highest level. The different WordPress-Folders constitute – together with the usage-folder – the second level.


    Before I did:

    — Again I started everything up form the beginning. Now it is impossible to delete the file
    from the wp-admin/includes folder.

    — I delete and re-create the wordpress-database etc.

    — This time I removed NOT the www. from the general setting.

    — I inserted the indicated further lines to the wp-config.php and uploaded the .htaccess.

    — I can log in; and I have two dashboards now. I activate ‘Es können neue Seiten und Benutzer registriert werden.’ (New pages and users can be registered.)

    — I log out; check the registration page. It’s everything okay: The ‘weiter’ (next)-Button is there.

    — I log in. I installed and activated BuddyPress.

    — I de-activated ‘Extended Profiles’. I de-activated ‘Show the Toolbar for logged out users’.

    — I log out and check the register page. The submit-Button is missing again.

    However, on Friday I received the message from my provider: ‘Ich habe dir DNS Wildcard gesetzt und www entfernt.’ (I have set the Wildcard and www removed.’) –

    But of course this referred on the WordPress/Buddy-installation from Friday not from today.

    Avatar of akovia

    1. Which version of WordPress are you running?
    2. Did you install WordPress as a directory or subdomain install?
    3. If a directory install, is it in root or in a subdirectory?
    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    6. Which version of BP are you running?
    7. Did you upgraded from a previous version of BP? If so, from which version?
    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    9. Are you using the standard BuddyPress themes or customized themes?
    10. Have you modified the core files in any way?
    11. Do you have any custom functions in bp-custom.php?
    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    Not using bbpress anymore
    13. Please provide a list of any errors in your server’s log files.
    14. Which company provides your hosting?
    Dedicated server
    15. Is your server running Windows, or if Linux; Apache, nginx or something else?
    Linux with Nginx

    I am unable to figure out how to forward a message. I’ve searched Google and this site for some information unsuccessfully. I did find some people asking to have this added as a feature, or ask how to do it, but there have been no answers.

    From what I read here:

    "Private Messages
    Private Messaging works like an internal site email. Members can message people on their friends list as well as forward and reply to received messages. Each member will have their own individual Inbox and Sent messages folders as well as a Compose message screen. Members will be notified of new messages by a new message count in own Messages tab, in notification circle in Admin toolbar, as well as receive email notifications of the private message, if enabled."

    It is clearly stated that this is a feature that is already there, but on our site we have no button for forwarding messages. Only replies.

    Could someone clear this up or help troubleshoot the problem?

    I would also like to know if there is a way to disable the “feature” that only allows you to message people on your friends list? Instead, I’d like everyone to have the ability to start typing a name in the “TO” field and have the the auto-matching feature enabled so you can select from the list.

    Avatar of matsouth

    Hi All

    I’ve installed Buddypress and got it pretty much configured.
    I’m also utilising Woocommerce on the site, but after installing it, the toolbar/notification bar disappeared for standard users.

    I can still see it as admin but it’s completely missing for regular users.

    Any thoughts?


    Avatar of danbp


    scrolling down the member page provides a funny elastic effect ! ;-) Really cool, but not what you want of course.
    I disabled js on the browser and the effect disapeared immediatly.
    So i think there is a js conflict, probably with some of your theme’s script.
    check for the elements
    `<div class=”col span_3>
    <img alt=”Foxtrot Tango” /> `

    You mention salient to be your theme but the source code indicates castle ? Did you rename it for a child theme usage ?
    Some script don’t support this…

    You use also a plugin to remove the admin bar.

    <!--Plugin Global Hide Admin Tool Bar 1.6.1 Build 2014-04-16 Active --->
    <!-- This website is patched against a big problem not solved from WordPress 3.3+ to date -->

    Huh ?

    Don’t know if the second comment belongs to that plugin, but if yes, WP is currently in 4.0 phase, so a 3.3 “problem” maybe solved.
    Google to find a simplier solution to remove the toolbar. There is also a easy and light solution in on the WP codex.

    add_filter('show_admin_bar', '__return_false'); in theme’s function or bp-custom.php would do the job on front-end !

    Don’t use a hammer to kill a fly ! ;-)

    Avatar of danbp


    try by adding this at the begin of your function
    $user_id = bp_get_activity_user_id();

    If you’re working on the Toolbar, the correct way to add a menu is like on this example:

    /* add links/menus to the admin bar*/
    /* more details here: */
    function mytheme_admin_bar_render() {
    global $wp_admin_bar;
    	$wp_admin_bar->add_menu( array(
    		'parent' => 'new-content', // use 'false' for a root menu, or pass the ID of the parent menu
    		'id' => 'new_media', // link ID, defaults to a sanitized title value
    		'title' => __('Media'), // link title
    		'href' => admin_url( 'media-new.php') // name of file
    		'meta' => false // array of any of the following options: array( 'html' => '', 'class' => '', 'onclick' => '', target => '', title => '' );
    add_action( 'wp_before_admin_bar_render', 'mytheme_admin_bar_render' ); 

    A similar method is used to add a tab. Here on a user profile.

    function bpfr_my_setup_nav() {
        global $bp;
    	'name'            => 'My Tab',
    	'link'      	  => '',
    	'slug'         	  => 'my-tab',
    	'css_id'          => 'my_custom_tab',
    	'position'        => 100,
    	'user_has_access' => 1,
        'screen_function' => 'xprofile_screen_my_tab'
    add_action('bp_setup_nav', 'bpfr_my_setup_nav');
    Avatar of Panicky

    First of all, English is not my first language so forgive me if I don’t know the terms and words correctly.

    I’ve been playing around with the layout in buddypress and customized it to my liking! But now I’ve stumbled upon a interesting problem.

    In the member profiles buddypress doesn’t recognize double word-wraps (paragraphs) at all. The text is just condensed and I really don’t know what to do about it.

    when I add a ‘wpautop’ to the bp-xprofile-filters.php to the ‘xprofile_get_field_data’ it does a funny, and irritating, thing.

    Whenever you edit the profile id adds a paragraph tag to the username seen in the buddypress toolbar on the upper right side of the screen and makes the name and last namne in different paragraphs.
    And it looks like this:


    I really don’t know how to get past this and prevent the wpautop to change the whole data instead of just the profile field mithe the text (in this case profile information about the user).

    Is there another way of doing this? ANd is it my fault, just because I rearranged the whole profile to my liking?

    Avatar of fakename014


    I have a custom theme for Buddypress. Currently the WP admin bar shows for admin users, but no others.
    I would like all users to be able to use the admin bar so they can access their activity, notifications, settings etc

    Is this normal for Buddypress to only show the admin bar to admins? or have I somehow done something to hide it from non-admins?

    It’s not a theme problem because I tried it with other themes and had the same problem.

    Can anyone help?

    Wordpress 3.9.1
    Buddypress 2.0.1
    bp-custom.php –> 2 redirect functions for login and logout
    lots of plugins
    Local dev running on MAMP

    Avatar of vinzen


    I recently installed BuddyPress and want to make it a special feature for my blog community.

    I spent a few days trying to study and understand the plugin. In my final analysis of my needs, I chalked out a few of my requirements but could not find the related settings in the admin.

    I wonder if you can help me out in making these features/settings possible on my BuddyPress enabled blog.

    1) I do not want to allow my users to modify their account directly from their profiles, but I want them to have control over the email notification settings. Is that possible?

    2) If not, is it possible to disable the email notifications for users but keep the toolbar notification enabled?

    3) If that is also not possible, then can the admin only have all the control over settings (account settings for all users be enabled for the admin).

    I’m sure many people (admins) would like to have more control and options over settings and notifications.

    4) I had about a dozen notification but I observed that there is not “select all” feature to delete or read them all. Eventually I had to individually delete all the dozen notification one by one, which took a lot of time as the page refreshes after every individual action. Can there be a “check all” feature enabled?

    Early help would be greatly appreciated.

    Many thanks.

    WP: 3.9.1
    BP: 2.0.1

    Avatar of kemmieg

    I’ve been searching and can’t find anything that shows me how to remove the settings link from the toolbar dropdown menu. I’ve removed the tab on the profile page but the dropdown in the wp toolbar still shows it when the user hovers over their image. All I’ve been able to find is how to remove the whole thing and I don’t want to do that I just want to remove the settings menu and leave the profile menu there.

    Avatar of danbp

    hi @escudero95

    here are 2 function you can use for do what you need. The first add Happy birthday on the Toolbar, near the Howdy.

    The second will add the same thing on the profile header, above @username at the right of the avatar.

    These function can be used from within bp-custom.php or theme’s functions.php

    You have to create a date type profile field and set it to be viewed by friends only.

    Naturally this is intended to be an example of use. It’s certainly perfectible. Also take care of the different comments inside the code. Have fun !

    function bpfr_happybirthday( $wp_admin_bar ) {
    	global $bp;
    	// if user is not logged in, we show nothing
    	if ( !is_user_logged_in() )
    	return false;
    	// is xprofile component active ?
    	if ( bp_is_active( 'xprofile' ) )	
    		   // fetch the birthdate
    		   // as the function should work outside of the profile loop, we first need the user_id
    		$user_id = bp_get_activity_user_id();
    			// now we get the birthdate and our text to show (text | username). 53 is the field id.
    			// depending your theme, this may be adjusted by css as it goes probably on two lines
    		$birthdate = xprofile_get_field_data('53', $user_id ) ? __( 'Happy Birthday ' ) . bp_core_get_username( bp_displayed_user_id() ) : '';	
    		// building the output and adding some css	 
    		$user_id = bp_displayed_user_id();
    		// condition for the greating on the toolbar
    		if (!is_user_logged_in( $user_id ) ) { 		
    		$my_title = '<span style="float: left; width: 16px;	height: 16px; margin: 5px 5px 0 -1px; display: block; background-color: green; border-radius: 16px;"></span> '.$birthdate.' ';
    			$args = array(
    			'parent'    => 'top-secondary', // position
    			'id'		=> 'birthday_item', // unique identifier
    			'title' 	=> $my_title, // the name who appears on the bar
    add_action( 'admin_bar_menu', 'bpfr_happybirthday', 90 );
    function bpfr_happybirthday2u() {
    	global $bp;
    	// if user is not logged in, we show nothing
    	if ( !is_user_logged_in() )
    	return false;
    	if( bp_is_user() && ! bp_get_member_user_id() ) {
            $user_id = 'displayed: '. bp_displayed_user_id();
        } else {
            $user_id = 'get_member_user: '. bp_get_member_user_id();
    	// is xprofile components active ?
    	if ( bp_is_active( 'xprofile' ) )
    	// fetch the birthdate
    	// as the function should work outside of the profile loop, we first need the user_id
    	$user_id = bp_get_activity_user_id();
    	// now we get the birthdate and our text to show (text | username). 53 is the field id.
    	// depending your theme, this may be adjusted by css as it goes probably on two lines
    	$birthdate = xprofile_get_field_data('53', $user_id ) ? __( 'Happy Birthday ' ) . bp_core_get_username( bp_displayed_user_id() ) : '';	
    	// building the output and adding some css
    	$my_title = '<div style="margin: 5px 5px 20px 5px; border:1px solid red; min-height:18px;"><div style="float: left; width: 16px; height: 16px; margin: 5px 5px 0 -1px; display: block; background-color: green; border-radius: 16px;"></div> '.$birthdate.' </div>';
    	echo $birthdate;	
    add_action( 'bp_before_member_header_meta', 'bpfr_happybirthday2u' );

    Codex references:

    Playing with the toolbar (in french but code is in english)

    Avatar of mattnetusa

    WP 3.9.1
    BP 2.0.1 (only shows though if logged in, happy to give temporary login if necessary)

    It appears that my default (I say default, but have no doubt it could be another plug-in possibly causing interference) BuddyPress code has a missing quote or something and I cannot find where to correct it. When I click on any of the BuddyPress Toolbar (My Account section) items, I get an extra unformatted line just below the toolbar going across he screen that has the format diaply_name”/> and nothing else. The inspect element shows it is in the page being generated by jquery.js. It also gives this error “Malformed start tag. A self closing slash should be followed by a U+003E GREATER-THAN SIGN (>).” in the Console part of the Inspect Element. Has anyone seen this or know how to correct it.

    Error in Body of page


    Avatar of asianowl

    Found the solution! It was written up in the documentation! HERE

    For my needs, I filtered based on roles like so:

    function my_remove_activity_menu(){
    	if (current_user_can('special_role'))
    		global $wp_admin_bar;
    add_action('bp_setup_admin_bar', 'my_remove_activity_menu',301);

    Good luck everyone.

    Avatar of @mercime

    @baldemotions the “create a group” button is found beside the Group Directory title in regular WordPress themes. If you’re not seeing it in your theme, then theme could be using a proprietary tag for the page title instead of regular the_title tag. To remedy that, you’d need to contact theme author for resolution.

    Your users can still create groups by using the “Create a Group” link in their user’s profile links in the WP admin toolbar on the upper right hand side.

    Avatar of eclectic_solutions

    I added a custom header(header-new.php) to the site for logged in users of buddypress.The code that I added in default page template is:

    if ( is_user_logged_in() ) {
    else {

    But, now the black buddypress toolbar/admin bar has stopped showing. It is shown for logged out users(if I check the option in buddypress settings) but not for logged in users. Weirdly, now the toolbar doesnt show up even if I undo all the changes. Please help. Its urgent.

Viewing 25 results - 1 through 25 (of 574 total)