![]() |
|
Mod Options |
![]() |
|||||||||||
[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 Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Sigmachat VB Integration: Generate Random Guest Username | kangta | vBulletin 3.0 Full Releases | 0 | 31 Jan 2005 11:43 |
#47
|
|||
|
|||
Works great, waiting on the automatic entries and CMS support, thanks for you help.
No members have liked this post.
|
#48
|
|||
|
|||
Thank you. Work fine.
Small problem. The path of the image in the facebook application is incorrect because the domain of forum is added to the route of gravatar. Example. In app facebook the path of the image is: http://myforumvbulletin.comhttps://secure.gravatar.com/avatar/XXXXXXXX Any solution? Thank you very much No members have liked this post.
|
#49
|
||||
|
||||
@jorgejgm can you give more details? I can't understand the refering about facebook application. Can you give me an example link? (you can do it also in PM).
I have tried to login to your forum using the facebook connect, and I can see a regular gravatar in my profile, so I cannot see your problem. No members have liked this post.
|
#50
|
|||
|
|||
Thank you Galerio. Send PM.
Facebook app of vbulletin https://www.vbulletin.com/index.php?do=facebookapp (I explained very bad, sorry) No members have liked this post.
|
#51
|
||||
|
||||
Thank you, I have seen the issue, but I don't have the Vbulletin Facebook App, so I can't see its source code and look for a solution. And I'm not going to purchase it by now. I'm sorry, but I can't give you support.
No members have liked this post.
|
#52
|
|||
|
|||
Thanks Galerio. A shame.
No members have liked this post.
|
#53
|
||||||||
|
||||||||
solved
In user_info.php (apps facebook) Find:
and replace by:
No members have liked this post.
Last edited by jorgejgm; 25 Jan 2012 at 18:51. |
#54
|
|||
|
|||
Is this compatible with vb 4.1.10?
Thanks! No members have liked this post.
|
#55
|
||||
|
||||
Yes it is, maybe I just need to update infos in txt file if you want gravatar also in sidebar and blog/cms, but it's a simple thing to do. I'll do it now.
Edit: added updated version compatible with 4.1.10 No members have liked this post.
Last edited by galerio; 26 Feb 2012 at 10:41. |
#56
|
||||
|
||||
Mhm...not very effective because after every update the changes are lost. Is it possible to do that with templates?
__________________
Visit me on Youtube http://www.youtube.com/user/KraxellPlay No members have liked this post.
|
#57
|
||||
|
||||
Sorry, but there's no way to alter avatars in sidebar and blogs with a template change. It's something hardcoded in the source files.
But the avatars in showpost, profile and memberlist are already there also after an update. No members have liked this post.
|
#58
|
|||
|
|||
tried the edits in vb 4.1.11. works perfectly
![]() No members have liked this post.
Last edited by w8baby; 02 Mar 2012 at 19:43. |
#59
|
||||
|
||||
You should clean the sidebar block cache. Or wait for some hours.
No members have liked this post.
|
#60
|
|||
|
|||
Please can you make this mod so user can select from my custom avatars, nto gravatars (just adding another option in Mod config so i can set manually path to images.. (my def avatars directory)
thank you
__________________
Hosting for vBulletin Forum from $0.5 monthly No members have liked this post.
Last edited by postcd; 28 Aug 2013 at 12:50. |
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 01:48.