Addon: Display Actual Avatar too
- Firstly install the actual hack, and then do these steps.
In admin/avatar.php, find:
PHP Code:
$get_the_info=$DB_site->query("SELECT COUNT( username ) AS users, avatar.avatarid, user.avatarid
Replace that with:
PHP Code:
$get_the_info=$DB_site->query("SELECT COUNT( username ) AS users, avatar.avatarid, avatar.avatarpath, user.avatarid
Find:
PHP Code:
<tr class='tblhead'><td align=\"center\" colspan=2><b>
Replace that with:
PHP Code:
<tr class='tblhead'><td align=\"center\" colspan=3><b>
Find:
PHP Code:
<tr class='".getrowbg()."'><td align=\"center\" nowrap><font size='1'>
Replace that with:
PHP Code:
<tr class='".getrowbg()."'><td align=\"center\" nowrap><font size='1'><b>Avatar</b></font></td><td align=\"center\" nowrap><font size='1'>
Find:
PHP Code:
$numberusers=$the_info['users'];
$avatarid=$the_info['avatarid'];
Replace that with:
PHP Code:
$numberusers=$the_info['users'];
$avatarid=$the_info['avatarid'];
$avatar=$the_info['avatarpath'];
Find:
PHP Code:
<tr class='".getrowbg()."'>
Replace that with:
PHP Code:
<tr class='".getrowbg()."'><td align=\"center\" nowrap><img src=\"$bburl/$avatar\" border=\"0\"></td>
Done!