Warning: The author of this contribution does not provide support for it anymore.

Universal No Avatar

(READ) Update for this mod to 3.0.8 - Universal No Avatar

(READ) Update for this mod to 3.0.8

by DoYouSpeakWak » Tue Mar 01, 2011 3:28 pm

Its been a while since this mod was updated. 3 years this coming summer. Since its very simple the change is also quite simple.

Instead of the find in the install file use this one.

Code: Select all

if (empty($avatar) || !$avatar_type || (!$config['allow_avatar'] && !$ignore_config))
{
      return '';


Thats it.
Whatever you share comes back. Support the phpBB Communities
Offering paid services. 15+ years of experience with phpBB3 and server management.
User avatar
DoYouSpeakWak
Registered User
Posts: 2311
Joined: Fri Jul 25, 2008 1:32 pm
Location: Island of Wak-Wak

Re: (READ) Update for this mod to 3.0.8

by zenrei » Tue Apr 05, 2011 2:07 pm

DoYouSpeakWak wrote:Its been a while since this mod was updated. 3 years this coming summer. Since its very simple the change is also quite simple.

Instead of the find in the install file use this one.

Code: Select all

if (empty($avatar) || !$avatar_type || (!$config['allow_avatar'] && !$ignore_config))
{
      return '';


Thats it.

Worked great on my 3.0.8 install :)
User avatar
zenrei
Registered User
Posts: 172
Joined: Fri Oct 06, 2006 1:34 pm

Re: (READ) Update for this mod to 3.0.8

by TomAlex » Tue May 10, 2011 8:14 pm

IMHO, more correct to change the replaceable part on:

Code: Select all

   return '<img src="' . $phpbb_root_path . $config['avatar_gallery_path'] . '/no_avatar.gif" alt="' . ((!empty($user->lang[$alt])) ? $user->lang[$alt] : $alt) . '" />';

for sure no_avatar.gif should be placed into /images/avatars/gallery
TomAlex
Registered User
Posts: 4
Joined: Sat Apr 30, 2011 11:58 am

Re: (READ) Update for this mod to 3.0.8

by Darkvelvet » Sun Jul 31, 2011 3:55 pm

This don't make any sense, you told me to find a line of code that is already exist so there is no changing. What I need to change for the code to work?
Darkvelvet
Registered User
Posts: 94
Joined: Sat Jul 16, 2011 5:48 am

Re: (READ) Update for this mod to 3.0.8

by GrossKopf » Fri Aug 19, 2011 6:10 pm

Darkvelvet wrote:This don't make any sense, you told me to find a line of code that is already exist so there is no changing. What I need to change for the code to work?


I have the same question... this is very unclear. I use automod to install mods and of course it had a problem with this mod. Can you explain this for us dummies? :)
GrossKopf
Registered User
Posts: 62
Joined: Sat Aug 28, 2004 8:29 pm
Location: South River, NJ USA
Name: Andy Cogswell

Re: (READ) Update for this mod to 3.0.8

by GrossKopf » Mon Aug 22, 2011 1:56 pm

Anyone reading this topic anymore?
GrossKopf
Registered User
Posts: 62
Joined: Sat Aug 28, 2004 8:29 pm
Location: South River, NJ USA
Name: Andy Cogswell

Re: (READ) Update for this mod to 3.0.8

by Oyabun1 » Mon Aug 22, 2011 11:08 pm

Have updated the install package for 3.0.9, see Update Version for phpBB 3.0.9
                      Support Request Template
3.0.x: Knowledge Base Styles Support MOD Requests
3.1.x: Knowledge BaseStyles SupportExtension Requests
User avatar
Oyabun1
Former Team Member
Posts: 23162
Joined: Sun May 17, 2009 1:05 pm
Location: Australia
Name: Bill