Search Results for 'notifications counter'
-
Search Results
-
I’m encountering an issue with BuddyPress default email notifications on my site. Only two types of emails are being triggered: private messages and friend requests. However, other default emails, such as group invitations and account activations, comments etc, are not being sent. Could you please assist in identifying the cause of this issue or guide me on troubleshooting steps?
Adds a retweet functionality to BuddyPress activity streams.
Main functions:
Adding a retweet button:
The “Retweet” button is added to each record of activity in the feed. Shows the number of retweets of each entry.
Creating a new activity:
When you click on the “Retweet” button, a new record is created in the activity feed of the user who retweeted the original post. The original publication is not changed, but a new record appears indicating the author of the original.
Retweet banner:
The new activity record contains a banner with the original author’s avatar and name, as well as a link to original publication.
User notifications:
The user receives a notification when their post has been retweeted. The notification contains the name of the user who made the retweet and a link to the new activity record. The author of the post does not receive a notification if he retweeted his own post.
Retweet counter:
The plugin tracks the number of retweets of each post and displays this information next to the “Retweet” button.
Styles and scripts:
The plugin includes custom styles for buttons and banners, as well as JavaScript for dynamic interaction with the retweet button.
Translation support:
The plugin supports translation into other languages, which allows you to localize it for different language audiences.
Advantages of using the plugin:
Increased engagement: Users can easily share interesting posts, which increases engagement on the platform. Convenience: A simple interface allows users to quickly retweet posts without having to copy and paste content. Notifications: Users stay informed when their posts are retweeted, adding motivation to create content. Localization: Translation support allows you to use the plugin in different languages, making it accessible to a global audience. The Revitek post for BuddyPress plugin is a powerful tool for improving user engagement on your BuddyPress platform. With it, users can easily share posts, receive notifications about interactions and enjoy a user-friendly interface.
This is a release version, so I will be grateful for feedback and suggestions.
Hello, tell me if it is possible to receive the total number of new publications in the activity feed as a notification and place it, say, in the menu as the same counter of unread notifications?
Some of my users encounter this statement “”There has been a critical error on your site.”, when they create groups. Although when they refresh it and click on their profile the group is created. This is the error found.
[11-Sep-2020 07:12:01 UTC] PHP Fatal error: Uncaught Error: Class ‘PHPMailer’ not found in /srv/htdocs/wp-content/plugins/buddypress/bp-core/classes/class-bp-phpmailer.php:91
Stack trace:
#0 /srv/htdocs/wp-content/plugins/buddypress/bp-core/bp-core-functions.php(3233): BP_PHPMailer->bp_email(Object(BP_Email))
#1 /srv/htdocs/wp-content/plugins/buddypress/bp-groups/bp-groups-notifications.php(365): bp_send_email(‘groups-invitati…’, 102044344, Array)
#2 /srv/htdocs/wp-content/plugins/buddypress/bp-groups/classes/class-bp-groups-invitation-manager.php(55): groups_notification_group_invites(Object(BP_Groups_Group), 102044344, 102044348)
#3 /srv/htdocs/wp-content/plugins/buddypress/bp-core/classes/class-bp-invitation-manager.php(197): BP_Groups_Invitation_Manager->run_send_action(Object(BP_Invitation))
#4 /srv/htdocs/wp-content/plugins/buddypress/bp-groups/bp-groups-functions.php(1718): BP_Invitation_Manager->send_invitation_by_id(1178)
#5 /srv/htdocs/wp-content/plugins/buddypress/bp-groups/actions/create.php(139): groups_send_invites(Array)
#6 /wordpress/core/5.5.1/wp-includes/class-wp-hook.php(287): groups_action_create_group(”)
#7 /wordpress/core/5.5.1/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#8 /wordpress/core/5.5.1/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#9 /srv/htdocs/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(353): do_action(‘bp_actions’)
#10 /wordpress/core/5.5.1/wp-includes/class-wp-hook.php(287): bp_actions(”)
#11 /wordpress/core/5.5.1/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#12 /wordpress/core/5.5.1/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#13 /srv/htdocs/wp-content/plugins/buddypress/bp-core/bp-core-dependency.php(430): do_action(‘bp_template_red…’)
#14 /wordpress/core/5.5.1/wp-includes/class-wp-hook.php(287): bp_template_redirect(”)
#15 /wordpress/core/5.5.1/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array)
#16 /wordpress/core/5.5.1/wp-includes/plugin.php(478): WP_Hook->do_action(Array)
#17 /wordpress/core/5.5.1/wp-includes/template-loader.php(13): do_action(‘template_redire…’)
#18 /wordpress/core/5.5.1/wp-blog-header.php(19): require_once(‘/wordpress/core…’)
#19 /wordpress/core/5.5.1/index.php(17): require(‘/wordpress/core…’)
#20 {main}
thrown in /srv/htdocs/wp-content/plugins/buddypress/bp-core/classes/class-bp-phpmailer.php on line 91I hope someone can help me with this. This is a link to my site https://getaprofessor.com/
Topic: Bubble Notifications Problem
Hi all! I’m new in php & css.
After reading a lot and learning very little, I managed to program the notifications in my project in php and css. It works fine, shows the amounts (friends, messages and notifications) and redirects where it should.
My problem is that I need to “hide” the bubble of “0” when the user has no notifications and only show when if they have 1 or more notifications
Functions.php
function my_counter_nav_menu($menu) { if ( ! is_user_logged_in() ) { return $menu; } $user_id = bp_loggedin_user_id(); $user_url = bp_loggedin_user_domain(); $friends_url = $user_url . bp_get_friends_slug() . '/'; $msg_url = $user_url . bp_get_messages_slug() . '/'; $notify_url = $user_url . bp_get_notifications_slug() . '/'; ob_start(); ?> <li><a><a href="<?php echo bp_loggedin_user_domain();?>friends"><span class="notifications_icons"><i class="fas fa-user-friends" style="font-size:17px;"></i></span><span class="my_bubble_notify"><?php echo friends_get_friend_count_for_user( $user_id );?></span></a></a></li> <li><a><a href="<?php echo bp_loggedin_user_domain();?>messages"><span class="notifications_icons"><i class="fas fa-envelope" style="font-size:17px;"></i></span><span class="my_bubble_notify"><?php echo bp_get_total_unread_messages_count( $user_id );?></span></a></a></li> <li><a><a href="<?php echo bp_loggedin_user_domain();?>notifications"><span class="notifications_icons"><i class="fas fa-bell" style="font-size:17px;"></i></span><span class="my_bubble_notify"><?php echo bp_notifications_get_unread_notification_count( $user_id );?></span></a></a></li> <?php $menu_items = ob_get_clean(); $menu = $menu . $menu_items; return $menu; } add_filter( 'wp_nav_menu_items', 'my_counter_nav_menu' )
CSS
.notifications_icons { color: #ffffff; vertical-align: middle; margin: -7px; } .my_bubble_notify { color: #ffffff; border-radius: 3px; background-color: #f7823f; vertical-align: 20%; position: relative; font-size: small; padding: 0.1em 5px; }
Buddypress 6.0.0
Wordpress 5.4.2
site: http://www.gamerstroop.com
If you need, you can use test account (acc:test – pw:test)I dont know if I can paste my site link here. If I can’t please remove it or let me know, thank you so much for reading and helping me! <3
Topic: views
@prashantvatsh i have two questions
1. i have botom menu in my site and i have added notifications to my menu but it doesnot show notifications counter for new menus
2. is there a way to add views counter for media specially for videosTopic: notifications
hi i have footer menu in my site and i have added notifications in my menu but it doesn’t show notifications counter
Ive tried multiple times with different usernames and emails but the registration page is not working;
1. Which version of WordPress are you running?
WordPress 5.2.2
2. Did you install WordPress as a directory or subdomain install?
no, on the root
3. If a directory install, is it in root or in a subdirectory?
root
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 4.4.0
7. Did you upgraded from a previous version of BP? If so, from which version?
no
8. Do you have any plugins other than BuddyPress installed and activated? If so, which ones?
Akismet Anti-Spam
Activate | Delete
Used by millions, Akismet is quite possibly the best way in the world to protect your blog from spam. It keeps your site protected even while you sleep. To get started: activate the Akismet plugin and then go to your Akismet Settings page to set up your API key.Version 4.1.2 | By Automattic | View details
Select bbPress
bbPress
Deactivate | Settings | About
bbPress is forum software with a twist from the creators of WordPress.Version 2.5.14 | By The bbPress Community | View details
Select BuddyPress
BuddyPress
Deactivate | Settings | Hello, BuddyPress!
BuddyPress adds community features to WordPress. Member Profiles, Activity Streams, Direct Messaging, Notifications, and more!Version 4.4.0 | By The BuddyPress Community | View details
Select Contact Form 7
Contact Form 7
Settings | Deactivate
Just another contact form plugin. Simple but flexible.Version 5.1.4 | By Takayuki Miyoshi | View details
Select Envato Market
Envato Market
Deactivate
WordPress Theme & Plugin management for the Envato Market.Version 2.0.1 | By Envato | Visit plugin site
Select Featured Image from URL
Featured Image from URL
Activate | Delete
Use an external image as Featured Image of your post/page/custom post type (WooCommerce). Includes Auto Set (External Post), Product Gallery, Social Tags and more.Version 2.6.0 | By Marcel Jacques Machado | View details
Select Google Captcha (reCAPTCHA) by BestWebSoft
Google Captcha (reCAPTCHA) by BestWebSoft
Settings | Deactivate
Protect WordPress website forms from spam entries with Google Captcha (reCaptcha).Version 1.51 | By BestWebSoft | View details | Settings | FAQ | Support
Select Hello Dolly
Hello Dolly
Activate | Delete
This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two words sung most famously by Louis Armstrong: Hello, Dolly. When activated you will randomly see a lyric from Hello, Dolly in the upper right of your admin screen on every page.Version 1.7.2 | By Matt Mullenweg | View details
Select Leadpages Connector
Leadpages Connector
Deactivate
Connect your Leadpages account to your WordPress site to import Leadpages and LeadboxesVersion 2.1.6.21 | By Leadpages | Visit plugin site
Select OptimizePress
OptimizePress
Deactivate
OptimizePress is the essential plugin for marketers. Create squeeze pages, sales letters and much more with ease.Version 2.5.21 | By OptimizePress | Visit plugin site
Select Post Views Counter
Post Views Counter
Settings | Deactivate
Post Views Counter allows you to display how many times a post, page or custom post type had been viewed in a simple, fast and reliable way.Version 1.3.1 | By Digital Factory | View details | Support
Select Socialize Plugin
Socialize Plugin
Deactivate
A required plugin for Socialize theme you purchased from ThemeForest. It includes a number of features that you can still use if you switch to another theme.Version 3.10 | By GhostPool
Select The Events Calendar
The Events Calendar
Deactivate | Settings | Calendar
The Events Calendar is a carefully crafted, extensible plugin that lets you easily share your events. Beautiful. Solid. Awesome.Version 4.9.7 | By Modern Tribe, Inc. | View details | Support | View All Add-Ons
Select Theia Sticky Sidebar
Theia Sticky Sidebar
Deactivate
Glues your website’s sidebars, making them permanently visible while scrolling.Version 1.8.0 | By WeCodePixels | Visit plugin site
Select Visual Sidebar Editor
Visual Sidebar Editor
Deactivate
An addon that allow you to use WPBakery Visual Composer or wordress editor to override sidebarsVersion 1.2.5 | By ERROPiX | Visit plugin site
Select WishList Memberâ„¢ 3.0
WishList Memberâ„¢ 3.0
Deactivate
WishList Memberâ„¢ 3.0 is the most comprehensive membership plugin for WordPress users. It allows you to create multiple membership levels, protect desired content and much more. For more WordPress tools please visit the WishList Products Blog. Requires at least WordPress 4.0 and PHP 5.4Version 3.0.6282 | By WishList Products | Visit plugin site
Select WordPress Automatic Plugin
Wordpress Automatic Plugin
Deactivate
WordPress Automatic posts quality articles, Amazon products, Clickbank products, Youtube videos, eBay items, Flicker images, RSS feeds posts on auto-pilot and much more.Version 2.3.3 | By Miled | View details
Select WPBakery Page Builder
WPBakery Page Builder
Settings | Deactivate
Drag and drop page builder for WordPress. Take full control over your WordPress site, build any layout you can imagine – no programming knowledge required.Version 6.0.5 | By Michael M – WPBakery.com | Visit plugin site
Select Yoast SEO
Yoast SEO
FAQ | Premium Support | Settings | Deactivate
The first true all-in-one SEO solution for WordPress, including on-page content analysis, XML sitemaps and much more.9. Are you using a standard WordPress theme or customized theme?
Socialize Child Theme
10. Which theme do you use ?
Socialize Child Theme
11. Have you modified the core files in any way?
no
12. Do you have any custom functions in bp-custom.php?
no
13. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
built in i think
14. Please provide a list of any errors in your server’s log files. https://codex.wordpress.org/Debugging_in_WordPress
dont think i have these – just cant get registered as a pretend user on the registration page
15. Which company provides your hosting?
D9
16. Is your server running Windows, or if Linux; Apache, nginx or something else?
Apache i think
17. Which BP Theme are you using?
dont know
18. Have you overloaded any BuddyPress template files.
no
19. Any other site customisations that might have a bearing on the issue?
no
I try to get a different color for “new” notifications could somebody help please?
My actual code in my theme functions.php:
//notification alerts for posts function my_nav_menu_notif_counter($menu) { if (!is_user_logged_in()) return $menu; else $notif = '<a class="notices" href="' . bp_get_notifications_unread_permalink() . '"><span class="noticecount"><i class="noticecounttitle">Notifications</i>'. bp_notifications_get_unread_notification_count( bp_loggedin_user_id() ) .'</span></a>'; $menu = $menu . $notif; return $menu; } add_filter( 'wp_nav_menu_items', 'my_nav_menu_notif_counter' ); //notification alerts for messages function my_nav_menu_msg_counter($menu) { if (!is_user_logged_in()) return $menu; else $notif = '<a class="notices" href="' . bp_loggedin_user_domain() . 'messages/' . '"><span class="noticecount2"><i class="noticecount2title">Messages</i>'. bp_get_total_unread_messages_count( bp_loggedin_user_id() ) .'</span></a>'; $menu = $menu . $notif; return $menu; }
Thank you in advance 🙂
Hi! it’s about a week I’m trying to add a notification counter to my Buddypress site’s menu, unfortunately without getting any results.
I have read many topics on this forum but I have not been able to use them because I do not have the php code skills and I have a site on WordPress.com (not wordpress.org), so it’s harder to edit the files.
So what I would like to know is: how can I add this counter to my menu using third-party plugins (eg “insert header and footers” or “code snippets”)? Is there a way to do it? I only need the counter because I’ve already created an icon in my menu that opens the notifications panel when clicked.
Thank you in advance for your help!
Hi!
WordPress 4.9.8
BuddyPress 3.1.0Could somebody help me, how to add notifications counter to ‘My friends’ > ‘Requests’ sub nav tab?
Screenshot hereHello,
I use simple loop to display user notifications:
if ( $notifications = bp_notifications_get_notifications_for_user( bp_loggedin_user_id(), $format = 'string' ) ) { } if ( $notifications ) { $counter = 0; for ( $i = 0, $count = count( $notifications ); $i < $count; ++$i ) { $alt = ( 0 == $counter % 2 ) ? ' alt' : ''; ?> <div class="my-notification<?php echo $alt ?>"><?php echo $notifications[$i] ?></div> <?php $counter++; } }
When user click and view any notification it disappears automatically except
“XX commented on one of your updates” notification. When I switch to a default wp theme and click on this notification it disappears. Both links on both themes are the same, it’s
activity/p/277/?nid=74#acomment-294Why it happens only to one notification? All other notifications works fine.