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

Reply
 
Thread Tools
Live Topic - AJAX Details »»
Live Topic - AJAX
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.7.x Rating:
Released: 01-13-2009 Last Update: 02-28-2009 Installs: 108
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)

Works With (FF2, FF3, IE6, IE7, IE8, SF2, SF3, CHROME):
vBulletin [3.7.4] (have not tested it with other 3.7.X versions)

for vBulletin [3.8.X] go here

INCOMPATIBLE HACKS:
Versions:
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
ideas
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
...

Show Your Support

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

Comments
  #82  
Old 01-26-2009, 10:16 PM
furst furst is offline
 
Join Date: Dec 2005
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coders Shack View Post
would like to have server info on your board.

(size and stuff, avg users, shared or dedicated ..)
Check your messages.

I hope you get the kinks sorted out in this one because it's a hack I've been hoping on seeing released for a long time.
Reply With Quote
  #83  
Old 01-28-2009, 02:08 AM
zippys zippys is offline
 
Join Date: Dec 2008
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

..installed, strait sick! if you dont have this installed, install it.
Reply With Quote
  #84  
Old 02-01-2009, 10:32 PM
JJ the Fox JJ the Fox is offline
 
Join Date: Jan 2008
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can't wait to get this up on my forum. We have several high traffic single threads so this is fantastic. Would love user group permissions in the future.
Reply With Quote
  #85  
Old 02-02-2009, 12:06 AM
patsfans patsfans is offline
 
Join Date: Nov 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is amazing. My users love it, and this might be one of the best mods I've ever seen posted here. Thank you CS!

EDIT: Someone asked, so I'll ask the question: What are the parameters for this feature going into effect? I didn't know the exact answer, and you posted 'X', so I was just curious.
Reply With Quote
  #86  
Old 02-02-2009, 09:15 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 patsfans View Post
This is amazing. My users love it, and this might be one of the best mods I've ever seen posted here. Thank you CS!

EDIT: Someone asked, so I'll ask the question: What are the parameters for this feature going into effect? I didn't know the exact answer, and you posted 'X', so I was just curious.
you control them via the ACP
Reply With Quote
  #87  
Old 02-02-2009, 01:54 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've Installed the Update on vBulletin 3.7.3 PL1, and Now New Posts are Displayed on FireFox even if they're Send Via Reply (and of course via Quick Reply). On Internet Explorer 6 Still Not Working but on Mozilla Works Fine.

I Confirm the Incompatibility with "Topic (incl. Blog) of the Week", when Disablig the Mod this Mod Works Fine, but when the other Mod is On then I can see the Window Trying to Display the New Posts (on FireFox) but Are Not Displayed (a little Space is Moved like the Message is there but Not Displayed for some reason related withn the other Mod).

I Hope You Can Fix That Bug with the other Mod, Coders Shack, I like the other Mod too because is a great way to Recognize the Efforts of Forumers to Share Interesting Threads and Post to the Forum.

Congratulations for this Mod, I'd like to Nominate it for MOTM when that small Bug can be Fixed.

My Best Regards and Hopes for an Update with that Little Bug Fixed.

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

I Liked a Lot the X New Responses Feature and the Link to Browse to the Last Post when an User is Not on the Last Page of the Thread !! :up::up::up: (Congratulations for that is Very Nice Feature).

And the Counter of New Posts is Updated if the User don't Browse to them by Increasing each time the Code Checks for New Posts !! (I'm Impressed a lot for that Feature, so a user can leave a Window Opened and wait for new Responses during the time the Thread is Live, this is a Magnific Mod, a MOTM Candidate To Win, No Doubt) :up::up::up:

Coders Shack, Please Fix the Problem with the "Topic (incl. Blog) of the Week" Mod, I'd like to be able to use both Mods on my Forum and I think more vBulletin Admins are using that other Mod too.

(I noticed one thing that perhaps can be Useful for you to make this mod work on Internet Explorer 6; I noticed that when the "Topic (incl. Blog) of the Week" is Activated when I Post on FireFox a Post then I can see some movement on the IE6 Window, but when the "Topic (incl. Blog) of the Week" if DeActivated then I Don't see Any Movement when the New Post Tried to be Displayed and Blocked/Interrupted by the other Mod because in second case the other Mod is Off, so there's something in the Other Mod that Detects the New Posting and for some reason when is Not Active then that Action is Not Detected; I Hope this Helps, but with the Fixing of Both Mods Working Together I'd be a Very Happy "Live Topic - AKAX Mod" User.)

My Best Regards.

Reply With Quote
  #89  
Old 02-02-2009, 06:08 PM
patsfans patsfans is offline
 
Join Date: Nov 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coders Shack View Post
you control them via the ACP
I didn't see it in there....I'll have to look. What are the default settings?
Reply With Quote
  #90  
Old 02-02-2009, 08:13 PM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by patsfans View Post
I didn't see it in there....I'll have to look. What are the default settings?
Thread Idle Time = 300 seconds
User Idle Time = 300 seconds
Request Interval = 3000 milliseconds

those are the defaults, they can be changed via the ACP -> Live Topic
Reply With Quote
  #91  
Old 02-02-2009, 10:03 PM
patsfans patsfans is offline
 
Join Date: Nov 2006
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coders Shack View Post
Thread Idle Time = 300 seconds
User Idle Time = 300 seconds
Request Interval = 3000 milliseconds

those are the defaults, they can be changed via the ACP -> Live Topic
Thank you. It looks like that link wasn't added in my navbar on the install. But I'm satisfied with your default, and as I said my users enjoyed it as well. We had nearly 300 people active in one thread last night and it worked incredibly well. So again, thank you for putting it together
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 08:51 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.06639 seconds
  • Memory Usage 2,326KB
  • Queries Executed 25 (?)
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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete