Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+1 vote
486 views
in Plugins by

I really appreciate everone designed tools here for successful Q&A open source based PHP. I'm stilll looking forward to having a "new activity" that alerts directly on the current QA page. Indeed I'm not sure if it were already supported here but have a look at stackexchange website (snapshot bellow) and see how this tool shows

by
I think this would be pretty difficult to do as a plugin, with the way Q2A is set up.
by
Thanks Scott :)
Unfortunately I'm not well familiar with plugins but I have a feeling that you can do it someday, or at least just detect and alert while the interested user will have to refresh the page.

1 Answer

+2 votes
by
edited by

I think it is not that difficult if you have the eventlogger enabled.

Then you only query for new incoming events, if they are type question, ajax load them in a container and count them ("x questions").

How to get events: Check my plugin "recent events widget": http://www.question2answer.org/qa/21771/new-plugin-recent-events-widget-initial-release-v0-1-now-v0-3?show=21771#q21771

Download: https://github.com/echteinfachtv/qa-recent-events-widget

 

You might want to ask Scott, jatin.soni, me or others to develop this plugin for you. The price should be around 150 EUR. Or you can find somebody with time how is doing it for free :)

by
The main problem as I see it is loading the actual questions and ordering them. For example if a question already on the front page has some new activity you need to remove it from further down and add it back at the top.

Certainly doable, though.
by
Why to remove the question from the list, and add it again on top? I would just let the "old entry" down there, and add it as a new list entry on top.

The user interested in new activity will click on the incoming question with activity and navigate away from the main site :)

Btw, the recent events widget is actually showing new activity. Just need to use some ajax like i did here: http://www.gute-mathe-fragen.de/liveticker/ (with the big event list)
...