The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
[1e2] Gravatar as Default Avatar for users without image: auto generate random avatar Details »» | |||||||||||||||||||||||||||||||||||||||
[1e2] Gravatar as Default Avatar for users without image: auto generate random avatar
Developer Last Online: Feb 2019
With this very sipmple plugin you can display a Gravatar icon as default avatar for users that don't have any avatar saved or selected. But if an user has its own avatar, this one will be used instead of Gravatar. So you can continue to use your forum's avatar system, and this plugin will be used only when an avatar is not present.
The Gravatar is unique and automatically genereted based on registration email address choosen by the user. And the avatar created is used in every other website that use this method, like Wordpress blogs. Users that are registered to gravatar.com can upload their avatar image so that every website that uses Gravatar will display the uploaded personal image! So you can save your personal avatar one time and have it spreaded everywhere Gravatar system is used. Images are hosted on gravatar.com website, so you don't have any increase to your server load or bandwidth. In this way every user (old users and new users) will have an avatar image, and to recognize the author of a post will be simplier for all because unique images are assigned to each one. Your forum will be more userfriendly and nice looking! How To 1- Go to Plugins & Products -> Manage Products -> [Add/Import Product], then select the xml file downloaded, click Yes for Allow Overwrite and click Import button 2- Go to Settings->Options->User Picture Options and you will find three new option at the end of the page (see screenshot) where you can: * Choose the Gravatar Type (choose between different Gravatar icon):
* Choose the Gravatar Dimension from 1 to 512 pixel square (default is 80) accordingly to your theme. You must write only numbers without characters or punctuation (so for example 120 and not 120px nor 120,5). * Choose the Gravatar Dimension for your Sidebar from 1 to 512 pixel square (default is 30) accordingly to your theme. You must write only numbers without characters or punctuation (so for example 120 and not 120px nor 120,5). *- Choose the Gravatar Ratings. All images are rated default as "g":
Note: uninstall Geekydesigns default avatar hack to make work. A manual edit for 4 files is needed if you want gravatar also in Blog and in ForumHome Sidebar. It's a simple search and replace, you can do it in 1 minute. As soon as I have time, I will make automatic the manual edit and I will add gravatar support also for CMS. The plugin adds a footer link to author website as copyright mark, but I don't require you to keep it. To remove the copyright info just disable the plugin for footer link: go to Plugins & Products->Plugin Manager and search the plugins for Gravatar as Default Avatar and delete or disable the one named "Profile Hooks". Consider a donation if you do so. vBulletin 3.8 version, please, download HERE Changelog: v 1.0 Initial release v 1.0.1 corrected a bug that makes the gravatar all the same in user profile v 1.1.0 Added a rudimental menu option to choose gravatar type, dimension and ratings v 1.1.1 Improvements in option menu to prevent errors and make it easier v 1.1.2:
v 1.1.2p2 update for VB 4.1.8 and added HTTPS version v 1.1.2p3 updated for VB 4.1.10 Download Now
Screenshots
Show Your Support
|
Comments |
#12
|
||||
|
||||
awesome, works in 3.8.7 Thanks
|
#13
|
||||
|
||||
@ru55ian
really? Does it works on vb 3.8.7 without any modification? Or do you have changed something in the code? Can you tell me also if the menu option is working? |
#14
|
||||
|
||||
Just a small update to menu option to prevent admin to write wrong options.
|
#15
|
|||
|
|||
Really good work!
|
#16
|
||||
|
||||
I was just looking over gravatar.com and considering trying my hand at coding this... I thought I'd have a quick look over here first though in case someone had wrote it already - YAY, someone has... saved me a lot of head scratching
|
#17
|
||||
|
||||
ps - this doesn't work on the blogs nor the CMS area
Hope you can update accordingly ) |
#18
|
||||
|
||||
Yes, I'm working on it. I want it too on my forum
Now I will release an update where you can select the dimension of the avatar for the single part: profile, postbit and userlist. Then I hope it will be the time for the full version! |
#19
|
||||
|
||||
I just added a txt file with instruction to add Gravatar icons to sidebar and blog. Unfortunatly there are no hooks to make theese changes automatically with xml.
Anyway, I'll try to find a way to make theese changes automatic. You need to update also the xml if you want to add the sidebar gravatar. About cms, it uses different method to display avatar... I think I have to look into database. So, by now CMS is excluded. But I'll do it also for CMS area. Don't worry. |
#20
|
|||
|
|||
Warning!!
This plugin contains the following code: PHP Code:
Make sure you remove the above lines. |
#21
|
|||
|
|||
The plugin is also missing code to add the gravatars to the sidebar ...
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|