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

Retrieve user profile information ?

Fagault Eric · ·
3:36 AM Saturday, 05 August 2017
None
Hello,
I would like to know how it is possible to retrieve information present in the profiles of the users.
For example, gender, date of birth ...

I was thinking of something like:

<?php
$idTarget = 984; // pour tests
require_once(JPATH_ADMINISTRATOR . '/components/com_easysocial/includes/easysocial.php');
$profil = ES::user($idTarget);
$genreText = $profil->user->getFieldValue('gender');
echo $genreText;
?>


Best regards.

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