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

Need help with the Administration of your Joomla! 1.5 site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Locked
MrFreeKen
Joomla! Apprentice
Joomla! Apprentice
Posts: 7
Joined: Fri Oct 01, 2010 1:02 am

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

Post by MrFreeKen » Mon Oct 04, 2010 4:59 am

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.

User avatar
uaintgotthisid
Joomla! Explorer
Joomla! Explorer
Posts: 367
Joined: Wed Sep 10, 2008 6:05 pm
Location: Essex, England, United Kingdom
Contact:

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

Post by uaintgotthisid » Wed Jul 23, 2014 8:11 am

Have you asked Community Builder? They may be better positioned to answer you
Joomla lover, web designer, marketeer
https://www.squareballoon.co.uk
JOIN US at Joomla! User Group London
https://www.joomlalondon.co.uk


Locked

Return to “Administration 1.5”