Page 1 of 1

How do you add user's address to atricle/module

Posted: Mon Oct 04, 2010 4:59 am
by MrFreeKen
I am able to use this code along with Jumi:

Code: Select all

$user =& JFactory::getUser();
 
if (!$user->guest) {
  echo 'You are logged in as:<br />';
  echo 'User name: ' . $user->username . '<br />';
  echo 'Real name: ' . $user->name . '<br />';
  echo 'User ID  : ' . $user->id . '<br />';
With this I can pull up a user's username, name, & id.

How can I pull up other user information a user has submitted through Community Builder?

I need to be able to pull up fields like cb_address, cb_city, cb_state, cb_zipcode, and cb_phone. All these fields are under jos_comprofiler in the database.

Re: How do you add user's address to atricle/module

Posted: Wed Jul 23, 2014 8:11 am
by uaintgotthisid
Have you asked Community Builder? They may be better positioned to answer you