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

Getting EasySocial name from database

Jordan Weinstein · ·
12:43 AM Monday, 06 February 2017
Urgent
Hello,

I am using a contact form where I wold like to insert the logged in user's first name and last name for the same fields in the contact form.

I can insert code like this in to the field's default value:


$user = JFactory::getUser();
return $user->get('email');


Is there something similar I could use to get the ES First Name and Last Name for those two different fields?

Please note, I have two ES profiles created and Name (first name and last name) appears in both profiles, if this matters

Thanks for considering,

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