MyBB Community Forums

Full Version: Identicon Avatars
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Uses an identicon avatar for all users, guests, and/or users without avatars (based on your settings)

http://en.wikipedia.org/wiki/Identicon

Uses "PHP Identicons" by "bcosca" on Sourceforge, GPL.

http://sourceforge.net/projects/identicons/


Download:
http://mods.mybb.com/view/identicon-avatar

Screenshots:

Only users without avatars and guests have identicons:
http://i.imm.io/cUDr.jpeg

All users have identicons:
http://imm.io/cUDJ
looks good Smile

However, why does:
		$avatar_width_height = "width=\"{$dim}\" height=\"{$dim}\"";   
appear twice in identicon_avatar()?

Also, there is a "slight" security risk of exposing user IP addresses Toungue If you could figure out the hash used to produce the image, then find the IP from that Smile But that is negligable
Good question. I've removed it from the next release.

Qutoting from wikipedia:

Quote:The Identicon graphic is relatively unique since it's based on the user's IP, but it is not possible to recover the IP by looking at the Identicon

I would say anyone who could decode the image probably would find the person's IP in a lot easier way Smile
What about dynamic IP? Or plugin uses only registration IP?
And what about to include monsterids and wavatars in this plugin so admin can choose which one to use on the forum?

http://gravatar.wordpress.com/2008/04/22...ars-oh-my/
There already is a gravatar plugin for MyBB.


Guest posts use the post IP, registered user posts use the registration IP.
Gravatar plugin only for gravatars. I'm talking about monsterids [Image: b36fbfd073ed8a1.png] and wavatars [Image: ee4d1b570eff6ce63c7d97043980a98c?default...edefault=1].
I'd love to play with this plugin Big Grin But i cba to install a test board to play Toungue
I'll consider developing a plugin for them.
Another suggestion - store generated avatar images in cache (in forum directory) to prevent server overload. But I don't sure about it, because I don't know how this plugin works.
(2011-12-13, 09:12 PM)Maj Wrote: [ -> ]Another suggestion - store generated avatar images in cache (in forum directory) to prevent server overload. But I don't sure about it, because I don't know how this plugin works.

Hmmm, good idea. I'll add that to a future version.
Pages: 1 2 3