The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Trying to update a mod
Hi guys, I wrote a hack a while back, think it was for 3.x. The hack would display a flashing message in a closed thread. It worked great back in the day but I tried to use the code for 4.2.1 and it won't accept some of the old code. I think this is where it's getting stuck at;
Code:
<if condition="!$this->thread['open']"> <if condition="!$GLOBALS['FIRSTPOSTID']"> <if condition="THIS_SCRIPT == showthread"> Can someone please post the new version of code that I should be using? |
#2
|
||||
|
||||
Did you cahnge the conditionals to <vb:if bla bla & </vb:if>
|
#3
|
|||
|
|||
Yes but the error said something about the '!$' characters....
Do I just remove them or is the entire code different? Code:
<vb:if condition="!$this->thread['open']"> <vb:if condition= "!$GLOBALS['FIRSTPOSTID']"> <vb:if condition= "THIS_SCRIPT == showthread"> </vb:if> </vb:if> </vb:if> Where else might they be for something like this? |
#4
|
||||
|
||||
Maybe try this:
Code:
<vb:if condition="$thread[open] == 0"> <vb:if condition="!$GLOBALS['FIRSTPOSTID']"> <vb:if condition="THIS_SCRIPT == showthread"> </vb:if> </vb:if> </vb:if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|