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
Hello guys,

Want to share with you how we add some custom fields information as location in users popup,
You can do it in less then 5mn, all you need is custom fields names.

File to edit : /components/com_easysocial/themes/wireframe/profile/popbox.php
Before all backup this file

You'll need to replace this code :


<div class="profile-desp">
<?php if($this->template->get('profile_lastlogin', true )) { ?>
<?php if($user->getLastVisitDate() == '0000-00-00 00:00:00') { ?>
<?php echo JText::_('COM_EASYSOCIAL_USER_NEVER_LOGGED_IN');?>
<?php } else { ?>
<?php echo JText::_('COM_EASYSOCIAL_LAST_LOGGED_IN');?> <?php echo $user->getLastVisitDate('lapsed'); ?>
<?php } ?>
<?php } ?>
</div>


With :

	<div class="profile-desp">

<?php echo $fonction = $user->getFieldValue('JOB')?> - <?php echo $location = $user->getFieldValue('ADDRESS')?>
</div>


In this example we show members job title (custom field name:JOB, location field : ADRESS)

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