The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
How can I make it so noavatar.gif will appear as the default unless the member has selected an avatar?
Thanks, SM |
|
#2
|
||||
|
||||
|
In functions.php replace this:
Code:
if ($post[hascustomavatar] and $avatarenabled) {
$avatarurl="avatar.php?userid=$post[userid]&dateline=$post[avatardateline]";
} else {
$avatarurl="";
}
Code:
if ($post[hascustomavatar] and $avatarenabled) {
$avatarurl="avatar.php?userid=$post[userid]&dateline=$post[avatardateline]";
} else {
$avatarurl="images/noavatar.gif";
}
|
|
#3
|
|||
|
|||
|
*Edit* It worked perfectly!
![]() Thank you very much for the code! SM |
![]() |
|
|