Hello
I am running Joomla! 3.3.6 in which I have been using the original Joomla! User Profile plugin and it has fields such as "country" etc.
I had 2 users registered with this Joomla! default user profile plugin. Using the PHP code for Joomla! Objects below, I was able to access and display on the website page any field of the user's profile.
//Getting Joomla! Objects
$app = JFactory::getApplication();
$doc = JFactory::getDocument();
$user = JFactory::getUser();
$profile = JUserHelper::getProfile($user->id);
In order to get the user's country from his profile, I used <?php echo $profile->profile['country']?> and it worked perfect.... Until I installed SEBLOD.
When I installed SEBLOD, I DID NOT MODIFY THE "USER" Form that it had, I assumed it took settings from the Joomla! Profile Plugin. Now, I have a user registered on the website front end with the now SEBLOD Form, which still has the field for "country". The only difference now is that the SEBLOD 'country' field is a Dynamic Drop Select populated with SEBLOD listed countries to select from.
Now, for this new user, I can not access the data for the field "country" with the above code that worked while I was using the default Joomla! User Profile. When I go to the database, I can't find where did SEBLOD store the new user's country, but it does not appear in the Joomla!'s User Profile table where the older 2 users appear. The "country" field is not the only one with this problem, I just used it only here to simplify my inquiry.
So, how do I access data stored by SEBLOD form to get User's details such as "country", "id_number" and the rest?
I need to display this information for the user on their profile pages.
Please help me, I am new with SEBLOD.
Thanks.