Search Results for 'toolbar'
-
Search Results
-
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.
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, VarnishHi 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_notificationEverything 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$actionargument 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.phpon line 78 (at the end of the functionreturn $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.
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 groupsI 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!
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
