I know there a mod like that exist, but it is so old and outdated that it no longer work. So was wondering if I can make just make it default no Avatar image instead of random.
Great mod! I will use this mod and keep an eyes out for it.
Thanks!
Anyway to make it just one Avatar instead of random - Default Random 'No Avatar'
-
- Registered User
- Posts: 94
- Joined: Sat Jul 16, 2011 5:48 am
Re: Anyway to make it just one Avatar instead of random
Hi Darkvelvet,
I think Universal No Avatar is the mod you are looking for. This mod still works, its just
1.
Copy: root/images/avatars/no_avatar.gif
To: images/avatars/no_avatar.gif
2.
Open: includes/functions_display.php
Find:
In-line Find:
In-line Replace With:
Hope that helps.

I think Universal No Avatar is the mod you are looking for. This mod still works, its just
functions_display.php
has been updated since that mod was first validated. Follow the edits below to make it work in 3.0.91.
Copy: root/images/avatars/no_avatar.gif
To: images/avatars/no_avatar.gif
2.
Open: includes/functions_display.php
Find:
Code: Select all
if (empty($avatar) || !$avatar_type || (!$config['allow_avatar'] && !$ignore_config))
{
return '';
In-line Find:
Code: Select all
return '';
In-line Replace With:
Code: Select all
return '<img src="images/avatars/no_avatar.gif" alt="' . ((!empty($user->lang[$alt])) ? $user->lang[$alt] : $alt) . '" />';
Hope that helps.

-
- Registered User
- Posts: 1245
- Joined: Fri Jun 05, 2009 8:12 pm
- Location: Ireland
- Name: Colette
Re: Anyway to make it just one Avatar instead of random
Thank you Boardtalk, your suggestion work great.
-
- Registered User
- Posts: 94
- Joined: Sat Jul 16, 2011 5:48 am