[MODDB] Default Random 'No Avatar' 1.0.4a

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment!
Ideas Centre
User avatar
Boardtalk.net
Registered User
Posts: 1222
Joined: Fri Jun 05, 2009 8:12 pm
Location: Ireland
Name: Colette
Contact:

[MODDB] Default Random 'No Avatar' 1.0.4a

Post by Boardtalk.net »

Modification Name: Default Random 'No Avatar'.
Author: Boardtalk.net
Author: KillBill.

Modification Description: Random Avatars are displayed by default for users who have not selected an Avatar. Pack includes 17 ‘No Avatar’ images.
Modification Version: 1.0.4a

Requirements: None

Features: A Random Avatar will display in the users mini profile beside posts and in their profile.

Screenshots: Image

Demo URL: Boardtalk.net/forum/
Demo Username: Test
Demo Password: test123

Modification Download:
[BETA] Default Random 'No Avatar' 1.0.4a.zip

Note: This is an updated version of ‘Universal No Avatar’ by blkjack-21 and now with random Avatars.

Version 1.0.4a now also contains an additional No Avatar Sports Set (see the Contrib)

Update version 1.0.2 and 1.0.3 was rewritten by Killbill. And I would like say big thanks for the help and good code.
Version 1.0.3 allows support for forums where GD is disabled, this slight change of code saves users from having to check if GD is enabled or disabled.

Icons that I used for making the Avatars were found on findicons.com

The current installed pack of 17 .gif avatars are 94x94 in size but you can make your own and name them the same, then upload the new avatars you have made to root/images/avatars/random

Don’t forget to purge the cache and if you still don’t see the images, do a Ctrl and F5 (hold down together) to clear your browsers cache.

For any other issues, don’t forget to check your edits and that you’ve uploaded the images!

Most important of all… have fun!
Last edited by Boardtalk.net on Tue Mar 08, 2011 12:54 am, edited 14 times in total.
User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany
Contact:

Re: [BETA] Default Random 'No Avatar'.

Post by darkonia »

wow thats a nice feature with the random thing, thx.
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.
User avatar
Boardtalk.net
Registered User
Posts: 1222
Joined: Fri Jun 05, 2009 8:12 pm
Location: Ireland
Name: Colette
Contact:

Re: [BETA] Default Random 'No Avatar'.

Post by Boardtalk.net »

Thanks Darkonia :D
User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany
Contact:

Re: [BETA] Default Random 'No Avatar'.

Post by darkonia »

have you made a update instruction how to update from the original mod Universal No Avatar?
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.
User avatar
Boardtalk.net
Registered User
Posts: 1222
Joined: Fri Jun 05, 2009 8:12 pm
Location: Ireland
Name: Colette
Contact:

Re: [BETA] Default Random 'No Avatar'.

Post by Boardtalk.net »

Your right, I was just thinking that before you posted. I’ll add the update instructions later this evening.
Thanks,
;)
User avatar
darkonia
Registered User
Posts: 1901
Joined: Tue May 13, 2008 1:10 pm
Location: Munich, Germany
Contact:

Re: [BETA] Default Random 'No Avatar'.

Post by darkonia »

thx for this :ugeek:
MMOG-Heaven - Das Gaming Portal
Community bedeutet Gleichgesinnte finden - MMOG-Heaven ist Deine Community! Von Spielern für Spieler bietet Dir dieses Portal genau das, was ein Spieler braucht. Bleibe ständig informiert, finde die neuesten MMORPGs, oder suche die frischesten News aus der Welt des Online Gamings - dieses und vieles mehr erwartet Dich auf MMOG-Heaven.
User avatar
Boardtalk.net
Registered User
Posts: 1222
Joined: Fri Jun 05, 2009 8:12 pm
Location: Ireland
Name: Colette
Contact:

Re: [BETA] Default Random 'No Avatar'.

Post by Boardtalk.net »

Update instructions now attached to update your Universal No Avatar v1.0.0 to Default Random 'No Avatar' version 1.0.1

;)
User avatar
Boardtalk.net
Registered User
Posts: 1222
Joined: Fri Jun 05, 2009 8:12 pm
Location: Ireland
Name: Colette
Contact:

Re: [BETA] Default Random 'No Avatar'.

Post by Boardtalk.net »

Boardtalk.net wrote:Update instructions now attached to update your Universal No Avatar v1.0.0 to Default Random 'No Avatar' version 1.0.1
Revision made to update instructions.
vortexhlp
Registered User
Posts: 195
Joined: Fri Jan 09, 2009 7:51 pm

Re: [BETA] Default Random 'No Avatar'.

Post by vortexhlp »

Very cool mod and useful for most people! Perhaps an idea for your next mod if you ever plan on making another, is to have a default random avatar selected when the user registers from the avatar gallery? :D
User avatar
Boardtalk.net
Registered User
Posts: 1222
Joined: Fri Jun 05, 2009 8:12 pm
Location: Ireland
Name: Colette
Contact:

Re: [BETA] Default Random 'No Avatar'.

Post by Boardtalk.net »

Thank Vortexhlp :D
Am going to keep this mod simple as adding an avatar selection on registration would be beyond my capabilities.
User avatar
Ruyan Ve
Registered User
Posts: 41
Joined: Thu Dec 20, 2007 3:15 am
Location: Germany

Re: [BETA] Default Random 'No Avatar'.

Post by Ruyan Ve »

Nice work, thank you!
Man is the cruelest animal.
User avatar
keith10456
Registered User
Posts: 2315
Joined: Thu Feb 24, 2005 6:55 pm
Contact:

Re: [BETA] Default Random 'No Avatar'.

Post by keith10456 »

Great, Great, idea! I'll be giving this a run this weekend ;)
User avatar
KillBill.
Registered User
Posts: 604
Joined: Tue Jun 02, 2009 4:07 pm
Contact:

Re: [BETA] Default Random 'No Avatar'.

Post by KillBill. »

Great, idea!
The avatars are also good. ;)
User avatar
Boardtalk.net
Registered User
Posts: 1222
Joined: Fri Jun 05, 2009 8:12 pm
Location: Ireland
Name: Colette
Contact:

Re: [BETA] Default Random 'No Avatar'.

Post by Boardtalk.net »

Thanks all ;)
User avatar
KillBill.
Registered User
Posts: 604
Joined: Tue Jun 02, 2009 4:07 pm
Contact:

Re: [BETA] Default Random 'No Avatar'.

Post by KillBill. »

deficit (phpbb_root_path, width, height)

Code: Select all

        return '<img src="images/avatars/random/no_avatar' . mt_rand(1, 17) . '.gif" alt="' . ((!empty($user->lang[$alt])) ? $user->lang[$alt] : $alt) . '" />'; 
So correct.

Code: Select all

        return '<img src="' . $phpbb_root_path . 'images/avatars/random/no_avatar' . mt_rand(1, 17) . '.gif" width="' . $avatar_width . '" height="' . $avatar_height . '" alt="' . ((!empty($user->lang[$alt])) ? $user->lang[$alt] : $alt) . '" />'; 
;)
Locked

Return to “[3.0.x] MODs in Development”