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.

Avatar of specific user

8 years 5 months ago
  • Robert's Avatar
    Topic Author
  • Robert
  • Offline
  • Fresh Boarder
  • Posts: 43
  • Thank you received: 2
Licenses:
JomSocial Active Socialize Expired

ISSUE SUMMARY:
I know customation is not yours, but i hope you can help me with a small code i need.

I just want to have a Avatar of specific user shown in a module to contact the user, but i want to that the avatar gets refreshed when the user change it himself. So the html code img scr does not fit to it, i need the php code get_avatar but binded to a special profile. Now i ask you kindly to maybe provide me a example code i can use for it :) the other stuff i will handel :))

thanks

STEPS TO REPLICATE:
1
2
3
4
5
RESULT
EXPECTED RESULT
BROWSER

8 years 5 months ago
Licenses:

HI, Robert.

Thank you for contacting us.
Yes, we can't help with every customization, but I'm sure that our developer could at least put you on right tracks.
I assign developer, he'll contact you soon.


- 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
8 years 5 months ago
  • Dimas's Avatar
  • Dimas
  • Visitor
  • Thank you received: 0
Licenses:

Hi Robert,

You can use this code :

$user = CFactory::getUser(USER_ID);
// thumb avatar
$user->getThumbAvatar();
// large avatar
$user->getAvatar();

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