![]() |
If statements with vbulletin
Ok for example this in php would be:
PHP Code:
I know <if condition="$show['member']"> bla </if> then what would be the else tags. Thanks! |
<if condition="$show['member']">
bla <else /> bla </if> :) |
Thanks, i worked that out, now the logged in vars are not working :@
So what are the variable for logged in? EDIT: Never mind it was the hack that wasnt interpreting it! |
What if this usergroup is "Users Awaiting Email Confirmation" or "Administrator" ???
I've tried <if condition="$show['usersawaitingemailconfirmation']"> bla <else /> bla </if> but it doesn't work |
Psionic Vision did a good job of explaining this here:
https://vborg.vbsupport.ru/showthread.php?t=98009 scroll down about half way to "Certain Usergroups Only (In this example, 6 and 7)" |
oh thank you, i found it
|
All times are GMT. The time now is 01:58 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|