Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

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
  #52  
Old 01-16-2009, 03:03 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've tested Version 1.04b on vB373 (from 2 different connections posting quick replies at the same time) and it didn't worked.

(I've Implemented the Solution Provided for "Main Doublepost Prevent Engine").

(I've even tried by Disabling the "Prevent DoublePosts" Mod, but didn't worked).

My Best Regards.

Reply With Quote
  #53  
Old 01-16-2009, 05:56 PM
JAnders JAnders is offline
 
Join Date: Oct 2007
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

not working with me and I don't have the douplepost prevent engine.

it seems to be ok but nothing happens people reply and we have to refresh to see the response. i tried in both firefox and ie.

and we do see the live topic icon on the topic name.

if you want to take a look www.fifamexico.net/foros
Reply With Quote
  #54  
Old 01-16-2009, 06:09 PM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this is tested with vb 3.7.4+ and works fine. If you fall into the tested category then the issue may be your template, if its not your style then its a conflicting product.

I would test if its your style first.

If its a conflicting product and you figure out which one it is please inform me.
Reply With Quote
  #55  
Old 01-16-2009, 08:48 PM
furst furst is offline
 
Join Date: Dec 2005
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone noticed their board getting slower after installing this mod? Mine has, but it could be a number of things so I'm unsure that Live Topic is causing it.
Reply With Quote
  #56  
Old 01-16-2009, 10:00 PM
kud0gfx's Avatar
kud0gfx kud0gfx is offline
 
Join Date: Apr 2008
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

wow! its wonderful, i really love this, ajax-effect is really useful

I just got one problem, the 'thanks button' dont appear in the new posts introduced via the ajax way, is there some way to fix it?

thx!
Reply With Quote
  #57  
Old 01-16-2009, 10:43 PM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that has to do with the person that made the thank you hack. (they need to use a different hook location or something like that)
Reply With Quote
  #58  
Old 01-17-2009, 05:04 PM
furst furst is offline
 
Join Date: Dec 2005
Posts: 362
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coders Shack View Post
find the plugin titled "Main Doublepost Prevent Engine" look for this line:
PHP Code:
// last step update counters 
below it add these two lines:
PHP Code:
$vbulletin->db->query_first("UPDATE `" TABLE_PREFIX "post` SET `lastedit` = UNIX_TIMESTAMP() WHERE `" TABLE_PREFIX "post`.`postid` = $id LIMIT 1");
$vbulletin->db->query_first("UPDATE `" TABLE_PREFIX "thread` SET `lastedit` = UNIX_TIMESTAMP() WHERE `" TABLE_PREFIX "thread`.`threadid` = $threadinfo[threadid] LIMIT 1"); 
then it should be fine
This doesn't work correctly. Now when I double post my post keeps reappearing through ajax effects and all as if it were a new post being called by Live Topic.

Wow... it just keeps on reappearing even after a page refresh.

Edit: and my post count has recently been increased by several hundred... I'm guessing every time it reappeared I had a post added to my count. Would be nice to have a fix for this.
Reply With Quote
  #59  
Old 01-18-2009, 11:02 AM
sdsvtdriver sdsvtdriver is offline
 
Join Date: Mar 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed and received no errors, but it doesn't appear to be working.

I have IE7 and FF open. I post as one user in a thread, switch to other browser logged in as another user and post in the thread and quickly flip back to the first browser. After about a second, I see a L/F added after the last post but before the "Post Reply" button. It appears it is trying to work, but the content isn't coming through.

I tried a default style also, no go.

Thoughts?
Reply With Quote
  #60  
Old 01-18-2009, 09:09 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sdsvtdriver View Post
I installed and received no errors, but it doesn't appear to be working.

I have IE7 and FF open. I post as one user in a thread, switch to other browser logged in as another user and post in the thread and quickly flip back to the first browser. After about a second, I see a L/F added after the last post but before the "Post Reply" button. It appears it is trying to work, but the content isn't coming through.

I tried a default style also, no go.

Thoughts?
Same here although I tried on a 3.7.3 board... should work but could be some small coding difference in the release or ??

Ideas Coders Shack?
Reply With Quote
  #61  
Old 01-18-2009, 10:21 PM
sdsvtdriver sdsvtdriver is offline
 
Join Date: Mar 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, running 3.7.4. PL1
Reply With Quote
Reply

Thread Tools

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 12:27 PM.


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.04868 seconds
  • Memory Usage 2,321KB
  • 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
  • (2)bbcode_php
  • (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
  • (1)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
  • (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