PDA

View Full Version : How come I can't detect the homepage script


tmanran123
09-10-2011, 09:27 PM
I'm using this

<vb:if condition="THIS_SCRIPT == 'forumhome'">
HELLOOOOOO
</vb:if>

And the script is NOT equal to forumhome

why would my forum homepage not be equal to forumhome???

TheLastSuperman
09-10-2011, 09:43 PM
I'm using this

<vb:if condition="THIS_SCRIPT == 'forumhome'">
HELLOOOOOO
</vb:if>

And the script is NOT equal to forumhome

why would my forum homepage not be equal to forumhome???

Try this:

<vb:if condition="THIS_SCRIPT == 'index'">
I'm right behind you, no need to yell!
</vb:if>

Helpful article: https://vborg.vbsupport.ru/showthread.php?t=231525

tmanran123
09-10-2011, 10:04 PM
Thanksssssssssssssssssssssssssssssssssss

yay