The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
This isn't the forum for vB/PHP questions, moved
|
#12
|
||||
|
||||
In the template itself, change this:
HTML Code:
<img src="$userinfo[field6]">
HTML Code:
<if condition="!empty($userinfo[field6])"><img src="$userinfo[field6]"></if> |
#13
|
||||
|
||||
<if condition="!empty()"><img src="">
it comes up like that in a profile with no image |
#14
|
|||
|
|||
PHP Code:
|
#15
|
||||
|
||||
<if condition=""><img src="">
it comes up like that in a profile with no image Isnt there a way to just make it so that <img src=""> shows up as nothing (using php)? |
#16
|
|||
|
|||
Do you actually enter the code like this : <if condition="">, or are you just simplifying it to post?
|
#17
|
||||
|
||||
i added the code lik he said, however, once i ad it, i appears like that on the profile of those people who do not have an image
|
#18
|
|||
|
|||
I have no idea then, sorry.
|
#19
|
||||
|
||||
Are you using vB2 or something?
[high]* Link14716 looks at gio~logist's user info. [/high] 2.3.5, eh? Template conditionals are a vB3 feature, so of course it won't work. Bah. Well then, wherever you were putting that PHP code above, then, use this: PHP Code:
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|