View Full Version : With the new <if> <else> ..
RixiuS
09-03-2003, 02:00 AM
How would I make it so <if> useravatar is selected, display it, but if not, <else> display a default one?
:x
thanks
Zachery
09-03-2003, 10:36 AM
i belive some one releasd it but ill just give it to you
i dont take any credit for writing this
<if condition="$post[avatar]">$post[avatar]<else /><img src="path/to/image" border="0" alt="No avatar selected" /></if>
RixiuS
09-03-2003, 12:00 PM
Thanks mucho!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.