The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
In the memberinfo template I'm using the following to display the field if the profile field contains data:
if condition="$userinfo[fieldX]" /if What would my condition be if I also wanted to not have the field show if the content of the field is 'rather not say'? |
#2
|
||||
|
||||
![]()
<else />
|
#3
|
|||
|
|||
![]()
If the field contains data then show it, if it's blank or contains 'rather not say' then don't show.
I thought it would be a conditional that includes an 'OR' |
#4
|
||||
|
||||
![]()
It'd probably be simpler to just do this:
Code:
<if condition="$userinfo['fieldX'] AND $userinfo['fieldX'] != 'Rather Not Say'"> $userinfo['fieldX'] </if> |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|