Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Avatars not showing in amazon s3

12 years 4 months ago
Licenses:
JomSocial Active

Hi there. I use remote storage Amazon s3 and it workd fine for my photo's but for my avatars I see two odd behaviours

If I go to someones profile and look at their avatars on their profile page I find it is using a local url

e.g. this profile you can see this avatar image url url

Yet If I look at their profile pic on lets say a review comment it shows a blank image and the url is for amazon?

and see this url
url

and the url for Amazon is

12 years 4 months ago
Licenses:

Hi, Dan.

I assign developer to this thread.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
12 years 4 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Dan,

Can you provide me phpmyadmin access, please? for some reasons the photo avatar is not detected the storage location, so I need check the record directly.

thank you

12 years 4 months ago
Licenses:
JomSocial Active

Done
Let me know if you Need anything else

12 years 4 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi Dan,

I cant login to cpanel, I get this "The login is invalid"

thank you

12 years 4 months ago
Licenses:
JomSocial Active

So sorry. I've updated.

12 years 3 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi,

This issue because the some avatar files are not available, so the transfering was stuck and couldn't go to another record.

I already gave the temporary fix for this, the avatar now can be transfered as well. But I will discuss with the developer for the proper fix.

This is my temp code (libraries/cron.php 125-132) :

$idU = $element=='users'?'userid':'id';
        $query = 'SELECT * FROM ' . $db->quoteName('#__community_' . $element) . ' '
                . 'WHERE ' . $db->quoteName('storage') . ' != ' . $db->quote($storageMethod) . ' '
                . ' AND ( '
                . '( ' . $db->quoteName('thumb') . ' != ' . $db->quote('') . ' AND ' . $db->quoteName('avatar') . ' != ' . $db->Quote('') . ' ) '
                . ' OR ' . $db->quoteName('cover') . ' != ' . $db->quote('')
                . ' ) '
                . ' ORDER BY '.$idU.' DESC LIMIT ' . $updateNum;


thank you

12 years 3 months ago
Licenses:
JomSocial Active

Hi there

Thanks for your help but I dont think the full issue is fixed.

If I look on this listing article page on my site http://www.ibikeride.com/mountain-bike-holidays/2210-cycling-mountain-biking-spain-ibiza and you scroll all the way down to a review and see the avatar images you will note they are not been pulled in. I attach an image to highlight what I mean.

Attachment avatarissue.jpg not found



When I look at the specific image url it is as follows. http://ibikeride.s3.amazonaws.com/components/com_community/assets/user-Male-thumb.png

I think it is because these are the default images when a user has not selected and uploaded their own and they are stored in a different folder in jomsocial to a users avatar and the remote storage is not set up to deal with this? It's not a massive issue just looks like something is a little broke.

Attachments:
12 years 3 months ago
  • Dimas Tekad Santosa's Avatar
  • Dimas Tekad Santosa
  • Visitor
  • Thank you received: 0
Licenses:

Hi dan,

I think that issue is not coming from Jomsocial page right? and how about if in Jomsocial page, have the same issue too?

thank you

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW