Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'toolbar'

Viewing 25 results - 1 through 25 (of 676 total)
  • Author
    Search Results
  • #243930
    Profile photo of Prangesco
    Prangesco
    Participant

    Hi devs and community
    Hope somebody here will be able to lend a hand.
    My problem is as follows: I’ve hid (via CSS) buddypress toolbar and lef the subtabs in place to match my site needs. Now I’d just like to hide the Profile/View subtab item (not the tab content of course), at least to visitors. I’ve bee trying something like this yet without success (am I declaring wrong names for topnav and subtab?)

    function bpfr_hide_top_nav() {

    bp_core_remove_subnav_item( ‘profile’, ‘view’ );

    }
    add_action( ‘bp_ready’, ‘bpfr_hide_top_nav’);

    Alternatively any CSS solution will be very welcome too, I’ve been trying at that as well, but just can’t find the personal-public-li id (which appears to be the View subtab css id) in buddypress.css

    Thanks in advance to anybody taking time to answer this.

    #243913
    Profile photo of style960
    style960
    Participant

    I’ve resolved this now with the use of this plugin – https://wordpress.org/plugins/wp-symposium-toolbar/

    #243892
    Profile photo of style960
    style960
    Participant

    Hi Steve,

    Thanks for the reply, I see what you’re suggesting, but I’m looking for a function to directly add items to the profile menu on the toolbar in the same way BP does. I don’t want to assign profile items to a theme location, or create a new menu within my theme.

    Thanks,
    Paul.

    #243859
    #243821
    Profile photo of danbp
    danbp
    Moderator

    @jeremymh,

    Plugin author stopped support on wp.org repo since a few weeks.
    sLaNGjIs Team do not provide support on wordpress.org forum and reviews system!

    If you get an issue, you have to ask here now https://github.com/sLaNGjI
    This is also the reason why nobody answered to your question on support….

    FYI, i found this in the plugin review ! You’ve nothing to loose to try that.

    In plugin’s ReadMe, it’s stated that:
    * Work on all WordPress version from 3.1+ to 4.2+
    * Compatible with bbPress and BuddyPress (for front-end hide).

    BuddyPress settings has an option to show/hide the Toolbar to users, which is working properly since a while. I’m not aware of any toolbar trouble who should be resolved in BP’s core in regard of a third party plugin.

    Conclusion: don’t use a plugin who has no decent support. Do it yourself or search another plugin. Sorry !

    Profile photo of jeremymh
    jeremymh
    Participant

    I know before with BuddyPress and Global Hide Admin Toolbar they were not a happy couple and the only way the Global Hide Admin Toolbar would work is if BuddyPress was disabled. Has this been resolved in the new version? Please advise.

    Profile photo of Dylan Ryan
    Dylan Ryan
    Participant

    Hey BuddyPress team!

    This is Dylan from The WP Valet and I think we’ve found quiet a strange bug on our client’s site.

    I’ll cover how to replicate the bug, then provide all the debug information.

    • Create a topic with a title of “Notifications” (this also works with “Notifications X Y Z…)
    • Visit the BuddyPress toolbar and choose Notifications -> Unread
    • This should bring you to your topic created instead of your actual unread notifications.

    We noticed this was happening when there were two separate slugs that started with /notifications-x-y-z

    After deleting the first /notifications, the second /notifications-x-y-z topic would start showing up when visiting unread notifications.

    On to the debug information. :)

    1. Which version of WordPress are you running?
    WordPress 4.2.4
    2. Did you install WordPress as a directory or subdomain install?
    Subdomain
    3. If a directory install, is it in root or in a subdirectory?
    society.socialmediaexaminer.com
    4. Did you upgrade from a previous version of WordPress? If so, from which version?
    No.
    5. Was WordPress functioning properly before installing/upgrading BuddyPress (BP)? e.g. permalinks, creating a new post, commenting.
    Yes.
    6. Which version of BP are you running?
    Version 2.3.3
    7. Did you upgraded from a previous version of BP? If so, from which version?
    Version 2.2.1
    8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
    Algolia Realtime Search – Version 0.1
    bbPress – Version 2.5.8
    bbPress Enable TinyMCE Visual Tab – Version 1.0.1
    BuddyPress Notifications Widget – Version 1.1.1
    Facebook Open Graph, Google+ and Twitter Card Tags – Version 1.6.3
    GotoWebinar Button – Version 0.4
    Gravity Forms – Version 1.9.13
    Gravity Forms AWeber Add-On – Version 2.3
    Gravity Forms Survey Add-On – Version 2.5
    Header and Footer Scripts – Version 1.3.2
    KB Backtick Comments – Version 0.2
    ManageWP – Worker – Version 4.1.12
    MonkeyPlugin – Version 1.0
    myCRED – Version 1.6.3
    Nav Menu Roles – Version 1.7.1
    Respondo Pro Shortcodes – Version 1.0
    Sticky Menu (or Anything!) on Scroll – Version 1.3.1
    Theme My Login – Version 6.3.12
    VaultPress – Version 1.7.6
    W3 Total Cache – Version 0.9.4.1
    Widget Logic – Version 0.57
    Wishlist bbPress Integration – Version 1.0.2
    WishList Member™ – Version 2.90.2860
    WP Crontrol – Version 1.2.3
    WP External Links – Version 1.80
    Yoast SEO – Version 2.3.4
    9. Are you using the standard WordPress theme or customized theme?
    Custom – RespondoPro – Version: 1.0.2
    10. Have you modified the core files in any way?
    No.
    11. Do you have any custom functions in bp-custom.php?
    No.
    12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
    bbPress – Version 2.5.8
    13. Please provide a list of any errors in your server’s log files.
    http://pastebin.com/A8iqmsKg
    14. Which company provides your hosting?
    Codero.com
    15. Is your server running Windows, or if Linux; Apache, nginx or something else?
    Linux, Apache, Varnish

    Profile photo of Marc
    Marc
    Participant

    Hi everyone,

    I’am currently try to add custom notification from a non BuddyPress component. I’m using this hooks:
    bp_notifications_get_registered_components
    bp_notifications_get_notifications_for_user
    and this function:
    bp_notifications_add_notification

    Everything works well except the hook bp_notifications_get_notifications_for_user. My problem is in my installation there is the bbPress plugin. It is also using this hooks. So this hooks is call twice, and the $action argument is empty or contain the rendered notification content. So I’m not allowed to do the right things on the second call.

    I must add this to this file in bbPress plugin :
    /wp-content/plugins/bbpress/includes/extend/buddypress/notifications.php on line 78 (at the end of the function return $action):

    
    /**
     * Format the BuddyBar/Toolbar notifications
     *
     * @since bbPress (r5155)
     *
     * @package bbPress
     *
     * @param string $action The kind of notification being rendered
     * @param int $item_id The primary item id
     * @param int $secondary_item_id The secondary item id
     * @param int $total_items The total number of messaging-related notifications waiting for the user
     * @param string $format 'string' for BuddyBar-compatible notifications; 'array' for WP Toolbar
     */
    function bbp_format_buddypress_notifications( $action, $item_id, $secondary_item_id, $total_items, $format = 'string' ) {
    
    	// New reply notifications
    	if ( 'bbp_new_reply' === $action ) {
    		$topic_id    = bbp_get_reply_topic_id( $item_id );
    		$topic_title = bbp_get_topic_title( $topic_id );
    		$topic_link  = wp_nonce_url( add_query_arg( array( 'action' => 'bbp_mark_read', 'topic_id' => $topic_id ), bbp_get_reply_url( $item_id ) ), 'bbp_mark_topic_' . $topic_id );
    		$title_attr  = __( 'Topic Replies', 'bbpress' );
    
    		if ( (int) $total_items > 1 ) {
    			$text   = sprintf( __( 'You have %d new replies', 'bbpress' ), (int) $total_items );
    			$filter = 'bbp_multiple_new_subscription_notification';
    		} else {
    			if ( !empty( $secondary_item_id ) ) {
    				$text = sprintf( __( 'You have %d new reply to %2$s from %3$s', 'bbpress' ), (int) $total_items, $topic_title, bp_core_get_user_displayname( $secondary_item_id ) );
    			} else {
    				$text = sprintf( __( 'You have %d new reply to %s',             'bbpress' ), (int) $total_items, $topic_title );
    			}
    			$filter = 'bbp_single_new_subscription_notification';
    		}
    
    		// WordPress Toolbar
    		if ( 'string' === $format ) {
    			$return = apply_filters( $filter, '<a href="' . esc_url( $topic_link ) . '" title="' . esc_attr( $title_attr ) . '">' . esc_html( $text ) . '</a>', (int) $total_items, $text, $topic_link );
    
    		// Deprecated BuddyBar
    		} else {
    			$return = apply_filters( $filter, array(
    				'text' => $text,
    				'link' => $topic_link
    			), $topic_link, (int) $total_items, $text, $topic_title );
    		}
    
    		do_action( 'bbp_format_buddypress_notifications', $action, $item_id, $secondary_item_id, $total_items );
    
    		return $return;
    	}
    	return $action;
    }
    add_filter( 'bp_notifications_get_notifications_for_user', 'bbp_format_buddypress_notifications', 10, 5 );

    And i have to do the same thing for my custom notification rendering.

    So my question is quite simple: Is this a bug? A bug from bbPress? A bug from BuddyPress? Or I am not using the hook properly?

    Please advice me, and I create a ticket if it is necessary.

    Thanks in advance.

    #243544
    Profile photo of danbp
    danbp
    Moderator

    Test admin bar (called Toolbar since WP 3.3) removal with one of Twenty’s theme.
    It shows always on admin when logged-in, and depending the theme you use, on front-end.

    WP reference: https://codex.wordpress.org/Function_Reference/show_admin_bar

    Which theme do you use ?

    #243249
    Profile photo of danbp
    danbp
    Moderator

    @sismis,

    Howdy [username] is part of WordPress Toolbar. When BP is activated, it add a sub-menu to this menu.

    If you want it elswhere, it’s not really possible as the BP part of it was written to go to the admin_abr only.

    To get a similar menu, you simply add buddypress menu to your theme main menu (explained on above codex link). But this menu will be static and you cant get same details.

    Another solution is to recode that menu, so you can add it with a filter function to wp_nav_menu, which handles the main menu or the header menu.

    To do this, you can use a new Walker Class extention or the existing filter. Possibly also some other ways to do this, but i don’t know them.

    Here an example you can test and extend to your need. It is working from bp-custom.php and was succesfully tested on Twenty Twelve.

    Sake of this is to help you to learn and to see how it is made, not to bring you a ready to use solution. In brief, you have to complete it eventually.

    https://gist.github.com/chouf1/8d10eab2895953ee6289

    To remove the Howdy menu and the attached BuddyPress Profile sub menu from the Toolbar, you can use this snippet (in functions.php or bp-custom.php):

    function bpfr_remove_my_account_menu() {  
        global $wp_admin_bar;  
        $wp_admin_bar->remove_menu('my-account');  
    }  
    add_action( 'wp_before_admin_bar_render', 'bpfr_remove_my_account_menu' );

    Codex References
    https://codex.wordpress.org/Function_Reference/wp_nav_menu
    https://codex.wordpress.org/Navigation_Menus

    #243209
    Profile photo of djsteveb
    djsteveb
    Participant

    @darkhelmet1 – settings -> buddypress -> third tab near top is “settings”
    first checkbox: Show the Toolbar for logged out users

    Is it checked?

    Which theme are you using?

    Any other plugins installed / activated?

    Profile photo of atfpodcast
    atfpodcast
    Participant

    The plugin should be removed from the site too.
    And yes! phpmyadmin is the software name who allows you to manage a mySQL DB.

    done. i made an account as a normal user and toolbar is already selected to display but does not show so i will have to go in my db and change that. have not dived in phpmyadmin in a VERY LONG time

    Profile photo of atfpodcast
    atfpodcast
    Participant

    Deactivate and delete the admin bar plugin. Remove also any custom code you have added in the past concerning the toolbar. The idea is to revert back to a fully standard WP install.

    It was already deactivated. I wonder if it left anything altered? that other snip it i added to try does not exist.

    If this doesn’t work, you have to go to your db and check the wp_options table for the toolbar setting.
    Search for option_name hide-loggedout-adminbar where value must contain 1.

    im using godaddy so i guess that would be in myphpadmin?

    Profile photo of danbp
    danbp
    Moderator

    I can confirm that Raindrops theme is working correctly with BP and taht the admin bar is showing up to logged in users.

    Deactivate and delete the admin bar plugin. Remove also any custom code you have added in the past concerning the toolbar. The idea is to revert back to a fully standard WP install.

    If this doesn’t work, you have to go to your db and check the wp_options table for the toolbar setting.
    Search for option_name hide-loggedout-adminbar where value must contain 1.

    Profile photo of djsteveb
    djsteveb
    Participant

    @atfpodcast – is the bar there when they are not logged in?

    does it do the same thing when using the 2014 or 2015 theme?

    have you checked settings –

    admin dashboard – settings – buddypress – click the settings tab – checkbox – Toolbar Show the Toolbar for logged out users ?

    occur when other plugins are deactivated?

    Profile photo of atfpodcast
    atfpodcast
    Participant

    I don’t see the BP WP toolbar on top for members when they are loged in. I’m using raindrops theme and latest BP and WP

    http://www.steveperryfanclub.org

    #243060
    Profile photo of danbp
    danbp
    Moderator

    I tested the snippet on Buddy theme, so i’m pretty sure you have a user menu. This menu is on WP’s Toolbar. You see it when you’re logged in.

    counter menu on Buddy theme

    To choose an item position, you have to do it differently, as explained here:
    https://buddypress.org/support/topic/position-notification-counter-bubble-after-specific-navigation-tab-id/

    For more about menu handling and functions, see WP Codex, as this is not really related to BuddyPress. Now it’s your turn to work a little !

    #242509
    Profile photo of danbp
    danbp
    Moderator
    Profile photo of sharmavishal
    sharmavishal
    Participant

    Hi

    How do i change the Change Order of BuddyBar/ToolBar/AdminBar menu items?

    Viz default view is Activity/Profile/Notifications/Messages

    how can i change the toolbar drop-down menu to lets say Messages/Activity/Profile/Notifications/

    I was able to hide menu items and sub items in the BuddyBar/ToolBar/AdminBar but how do i re-order or change order there?

    Thanks in advance

    Profile photo of opaldigital
    opaldigital
    Participant

    Hi,

    I would like to hide the admin toolbar for my Buddypress members. I’ve found some code instructions on that isse.

    What I haven’t found is some simple code example on how to move the “user menu” – that is the “Howdy, user name” + profile photo + the Buddypress drop-down away from the toolbar and either put it in a shortcode or to put it in the normal header section – just like on this theme: http://www.buddyboss.com/product/boss-theme/

    They have a log in button in the header that changes to a “user menu” when logged in.

    Can anyone help with some code examples?

    #240440

    In reply to: Activity Problem

    Profile photo of knittingtheweb
    knittingtheweb
    Participant

    Hi Patryk,
    Did you try using the BuddyPress data repair tool? I’ve had some success with it in cases like this. In the back end toolbar, go to Tools > BuddyPress and choose which data to repair. You should only run one repair job at a time. (I usually step through all five repairs just to make sure everything’s synced.) Hope this helps!

    #240243
    Profile photo of noMATTERdesign
    noMATTERdesign
    Participant

    Thank you guys, I ended up finally finding my way with the use of the All in One Admin Bar plugin (has the custom CSS editor built in) and I used this:

    #wp-toolbar > ul > li {display:block;}

    Profile photo of l r
    l r
    Participant

    I’m using wordpress version 4.2.2
    Buddypress version 2.2.3.1
    I am using a child theme of twentyfifteen.
    I can’t send a link to my site as it’s still in development.

    I am using BuddyPress with the plugins :
    -BuddyPress Groups Extras
    -BP Simple Front End Post
    -BP Default Group Tab
    -Blog categories for groups

    I would like to be able to add formatting to my group descriptions.

    In admin – I can seemingly edit the description in the sections Groups and Groups Pages. But any changes I make aren’t saved.

    I can edit the description on the front end of the site when in that group as an administrator, but I can’t add any formatting.
    Even if I add formatting in code, it isn’t saved.

    Can anybody help explain what I can do to resolve this?
    I would like to either have a toolbar on the description on the frontend, or be able to edit in the backend and for it to save my changes.

    thanks!

    #239871
    Profile photo of danbp
    danbp
    Moderator

    One crucial question to all: which theme do you use ?
    Have you similar issue by using one of WP’s twenty theme ?
    Have you searched in your theme documentation ? Remeber that we do not support commercial products here as we have no access to the code.

    Also:
    The Toolbar is related to WordPress, BuddyPress use it only to add a sub-nav block under Howdy on the top right corner.

    Profile photo of pinkishhue
    PinkishHue
    Participant

    I couldn’t find any other mentions of this in the forum so not sure if it’s been discussed before, but how difficult might it be to have an (optional) audio alert (ping!) when a new notification appears in the toolbar?

    I find this very useful on Facebook, if I’m off working on something else I immediately go to check it out, so it makes the site very ‘sticky’ as they used to say :)

    I notice in the latest WP version (or one of the latest versions, 4.2 I think) there was some sort of audio function added but this was to do with screen readers. I don’t know anything about them so don’t know if this is useful for this case?

    We don’t use audio much in web pages so I’m not sure if it’s a simple task or a complete pain…?

    Interested in any thoughts on this from more knowledgeable folks :)

    Thanks

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