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
  #272  
Old 01-18-2009, 09:02 PM
gx123 gx123 is offline
 
Join Date: Jul 2007
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

since i have this mod installed, almost all of my member becoming crazy bout this feature. It increase my 'new post' statistic 3x!! but the crazyness isn't over, when i check the google analitycs, pageviews was dropped by 70%!!
from zero to hero in posting, from hero to zero in pageviews.

i wonder where i shall place the google analytics code so the pageviews not dropped too much, even better if it could perfectly fit with the super statistic in post.
Reply With Quote
  #273  
Old 01-18-2009, 11:37 PM
PossumX's Avatar
PossumX PossumX is offline
 
Join Date: Oct 2006
Location: NE USA
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This looks quite interesting. I'll be following this closely as it could be a great addition forum communities, especially for active topics (as you say). Keep up the great work.

Looking SICK to this point !!
Reply With Quote
  #274  
Old 01-19-2009, 12:42 AM
nul7 nul7 is offline
 
Join Date: Sep 2006
Location: USA
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This looks fantastic, but I cannot get it to work. I am running 3.8.0, but have quite a few mods and template edits. I've tried:

Uninstalling/Reinstalling
Disabling all other addons
Creating a new base style with no modifications

I am getting the "Live Topic" icon in the thread list and, upon viewing the source for a Live Topic thread, I see the code for the css and js. However, aside from the icon in the thread list I see no evidence this is doing anything at all. I have yet to try both disabling addons and using a stripped style (we have a small board and it's pretty slow on the weekends... no one to test with at the moment. lol). Are there certain types of template edits or addons that MAY interfere with this? Trying to narrow down what could be causing the problem, but, so far, I've had no luck. Any suggestions on how to debug this?

TIA for any help you can provide.
Reply With Quote
  #275  
Old 01-19-2009, 12:52 AM
carubmun carubmun is offline
 
Join Date: Jan 2007
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is soo much promise here, hopefully the coder takes this plugin and runs with it, or someone else comes aboard to improve it.
Either way, the original idea behind it is fantastic.

I think a lot of peoples issues would be fixed if this plugin could be selected on a per thread basis.
Kinda like the polls work.

When you make a new thread you could have an option at the bottom of the page that asks you to mark the checkbox if you would like to "enable Live Topic in this thread".

That way the admin/mods have much more control over what threads are allowed to have this feature.
Reply With Quote
  #276  
Old 01-19-2009, 02:11 AM
sdsvtdriver sdsvtdriver is offline
 
Join Date: Mar 2005
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nul7 View Post
This looks fantastic, but I cannot get it to work. I am running 3.8.0, but have quite a few mods and template edits. I've tried:

Uninstalling/Reinstalling
Disabling all other addons
Creating a new base style with no modifications

I am getting the "Live Topic" icon in the thread list and, upon viewing the source for a Live Topic thread, I see the code for the css and js. However, aside from the icon in the thread list I see no evidence this is doing anything at all. I have yet to try both disabling addons and using a stripped style (we have a small board and it's pretty slow on the weekends... no one to test with at the moment. lol). Are there certain types of template edits or addons that MAY interfere with this? Trying to narrow down what could be causing the problem, but, so far, I've had no luck. Any suggestions on how to debug this?

TIA for any help you can provide.
I am having a similar problem with the 3.7 version.

https://vborg.vbsupport.ru/showpost....0&postcount=58

Are you seeing the same thing I am?
Reply With Quote
  #277  
Old 01-19-2009, 03:02 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 gx123 View Post
since i have this mod installed, almost all of my member becoming crazy bout this feature. It increase my 'new post' statistic 3x!! but the crazyness isn't over, when i check the google analitycs, pageviews was dropped by 70%!!
from zero to hero in posting, from hero to zero in pageviews.

i wonder where i shall place the google analytics code so the pageviews not dropped too much, even better if it could perfectly fit with the super statistic in post.
depends on what type of forum you have , if you cashing out on advertising on your members then poor members. But if your cashing out of content... (via google hits) then its a good addition.
Quote:
Originally Posted by PossumX View Post
This looks quite interesting. I'll be following this closely as it could be a great addition forum communities, especially for active topics (as you say). Keep up the great work.

Looking SICK to this point !!
thanks
Quote:
Originally Posted by nul7 View Post
This looks fantastic, but I cannot get it to work. I am running 3.8.0, but have quite a few mods and template edits. I've tried:

Uninstalling/Reinstalling
Disabling all other addons
Creating a new base style with no modifications

I am getting the "Live Topic" icon in the thread list and, upon viewing the source for a Live Topic thread, I see the code for the css and js. However, aside from the icon in the thread list I see no evidence this is doing anything at all. I have yet to try both disabling addons and using a stripped style (we have a small board and it's pretty slow on the weekends... no one to test with at the moment. lol). Are there certain types of template edits or addons that MAY interfere with this? Trying to narrow down what could be causing the problem, but, so far, I've had no luck. Any suggestions on how to debug this?

TIA for any help you can provide.
I'm in the process of building a list on incompatible hacks.

But if you had a link to your forum with it enabled that would help.

Quote:
Originally Posted by carubmun View Post
There is soo much promise here, hopefully the coder takes this plugin and runs with it, or someone else comes aboard to improve it.
Either way, the original idea behind it is fantastic.

I think a lot of peoples issues would be fixed if this plugin could be selected on a per thread basis.
Kinda like the polls work.

When you make a new thread you could have an option at the bottom of the page that asks you to mark the checkbox if you would like to "enable Live Topic in this thread".

That way the admin/mods have much more control over what threads are allowed to have this feature.
control features will be added later, main thing is functionality and cross compatibility. And restricting a hack to one thread will not fix anyone's issue's. This is in beta and the goal is to fix all the issues.
Quote:
Originally Posted by sdsvtdriver View Post
I am having a similar problem with the 3.7 version.

https://vborg.vbsupport.ru/showpost....0&postcount=58

Are you seeing the same thing I am?
If you had a link to your forum with it enabled that would help.
Reply With Quote
  #278  
Old 01-19-2009, 03:04 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 azher View Post
Hello,



I think I found out what the issue was...many of our forum members prefer to use the "Linear - Newest First" thread view as their default under User CP->Options. The AJAX refresh works perfectly fine for those that are on "Linear - Oldest First" (what I suspect is the default for many boards) however for our site, most people simply see the notification popup rather than the actual refresh.

I'd humbly request that the logic be updated to take this into account and "bump down" the posts for those that prefer to see newest posts first.
Added to my todo list, i didn't even know you could do that...
Reply With Quote
  #279  
Old 01-19-2009, 03:06 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 nso View Post
Great hack, and I've gone live with this on my ~400 online users forum.

I notice that posts are fetched again when they are edited, but it's not reflected on the actual post. Could you add the "edited by"?

Also; I think you should add an option to display a message/gfx in the pulled post. This will make it clearer for the reader what exactly happended. I hacked it myself, but I think this is something that should be in the product.

There should also be an indicator in the thread telling the user that this thread is a live thread, and the thread should also be updated to reflect that the user is no longer active or the thread is no longer active if this should occur while the user is idling on the thread.

For those interested, this is what I added.
The english might be bad, the styles should be in classes in the style and the text should be in phrases -- but you get what you pay for

---

In postbit_legacy (if you are not using this you are on your own):
Code:
---- after:
		<!-- message -->
		<div id="post_message_$post[postid]">

---- add:
		<if condition="$post['livetopic']">
				<fieldset style=" padding: 5px; margin-bottom: 20px; background-color: #FFF8DD; border: 1pt dashed red;">
						<img alt="live topic" src="/forum/images/statusicon/thread_livetopic.gif" title="live topic"/>&nbsp; <span style="font-weight: bold;">This post has been added by another user.</span> <br /><br />
						Since this is an active topic, this post has been automatically added to the thread while you were reading it. If you are replying to this thread you might want to read this post before doing so.
				</fieldset>
		</if>
In <forumdir>/includes/livetopic_hooks.php
Code:
---- before:
        if ($post['attach'])
        {

---- add:
		$post['livetopic'] = 1;
---

Screenshot-text in Norwegian, but I'm assuming you all read that flawlessly.
Beautiful idea, ill be added into the next version.
Quote:
Originally Posted by mrthe View Post
How is the function of the image comment_add.png ? i can't find it anywhere in my forum.
its used in the notifications, if your on a page that isnt the last page of a thread then you will be notified of new posts if its a live topic.
Reply With Quote
  #280  
Old 01-19-2009, 03:07 AM
nul7 nul7 is offline
 
Join Date: Sep 2006
Location: USA
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sdsvtdriver View Post
I am having a similar problem with the 3.7 version.

https://vborg.vbsupport.ru/showpost....0&postcount=58

Are you seeing the same thing I am?
I don't think so... First, I don't know what you mean by "L/F". lol Second, I don't see anything happen at all. As far as I can tell, there is absolutely no difference with this mod enabled or disabled aside from the icon in the thread list. Maybe I'm not looking close enough or in the right spot to see some possible activity? What is an "L/F"?
Reply With Quote
  #281  
Old 01-19-2009, 03:10 AM
nul7 nul7 is offline
 
Join Date: Sep 2006
Location: USA
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Coders Shack View Post
I'm in the process of building a list on incompatible hacks.

But if you had a link to your forum with it enabled that would help.
Ugh... sorry. lol Board is at: http://forum.crookedh.com

I've seen others report an incompatibility with USC, but we do not have that installed. Would it help to list the plugins/products we have?

EDIT: And a direct link to the board with the default, blank style: http://forum.crookedh.com/index.php?styleid=16 We only have one style so user style selection has been disabled.
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:16 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.12021 seconds
  • Memory Usage 2,380KB
  • 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
  • (2)bbcode_code
  • (11)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