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
  #422  
Old 02-07-2009, 09:13 PM
ptwiggens ptwiggens is offline
 
Join Date: May 2007
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coders Shack View Post
whats your forum path look like?
/home/xxxxxxxxx/public_html/forum/

url is forum.xxxxx.com

I should note that I was using this on 3.7 and it worked fine.
Reply With Quote
  #423  
Old 02-08-2009, 01:43 AM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

right click on the image thats not showing up and tell me the path. Its probably because you need to place the image somewhere else now or change the line in the css folder:

clientscript/vbulletin_css/livetopic.css
Reply With Quote
  #424  
Old 02-08-2009, 01:49 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 alpayton View Post
Wow - with a forum that's currently just growing (just a little over 500 members) and at the time the host had its fit about the spiking usage, there were only 30ish members online. I'd absolutely hate to see what size (must be tiny) forum this can run on without the issues of usage spiking. And, just to note...I had already accessed the ACP and played with the settings - extending the time for queries - obviously that didn't do much.

I do agree that this is a great concept, think it needs some tweaking.
... this is already optimized, it has the logic. If your server cant handle it its not the products fault, you need a better server.

There are over 420 sites using this product right now, and about 20% of them don't have the hardware to serve all the calls.

Play with the settings...

lower the idle time for the user (default is 5 mins)
lower the time for the topic to be active (default is 5 mins)
make the query interval higher (default is 2 seconds)

... Dont just install this knowing that you have a site with high traffic and hardware that doesn't have wiggle room and expect that it will be fine on your server out of the box.

Lynne what are your settings? Maybe he can use them.

I developed this in mind of highload sites.
Reply With Quote
  #425  
Old 02-08-2009, 01:57 AM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

also i got the "conveyor belt" working, so in 1.06b it will totally be an option to limit the numbers of live posts.
Reply With Quote
  #426  
Old 02-08-2009, 04:45 AM
krustyx krustyx is offline
 
Join Date: Jul 2007
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Processor #1 Vendor: GenuineIntel
Processor #1 Name: Intel(R) Core(TM)2 Duo CPU E4600 @ 2.40GHz
Processor #1 speed: 2394.128 MHz
Processor #1 cache size: 2048 KB

Processor #2 Vendor: GenuineIntel
Processor #2 Name: Intel(R) Core(TM)2 Duo CPU E4600 @ 2.40GHz
Processor #2 speed: 2394.128 MHz
Processor #2 cache size: 2048 KB

Memory: 4135004k/5242880k available

This is my server and your mod eats way too much power.

Theres only 1 website on the server.

This is a REALLY NICE mod.

Hope there's a setting or something to reduce the amount ressources this mod is asking.
Reply With Quote
  #427  
Old 02-08-2009, 05:31 AM
jambo_1969 jambo_1969 is offline
 
Join Date: May 2007
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coders Shack View Post
... this is already optimized, it has the logic. If your server cant handle it its not the products fault, you need a better server.

There are over 420 sites using this product right now, and about 20% of them don't have the hardware to serve all the calls.

Play with the settings...

lower the idle time for the user (default is 5 mins)
lower the time for the topic to be active (default is 5 mins)
make the query interval higher (default is 2 seconds)

... Dont just install this knowing that you have a site with high traffic and hardware that doesn't have wiggle room and expect that it will be fine on your server out of the box.

Lynne what are your settings? Maybe he can use them.

I developed this in mind of highload sites.
Are you saying then, that you are confident your mod is okay on a dual core, dedicated server with 4gig ram ?

Because when I installed it, lowered the settings, and put it live, I had around 550+ users on the one thread - my server spiked badly almost bringing everything to a standstill.

Your mod has huge potential, but I really do question it's useability on high use boards.
Reply With Quote
  #428  
Old 02-08-2009, 08:57 AM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coders Shack View Post
and decent dedicated server could run this mod with very few issues (with the default settings)
I'm on a dedicated server,dual core,with 4GB RAM
Reply With Quote
  #429  
Old 02-08-2009, 08:59 AM
Bounce's Avatar
Bounce Bounce is offline
 
Join Date: Mar 2004
Location: Edinburgh,Scotland
Posts: 919
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jambo_1969 View Post

Your mod has huge potential, but I really do question it's useability on high use boards.

Agreed :up:
Reply With Quote
  #430  
Old 02-08-2009, 11:07 AM
jambo_1969 jambo_1969 is offline
 
Join Date: May 2007
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hIBEES View Post
Agreed :up:
Ouch - a Hibee agreeing with a Jambo.

What's the world coming to

Reply With Quote
  #431  
Old 02-08-2009, 03:08 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coders Shack View Post
Lynne what are your settings? Maybe he can use them.
I run my site on two servers - both Dual Core 2.4 GHz/4 MB Cache/1066 MHz FSB with 4 GB RAM each. Webserver is running RAID0 (2 - 74 GB 10 K SATA drives), mysql server just has a 250 GB SATA drive. I have had my servers optimized over at vb.com in the Server Configuration forum. After playing with the Request Interval setting to see if it makes a difference because of that mod_security error I was getting (it didn't - I'm still not sure what that is all about), I have left it at 3000 which is default. My server loads average about .30-.40. I really think every site is going to have to play with the settings themselves. Maybe put something in the first post about how if you have high server loads, then it is best to decrease the Thread Idle Time and User Idle Time and increase the Request Interval. Sometimes it is best to spell that out instead of just tell them they may play with the settings cuz not everyone can figure out if you should increase or decrease them.
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 05:33 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.06049 seconds
  • Memory Usage 2,357KB
  • 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
  • (7)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
  • (3)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
  • (2)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