MyBB Community Forums
Identicon Avatars - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Extensions (https://community.mybb.com/forum-201.html)
+--- Forum: Plugins (https://community.mybb.com/forum-73.html)
+---- Forum: Plugin Releases (https://community.mybb.com/forum-102.html)
+---- Thread: Identicon Avatars (/thread-109704.html)

Pages: 1 2 3


Identicon Avatars - Paul H. - 2011-12-13

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


RE: Identicon Avatars - Tom K. - 2011-12-13

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


RE: Identicon Avatars - Paul H. - 2011-12-13

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


RE: Identicon Avatars - Maj - 2011-12-13

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/identicons-monsterids-and-wavatars-oh-my/


RE: Identicon Avatars - Paul H. - 2011-12-13

There already is a gravatar plugin for MyBB.


Guest posts use the post IP, registered user posts use the registration IP.


RE: Identicon Avatars - Maj - 2011-12-13

Gravatar plugin only for gravatars. I'm talking about monsterids [Image: b36fbfd073ed8a1.png] and wavatars [Image: ee4d1b570eff6ce63c7d97043980a98c?default...edefault=1].


RE: Identicon Avatars - Tom K. - 2011-12-13

I'd love to play with this plugin Big Grin But i cba to install a test board to play Toungue


RE: Identicon Avatars - Paul H. - 2011-12-13

I'll consider developing a plugin for them.


RE: Identicon Avatars - Maj - 2011-12-13

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.


RE: Identicon Avatars - Paul H. - 2011-12-13

(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.