Ajax Register Custom Fields not working
- pjbauer
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
11 years 9 months ago #6869
by pjbauer
I can't get the custom fields to work. None of them show up on the registration form. Captcha is the only thing that works.
Also shouldn't new records with those enabled custom fields be added to the #__ajaxregister_field_values table (for existing users)? That table remains empty.
I'm using Joomla 2.5.8
Also shouldn't new records with those enabled custom fields be added to the #__ajaxregister_field_values table (for existing users)? That table remains empty.
I'm using Joomla 2.5.8
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
11 years 9 months ago #6870
by Saka
Emir Sakic
www.sakic.net
Make sure that the AJAX Register plugin is enabled. Make sure extra fields are published and visible both on registration and profile.
The table is populated only for users that entered the extra fields, not for existing ones that didn't.
The table is populated only for users that entered the extra fields, not for existing ones that didn't.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- pjbauer
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
11 years 9 months ago #6871
by pjbauer
I did all that before creating my post here. I enabled a few of the custom fields that come with the extension - and then tried adding my own. I was able to add - but nothing gets shown in the registration form. I deleted cookies from my domain and cleared the browser cache and any Joomla cache files (I don't use system cache) - still no luck. The Registration does show and work with any of the various captcha options (but I already had that.)
I was using ExtendedReg until I discovered the subscription expired last week. It's definitely not worth $115 to renew for 6 months. It seems to have uninstalled correctly. I was not using custom fields with that extension because the fields are stored in parameters as JSON encoded.
I liked the idea of you advertising that the custom fields can be queried via Joomla Juser model. But if it doesn't work, its useless to me.
I was using ExtendedReg until I discovered the subscription expired last week. It's definitely not worth $115 to renew for 6 months. It seems to have uninstalled correctly. I was not using custom fields with that extension because the fields are stored in parameters as JSON encoded.
I liked the idea of you advertising that the custom fields can be queried via Joomla Juser model. But if it doesn't work, its useless to me.
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
11 years 9 months ago #6872
by Saka
Emir Sakic
www.sakic.net
Send me a mail with the access info (admin password and FTP) and I will have a look.
Impossible to say what it is, might be a conflict with some other extension.
Impossible to say what it is, might be a conflict with some other extension.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
11 years 9 months ago - 11 years 9 months ago #6873
by Saka
Emir Sakic
www.sakic.net
Looks like Fabrik component manipulates the forms in a way that collides with extra fields of AJAX Register. So I had to disable Fabrik system plugin and it now works fine.
Emir Sakic
www.sakic.net
Last Edit: 11 years 9 months ago by Saka.
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
11 years 9 months ago #6876
by Saka
Emir Sakic
www.sakic.net
OK, found out why extra fields are failing with Fabrik installed. If you use Fabrik and don't want to disable it here is what you can do.
In the file /plugins/system/fabrik/user_defines.php
change lines 47-50 to:This way Fabrik's form classes (which mess up Joomla's own form framework) will not be loaded on the registration page and the extra fields in AJAX Register will be loaded fine.
In the file /plugins/system/fabrik/user_defines.php
change lines 47-50 to:
if (JRequest::getCmd('option') != 'com_users') {
JLoader::import('components.com_fabrik.classes.formfield', JPATH_SITE . '/administrator', 'administrator.');
JLoader::import('components.com_fabrik.classes.form', JPATH_SITE . '/administrator', 'administrator.');
}
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.