2010-01-07, 08:59 PM
Hello!
I am trying to add a custom profile field on the showteam.php but I'm not very good with mysql.
I changed the templates correctly and added new space for my custome field.
Now I have to edit showforum.php and add something like this:
$custompf1 = $db->fetch_field($db->simple_select("userfields", I don't know if this is right and what should I add...
Can anyone help with this?
Thanks
I am trying to add a custom profile field on the showteam.php but I'm not very good with mysql.
I changed the templates correctly and added new space for my custome field.
<tr>
<td width="80%" class="{$bgcolor}"><a href="{$user['profilelink']}"><strong>{$user['username']}</strong></a></td>
<td width="10%" class="{$bgcolor}">{$custompf1}</td>
<td width="10%" class="{$bgcolor}">{$emailcode}</td>
<td width="10%" class="{$bgcolor}">{$pmcode}</td>
</tr>
Now I have to edit showforum.php and add something like this:
$custompf1 = $db->fetch_field($db->simple_select("userfields", I don't know if this is right and what should I add...
Can anyone help with this?
Thanks