PDA

View Full Version : vbulletin condition for registration page


byalik
10-04-2011, 02:42 PM
What is the name of the registration page to be used in a vbulletin condition?

Lynne
10-04-2011, 03:32 PM
You mean
<vb:if condition="THIS_SCRIPT == 'registration'">
stuff
</vb:if>

byalik
10-04-2011, 03:46 PM
that didn't work for me

--------------- Added 1317746860 at 1317746860 ---------------

This is what I am trying to get to work:

<vb:if condition="THIS_SCRIPT != 'search' && THIS_SCRIPT != 'vbcms' && THIS_SCRIPT != 'registration' && $show['guest']">

Lynne
10-04-2011, 04:11 PM
Whoops, sorry, it is just 'register' not 'registration' (you can see this at the top of the registration.php page).

byalik
10-04-2011, 04:15 PM
works..thanks

slinky
10-09-2013, 06:41 PM
<vb:if condition="THIS_SCRIPT != 'register'">

That works - excellent Lynne.