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

city and state field

Robert · ·
9:33 AM Thursday, 02 October 2014
None
Hi guys, I was wondering if you can help me get this code working again. It has stopped working after upgrading to es 1.3.x. what this code does is to display the users city and state. in the user's profile header. I also tried it in the stream next to the username but that didn't work.

<?php if ($user->getFieldValue('ADDRESS1')) { ?>
<?php echo $user->getFieldValue('ADDRESS1')->value->city; ?> <?php echo $user->getFieldValue('ADDRESS1')->value->state; ?>
<?php } ?>


I thank you for your help
The replies under this section are restricted to logged in users or users with an active subscription with us