Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

On-Site-Notifications like Facebook/Stackoverflow - Plugin Testing and FREE Release

+36 votes
asked Apr 20, 2014 in Plugins by q2apro
edited Sep 11, 2014 by q2apro

I have decided to do something good for the community - I especially want to thank Gideon and Scott and early developer NoahY. From those guys I learnt a lot regarding q2a and PHP over the past years - so please see my free release as a contribution to you :)

Instead of charging for the On-Site-Notifications Plugin I release it for free.



Description: Facebook-like / Stackoverflow-like notifications on your forum's website that can replace all email-notifications.

Video-URL: https://www.youtube.com/watch?v=C86rdJkGP3k&wide

"Your users complain because they get too many notification emails from your forum? You lose overview and you do not know anymore what new events are important for you? Then the On-Site-Notification-Plugin is the perfect solution for you."


more info at: http://www.q2apro.com/plugins/on-site-notifications

plugin price: only 39 USD FREE


For any feedback or questions please comment below or on the plugin info page, thank you!


Installation Note: If you are using the q2a history plugin, you should disable/remove it from your installation before installing this plugin. Otherwise events would be written twice to the database.


Community Note: If you use the plugin and it works for you, please comment my "answer" below and leave a link to your forum!


For Problems: If you have any problems to get the plugin running, please read my comment here and - if you think it is a problem by the plugin itself - report with an answer or comment below. If you think your customizations or other plugins cause the conflict, please post the issue in another question.


For Donations: If you like the plugin and you think it is helpful, feel free to donate one coffee or praliné (3 USD?). OR just buy one of the q2a premium plugins!

Q2A version: 1.6.3
commented Nov 10, 2015 by truthonlytruth
Wondering if it is compatible with QA 1.7.1????
commented Nov 10, 2015 by Gurjyot Singh
Hello @truthonlytruth, the plugin is compatible with Q2A 1.7.1... I am currently running it on my website...

21 Answers

0 votes
answered Oct 14, 2014 by truthonlytruth

Two questions:

  1. How do you delete notifications? or is there a auto function that deletese nofitifcations?
  2. in IE 11 if there is a Google adsense ad, the notification window hiding under the ad? Is there something that I can do?


commented Oct 15, 2014 by q2apro
1. You either delete the answer/question/comment, then the notifications should disappear. The direct way would be table qa_eventlog, search for the event and delete it.
2. Without seeing your site, hard to tell. The nfyWrap has already a CSS "z-index:999;". If the other div is on top, it probably has a higher z-index. Try changing the #nfywrap z-index to e.g. 5000.
commented Oct 15, 2014 by truthonlytruth
Thank you for the answer
My point on deleting the notification was that table is going to get large...
I think there should be a function to delete old notification for example if we display last 50 notification, plugin should delete anything more than 50....

Otherwise the table will get larger and larger in database
+1 vote
answered Oct 15, 2014 by truthonlytruth

Well, here is a screenshot showing notification window hiding behind google adsense ad (IE 11)


2. Without seeing your site, hard to tell. The nfyWrap has already a CSS "z-index:999;". If the other div is on top, it probably has a higher z-index. Try changing the #nfywrap z-index to e.g. 5000.

You gave me this, but did not fix the problem

commented Nov 2, 2014 by q2apro
what is your site?
0 votes
answered Nov 2, 2014 by truthonlytruth
Hey thank you for the great plugin...

My notification data is getting bigger and bigger, piling up...

I need to delete notification older than 30 days or something like that

Would you please give me a sql line that I can run in database and clean old nofification or would you add a function into the plugin that we can use it or something else?

Thank you for your help
commented Nov 6, 2014 by q2apro
Then use the unix timestamp: DELETE FROM qa_eventlog WHERE datetime < UNIX_TIMESTAMP(DATE_SUB(NOW(), INTERVAL 30 DAY))

Here you find other delete statements: http://stackoverflow.com/q/9734901/1066234
commented Nov 7, 2014 by q2apro
1. open phpmyadmin, find table qa_eventlog

2. backup: click on Export and export as file

3. click on SQL and do the query:
DELETE FROM `qa_eventlog` WHERE `datetime` < NOW() - INTERVAL 5 DAY
+2 votes
answered Nov 3, 2014 by roberta
Thanks kai for this nice plugin .

Will this work with the new responsive themes . e.g SnowFlat , Donut or Cleanstrap ??
commented Dec 1, 2014 by Stefan
not work in Cleanstrap (not display..) ;/
0 votes
answered Jul 14, 2015 by WhyCheese
edited Jul 16, 2015 by WhyCheese

After uploading files, i got big red error about database, but after refresh everything seems working. Thanks ! Really didn't expect Lithuanian language ! Will donate as soon as i can.


  • Get notification when favorited question get answer and/or when on favorite tag/category question is posted, receive notification.
  • Mail when users gets for example 5 notifications.
commented Jul 14, 2015 by WhyCheese
I also commited some translation in github, i hope they will be approved :)
0 votes
answered Oct 25, 2015 by Elnur Hacıyev
Hello. How can I use the notification bubble on an external site? I am using q2a with external single sign on. I tried to use ajax link, but it doesn't work. I want to add a bubble on the main site, when the user clicks, it shows the notifications of q2a.
0 votes
answered Apr 18, 2016 by Ada Donie Abdullah

when I'm using this theme , the plugin not workin in my site :( 


can you help me :(

or can I showed my notification on the page or widget ,, not with buble notif

commented Apr 18, 2016 by q2apro
Do you use a custom theme? Maybe this is changing the layout and breaking the plugin. We cannot help you for free with that (see note below). https://github.com/q2apro/q2apro-on-site-notifications/blob/master/CONTRIBUTING.md
0 votes
answered Jul 11, 2016 by Donox Btz Gvr
thank you for the plugin ..it`s great..

there's any way to make it work in mobile devices?
0 votes
answered Jun 13 by swjaco11
How I can add notification? I send PW message to user from script and this message is not send notification. I try to add new record in DB, but this don`t work!