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

Helpdesk

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 online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

Retrieving User Avatar

Edwin Cruz · ·
2:45 AM Saturday, 04 March 2017
None
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