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
  #512  
Old 02-16-2009, 01:50 AM
Coders Shack Coders Shack is offline
 
Join Date: Apr 2007
Location: Culver City, CA
Posts: 807
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why would you set the max posts lower than the page fold number?

As for the 0 opt I can easily fix that in the next version. 20-30 is the ideal setting
Reply With Quote
  #513  
Old 02-16-2009, 03:12 AM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coders Shack View Post
Why would you set the max posts lower than the page fold number?

As for the 0 opt I can easily fix that in the next version. 20-30 is the ideal setting
Only for Testing Purposes, (you know that we users like to Test Everything on Applications); at first I tried with a Bigger Number than the Max Number of Posts Set on the Forum, but the Described Errors Occurred, so I Decided to Document the 3 Tests (Scenaries) so that you can Reproduce them, (for Big Numbers as well as for Small Numbers on the Max Posts Option, the Error Triggers as Described on Tests).

My Best Regards, Coders Shack.

Reply With Quote
  #514  
Old 02-16-2009, 10:14 AM
p33r p33r is offline
 
Join Date: Sep 2004
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coders Shack View Post
removed eval for the tracking call, if you dont want me to track the install you can comment that line out on the xml (its harmless though, just a numbers thing ^_^)
i applaud this, been playing around with live topics quite a bit now. If used right it could be a very powerful tool.

Keep the updates coming, i could very well see this becoming a core feature of vB thou, it is such a fun gimmick (if used right).
Reply With Quote
  #515  
Old 02-16-2009, 03:02 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by inciarco View Post
Only for Testing Purposes, (you know that we users like to Test Everything on Applications); at first I tried with a Bigger Number than the Max Number of Posts Set on the Forum, but the Described Errors Occurred, so I Decided to Document the 3 Tests (Scenaries) so that you can Reproduce them, (for Big Numbers as well as for Small Numbers on the Max Posts Option, the Error Triggers as Described on Tests).

My Best Regards, Coders Shack.

I think its time to Ask what will happen if I set to Zero (0) the Milisecs to "Request Interval" and also the ones to "Thread Idle Time" and to "User Idle Time"?? (Will it Generate any Mod Error and/or any Server Error? )

What does the Code on the Mod do on those 3 Cases?

My Best Regards.

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

I installed and only see live topic in VB Options, and a live topic gif added to some threads. But when I go into that thread I just see a quick reply box like normal, No ajax. Is there a switch to turn it on?

I uploaded one by one each file into the correct folder on my forum.
Reply With Quote
  #517  
Old 02-16-2009, 05:32 PM
socalsoccer socalsoccer is offline
 
Join Date: Aug 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this a typo in the instalation instructions?

Then go to your admincp and install the product ('product-livevideo.xml')

I tried uninstalling and importing again but only get the small gifs attached to the threads. No ajax is present. I also disabled every other product to see if this would work but nothing happened.

Are the new files missing something 1.06 ? I am using 3.8.1

Mods:

MGC Chat
AME 2.5
Groan hack
Thanks hack
Cyb advanced stat
Cyb Visitors
IPB arcade 2.68
VB portal
Limited Guest Viewing

all were disabled and still nothing but a gif attached to the thread.
Reply With Quote
  #518  
Old 02-16-2009, 06:04 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by socalsoccer View Post
I installed and only see live topic in VB Options, and a live topic gif added to some threads. But when I go into that thread I just see a quick reply box like normal, No ajax. Is there a switch to turn it on?

I uploaded one by one each file into the correct folder on my forum.
See the Videos of the First Post of the Mod, and You'll Understand how this Mod Works.

Nothing Changes on the Quick Reply, the Effect is that New Posts Appear the Moment they are Posted by Other Users, Live, (like in a Chat).

If you see the Videos You'll Understand it.

Quoting First Post:

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

video of it in action: here

Videos: 1.00b 1.06b

watch the damn videos... ^_^
Reply With Quote
  #519  
Old 02-16-2009, 07:08 PM
socalsoccer socalsoccer is offline
 
Join Date: Aug 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by inciarco View Post
See the Videos of the First Post of the Mod, and You'll Understand how this Mod Works.

Nothing Changes on the Quick Reply, the Effect is that New Posts Appear the Moment they are Posted by Other Users, Live, (like in a Chat).

If you see the Videos You'll Understand it.

Quoting First Post:



Ok so you are saying if I am viewing the thread that is live, I dont click anything and others posts will appear?

If this is so, it is not happening. When I post a quick reply , then their new posts will show . you are saying like it is hands free ajax style? Not so.

I thought this mod was going to floor me

I am still hoping that I am missing something

I have seen a few others post that they see nothing also.

Tryed it with another member in real time and we noticed nothing ajaxy about it.

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

After reviewing his first video, It is definetly not working on my board. The magical part is when the other users posts fades into your screen without you doing anything. The magical ajax is not working for me. Can I get some help?
When checking version I get this: Version check failed. No version number was found at this location. The URL for the version check may be incorrect, or the server may be experiencing problems. Please try again later.Thanks
Reply With Quote
  #521  
Old 02-16-2009, 09:10 PM
inciarco's Avatar
inciarco inciarco is offline
 
Join Date: Mar 2007
Posts: 758
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by socalsoccer View Post
Ok so you are saying if I am viewing the thread that is live, I dont click anything and others posts will appear?

If this is so, it is not happening. When I post a quick reply , then their new posts will show . you are saying like it is hands free ajax style? Not so.

I thought this mod was going to floor me

I am still hoping that I am missing something

I have seen a few others post that they see nothing also.

Tryed it with another member in real time and we noticed nothing ajaxy about it.

Thanks
For You to See the New Postings the Thread Should be Alive First.

Do the Following Test in Your Computer With 2 Account One in FireFox and the Other in Google Chrome, Browsers:

1. Enter the Last Page/Post of a Thread with First Account and Post a Reply. That'll Make the Thread Live.

2. Enter the Thread with Second Account (and different Browser as mentioned before) and Post a Reply or a Quick Reply. (You Should Enter Only After Posting with the First Account, so that the Thread can be Active/Live).

You Should See on the First Account, Right After the Post You Made to Activate (Make Live) the Thread, the Post Made with the Second Account.

By Know you've made the Most Basic Test You Can Make to Check if the Mod is Working without Conflic with Any of the Mods You Have.

3. If You Continue Posting on Any of the 2 Accounts You'll see on the Other, at the End of Las Post the New Post made.

If You Browse on one of the Accounts to Another Page, and You Post a Reply with the Other Account You'll See on the Bottom Right of the Window a Small Message that Says that a New Post has been Made.

4. I forgot to mention, you should Check ig you have one of the Mods that are in Conflic with this Mod, (Check the First Post of this Mod), like the "Topic of the Week/Month"; if so, I can only point you to a Solution I made for the Conflict with the "Topic of the Week/Month" Mod.

From your List I have Almost All the Mods You Mention Installed, Except for the ones "VB portal" and "Limited Guest Viewing", and "Cyb Visitors" (that last one I have it Installed but not Active, but I don't think that should interfere with this Mod because it doesn't work at the level of Posts/Postbits).

5. If you make the Tests and you Find that the Mod isn't Working for You, Try Disabling One y One the Mods "VB portal" and "Limited Guest Viewing", and making the Test specified on Points 1 and 2, and it should work.

Remember to Report Which Mod Caused the Conflict so that Coders Shack can Include it in the List of Mods that Cause Complete Conflict with this One.

(I already Reported the Mod of "E-mail Popups", but that one interferes only with the Hiding of the Old Posts, Not with the Appearing of New Live Ones).

My Best Regards.

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 07:34 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.05771 seconds
  • Memory Usage 2,371KB
  • 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
  • (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
  • (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