Ajax register Can't get data.
- Saka
-
- Offline
- Administrator
-
12 years 2 months ago #6917
by Saka
Emir Sakic
www.sakic.net
Read this thread:
www.sakic.net/forum/ajax-series/presales...ds-in-ajax-register/
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- Carlos
-
Topic Author
- Offline
- New Member
-
Less
More
- Thank you received: 0
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.
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.
- Saka
-
- Offline
- Administrator
-
12 years 2 months ago #6920
by Saka
Emir Sakic
www.sakic.net
Do theand you will see the keys and the values. You will use the key.
$user = JFactory::getUser();
print_r($user->extra);
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- Carlos
-
Topic Author
- Offline
- New Member
-
Less
More
- Thank you received: 0
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.
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.
- Carlos
-
Topic Author
- Offline
- New Member
-
Less
More
- Thank you received: 0
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.
- Saka
-
- Offline
- Administrator
-
12 years 1 month ago #6945
by Saka
Emir Sakic
www.sakic.net
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.
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.