Hi Megs,
Two way: Plugin or Module
Module
You can develop a modulo and set the visibility only on profile menu item. So in module you can use our API to get displayed user data:
$id=JRequest::getVar('id',null);
require_once(JPATH_SITE.'/components/com_jsn/helpers/helper.php');
$user=JsnHelper::getUser($id);
Plugin (advised)
You can write plugin based on our skeleton plugin (download at the end of this page
https://www.easy-profile.com/docs/44-triggers.html)
- Download, install, enable it
- Go in /plugins/jsn/skeleton/skeleton.php
- delete these example functions triggerFieldAvatarUpdate and triggerProfileUpdate
Easy Profile have some hidden trigger to render content on profile
- renderBeforeProfile
- renderLeftSide
- renderBeforeFields
- renderAfterFields
- renderAfterProfile
There is another trigger to render tabs but is too complex. In future we will write a documentation for this.
You can write a function like this into skeleton.php:
public function renderBeforeProfile($userData,$epConfig){
$html='Your id is:'.$userData->id;
return $html;
}