The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
THIS_SCRIPT Conditionals in vb5
I'd like to redirect all users which are not logged in to index.php. For that reason I put following code into the header template:
Code:
<vb:if condition="$bbuserinfo['usergroupid'] == 1 AND THIS_SCRIPT != 'index'"> <meta HTTP-EQUIV="REFRESH" content="0; url={vb:raw baseurl}"> </vb:if> So my questions is: Are conditionals with "THE_SCRIPT" still working in vb5 or is there another way to retrieve the information, which page is actually being displayed. Or is there another problem that prevents the code from working properly. Thanks in advance |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|