PDA

View Full Version : Miscellaneous Hacks - vbGravatars


Wayne Luke
06-07-2009, 10:00 PM
Why have a boring static default Avatar when you can have a Gravatar (http://en.gravatar.com/)? What is a Gravatar you ask? Its a Globally Recognized Avatar. On the Gravatar Website, a user can register and assign one or more avatars to their account. These avatars can then be used around the world on Gravatar ready websites without any necessary interaction required by the user.

vBGravatar brings Gravatars to your vBulletin community without any mess or fuss. Other Gravatar solutions require fake avatars to be created and other messy workarounds. vBGravatar only requires that you turn it on within the Admin Control Panel. It will do all the other work for you after installation.

With vBGravatar and Gravatar support, your users can quickly and easily use the same avatar on your community that they use on many WordPress blogs and many other software packages. You are allowing them to preserve their online identity.

Demo Link (http://vbcodex.com/memberlist.php)


Installation Instructions
1) Import the product file for vBGravatar as linked below.
2) Turn it on. Go to vBulletin Options -> vBulletin Options -> User Profile Options and turn on vBGravatars.

How It Works
Gravatars are chosen by a hash of the user's email address. vBGravatar creates that hash for you and requests the avatar from their site. If the user doesn't have a Gravatar account, it will select a random avatar that is generated just for that user. Currently vBGravatar is limited to rated G avatars with a size of 80 pixels square or smaller.

If a user already has an avatar selected on your site, that will still be used. This is for those users that do not select an avatar.

vBGravatar currently shows in postbit, postbit_legacy and the member's list.

To Do

1) Add more options including:
ratings
default avatar group
size
ability to specify a static default avatar2) Display Gravatars in more locations.

Change List
1.0.1 - Released. Fixed a bug with avatar retrieval.
1.0 - Released

Support
Full support will be given to vBCodex members. Please post any issues in the project tracker here:
http://vbcodex.com/project.php?projectid=3

Rdogg11222
06-08-2009, 04:03 PM
Nice Add-On!
I'm Gunna Download This Later.

Princeton
06-08-2009, 05:53 PM
interesting idea :up:

iogames
06-09-2009, 06:36 PM
Wo-???

djr
06-10-2009, 12:19 AM
Finally! Thanks Wayne :D (works perfectly on 3.7.2 and yeah, I know I need to upgrade)

saviola8x
06-10-2009, 11:05 AM
Nice
Thanks

saviola8x
06-10-2009, 11:35 AM
But i want th?s mod work on No avatar, thumb avatar forum dispay ... help me !~

http://forum.svmtcn.net/ and http://forum.svmtcn.net/tuyen-dung-quang-cao/

Thanks so much

Qwest
06-10-2009, 06:07 PM
This is a pretty sexy mod. I'm going to look at how my demographics will take to it.

Thanks.

Calash
06-11-2009, 01:31 AM
Any plans to expand it to Profiles an Groups?

Wayne Luke
06-11-2009, 02:37 PM
Any plans to expand it to Profiles an Groups?
Yes. That is one of the first planned upgrades. The next release will probably be downloadable from my site on Monday and then made available here on Wednesday or Thursday.

Sofia
06-11-2009, 02:40 PM
Thank you, Wayne. Good work ;)

redraider
06-14-2009, 05:47 PM
Awesome mod! ..thanks!

AndrewRich
09-09-2010, 09:27 PM
Nice work! Installed on mousepad.mouseplanet.com. I'd love it if "use my gravatar" was a selectable option on the UserCP Avatar page.

I changed the Gravatar "d" parameter (what gets returned when the submitted email hash has no matching Gravatar) to a local blank.gif because my users don't want default avatars.

Was:


$avatarurl = 'http://www.gravatar.com/avatar/'.md5($userinfo['email']).'.png?s=80&d=identicon&r=g';


Now:


$avatarurl = 'http://www.gravatar.com/avatar/'.md5($userinfo['email']).'.png?s=80&d='.urlencode('http://mousepad.mouseplanet.com/images/blank.gif').'&r=g';

dbasinge
01-26-2011, 04:14 PM
Any plan to update this mod for vB4.x?

Mike

baghdad4ever
03-04-2011, 07:36 PM
Any plan to update this mod for vB4.x?

Mike


i ask the same

Namaless
03-20-2011, 11:40 PM
If we want ask to developer to send vb4 version developed by me.

Qwest
09-05-2011, 04:21 PM
Sweet baby Jesus, where can I find this for vb4?