The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
I'm new to the "if conditions". I'm trying to set it up so that if the user's profile field has a certain option then a certain image is displayed. I've got the profile field set up, I just can't figure out what I should place in the template.
This is what I have right now, but it's not working: Code:
<if condition="$vbulletin->userinfo['field10'] == 'Yes'"> |
#2
|
||||
|
||||
![]()
What type of Profilefield is field10?
|
#3
|
||||
|
||||
![]()
A Single-Selection Menu.
Edit: Nevermind, I was browsing the Forum and found a Country Flag Hack. Code:
<if condition="$post[fieldxx]"><img src="http://your.domian/flags_dir/$post[fieldxx].gif" border="0" alt="country flag" /><br /></if> Just replace the "xx" with the field number. ![]() |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|