That great SgtOliver. The funny thing is I have been working on it since yesterday and just got it work about an hour ago but went out to lunch. I'll post my changes here for you anyhow. Use them if you are interested.
Open the showroster.php file.
***************************
Find:
Code:
require_once('./global.php');
Below it add:
Code:
require_once(DIR . '/includes/functions_user.php');
***************************
Find:
Code:
($hook = vBulletinHook::fetch_hook('showgroups_user')) ? eval($hook) : false;
eval('$usergroupbits .= "' . fetch_template('showroster_usergroupbit') . '";');
Above it add:
Code:
$avatarurl=fetch_avatar_url($user[userid]);
if (!$avatarurl) {
$avatarurl = 'images/spacer.gif';
} else {
$avatarurl = $vbulletin->options['bburl'] . '/' . $avatarurl[0];
}
$avatarimage='<img src="'.$avatarurl.'" border="0">';
***************************
Add a column for the Avatar header to your showroster_usergroup template.
Code:
<td class="thead">Avatar</td>
***************************
Add a column for the Avatar image to your showroster_usergroupbit template.
Code:
<td class="$bgclass">$avatarimage</td>
***************************
You would also have to make some table adjustments (ie. colspan) to get it all even again.
The spacer.gif image I am using is attached if you want to use that as well.
That's it.