Code: Select all
<li style="margin-bottom: 4px;"> {users.RANK}: <!-- IF users.AVATAR -->{users.AVATAR}<!-- ELSE -->{users.NO_AVATAR}<!-- ENDIF --> {users.USERNAME}</li>
Code: Select all
if (empty($avatar) || !$avatar_type || (!$config['allow_avatar'] && !$ignore_config))
{
return '';
Code: Select all
return '';
Code: Select all
return '<img src="images/avatars/no_avatar.gif" alt="' . ((!empty($user->lang[$alt])) ? $user->lang[$alt] : $alt) . '" />';
KetchupSamurai wrote:Seeing the author hasnt updated this mod in sometime, and well phpBB in 3.0.6 has changed some things esp in functions_display.php you need to find a different line as the one in the mod install is not the same now as it was.
Find In (functions_display.php):Replace In (functions_display.php):Code: Select all
if (empty($avatar) || !$avatar_type || (!$config['allow_avatar'] && !$ignore_config)) { return '';
WithCode: Select all
return '';
Hope this helps anyone who needs it, and would be nice if the mod author would update his mod.Code: Select all
return '<img src="images/avatars/no_avatar.gif" alt="' . ((!empty($user->lang[$alt])) ? $user->lang[$alt] : $alt) . '" />';