Thread: Help!
View Single Post
Old 09-12-2005, 05:52 PM   #2 (permalink)
CreativeLogic
The Acquainted
 
Join Date: Mar 2005
Posts: 177
Thanks: 0
CreativeLogic is on a distinguished road
Default

First off, this is mainly vBulletin's code and it's not exactly PHP. Just so you know in the future.

In a postbit you have to use the $post variable. Here's the code you would want to try:
<if condition="$post['profilepic']">
<img src="images/hasprofile.gif" alt="Has a profile pic" />
</if>

That should work inside the template to complete what you're after.
CreativeLogic is offline  
Reply With Quote