Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Live Topic Details »»
Live Topic
Version: 1.07b, by Coders Shack Coders Shack is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.8.0 Rating:
Released: 01-09-2009 Last Update: 02-28-2009 Installs: 976
DB Changes Uses Plugins Auto-Templates
Is in Beta Stage  
No support by the author.

. . . . . . . . Brought to you by scriptasy.com

Live Demo:
Live Topic 1.07b Demo (you must be logged in, and the topic must be "live")

Videos: 1.00b 1.06b

watch the damn videos... ^_^
Description:
This product is different from anything you have seen before, it raises the bar for forums. It will make your forums much more interactive, and also reduce server load.

Technical Details:
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.

You can test Live Topic with two users, you will see how amaizing this is... And probably spontaneously combust.

Found a bug? Want to request a feature?
Live Topic - Project Manager
Installation:
This is take less than 3 minutes to install, takes longer to notice its amazing feature. (you need multiple people to be active in the same topic)

Upgrade:
[1.01b to 1.XXb] Uninstall the product, then reinstall it. Overwrite all old files with new files and you should be fine.

[1.02b to 1.03b] Overwrite files, upgrade product (dont install product)

[1.03b to 1.04b] Uninstall the product, then reinstall it. Overwrite all old files with new files and you should be fine.

[1.04b to 1.05b, 1.05b to 1.06b,1.06b to 1.07b] Upgrade the product. Overwrite all old files with new files and you should be fine.
Works With (FF2, FF3, IE6, IE7, IE8, SF2, SF3, CHROME):
vBulletin [3.8.X]

get the vBulletin [3.7.X] version here

INCOMPATIBLE HACKS:
Versions:
1.01b
1.02b
fixes
safari 2 support
safari 3 support
google chrome sup
port
added live topic icon on new posts page
fixed security issue, strongly suggest upgrading!
changes
added live edit (to avoid a performance hit i had to add two rows to two tables in the database)
added external style sheet
1.03b
fixes
fix double post
phrase notification
fixed an edit bug for people with table prefixes
changes
ability to change interval in ACP
1.04b
fixes
javascript error for guests
fixed live topic activation (first poster to raise a dead topic)
changes
auto quick reply focus after post
1.05b
fixes
css flaw
js error for unsupported browsers (random)

fixed chrome issue
changes
edit notification - thanks to nso
rebuilding some of the original logic to hopefully prevent product conflicts

1.06b
fixes
fixed a little javascript issue that had to do with displaying posts
uses GPC cleaner now
changes
limit the number of ajax posts on the live topic (example 40) and fade them away.
changed the way the hooks are used
tightened up everything a bit

1.07b
fixes
fixed a bug where the live topic notification always making an ajax call
changes
support user ignore list
changed the way the javascript logic worked (hopefully there are less compatibly issues) added support for IE6 and IE8
1.10
hmm

Download Now

File Type: zip LiveTopic107b.zip (15.9 KB, 3950 views)

Screenshots

File Type: png Picture 5.png (33.7 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #522  
Old 02-16-2009, 09:55 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I Have a few Questions for Coders Shack, because I detected Activity After the Thread was supposed to be Dead when Leaving the User when the Thread was Alive:

Question 1: I can see that if I make Second Account go to another Page of the Thread while it's still Alive, and wait until the Thread goes Dead (after the time specified for it to be Live), and then when I Post a Reply with First Account, I can see the Bottom Right Message that Alerts about a New Post being Made. Is this Normal Behaviour of the Mod? (seems like on that case the Mod still looks for New Posts Being Made on the Thread when you're in another Page of the Thread, and a Loss of Resources on a Thread that Went Dead).

Question 2: I can see that if I make Second Account Enter to another Page of the Thread when it's Dead, and then when I Post a Reply with First Account, I can see the Bottom Right Message that Alerts about a New Post being Made. Is this Normal Behaviour of the Mod? (seems like on that case the Mod looks for New Posts Being Made on the Thread when you're in another Page of the Thread, and a Loss of Resources on a Thread that Went Dead).

Question 3: I can Still See Sendind/Receiving Data on my Computer each X Seconds (X is the Numbers of Second Specified for this Mod to Check for New Posts), when I Leave a User on a Topic while it was Alive and After the Thread Becomes Dead. Is this Normal Behaviour of the Mod? (seems like on that case the Mod looks for New Posts Being Made on the Thread when you leave a User while it is Alive, and a Loss of Resources on a Thread that Went Dead).

I think that Perhaps there is a Behaviour that You Should Study on the Code:

- When the Thread Becomes Dead, Why is it Still Sending the Checkings for New Posts being made when the User is in another Page of that Thread, and Report the New Posts being made Only if You're on Another Page of that Thread, (if you are in the Last Page of the Thread, it Checks for those New Posts but it Doesn't Report them because the Thread went Dead, but if you were in another Page besides the Last one, then it'll Alert you as I mentioned before), so seems like this Loss of Resources is Caused by the part of the Code that Alerts about New Posts being Made when You're in Another Page of the Thread while it is Alive and Leave your User there without Leaving the Thread. (I'm guessing, you're the one that knows the Code, but check and You'll see that the Activity Continues (Sending/Receiving Data on the Connection Status the one with the 2 Computers in it on your Windows).

Seems to me like it shouldn't be that way, and that when the Time Passed after the Y Minutes You Specified for a Thread and/or an User to be Live, the Code should Stop Making the Calls for Checking for New Posts.

My Best Regards.

Reply With Quote
  #523  
Old 02-16-2009, 09:56 PM
Swampfox Swampfox is offline
 
Join Date: Aug 2006
Posts: 119
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I absolutely love this mod, but it brings my site to a crawl, what do I need to ask my host for?
Reply With Quote
  #524  
Old 02-16-2009, 10:04 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Swampfox View Post
I absolutely love this mod, but it brings my site to a crawl, what do I need to ask my host for?
Try Making the Checkings for New Posts for 15000 or more miliseconds and not the 3000 suggested. You'll be reducing your loads to the server to 1/5 or less than the original setting.

Also you can reduce the time a Thread and a User is Live, from the 5 Minutes (300 seconds) to less than that, and check your Server Loadings.

(Remember to Report your Results here for all to Know ).

My Best Regards.

Reply With Quote
  #525  
Old 02-16-2009, 11:30 PM
socalsoccer socalsoccer is offline
 
Join Date: Aug 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes I tryed in realtime with another member and nothing happened, it posted normally. I guess I will turn all of them off at once, and then try.

thanks
Reply With Quote
  #526  
Old 02-17-2009, 01:50 PM
HabboForum HabboForum is offline
 
Join Date: May 2003
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BUG

There is a bug in 1.06

I know it's because our page width is narrower, but that's not the point.

Here is a screenshot:
Attached Images
File Type: jpg bug.jpg (82.2 KB, 0 views)
Reply With Quote
  #527  
Old 02-17-2009, 09:28 PM
gmerin gmerin is offline
 
Join Date: Dec 2008
Posts: 78
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Got a conflict: Marquee Text (https://vborg.vbsupport.ru/showthrea...marquee&page=3) conflicts with this: enabled and the ajax refresh stops. disabled and it resumes, every time.
Reply With Quote
  #528  
Old 02-17-2009, 10:21 PM
DobieGillis? DobieGillis? is offline
 
Join Date: Feb 2009
Posts: 538
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gmerin View Post
Got a conflict: Marquee Text (https://vborg.vbsupport.ru/showthrea...marquee&page=3) conflicts with this: enabled and the ajax refresh stops. disabled and it resumes, every time.
yep, same here!
Reply With Quote
  #529  
Old 02-18-2009, 12:12 AM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HabboForum View Post
BUG

There is a bug in 1.06

I know it's because our page width is narrower, but that's not the point.

Here is a screenshot:
i think you can control this via css, if not ill make it possible in the future (its a layout bug)
Reply With Quote
  #530  
Old 02-18-2009, 01:34 AM
schlottkej schlottkej is offline
 
Join Date: Apr 2007
Posts: 226
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

still getting a JS error...

If Im adding ads in postbit, can that be the problem?
Reply With Quote
  #531  
Old 02-18-2009, 02:00 AM
azher azher is offline
 
Join Date: Oct 2001
Location: Chicago, IL
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,

Quote:
Originally Posted by Coders Shack View Post
Added to my todo list, i didn't even know you could do that...
Any idea on when this might make it to a release (honoring "Latest Posts First"/reverse post order, if the memory is a bit foggy)?
Reply With Quote
Reply


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. The time now is 03:39 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05493 seconds
  • Memory Usage 2,364KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete