This will allow you to define a default avatar image that will be used for members that have not selected an avatar.
Open sources/functions.php. Find:
Upload the following image (or an image of your choice) into your forum's html/avatars directory:
Open sources/functions.php. Find:
if (!$member_avatar or $member_view_avatars == 0 or !$ibforums->vars['avatars_on'])
{
return "";
}
if (preg_match ( "/^noavatar/", $member_avatar ))
{
return "";
}
if ( (preg_match ( "/\.swf/", $member_avatar)) and ($ibforums->vars['allow_flash'] != 1) )
{
return "";
}
Change To: if (!$member_avatar or $member_view_avatars == 0 or !$ibforums->vars['avatars_on'])
{
return "<img src='{$ibforums->vars['AVATARS_URL']}/noavatar.gif'>";
}
if (preg_match ( "/^noavatar/", $member_avatar ))
{
return "<img src='{$ibforums->vars['AVATARS_URL']}/noavatar.gif'>";
}
if ( (preg_match ( "/\.swf/", $member_avatar)) and ($ibforums->vars['allow_flash'] != 1) )
{
return "<img src='{$ibforums->vars['AVATARS_URL']}/noavatar.gif'>";
}
Save and upload.Upload the following image (or an image of your choice) into your forum's html/avatars directory:













