007
05-26-2003, 09:50 PM
Hi,
I added a field to that is in the user table, and is varchar(20) to an if/else statement in functions.php
It looks like
if ($post[field5]==1 and $userinfo[textfield]!="") {
$image="path to image.gif";} else if ($post[field5]==1) {
$image="path to alternate image.gif";} else {
$image="";}
Is it possible to do this? I am trying to have an image appear in the postbit depending on if a member has certain profile fields selected or filled out...
I have tried $post, $bbuserinfo, and $userinfo in front of the [textfield] in the PHP above and it hasn't worked any of the times.
Is what I am trying to do possible??? Please HELP! :(
I added a field to that is in the user table, and is varchar(20) to an if/else statement in functions.php
It looks like
if ($post[field5]==1 and $userinfo[textfield]!="") {
$image="path to image.gif";} else if ($post[field5]==1) {
$image="path to alternate image.gif";} else {
$image="";}
Is it possible to do this? I am trying to have an image appear in the postbit depending on if a member has certain profile fields selected or filled out...
I have tried $post, $bbuserinfo, and $userinfo in front of the [textfield] in the PHP above and it hasn't worked any of the times.
Is what I am trying to do possible??? Please HELP! :(