User Tag List

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 05-28-2010, 12:44 PM   #1
Mook's Avatar
 
Join Date: May 2007
Location: Elgin
Posts: 160,967
 
Mook's Avatar
 
Join Date: May 2007
Location: Elgin
Posts: 160,967
Casino cash: $204332000
36.00 per day
Default Live Topic

some of you might have noticed this yesterday (in between the site crashing).

i installed a sweet little hack yesterday called Live Topic. this is totally different from the live feed i'm always preaching about.

if for example you are one of those people who like to sit in a very active thread and refresh over and over waiting for someone to reply, this hack is for you.

see explanation below:
Quote:
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.
baiscally the thread keeps itself updated as it stays active. after 5 minutes of inactivity, it goes back to normal. if you see "live topic" next to the thread title, it means no refreshing for you. weee!
__________________
- TCG Owner & Operator -
Mook is offline   Reply With Quote
Old 05-28-2010, 12:45 PM   #2
ilikemtb999's Avatar
I eat dirt
 
Join Date: Oct 2007
Location: Denver, CO
Posts: 68,743
I eat dirt
 
ilikemtb999's Avatar
 
Join Date: Oct 2007
Location: Denver, CO
Posts: 68,743
Casino cash: $230000
15.92 per day
Default

Awesome. Sounds cool to me.
__________________
85 blazer.........turbo, 1 ton axles, some stuff
70 Buick GS.......resurrection in progress
10 Tahoe SSV lowered Baja edition
14 Caprice PPV woop woop
ilikemtb999 is online now   Reply With Quote
Old 05-28-2010, 12:49 PM   #3
daturbosix's Avatar
Forum Sponsor
 
Join Date: Mar 2008
Location: Aurora
Posts: 11,599
Forum Sponsor
 
daturbosix's Avatar
 
Join Date: Mar 2008
Location: Aurora
Posts: 11,599
Casino cash: $50929918
2.77 per day
Default

lets see how this works
__________________
BY APPOINTMENT ONLY - 630.885.9333
daturbosix is offline   Reply With Quote
Old 05-28-2010, 12:49 PM   #4
Mook's Avatar
 
Join Date: May 2007
Location: Elgin
Posts: 160,967
 
Mook's Avatar
 
Join Date: May 2007
Location: Elgin
Posts: 160,967
Casino cash: $204332000
36.00 per day
Default

hi
Mook is offline   Reply With Quote
Old 05-28-2010, 12:49 PM   #5
Mook's Avatar
 
Join Date: May 2007
Location: Elgin
Posts: 160,967
 
Mook's Avatar
 
Join Date: May 2007
Location: Elgin
Posts: 160,967
Casino cash: $204332000
36.00 per day
Default

page should be adding posts w/o you doing anything.
Mook is offline   Reply With Quote
Old 05-28-2010, 12:51 PM   #6
ilikemtb999's Avatar
I eat dirt
 
Join Date: Oct 2007
Location: Denver, CO
Posts: 68,743
I eat dirt
 
ilikemtb999's Avatar
 
Join Date: Oct 2007
Location: Denver, CO
Posts: 68,743
Casino cash: $230000
15.92 per day
Default

I was going to say we need this for the "new posts" button but then I remembered the live posting crap.
ilikemtb999 is online now   Reply With Quote
Old 05-28-2010, 12:51 PM   #7
daturbosix's Avatar
Forum Sponsor
 
Join Date: Mar 2008
Location: Aurora
Posts: 11,599
Forum Sponsor
 
daturbosix's Avatar
 
Join Date: Mar 2008
Location: Aurora
Posts: 11,599
Casino cash: $50929918
2.77 per day
Default

thats bad ass.
daturbosix is offline   Reply With Quote
Old 05-28-2010, 12:52 PM   #8
Mook's Avatar
 
Join Date: May 2007
Location: Elgin
Posts: 160,967
 
Mook's Avatar
 
Join Date: May 2007
Location: Elgin
Posts: 160,967
Casino cash: $204332000
36.00 per day
Default

itll come in handy when the bench racing threads catch fire
Mook is offline   Reply With Quote
Old 05-28-2010, 12:59 PM   #9
Eagle's Avatar
Nemo me impune lacessit
 
Join Date: Mar 2008
Location: Woodsticks, IL
Posts: 62,509
Nemo me impune lacessit
 
Eagle's Avatar
 
Join Date: Mar 2008
Location: Woodsticks, IL
Posts: 62,509
Casino cash: $170112200
14.92 per day
Default

__________________
2019 RAM 1500 Limited 4x4 CCLB
2008 BMW 535i - MHD tuned
2004 BMW 330xi - kids cruiser
2004 VW New Beetle 2.0
2018 KTM 500 EXC-F
2018 Skidoo Renegade Backcountry X 850
2015 Polaris Indy SP 800
Eagle is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 07:56 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0
User Alert System provided by Advanced User Tagging v3.0.6 (Lite) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
no new posts