Quote:
Originally Posted by Digital Jedi
If you have more examples that I can post, possible some I overlooked or mods I don't have installed, please feel free to post them and I'll add them to this post.
|
Code:
<if condition="$post['age']"><div class="info">$vbphrase[age]: $post[age]</div>
<else />
<div class="info"><b>Age:</b> N/A</div>
</if>
For displaying users age. Users can remove the else statement to have it come up blank if the field is not filled in.
The else statement could also be added to any other conditional for showing profile fields as well
Also for the homepage field:
Code:
<if condition="$post['homepage']"><div class="info">Homepage: $post[homepage]</div>
<else />
<div class="info"><b>Homepage:</b> N/A</div>
</if>
I was curious though if there was a way to make that come up as a clickable link instead of standard text. I tried wrapping an html link tag around
That just made the field come up with the text "Homepage:", but no link or text
Great mod, I love this one. A lot of my members wanted the arcade icons, but some of them have 50-70 and I didn't want to stretch my pages unreasonably. This has really helped with that.
Edit: Installed and nominated.