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)

BirdOPrey5 05-30-2012 09:24 AM

You do not add that code to any hook.

There is already a plugin on global start.

You need to edit the plugin so it looks like this (erase it all and paste this in)

Code:

function ieversion()
{
  $match = preg_match('/MSIE ([0-9]\.[0-9])/',$_SERVER['HTTP_USER_AGENT'],$reg);
  if ($match == 0)
    return -1;
  else
    return floatval($reg[1]);
}

if (ieversion() < 9.0)
{
  $is_livetopic = true;
  $livetopichook = 'template_edits';
  include 'includes/livetopic_hooks.php';
}

Then change the line
Code:

if (ieversion() < 9.0)
to one of the conditions I posted above.

If that doesn't work then I'm sorry but this is a notoriously difficult mod to get working and why no one has produced a great working clone. A couple people have tried but they all seem to have their issues.

Wonksta 05-30-2012 12:00 PM

Maybe in vB5? :P

beekay 05-31-2012 04:35 AM

Quote:

Originally Posted by Wonksta (Post 2334516)
Do you have mods the amend postbit? Like adsense ad insertations? It will break if you do, happened for me.

In the mean time DragonByte has his version of thiis available that was less buggy

This actual hack has worked great for me, I haven't had any bugs. Just can't seem to modify it to disable it for guests.

Wonksta 05-31-2012 06:40 AM

Quote:

Originally Posted by beekay (Post 2334941)
This actual hack has worked great for me, I haven't had any bugs. Just can't seem to modify it to disable it for guests.

The Dragon one? The Dragon one from memory allows you to specify usergroups from memory?

ctrlbrk 06-01-2012 01:49 AM

Does anyone have a fix to enable support for the Post Thank You mod within live topic? Right now, the Thanks button is not displayed on the ajax refresh new post.

beekay 06-01-2012 06:16 AM

Quote:

Originally Posted by Wonksta (Post 2334960)
The Dragon one? The Dragon one from memory allows you to specify usergroups from memory?

I just tried the one from dragon and it jumps around much more than this version. I have some very active threads during big sporting events and tonight it was almost impossible to read a reply without it jumping. If it remained static then I would prefer dragon because of the ability to disable it for usergroups and the claim that it uses less resources.

jluerken 09-12-2012 05:38 AM

I would really like to see a vB 4.2.x version of this addon working also with post thank you...

Kolektor 09-12-2012 01:01 PM

why? don't you like to use the one that came from dragonbyte?

azn_romeo_4u 03-02-2013 09:56 PM

hmmm... i can't get this to work on vb 3.8.7 patch 3....anyone got it working?

BirdOPrey5 03-03-2013 12:32 PM

It still works on m 3.8.7 PL3 just doesn't work in IE9.


All times are GMT. The time now is 03:07 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.01814 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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