Ajax register Can't get data.

12 years 2 months ago #6917 by Saka

Please Log in or Create an account to join the conversation.

12 years 2 months ago #6919 by Carlos
Yes that is the guide I've trying to use but with no success.

What is 'postalcode' in this case? is this the label name? is this the database field? what name should I use?

Thank you.

Please Log in or Create an account to join the conversation.

12 years 2 months ago #6920 by Saka
Do the
$user = JFactory::getUser();
print_r($user->extra);
and you will see the keys and the values. You will use the key.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

12 years 1 month ago #6943 by Carlos
Hi ! I've trying and checking, and theres is not the ->extra field attached to the user object.

I have joomla 3.0 and the last version of the plug in, what errors could I have ?

This is the result.

JUser Object ( [isRoot:praotected] => [id] => 508 [name] => Diego Mejia [username] => diego@mdxx.biz => diego@mdxx.biz [password] => c39381d044afb269795c1c0b1ab1ca77:fMJpyNJekoDjQgt0defvRYSGvoAAjZCO [password_clear] => [usertype] => [block] => 0 [sendEmail] => 0 [registerDate] => 2013-03-18 23:23:35 [lastvisitDate] => 0000-00-00 00:00:00 [activation] => [params] => {"activate":1} [groups] => Array ( [2] => 2 ) [guest] => [lastResetTime] => 0000-00-00 00:00:00 [resetCount] => 0 [_params:protected] => JRegistry Object ( [data:protected] => stdClass Object ( [activate] => 1 ) ) [_authGroups:protected] => [_authLevels:protected] => [_authActions:protected] => [_errorMsg:protected] => [_errors:protected] => Array ( ) ) As you can see, there is not extra anywhere.[email] => diego@mdxx.biz [password] => c39381d044afb269795c1c0b1ab1ca77:fMJpyNJekoDjQgt0defvRYSGvoAAjZCO [password_clear] => [usertype] => [block] => 0 [sendEmail] => 0 [registerDate] => 2013-03-18 23:23:35 [lastvisitDate] => 0000-00-00 00:00:00 [activation] => [params] => {"activate":1} [groups] => Array ( [2] => 2 ) [guest] => [lastResetTime] => 0000-00-00 00:00:00 [resetCount] => 0 [_params:protected] => JRegistry Object ( [data:protected] => stdClass Object ( [activate] => 1 ) ) [_authGroups:protected] => [_authLevels:protected] => [_authActions:protected] => [_errorMsg:protected] => [_errors:protected] => Array ( ) )

As you can see, there is not extra anywhere.

Please Log in or Create an account to join the conversation.

12 years 1 month ago #6944 by Carlos
My mistake I'm using joomla 2.5

Please Log in or Create an account to join the conversation.

12 years 1 month ago #6945 by Saka
Firstly, put the code in CODE tags, I can't read it like this.
Re-install AJAX Register and make sure its system and user plugins are updated too. If needed, replace them with FTP.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch