The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Showthread Load Question
I am running a content locker script for unregistered guests in my SHOWTHREAD. It works but the problem is the thread appears for a second or two before it kicks in. Is there any way to make sure my script loads before the thread does?
I currently have my code here in SHOWTHREAD: {vb:stylevar htmldoctype} <html xmlns="http://www.w3.org/1999/xhtml"<vb:if condition="$vboptions['enablefacebookconnect']"> xmlns:fb="http://www.facebook.com/2008/fbml"</vb:if> dir="{vb:stylevar textdirection}" lang="{vb:stylevar languagecode}" id="vbulletin_html"> <head><vb:if condition="$show['guest']">MY CODE IS HERE</vb:if> {vb:raw headinclude} |
#2
|
||||
|
||||
coding it into the php.
|
#3
|
|||
|
|||
Where would be the best place to put it? I have tried showthread.php and also global.php (with an if statement for showthread) and it still seems to load the thread first.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|