vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   Miscellaneous Hacks - Afzz GrAvatar (https://vborg.vbsupport.ru/showthread.php?t=208499)

afzz 03-15-2009 10:00 PM

Afzz GrAvatar
 
1 Attachment(s)
==================================
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
Code:

                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
Code:

$my_gravatars = array("1","2","3","4");
TO
Code:

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


All times are GMT. The time now is 06:45 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01141 seconds
  • Memory Usage 1,718KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete