UPDATES EasyBlog 6.0.11 Released! Update to the latest version now!


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
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline

Retrieving User Avatar

Edwin Cruz · ·
2:45 AM Saturday, 04 March 2017
hi stackideas team, i want retrieving the user avatar, but with that code
require_once(JPATH_ADMINISTRATOR . '/components/com_easysocial/includes/easysocial.php');
$id = 445;
$my = ES::user();
$avatar = $my->getAvatar($id);
but give me this error:

Notice: Use of undefined constant JPATH_ADMINISTRATOR - assumed 'JPATH_ADMINISTRATOR' in C:\xampp\htdocs\prefix\recuperaavatar.php on line 2

Warning: require_once(JPATH_ADMINISTRATOR/components/com_easysocial/includes/easysocial.php): failed to open stream: No such file or directory in C:\xampp\htdocs\prefix\recuperaavatar.php on line 2

Fatal error: require_once(): Failed opening required 'JPATH_ADMINISTRATOR/components/com_easysocial/includes/easysocial.php' (include_path='.;C:\xampp\php\PEAR') in C:\xampp\htdocs\prefix\recuperaavatar.php on line 2

can you help me please.
The replies under this section are restricted to logged in users or users with an active subscription with us