Skip to Content Skip to Menu

🌟 CB Editor Assistant 1.0.0 is here! Discover our new AI Joomla Plugin that wrote its story! (and this banner!)
Start at just $12.50/month* or 💸 save 30% with our 🛍️ Intro Black Friday Offer for a lifetime*

[SOLVED] Gravatar not configured per Reference Guide

4 years 9 months ago - 4 years 9 months ago #316407 by danielfruth
I just downloaded the Gravatar Field plugin. According to the documentation I dug up (see link below) when the plugin is installed it also installs a field. I didn't find the field and had to make my own. The documentation also says that if the avatar is not selected then it will show the gravatar. It could be because I had no default Gravatar field but when I made my own field I can't seem to find the settings to do this. The Avatar stays the Avatar and the Gravatar stays the Gravatar. Does anyone know the setting to do this?

Also, there doesn't appear to be an Integration Tab per the documentation. I have no idea if this is important since I don't have it and the description was short. "If you have installed CB plugin you can configure its interaction with CB Gravatar"

Lastly, I think the field is supposed to pick up the profiles e-mail and use it to get the gravatar per the documentation. Mine is not doing that. It picks up the gravatar if you put in the e-mail but won't grab it if it's not manually filled in.

www.joomlapolis.com/documentation/383-cb-gravatar-field/reference-guide/18656-cb-gravatar-configuration
Last edit: 4 years 9 months ago by krileon. Reason: Added [SOLVED] tag to subject

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48551
  • Thanks: 8291
  • Karma: 1445
4 years 9 months ago #316412 by krileon
Replied by krileon on topic Gravatar not configured per Reference Guide
That documentation is just a parameter reference guide. CB Gravatar used to create a field on install, but it has since been changed to a fieldtype plugin so you can have as many gravatar fields as you like instead of just one. To have a gravatar field simply create a new field of Gravatar type within CB > Field Management. Users then need to supply their email address to it to display their gravatar unless configured within its parameters to just use the users primary email address.

If you want this field to replace the avatar then it's recommended to use the Layout parameters of the avatar field with substitutions to do this. To do this edit your avatar field within CB > Field Management then under Parameters > Layouts adjust the following layout parameters.

Profile Value Layout: [cb:userfield field="FIELD_NAME" /]
Userlist Value Layout: [cb:userfield field="FIELD_NAME" reason="list" /]

Replace FIELD_NAME with the name of your gravatar field. Now set your avatar field to not display on profile edit or registration. This should ensure anywhere the avatar field is displayed it will instead display your gravatar field.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

4 years 9 months ago #316421 by danielfruth
Replied by danielfruth on topic Gravatar not configured per Reference Guide
This does indeed replace your avatar image with a gravatar image. However, I only want to change the portrait to the gravatar if the user has not selected his own image. If he has his own image I want that to override the gravatar.

I saw another forum entry where you addressed this exact issue and it seems to have worked for me. For convenience I linked it below.
www.joomlapolis.com/forum/255-developer-members-support/234343-solved-gravatar-as-cb-avatar?limitstart=0
The following user(s) said Thank You: krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum