This was thanks to Firefly and it was for version 2.03
Quote:
In member.php, replace this code:
code:
------------------------------------------------------------------------
eval("\$avatarlist .= \"".gettemplate("modifyavatarbit")."\";");[/php]
with this:
[code] if ($istaken=$DB_site->query_first("SELECT userid FROM user WHERE avatarid='$avatarid'")) {
eval("\$avatarlist .= \"".gettemplate("modifyavatarbit_taken")."\";") ;
} else {
eval("\$avatarlist .= \"".gettemplate("modifyavatarbit")."\";");
}
------------------------------------------------------------------------
Now create a new template, name it modifyavatarbit_taken, and use this:
code:
------------------------------------------------------------------------
<td bgcolor="#13486D" valign="bottom" align="center"><normalfont>
Taken! <img src="$avatar[avatarpath]">
<br>$avatar[title]</normalfont></td>
------------------------------------------------------------------------
|
I have made these same changes in version 2.20, just need some help modifying the new avatar additions to 2.20 as well.