1. serhioromano
  2. General
  3. Monday, February 24 2014, 02:02 PM
I am integrating JSN with Cobalt CCK. I need this.

Build link to registration.
Build link to login.
Get avatar file path.

How to do that?
admin Accepted Answer
Admin
Hi,
Build link to registration.

The same of Joomla com_users
Build link to login.

The same of Joomla com_users
Get avatar file path.

require_once(JPATH_SITE.'/components/com_jsn/helpers/helper.php');
$user=new JsnUser(id_of_user);
// avatar
echo $user->getField('avatar');
// avatar thumbs
echo $user->getField('avatar_mini');
// avatar url
echo $user->getValue('avatar');
// avatar thumbs url
echo $user->getValue('avatar_mini');

read documentation at http://www.easy-profile.com/docs/38-jsnuser-object.html
  1. more than a month ago
  2. General
  3. # 1
serhioromano Accepted Answer
Pro
Thank you.
  1. more than a month ago
  2. General
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.