UPDATES EasyBlog 6.0.11 Released! Update to the latest version 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 offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline

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