Support

  1. mediaoff
  2. General
  3. Wednesday, October 17 2018, 11:41 PM
Is it possible to show the author and avatar in other components? The Author plugin for Joomla articles does not work in this case. I had a look at the JsnUser Object, but did not find a solution there. The component that I am using has a php based template that would allow the inclusion of code at the requested position...
admin Accepted Answer
Admin
Hi,
sorry for late reply, was night for us :D
Is it possible to show the author and avatar in other components?
Yes, this is possible. Author plugin works only for Joomla articles, to enable avatar you can go to Extensions->Plugins and search by "Easy Profile - Author plugin", you will see a option to show avatar.
For other components there are differents ways to show Easy Profile avatar:
1) Component have a built-in integration with Easy Profile....of course this is the most simple case
2) Component have a built-in integration with Jomsocial. it is much older and more popular than Easy Profile, so there are many components that include an integration with it. We have developed a plugin that simulate the installation of Jomsocial but retrieve avatar and profile link from Easy Profile:
- Install jomsocial bridge, you can find it in our download area
- Configure your component to retrieve avatar and profile link from jomsocial
NOTE: jomsocial bridge does not works with all components. We have tested it only in a few components http://docs.easy-profile.com/index.php/article/jomsocial-bridge
3) you can customize the view of the component to retrieve avatar from Easy Profile for example with a code like this:
require_once(JPATH_SITE.'/components/com_jsn/helpers/helper.php');
$user=JsnHelper::getUser($user_id); // $user_id should be the id of the user
echo $user->getField('avatar');
Docs at http://docs.easy-profile.com/index.php/article/jsnuser-object

JsnUser Object, but did not find a solution there
Can you please post me your code, we will check if there is some error ;)
  1. more than a month ago
  2. General
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Request Support

Support is currently Offline

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.