PDA

View Full Version : Miscellaneous Hacks - Afzz GrAvatar


afzz
03-15-2009, 10:00 PM
==================================
Afzz GrAvatar Plugin
==================================
Author: Afzal Khan
==================================

*What this plugin does*

This plugin lets your users use Gravatar Avatars in Vbulletin.

*What is Gravatar*

Globally Recognized Avatar, visit http://www.gravatar.com/ for details

*Installation Instructions*

1. Login in to the AdminCP -> Avatars -> Add New Avatars
2. Add the following 4 Avatars in the Generic Avatars Category
1)Title: Gravatar Identicon, Avatar File Path: http://www.gravatar.com/avatar/<!--Email_Id-->?s=80&d=identicon&r=G
2)Title: Gravatar Wavatar, Avatar File Path: http://www.gravatar.com/avatar/<!--Email_Id-->?s=80&d=wavatar&r=G
3)Title: Gravatar Monsterid, Avatar File Path: http://www.gravatar.com/avatar/<!--Email_Id-->?s=80&d=monsterid&r=G
4)Title: Gravatar Default, Avatar File Path: http://www.gravatar.com/avatar/<!--Email_Id-->?s=80&r=G
5)Note the Ids of the avatars you added in the prrevous step. The id can be seen by clicking on the Edit option under the Avatar
3. Goto AdminCP -> Plugins & Products -> Download / Upload Plugins click on Browse and select the afzz-gravatar.xml file and click Import to install the plugin
4. Goto AdminCP -> Plugins & Products -> Plugin Manager -> Afzz GrAvatar and add the ids of the 4 avatars you noted in step 2.5 above to the $my_gravatars array and click on Save
Example: If your ids are 12,13,14,15 change $my_gravatars = array("1","2","3","4"); TO $my_gravatars = array("12","13","14","15");
5. Now your users will have a choice of Gravatar Avatars under the UserCP -> Edit Avatar -> Generic Avatars Category
6. The users can click on their chosen Gravatar Avatar and click on Save Changes button to import the Avatar into Vbulletin

Note: Clicking on the Gravatar will not check the radio button under it but will add the gravatar path required for the avatar in the option 1 and check the Use Custom Avatar radio button. Clicking on the Save Changes button will import the avatar into Vbulletin
Ps: Please click on Installed if you install this plugin and please support by donating to my Paypal Id

afzz
03-16-2009, 08:33 AM
Reserved

Jasem
03-16-2009, 06:42 PM
Thank you....

tschai
05-15-2009, 09:44 AM
Sounds to good to be true...will try it definitly!

Floris
08-29-2010, 11:07 AM
A shame it doesn't use the gravatar of the user, based on their email. Like xenforo does.