General [M]ayhem

Go Back   General [M]ayhem > General Forums > Forum & Network
Members List Mark Forums Read [M]erchandise Calendar

Thread Tools
chronage's Avatar
Live topics

Add live topics to genmay! Basically the newest threads will have live posting, instead of having to refresh to view every reply.

If a thread has been posted in X seconds then its now Live, if other users are viewing the Live topic and are on the last page they will experience a clean ajax experience while talking to other members. Once the thread is older than X seconds its no longer Live and it will now act like a normal thread. Also if a user edits one of their posts that's inside of the thread, it will be updated too so there is no longer a reason to ever have to refresh.

There is also logic for the viewer, the viewer of the thread has to be in an active state to see responses. An active user state is determined upon the users actions, if no actions were made in X seconds then the user is marked as inactive.

Also you may wonder why this could save your server bandwidth and CPU. If a user is refreshing to talk to another members the queries on a normal thread load are way more intense than the ajax call that this modification makes. So if you have 5 people talking to each other none of them have to refresh the page, all they are doing is simple page requests and one intense request when there has actual change.
Old 03-09-2010, 03:19 PM chronage is offline  
Reply With Quote

Advertisement [Remove Advertisement]

chronage's Avatar
ahh fuck, already discussed. git'r'done sanjay
Old 03-09-2010, 03:47 PM chronage is offline  
Reply With Quote

Forever Domon
Forever Domon's Avatar
yeah, i think i suggested this a while back, but there was a vbull issue.

It s still a great idea though
Old 03-14-2010, 08:11 PM Forever Domon is offline  
Reply With Quote


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 06:40 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.