UPDATES EasyBlog 6.0.11 Released! Update to the latest version 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
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