Support

  1. teraviva
  2. General
  3. Sunday, January 26 2014, 05:32 PM
Hello,
I need to place an avatar from easy profile to the page from other component. How can i include it? I tried to write "echo /{/ user /avatar 661 /}/" (661 - user id, just for example) to the template (default.php), but it look like i`m doing a stupid thing. How to do it right? Thank you for any suggestions.
admin Accepted Answer
Admin
Hi,
You try to use a content plugin, but this plugin is avaible only for Basic or Pro member.
Try to use our api to retrieve a field see http://www.easy-profile.com/docs/38-jsnuser-object.html

what is the component?
  1. more than a month ago
  2. General
  3. # 1
teraviva Accepted Answer
A third time sticking to the docs was helpfull. I use the free "questions" (please delete this name if i should not write it) with their own profile page with number of created questions (based on standard profile), but there did not work avatars output from the profile, gravatars only.
As i use an easy profile and did not want to produce a lot of different avatars - i decided to fix output from the profile joomla.
solution that worked for me, as in docs:

$jsnuser=new JsnUser($reguser->id);
echo '<img src="'.$jsnuser->getValue(avatar).'">';
  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.

Request Support

Support is currently Online

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.