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
Our team is away during the weekend. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!
  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