vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Live Topic (https://vborg.vbsupport.ru/showthread.php?t=201228)

gx123 01-18-2009 09:02 PM

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.

PossumX 01-18-2009 11:37 PM

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 !!

nul7 01-19-2009 12:42 AM

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.

carubmun 01-19-2009 12:52 AM

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.

sdsvtdriver 01-19-2009 02:11 AM

Quote:

Originally Posted by nul7 (Post 1717338)
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?

Coders Shack 01-19-2009 03:02 AM

Quote:

Originally Posted by gx123 (Post 1717232)
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 (Post 1717303)
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 (Post 1717338)
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 (Post 1717343)
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 (Post 1717380)
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.

Coders Shack 01-19-2009 03:04 AM

Quote:

Originally Posted by azher (Post 1717105)
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...

Coders Shack 01-19-2009 03:06 AM

Quote:

Originally Posted by nso (Post 1715673)
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 :p

---

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 (Post 1715965)
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.

nul7 01-19-2009 03:07 AM

Quote:

Originally Posted by sdsvtdriver (Post 1717380)
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"?

nul7 01-19-2009 03:10 AM

Quote:

Originally Posted by Coders Shack (Post 1717404)
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.


All times are GMT. The time now is 03:02 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01609 seconds
  • Memory Usage 1,789KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete