ElkArte Community

Extending Elk => Addons => Addons ideas and questions => Topic started by: AaronB on June 08, 2014, 10:47:29 pm

Title: [ REQUEST ] Forum Spy / Real Time Post Display
Post by: AaronB on June 08, 2014, 10:47:29 pm
A feature that I have found handy on another site is the display of all, current posts as they are made. On that site the feature is called 'Forum Spy' and when on that page, each post as it is made is scrolled onto the screen. The member can then select any of the posts to reply to by simply clicking on the post.

The feature is real handy for sites that have a section for selling/trading, tech support forums and for high activity members that want to interact with board members.

No idea if it is better implemented as a mod or as core but, it is a real popular feature at the one site that I know is using it.
Title: Re: [ REQUEST ] Forum Spy / Real Time Post Display
Post by: emanuele on June 09, 2014, 04:10:30 am
I found this around the web:
http://www.phpbbhacks.com/download/6517
is that what you mean?

ETA: it would be easier to see it "in action", so if you have a link to a forum where this is being used it would be nice. :)
By the description, it looks almost like Elk's "recent posts" page:
http://www.elkarte.net/community/index.php?action=recent
Title: Re: [ REQUEST ] Forum Spy / Real Time Post Display
Post by: AaronB on June 09, 2014, 05:21:01 pm
Try this link ...

http://www.rcgroups.com/forums/spy.php? (http://www.rcgroups.com/forums/spy.php?)

The site is a VB site but they may have used the phpBB Forum Spy as a model.
Title: Re: [ REQUEST ] Forum Spy / Real Time Post Display
Post by: emanuele on June 09, 2014, 05:42:55 pm
Oh, okay now I got it.
JS requires via AJAX new posts every about 15 seconds and push them into the list.
The number of elements listed in the page remains constant.
On the example you posted, I'm not entirely sure what values "What" could be, all of them are currently "New Post", I suppose it could maybe be "New Topic"? Maybe "New Poll"? Others?
Title: Re: [ REQUEST ] Forum Spy / Real Time Post Display
Post by: AaronB on June 09, 2014, 06:23:08 pm
What that site is displaying are New Posts only, regardless of the topic or the board. Basically it is a real time view of posts made on various site boards, but displayed in one place. When a user sees something that interests them, they then click on the post and are directed to that thread.

I am not sure of the time frame that a post is visible before it is scrolled down the page by a newer post.
Title: Re: [ REQUEST ] Forum Spy / Real Time Post Display
Post by: emanuele on June 15, 2014, 05:15:53 pm
I was thinking to reuse the Recent_Controller, but at that point it is not refactored enough, I have to replicate some code... well, actually it may be worth do some other optimizations anyway. O:-)
Title: Re: [ REQUEST ] Forum Spy / Real Time Post Display
Post by: nhwood on February 27, 2015, 06:04:28 am
Maybe @live627  's mod can be ported and modified for this
http://custom.simplemachines.org/mods/index.php?mod=1284