The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
If Profile Field Empty
I want to make a script not run if a profile field is empty, but can't seem to find a conditional for this. I don't want this script to run if my profile field is not filled in:
Code:
if($vbulletin->options['xbl_avatar_system_enable_product'] AND $vbulletin->options['xbl_avatar_system_display_navbar']) { $xblavatarfield = $vbulletin->options['xbl_avatar_system_userfield']; eval('$xblavatarhead = "<td style=\"padding:1px\"><a href=\"member.php?".$vbulletin->session->vars[sessionurl]."u=".$vbulletin->userinfo[userid]."\"><img src=\"http://avatar.xboxlive.com/avatar/".$vbulletin->userinfo[$xblavatarfield]."/avatarpic-l.png\" border=\"0\" /></a></td>";'); } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|