Universal No Avatar

All new MODs released in our MOD Database will be announced in here. All support for released MODs needs to take place in the Customisations Database.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

NOTICE: This forum is only for the announcement of new releases and/or updates of MODs. Any MOD support should be obtained through the Customisations Database in the support area designated for each MOD.

A direct link to support for each MOD is in the first post of the respective topic.
amerifinn
Registered User
Posts: 28
Joined: Fri Jun 09, 2006 2:58 am

Re: Universal No Avatar

Post by amerifinn »

My forum looks all huge after installing this mod. Any ideas? It doesn't seem like this mod could do something like that, but I haven't done anything else to it.

{edit} found the error. Don't understand how it affected it, but I fixed it. Thanks anyhow.
Xtracker!
Registered User
Posts: 522
Joined: Sun Apr 05, 2009 10:36 pm
Location: Area 51

Re: Universal No Avatar

Post by Xtracker! »

The installation time would be set to 2 minutes, and thanks for the mod!
User avatar
Dan27
I've Been Banned!
Posts: 352
Joined: Mon Apr 06, 2009 1:07 pm
Location: United Kingdom

Re: Universal No Avatar

Post by Dan27 »

Great MOD :D Soooo easy to put on my forum, thanks! :D
Dan - Registered user.
Click here to visit my forum.
User avatar
PowWowPalace
Registered User
Posts: 58
Joined: Thu Jul 09, 2009 3:28 pm

Re: Universal No Avatar

Post by PowWowPalace »

I just installed in 3.0.5 and it works perfectly :D Thanks
Wild Concepts
Registered User
Posts: 1
Joined: Thu Oct 15, 2009 11:52 am

Re: Universal No Avatar

Post by Wild Concepts »

Thank You :)
User avatar
quahappy
Former Team Member
Posts: 1416
Joined: Tue Dec 12, 2006 8:19 pm
Location: South Yorkshire
Name: Andy Green

Re: Universal No Avatar

Post by quahappy »

Extremely useful MOD. :D

I have found though it is causing an issue with phpBB Arcade MOD when viewing Statistics page. The no Avatar image is not being rescaled to 20 x 20 for any user that doesn't have an Avatar.There is this in arcade_stats_body.html:

Code: Select all

<li style="margin-bottom: 4px;">&nbsp;&nbsp;{users.RANK}:&nbsp;<!-- IF users.AVATAR -->{users.AVATAR}<!-- ELSE -->{users.NO_AVATAR}<!-- ENDIF -->&nbsp;&nbsp;{users.USERNAME}</li>
I've tried overriding and defining width and height of {users.NO_AVATAR} and even replacing aforementioned with direct link to no avatar image (again specifying height and width) but to no avail.

Any recommendations on how to solve this? I don't really want to remove the No Avatar code as many members don't have Avatars. btw, removing the code does correct issue with Arcade.
If you don't ask.....
Richazey
Registered User
Posts: 823
Joined: Mon Oct 27, 2008 9:03 pm

Re: Universal No Avatar

Post by Richazey »

Great mod cheers :D
fayax
Registered User
Posts: 31
Joined: Fri Oct 02, 2009 5:12 pm

Re: Universal No Avatar

Post by fayax »

Perfect and easy!

Perfect score given already in the database. :D
KetchupSamurai
Registered User
Posts: 30
Joined: Sun Jun 24, 2007 8:58 pm

Re: Universal No Avatar

Post by KetchupSamurai »

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):

Code: Select all

if (empty($avatar) || !$avatar_type || (!$config['allow_avatar'] && !$ignore_config))
	{
		return '';
Replace In (functions_display.php):

Code: Select all

return '';
With

Code: Select all

return '<img src="images/avatars/no_avatar.gif" alt="' . ((!empty($user->lang[$alt])) ? $user->lang[$alt] : $alt) . '" />';
Hope this helps anyone who needs it, and would be nice if the mod author would update his mod.
John23
Registered User
Posts: 32
Joined: Wed Nov 18, 2009 7:25 pm

Re: Universal No Avatar

Post by John23 »

Thanks KetchupSamurai, works perfect :D
User avatar
Neuropass
Registered User
Posts: 1163
Joined: Fri Apr 17, 2009 2:02 pm
Location: SciTE4AutoIt3

Re: Universal No Avatar

Post by Neuropass »

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):

Code: Select all

if (empty($avatar) || !$avatar_type || (!$config['allow_avatar'] && !$ignore_config))
	{
		return '';
Replace In (functions_display.php):

Code: Select all

return '';
With

Code: Select all

return '<img src="images/avatars/no_avatar.gif" alt="' . ((!empty($user->lang[$alt])) ? $user->lang[$alt] : $alt) . '" />';
Hope this helps anyone who needs it, and would be nice if the mod author would update his mod.

Thank you very much!!!!
hostel2forum
Registered User
Posts: 17
Joined: Sat Dec 12, 2009 1:38 am

Re: Universal No Avatar

Post by hostel2forum »

Just reporting back.

M using board version 3.0.6

the above method working without any prob.
chimpy2
I've Been Banned!
Posts: 108
Joined: Tue Dec 15, 2009 9:51 am
Location: http://main-forums.limewebs.com

Re: Universal No Avatar

Post by chimpy2 »

Great! I actually got it working for once 0,o
Help me get a full domain for my site! It cost $16(Australian) you can do so by visiting my site and donating via the 'Donate' button, I will give you credit at the bottom of every page. My site: http://main-forums.limewebs.com
lovelysummer
Registered User
Posts: 437
Joined: Fri Mar 20, 2009 1:49 pm

Re: Universal No Avatar

Post by lovelysummer »

KetchupSamurai,

Thanks for sharing. You are very nice. :D
User avatar
Augusta T.
Registered User
Posts: 42
Joined: Thu Jul 10, 2008 9:50 am

Re: Universal No Avatar

Post by Augusta T. »

thank you so much to blkjack-21 and to KetchupSamurai, the mod is easy to install and is fine! Image

Image
Augusta

Return to “[3.0.x] MOD Database Releases”