1. AdinaG
  2. Support
  3. Monday, May 06 2019, 12:20 AM
Hi

If I set the configuration to use the Gravatar for the avatar it's actually replacing ALL image fields with the gravatar.

I have 2 other images that the user uploads to the site that are not core "avatars".

On the user's backend where they upload the images it now says "customize your avatar from gravatar.com" instead of giving them the option to upload the image.

On the sites frontend, the images that I already had uploaded before switching to the gravatar setting are still displaying. So this seems to only be effecting the users edit profile section.

Images attached is of a custom image upload I created for another part of the website not associated with the users avatar that switched after I turned Gravatar on.

Please advise?

Thanks
Adina
Attachments (2)
Accepted Answer
admin Accepted Answer
Admin
Hi,
try to follow also these modifications
- Open file at /administrator/components/com_jsn/helpers/fields/imagefull.php
- At line 117 replace this
if($jsn_config->get('avatar',1) == 2) // Gravatar
with this
if($field->alias == 'avatar' && $jsn_config->get('avatar',1) == 2) // Gravatar
  1. more than a month ago
  2. Support
  3. # Permalink
AdinaG Accepted Answer
Pro
Sorry, this should be titled ALL Image uploads.
  1. more than a month ago
  2. Support
  3. # 1
admin Accepted Answer
Admin
Hi,
this is a bug, to solve it please apply this patch:
- Open file at /administrator/components/com_jsn/models/fields/imagefull.php
- At line 34 replace this
if($jsn_config->get('avatar',1) == 2) // Gravatar
with this
if($jsn_config->get('avatar',1) == 2 && $this->element['name'] == 'avatar') // Gravatar


We will add same patch in next release. Thanks for report it :D
  1. more than a month ago
  2. Support
  3. # 2
AdinaG Accepted Answer
Pro
Great fixed!

Would it be possible to also display the actual Gravatar on the edit profile page here as well?

Thanks again!

Adina
  1. more than a month ago
  2. Support
  3. # 3
AdinaG Accepted Answer
Pro
Hey guys! Sorry this isn't completely fixed yet.

So even though the photo upload shows so the user can switch out the images, it doesn't actually save the image or update the profile.

I tried several times with the Gravatar setting on and nothing happened.

As soon as I turned it off the images updated and I received my normal profile updated email.

Can you please look into this further.

THANK YOU!

Adina
  1. more than a month ago
  2. Support
  3. # 4
AdinaG Accepted Answer
Pro
Ok, this correct the issue and everything seems to work fine now..

Just want to make sure you are aware... and this could have been a typo...

But I didn't have an /imagefull.php file only an image.php file

Thank you for your help!

Adina
  1. more than a month ago
  2. Support
  3. # 5
admin Accepted Answer
Admin
Hi,
But I didn't have an /imagefull.php file only an image.php file
Yes, you have right, my bad. The correct file is "image.php"
  1. more than a month ago
  2. Support
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.