Log in

View Full Version : how do i call a profile field


tipoboy
10-24-2007, 03:21 PM
look for some help here from someone in ther know.

I made a new profile field [field7](a milti -line text box) and i want to call that field into the showgroups_usergroupbit in a seperate column

here is my showgroups_usergroupsbit template:

<tr>
<td class="$bgclass">$user[onlinestatus]</td>
<td class="$bgclass"><div align="center"><a href="member.php?$session[sessionurl]u=$user[userid]"><img src="image.php?u=$user[userid]" border="0"></a></div></td>
<td class="$bgclass">
<a href="member.php?$session[sessionurl]u=$user[userid]">$user[musername]</a></td>

<td class="$bgclass"><if condition="$post['field7']">$post[field7]</if></td>


<td class="$bgclass" nowrap="nowrap">
<if condition="$show['pmlink']"><a href="private.php?$session[sessionurl]do=newpm&amp;u=$user[userid]" rel="nofollow"><img src="$stylevar[imgdir_button]/sendpm.gif" alt="<phrase 1="$user[username]">$vbphrase[send_private_message_to_x]</phrase>" border="0" /></a></if>
<if condition="$show['emaillink']"><a href="sendmessage.php?$session[sessionurl]do=mailmember&amp;u=$user[userid]" rel="nofollow"><img src="$stylevar[imgdir_button]/email.gif" alt="<phrase 1="$user[username]">$vbphrase[send_message_via_email_to_x]</phrase>" border="0" /></a></if>
</td>
</tr>

i have managed to create a new column, in the showgroups.php but cant seem to call the information from the profile field. is there something i am missing, i've tried searching for hours and tried several methods i found, but staill am unable to call th info, can anyone help me with this??

thanks in advanced
dave

tipoboy
10-26-2007, 02:28 PM
anyone??

--------------- Added 1193416079 at 1193416079 ---------------

edit:

nevermind i have worked it out for myself, for anyone looking at this thread in future i had to use this code to pull the data from the user profile field

<td class="$bgclass">$user[field7]</td>