![]() |
With the new <if> <else> ..
How would I make it so <if> useravatar is selected, display it, but if not, <else> display a default one?
:x thanks |
i belive some one releasd it but ill just give it to you
i dont take any credit for writing this Code:
<if condition="$post[avatar]">$post[avatar]<else /><img src="path/to/image" border="0" alt="No avatar selected" /></if> |
Thanks mucho!
|
All times are GMT. The time now is 03:47 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|