The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
<if condition="$show['guest']"> {
<script type="text/javascript"> if ((document.location !="http://we-cheat.com/register.php") || (document.location !="http://we-cheat.com/register.php?do=register")) { alert("Welcome Guest, please click OK to Register!"); document.location = "http://we-cheat.com/register.php"; } </script> </if> It works when I have only the 1 exception but when I added another it started to loop and the popup shows up on the register pages too This is placed in my footer |
#2
|
|||
|
|||
![]() Code:
<if condition="$show['guest'] AND THIS_SCRIPT != 'register'"> |
#3
|
|||
|
|||
![]()
I got it.... It's
<if condition="$show['guest']"> { <script type="text/javascript"> if(document.location != "http://we-cheat.com/register.php" && document.location != "http://we-cheat.com/register.php?do=register") { alert($vbulletin->options['message_var']); document.location = "http://we-cheat.com/register.php"; } </script> </if> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|