UPDATES PayPlans 5.0.8 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Trying to set a cookie for users Real Name on login

Glen Murray · ·
9:02 PM Saturday, 23 August 2014
None
I'm trying to get a cookie set for the users avatar and username to be set when the user logs in. So far I've tried quite a few different methods. IE


$user = Foundry::user();
$fullname = $user->getName();
$avatar = $user->getAvatar( SOCIAL_AVATAR_MEDIUM );


During the login in process none of these seem to work, the username always comes back as SocialUser and the avatar comes back as a default location that isnt even usable as a image address.


http%3A%2F%2Fhttp://www.WEBSITEADDRESS.com%2Fmedia%2Fcom_easysocial%2Fdefaults%2Favatars%2Fuser%2Fmedium.png


As you can see the address that is being put out makes no sense.

I did also include


require_once( JPATH_ADMINISTRATOR . '/components/com_easysocial/includes/foundry.php' );


Thank you for any help you can provide :)
The replies under this section are restricted to logged in users or users with an active subscription with us