Search Results for 'comment notification'
-
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?
Hello BuddyPress Support Team / Community,
I hope this message finds you well. I am writing to request a feature enhancement for our BuddyPress community. We would love to see an option to automatically display when a user uploads or updates their avatar in the activity feed. This feature would significantly enhance user engagement by keeping the community informed of profile updates and encouraging interactions.
Benefits:Increased Visibility: Members can immediately see when someone updates their avatar, promoting profile visits and interactions.
Enhanced Engagement: Users are more likely to comment or react to avatar changes, fostering a sense of community.
Streamlined User Experience: Automated updates in the activity feed ensure that members do not miss out on important profile changes.
Suggested Implementation:Avatar Update Trigger: When a user uploads or updates their avatar, a trigger should generate a new activity entry.
Activity Message: The activity entry could display a message like “User [Username] has updated their avatar.”
Integration with Existing Feed: The new activity entry should seamlessly integrate with the existing activity feed, appearing in chronological order.
Customization Options:Privacy Settings: Allow users to opt-out of broadcasting their avatar changes if they prefer privacy.
Activity Message Customization: Option for users to add a custom message along with their avatar update notification.We believe this feature would greatly benefit our community and enhance user experience. Thank you for considering our request. We look forward to your response and any potential updates on this feature. We did find a way to block certain activity types from showing up in the activity feed – however we’re looking for a way to add this particular type in our feeds.
Best regards,
We are using BuddyPress on our membership site where members primarily chat with other members. However, no one receives email notifications when there is a new comment in the group or when someone is mentioned, so it’s making it difficult to keep members engaged.
Everyone has the “receive email notifications” checked, so not sure what’s going on. Any idea on how to adjust notifications so that members receive an email notification when there is activity within the group?
Hi,
I don’t have any notifications for replies to comment. Do you know how to solve this ?
Thanks a lot
Topic: Comment Notification Replies
Hello, I have created a custom notification for when a Moderator or Admin comments in a Buddypress Group.
It does two things:
1. it creates a notification and
2. sends out an email to the members.The email works fine with wp_mail() and the notification is also created fine in most cases, EXCEPT for when the last thing we do in the caption box is copy-paste text. In these scenarios the notification is created for the user (they see a +1), but clicking on the notification gives a “page not found” error.
One of my last tests proved that I can in fact copy-paste content with no character limit in the caption box. But I must make sure I type with my keyboard something before Posting the Update IF I want the notification to save properly in the DB.
I wonder if this is a bug and/or If anyone has experienced a similar problem when copying text into a form.
Best regards,
PabloFunctions and Hooks used:
bp_notifications_add_notification
bp_activity_add
bp_notifications_get_notifications_for_user
bp_notifications_get_registered_components
wp_mailHi folks,
I’m troubleshooting why users cannot write on other members’ posts.
My wall shows a green button but on other members are grayed out.
These have been my actions so far:
1. I’ve checked on Activity Settings and is selected. Which I did on/off with no results.
2. I’ve run the tool options to “repair”
3. Remove the plugin (Disable/remove)
4. Install/activate the plugin
5. All components are active
6. All options are active
7. WordPress report – Version 9.1.1
Active components Community Members, Extended Profiles, Account Settings, Friend Connections, Private Messaging, Activity Streams, Notifications, User Groups, Site Tracking
8. When inspecting POST grayed button got this line results: <input class=”loading” type=”submit” name=”ac_form_submit” value=”post” disabled=””>
9. Check WordPress integrity/checksum – reinstall 5.8 FYI
10. Reboot the serverSo far no luck.
Any tips/hints will be highly appreciated!
I’ve been trying to filter only the Activity Directory stream to show only a specific activity item type (in this case, it’s “new_product_page”, which I created with the help of the codex section on post types).
I successfully managed to achieve this with the following code:
function bpfr_filtering_activity( $retval ) { if ( bp_is_page( 'activity' ) ) { // activities to filter on, comma separated $retval['action'] = 'new_product_page, '; $retval['max'] = '50'; } return $retval; } add_filter( 'bp_before_has_activities_parse_args', 'bpfr_filtering_activity' );Although eventually I started to notice some errors where users were getting notification URLs (e.g. “John commented on one of your updates”) where the notification URLs weren’t appending the comment identifier at the end (e.g. /activity/p/762/?rid=310#acomment-780), instead ending prematurely with only the users referrer ID (e.g. /activity/p/762/?rid=310).
This means the notification URLs would take you to the commented user’s profile, rather than the specific comment.
After removing the above code from filtering the activity directory, suddenly all of the notification URLs issues went away and everything appeared to work flawlessly.
I recall a wordpress developer once stating that is is advised NOT to block activity_comment and activity_update activities, because it will cause errors in BuddyPress.
What I am wondering is if this is true? And, if there is a way to filter the Activity Directory to show only a specific post type (e.g. new_product_page) without it leading to errors elsewhere in BP? Is there a correct way to do it?
Hello Guys,
I am creating a post subscription. When any user subscribe to any post I want to send them notifications about comments and post activities. I am adding custom notifications to buddypress. Notifications are adding but in frontend the title of notification is not showing. I checked many forums but did not find any solution.
Below is my code:
public function __construct() { add_filter( 'bp_notifications_get_registered_components', array($this,'custom_filter_notifications_get_registered_components'),20 ); add_filter( 'bp_notifications_get_notifications_for_user', array($this,'custom_format_buddypress_notifications'), 10, 7 ); add_action( 'wp_insert_comment', array($this,'bp_custom_add_notification'), 99, 2 ); } For custom component public function custom_filter_notifications_get_registered_components( $component_names = array() ) { // Force $component_names to be an array if ( ! is_array( $component_names ) ) { $component_names = array(); } // Add 'custom' component to registered components array array_push( $component_names, 'custom' ); // Return component's with 'custom' appended return $component_names; } For notification formatting public function custom_format_buddypress_notifications( $content, $item_id, $secondary_item_id, $total_items, $format = 'string', $action, $component ) { if ( 'custom_action' === $action ){ $comment = get_comment( $item_id ); $custom_title = $comment->comment_author . ' commented on the post ' . get_the_title( $comment->comment_post_ID ); $custom_link = get_comment_link( $comment ); $custom_text = $comment->comment_author . ' commented on your post ' . get_the_title( $comment->comment_post_ID ); // WordPress Toolbar if ( 'string' === $format ) { $data_to_return = apply_filters_ref_array( 'custom_filter', '<a href="' . esc_url( $custom_link ) . '" title="' . esc_attr( $custom_title ) . '">' . esc_html( $custom_text ) . '</a>', $custom_text, $custom_link ); // Deprecated BuddyBar } else { $data_to_return = apply_filters_ref_array( 'custom_filter', array( 'text' => $custom_text, 'link' => $custom_link ), $custom_link, (int) $total_items, $item_id, $secondary_item_id ); } return $data_to_return; } else{ return $action; } } For adding notification public function bp_custom_add_notification( $comment_id, $comment_object ) { $subscribed_user = get_post_meta( $comment_object->comment_post_ID , 'subscribed_user',true ); if(!empty($subscribed_user) && is_array($subscribed_user)){ for ($i=0; $i < count($subscribed_user); $i++) { if ( bp_is_active( 'notifications' ) ) { bp_notifications_add_notification( array( 'user_id' => $subscribed_user[$i], 'item_id' => $comment_id, 'component_name' => 'custom', 'component_action' => 'custom_action', 'date_notified' => bp_core_current_time(), 'is_new' => 1, ) ); } } } }Please suggest best possible way to fix this issue.
Thank You
Topic: Edit Activity Stream
How do I edit the activity stream? I would like to remove the “favouriting, and @mentions, all with full RSS feed and email notification support” capabilities from my site. So ideally the users will not receive email notifications and they cannot be mentioned in a comment.
Hi,
We’re hoping to have email notifications sent if there is activity on a BuddyPress thread someone has commented in.
For example, I’d like to receive an email notification when I post on someone’s thread and they respond. (Kind of like the “notify me of follow up replies via email” check box I’m seeing beside the submit button below.)
Hoping someone has some insight, plugin or php that can help with this.
We’re running WordPress 5.7, BuddyPress 7.2.1
Thank you!
Hi, I have a site with no functions. the only plugin activated is buddy press,
so when it loads the object for the nav after the bp-wrap div it has
<nav class=”main-navs no-ajax bp-navs single-screen-navs horizontal users-nav” id=”object-nav” role=”navigation” aria-label=”Member menu”>
I had the site with custom themes and functions and removed everything to try and find out where it was getting hung up.
Is there something else I can trouble shoot this with to find out why it does not load with Ajax – I thought that should be the default
WP is 5.6
Theme twenty twenty-one 1.1
php 7.4
Buddy Press info Version 7.1.0
Active components Community Members, Extended Profiles, Account Settings, Friend Connections, Private Messaging, Activity Streams, Notifications, User Groups
Active template pack BuddyPress Nouveau 7.1.0 ( I have tried with bp legacy also )
Toolbar No
Account Deletion Yes
Community Members: Profile Photo Uploads Yes
Community Members: Cover Image Uploads Yes
Extended Profiles: Profile Syncing Yes
User Groups: Group Creation Yes
User Groups: Group Photo Uploads Yes
User Groups: Group Cover Image Uploads Yes
Activity Streams: Post Comments Yes
Activity Streams: Activity auto-refresh YesHello All,
BP n00b here. I have a quick question, which may be a simple one. I have BuddyPress on my site and members post blog posts. How can I get notifications to appear in the Notifications section of a member’s profile page when someone comments on their blog post?
Thanks!
My WP version is 5.4.2
My BuddyPress version is 6.3.0I’m currently trying to figure out how I can get @-mentions in blog post comments to integrate with the buddypress activity and notifications systems. The most recent comments of #4046 claims notifications should be sent for @-mentions in blog posts at the very least, but I can’t seem to get it to work. Other threads asking this question point to this ticket claiming it’s an unimplemented feature, so between what the forums say and what the ticket comments say I can’t tell if that’s actually how it’s supposed to work or not.
So my question is, is sending notifications for @-mentions in blog posts supported in BuddyPress? And if so, is this feature currently working?
Hello,
Our users are getting notifications when someone leaves a reply to their post (blog post). Woocommerce is running kind of the same system, right? Different type of post, but still a post. I still see product reviews under comments section on my wp dashboard. Though, the user doesn’t get notification when someone leaves a product review (in other words comments) under its product.
P.S: the author of the product is that user who doesn’t get notified. All my members can add products by WPUF (WP User Front End)

Hi,
We have notifications set up where a post author will get notified if someone replies to their post.
However, if someone replies to a comment within a post, is it possible for the author of the comment that’s being replied to, to get an email notification also?
Thanks,