Back to vBulletin 3.8 Add-ons

FXI Gravatars - Automatically Replace Avatars (all, custom, or empty) with Gravatars!
Mod Version: 1.2, by EugeneFXI

vB Version: 3.8.2 Rating: (3 votes - 5.00 average) Installs: 33
Released: 20 Feb 2009 Last Update: 09 Apr 2009 Downloads: 179
Not Supported Uses Plugins Auto-Template Re-usable Code Translations  

I was looking for a mod that forces all users on my forum to use Gravatars, but couldn't find anything at all, except mention that VB 4.0 will have this feature built in... so I decided to learn to make VB mods and give it a try myself.

This mod will replace user avatars for showthread.php, showpost.php, member.php, and memberlist.php with Gravatars (Globally Available Avatars).

You can learn more about Gravatars at http://www.gravatar.com

Installation:
1. Just install the XML file via Add/Import Product, and you're set.
2. You can configure the maximum Gravatar rating, default image, and sizes via the AdminCP under "FXI - Gravatar". You can also set up which users you want the Gravatars to be used for - all users, only those with avatars, or only those without avatars.

Uninstallation:
1. Just uninstall the product and you're done.

Upgrading:
1. Just set "Allow Overwrite" to Yes and install as usual.

Caveats:
1. This mod relies on automatic template edits to postbit (or postbit_legacy), memberinfo_block_ministats, and memberlist_resultsbit, so if you made heavy modifications to these areas, my changes might not take if it can't find the target code.
2. If you notice any areas where the "old" avatars are still in place and not being replaced by my mod - please let me know!

Demo Site:
http://forums.fxinstructor.com

Change Log:
1.0 - 2009.02.20 (Initial Release)
1.1 - 2009.03.27
+ Optionally replace avatars only for users with avatars
+ Optionally replace avatars only for users without avatars.
+ Now works without having to disable the built-in avatar system.
+ Works on the memberlist avatar display too.
1.2 - 2009.04.09
+ Support for postbit_legacy
+ Moved MD5 calculation to MySQL query
Enjoy!

Download

File Type: %1$s FXI_Gravatar_1.2.xml (17.6 KB, 155 downloads)

Supporters / CoAuthors

  • EugeneFXI

Screenshots

Click image for larger version
Name:	screenshot1.png
Views:	981
Size:	48.8 KB
ID:	95215   Click image for larger version
Name:	screenshot4.png
Views:	284
Size:	46.7 KB
ID:	97063  


vblts.ru supports vBulletin®, 2022-2025