UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible 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

How to echo to each user his user ID?

Aikaterini Koutsouflaki · ·
5:32 AM Saturday, 26 May 2018
High
Hello
We managed to get the Name of the user following instructions found in documentation.

We got it using...
require_once(JPATH_ADMINISTRATOR . '/components/com_easysocial/includes/easysocial.php');
$my = ES::user();
echo $my->getName();

How will we get the user ID to echo it somewhere?

Thank you!
The replies under this section are restricted to logged in users or users with an active subscription with us