09-11-2005, 07:31 PM
|
#1 (permalink)
|
|
The Acquainted
Join Date: Jul 2005
Location: UK
Posts: 121
Thanks: 41
|
Help!
Ok total nube here!
I've started to learn PHP and thought I would try to make a small hack to the post-bit in vB.
I want it to show a visual idication if someone has uploaded a profile pic and was trying to do it with this code:
<if condition="$userinfo['profilepic']">
<img src="images/hasprofile.gif" alt="Has a profile pic" />
</if>
I've also tried:
<if condition="$show['profilepic']">
and:
<if condition="$userinfo['profilepic'] = true">
But not sure what I'm doing really!
Do I need to make sure that value has loaded by making sure it is called in the actual php file too?
Any ideas?
sorry to be a total nube :(
|
|
|
|