Hi All,
I am sure most of you are busy building the social networks on BuddyPress. Well, here I am presenting another addon to help you a little more.
The BuddyPress notifications widget was suggested by @Reboot in the forum. There is one existing notification widget for BuddyPress but that does not allow multi instance or some other customizations. Reboot suggested to update that widget but when I checked the code, writing a brand new version seemed much better choice & that’s why I am presenting it here today
Some features:-
- Multinstance, means you can have as many instance as you want.
- Allows you to show/hide the notification count in widget title
- Allows you to show/hide the message showing notification count (please see screenshots)
- Allows you to show/hide the notification list(well, I am not sure if you would like to use that anyway)
- Completely localizable, please use poedit/any other tool to translate
Let us see some screenshots
Ana an example of output(2 widget instances)
I hope some of you will find it helpful.
Download & Installation:-
http://buddydev.com/plugins/buddypress-notifications-widget/
Git Repo:- https://github.com/sbrajesh/buddypress-notifications-widget
Please do let me know your suggestions or any thing you want in the comments.
PS: Last weekend, I promidsed to write some of the tutorial tips/tricks for BuddyPress. So, I am going to put eaither one plugin each day this week or atleast one tutorial. Please do keep checking
Related posts:
- Introducing BuddyPress Live Notification Plugin: A facebook like notification plugin for BuddyPress
- BuddyPress Sitewide Activity Widget updates
- BuddyPress Friends suggestions Widget:- Help your Users to Build Their Network faster
- BuddyPress Group Suggest Widget: Help your members to find new groups
- Buddypress Profile Widget For Blogs



love it.
Thanks so much @sbrajesh !!! I LOVE THIS!!!
What they both said
Thank you Brajesh.
Are you gonna update the bp-live-notification code?
it doesn’t detect when you mention another user, its a great plugin but I think thats essential, mentions must me detetcted like notifications!
I found this, i think it will help because is very similar to what i say.
http://buddydev.com/forums/topic/at-mention-notification
thanks , stay coding!
Are you gonna update the bp-live-notification code?
it doesn’t detect when you mention another user, its a great plugin but I think thats essential, mentions must me detetcted like notifications!
I found this, i think it will help because is very similar to what i say.
buddydev (dot) com / forums / topic / at-mention-notification
thanks , stay coding!
@uhgm ,@mynameis,
That is related to BuddyPress not the live notification plugin. The live notification will show any notification recognized by buddypres. Does buddypress show the mention notification in notification bar ?
@Brajesh Singh
Nope, BP doesn’t show the mention notification in the notification bar, but, i think , you can detect the mention notification, with the code i found in this web. You know?
You can detect the mention notification with the code i found in this web (go up for the link); integrate that functionality into the plugin, and show the live notifications, sorry for my horrible english, i must go to bed, im very tired lol.
thanks, sorry for the double comment.
stay coding, you do your best.
A nice little addition would be,
when hovering over the notification an option shows to clear it. Like an x icon or something so that the user doesn’t have to visit every notification to clear it if they don’t want to.
That is a very good idea reboot. It’s must have in next upgrade
Would come in handy as I have an issue where someone commented on an activity that I did as well but the member deleted their activity and now I can’t get rid of the notification.
Same problem as reboot. It conflicts with Bp photo+tags plugin someone tags me and notification always be 1. I can’t delete to 0.
Hi Firat,
That is a problem with the photo tag plugin then.Please report the issue to the developer. They should remove the notification. This plugin simply displays it. Hope that helps.
plz tell me how to add Notifications Widget plugin in my wall.fm site plz tell
Hi Sana,
The wall.fm is built over oxwall and not BuddyPress. So, I am sorry but this does not applies to that software.
Hi Brajesh,
I just updated my site to BuddyPress 1.5.1 and the notification widget no longer appears in my widgets menu. Have you had any issues with BP 1.5.1 or should I be looking to find another culprit for why the widget does not appear as an option in my widgets menu.
Great plugin and thanks for your help!
Jeff
Hi Jeff,
Please upgrade to version 1.0.2 which is compatible with bp 1.5
Hope that helps.
Regards
Brajesh
Is it possible to hide the widget if there are no notifications? I would only like to have it show when there are actually new notifications.
Thanks for the suggestion Keith.
I have just updated it to as you mentioned. you can download version 1.0.4 from github and It won’t show the widget if there are no notifications.
Hi Brajseh!
Is this plugin still compatible with the new BuddyPress 1.5.6? Looks like a really usefull widget! Thanks.
Hi Magnus,
Thank you for the comment. As far as I remember, It is compatible with 1.5.x series and there is no major change in bp 1.5.6 that will prevent it from working. So, I assume that it will work.
Can you please give it a try?
Hi again Brajesh!
I love the widget, it works perfectly! Super useful. I’ve translated it into Swedish, really easy to do. Would it be possible to add singular and plural for notifications in the widget? I’d like a different message “You have 1 new notification” or “You have 3 new notifications” for grammatic reasons if that’s easy to incorporate. The widget hides nicely when there are no new notifications, super slick.
Also, I noticed in the code that the widget checks if the user is logged in. Really usefull function, however I’m using the Dynamic Widgets plugin to check if users are logged in. Should I comment out this part of the code in your widget to save an extra check and make the web page load quicker?
Thank you ,
can u make shortcode to put results to another place in my set , i dont want to be widget?
Hi there, this plugin is not working, please help me out. I also had a try on http://buddydev.com/plugins/buddypress-activity-comment-notifier/
Thanks!
Can you please be a little more specific.
The user notification widget is only visible if you have some pending notifications(for the logged in user).
Sure!
The scenario is that i have two registered users on my WordPress website. When user1 will update any post on activity page then user2 will receive a notification like we have in Facebook, but it is not working. I tried on newly installed WP site as well.
Or please suggest me a solution that i can trigger my own notifications like on some button in the wp posts, when someone clicks then it should be broadcast to everyone that userX has unlocked ABC gift.
Thanks
Hi,
here is the issue.
When a user updates something, It may not generate a notification for other users. Mostly, the notifications depend on context in BuddyPress. For example, recieving a message or @mention or a friendship request is a notification but other operations may not be.
So, The problem you are facing seems to be originating from the nature of BuddyPress notifications.
Does the gifts plugin generate a notification for other users(I understand It is generating the notification for the user who unblocked it)?
@sbrajesh
Gift is something i have placed a button in the post with an image. For example Image is Necklace and button is labeled as ‘Buy or Unlock’. When a member click the button to unlock this necklace (here unlock means he have the award from Cubepoints), the Cubepoints points will be deducted… let say $100 for that necklace will be reduce and here i want the other members to be notified that “X user has Unlocked Necklace” on the BP notification bar (as on the top)
Thanks
@sbrajesh
For the clear concept, please have a look on the below details.
Website URL: http://ux.arrancr.co.uk/home/archives/381
UserID: anyone
Password: @ny)n#
Thanks!