now it gets interesting
make a new profile field
take note of what field it is
in showgroups find
Code:
// Scans too many rows. Usergroup Rows * User Rows
$users = $db->query_read_slave("
SELECT $locationfieldselect user.*, usergroup.usergroupid, usergroup.title, user.options
& after add
replacing X with the number of the field
in the showgroups_usergroup template
replace with this
Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat" colspan="4">$user[title]</td>
</tr>
<tr>
<td class="thead">$vbphrase[user_name]</td><td class="thead">Whatever </td>
$usergroupbits
</table>
<br />
in the showgroups_usergroupbit template
replace with
Code:
<tr>
<td class="$bgclass">
<a href="member.php?$session[sessionurl]u=$user[userid]">$user[musername]</a>
<if condition="$show['location']"><div class="smallfont" title="$vbphrase[location_perm]">$user[location]</div></if>
</td>
<if condition="$showforums">
<td class="$bgclass"><div class="smallfont">$user[forumbits]</div></td>
</if>
<td class="$bgclass" nowrap="nowrap">
$user[fieldX]</td>
</td>
</tr>
replacing X with the number of the field