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
Our team is away during the weekend. Some answers may already be available on our documentation

Rest assured that we will get back to your posts as soon as the week starts!
  Support is offline
Dear,

we created an intranet using the easysocial module and we wanted to display a general field in the listing page.
So we added a custom field (COM_EASYSOCIAL_FIELDS_PROFILE_DEFAULT_GENERAL) and we have overwritten the \templates\ja_intranet\html\com_easysocial\helpers\listing\user.php file and added the following code snippet.

<?php $generalinfo = null;

foreach($user->getCustomFields() as $struct) {
if ($struct->title==="COM_EASYSOCIAL_FIELDS_PROFILE_DEFAULT_GENERAL";) { echo trim($struct->data);break;}}
?>

This at first seemed to work nicely, and the custom info is displayed. But now it seems to be unstable. For some users it appears. For some users it does not. Even for one user when saving the user data the extra field appears, after saving the user again (without changing anything, the extra fields dissappears). So I guess there is some cache which prevents the loading properly.

As an extra info and also weird thing, when I we go to the listings page (by following the link in the main menu) the field is not retrieved. But when searching for the user in the search box the user is found with the extra information displayed....
(See screenshots empty general info / with general info)

Can you check what is wrong here?

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