UPDATES EasyBlog 6.0.18 Released! Update to the latest version

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 a public holiday for us from where we are at.

There may be a delay in our responses but rest assured that we will be back at full speed when we are back to the office.
  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