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
  #102  
Old 02-15-2009, 03:14 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 TitanJeff View Post
Hmmmm... doesn't work for me in 3.7.3.

Would love it though.
you probably are using a conflicting mod
Reply With Quote
  #103  
Old 02-15-2009, 12:06 PM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

watch the new video for a 2 min demo of features
Reply With Quote
  #104  
Old 02-15-2009, 01:08 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Improvements Coders Shack, Congratulations, this is a MOTM Winner For Sure, once Forumers Test it in their Forums. :up::up::up:

One Conflict: With the Mod "Popup Private Messaging", in the Hide of the Old Posts; once disabled that other Mod the Hiding of the Old Posts works Fine, but with it Enabled that doesn't work.

Could you Please Analyze the Conflict with that other Mod?

(The other Mod requires Edits on HeadInclude and Footer, including a JavaScript and also what seems to be the Hidded Popup Private Messaging System).

My Best Regards.

Reply With Quote
  #105  
Old 02-15-2009, 02:35 PM
Jari37 Jari37 is offline
 
Join Date: May 2008
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've had to disable it for now, as it increased the server load averages significantly. It went from .73 with it disabled, up to over 10 when I enabled it. There were about 250 users online, which is a fairly quiet time on my site.

I had hoped to use this during the busiest times on the site (it's a football site and gets especially busy during and after games), but as things stand there's no way I can do that, which is a shame as I love this feature.

Any ideas on why it's increasing the load average, and more importantly, how I can resolve this problem?

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

Try Spacing more the Checks for New Posts (Request Interval), from 3000 milisecs to 15000 milisecs.

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

There's a Bug: Something is Not Working Right with the System that Hides the Posts.

I've set the Posts to Hide when 6 Posts are Reached (I Display 5 Posts per Page), and after reaching that Number of Posts in a Page the First 10 Posts (Haven't Counted then Exactly) Hide Well, but then the System to Hide Posts Stops Working and Also when the Users that are Having the Old Posts Hidded Try to Post a New Message that New Message isn't Displayed on their Page but yes on the other User's Pages (remember that the System Stopped Hiding Old Messages), and that also Happens to the Other Users as Well. I've tried that on FireFox and on Google Chrome.

Is somebody Having this same Issue?

My Best Regards.

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

Other Bug: When Setting to 0 the "Maximum Visible Posts", the Mod Displays Instantly the Message Warning about Maximum Amount of Posts Diplayed by Page Reached and Old Post Going to Dissapear, Immediately after the First New Post Made, and Starts Hiding Old Posts on Page befor the First New Post Made only Not Hiding the New Posts Made, and from the Beginning None of the Posts Made by the User is Displayed on His Own Page.

I've tried this on a Fresh Install (Forum with No Mods in it), and Happens as Previously Described, so the Bug is Happening on vBulletin 373.

I Hope this Can be Fixed, Coders Shack.

Reply With Quote
  #109  
Old 02-15-2009, 05:30 PM
Jari37 Jari37 is offline
 
Join Date: May 2008
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by inciarco View Post
Try Spacing more the Checks for New Posts (Request Interval), from 3000 milisecs to 15000 milisecs.

I'll give this a try and report back on the results, thanks for the help.
Reply With Quote
  #110  
Old 02-15-2009, 08:33 PM
Jari37 Jari37 is offline
 
Join Date: May 2008
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Changing the request interval has definitely reduced the load. I need to keep an eye on it during busy times, but at the moment it seems to have done the trick.

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

I'm Glad that Helped, Jari37. :up:

Coders Shack, I just made a More Exact Test setting the "Maximum Visible Posts" to 4 Posts, and Discovered that After the Post Number TEN (10) the Mod Stopped Displaying the Posts Posted by the Same User in it's Page, (is Displayed on the Other User Page), and also it Stopped Hiding the Old Posts, and also I noticed that for Quick Replies that Require to Click on a Post to Activate it Automatically Got De-Activated after that Post Number TEN (10); does that Post Number Ten (10) means something on Your Mod or perhaps on the vBulletin Board Options?

As I told you I made that Test on a Fresh Forum, so the Bug is Happening.

Do You Need me to Set Anything on Any of the Plugins or on the vBulletin Options to see if that Makes a Difference?

My Best Regards and Hopes for Your Instructions and Solutions to that Bug ; I Liked a Lot the Improvements, this is Becoming a Really Strong Mod After Each One of Your Updates, Thank You For Sharing This Great Mod. :up:

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 09:08 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.08934 seconds
  • Memory Usage 2,329KB
  • Queries Executed 27 (?)
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
  • (2)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_postinfo_query
  • fetch_postinfo
  • 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