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 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

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