Forums

plugin CB Registration

mac 18 Apr, 2009
Hi,
I want that my Registration-Form (with ChronoForms) goes to the CB Registration - I checked there for under plugins 'CB Registration:'.
I thought, that my Registration-ChronoForms Form is shown when I klick 'Registration' in the CB-Login Modul - but there is the Registration-Form from Community Builder :-(

What must I do, that my lovely ;-) ChronoForms Registration-Form is shown?

Best Regards,
Mac
GreyHead 19 Apr, 2009
Hi Mac,

I think that you need to hack the CB module to point to your form. Someone must have posted here how to do that.

Bob
mac 19 Apr, 2009
Hi Bob,
what means the Checkbox 'CB Registration:' in the tab 'plugins' by ChronoForms?

Regards
Mac
GreyHead 19 Apr, 2009
Hi Mac,

You have to check that box to make the PlugIn active.

Bob
mac 19 Apr, 2009
Okay Bob,
but what is the result when the PlugIn 'Community Builder' is activ?

Regards
Mac
GreyHead 19 Apr, 2009
Hi Mac,

It links your form to the CB Registration process.

As far as I am aware it doesn't affect the 'Register' link but I could be wrong about that, I'm not a CB user.

Bob
Max_admin 21 Apr, 2009
Hi Mac, forms management > check your form > click CB registration from the left bar!

Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
ranail 29 Apr, 2009
I am having issues with getting plugin to write data to the Comprofiler file.
I ran it with debug on and all came up ok, nothing written to database.

I configured the plug in, check the box to activate. I created menu item to bring up the form, I fill out the form, press the submit button, debug screen pops up saying all is well, but no record was created in CB.

I tried the Joomla User registration and both and same thing.

I tried the DB connection, data storage yes, selected jos_comprofiler and Jos_user, I noticed it looked like that create some generic code in the "AutoGenerate" tab for updating the two files, not sure with exactly what.

Still no luck. Any ideas or additional info needed to resolve?

Rusty
Joomla 1.5.8
Chronoforms 3.1 RC4.11
AEC 0.12.6RC2
JEC 1.5.2
NOIXACL 1.5.9
PHP 5.25
MySQL 4.1.22
ranail 30 Apr, 2009
Here is my Debug listing, LIne 6. ??? maybe that should have data and does not....

1. Form passed first SPAM check OK
2. Form passed the submissions limit (if enabled) OK
3. Form passed the Image verification (if enabled) OK
4. Form passed the server side validation (if enabled) OK
5. $_POST Array: Array ( [firstName] => Ken [lastName] => Jones [streetAddress] => 123 [city] => plano [state] => tx [zip] => 77777 [homePhone] => 123 [cellPhone] => 123 [email] => [email]kjones@ranail.com[/email] [dateOfBirth] => [skiLevel] => Beginner [userName] => kjones [password] => newpass1 [confirmPassword] => newpass1 [parentId] => 77 [5b680863df88d206be48d3d72bea174e] => 1 )
6. $_FILES Array: Array ( )
7. Form passed the plugins step (if enabled) OK
8. Debug End
9.
Redirect link set, click to test:
/index.php
ranail 30 Apr, 2009
Update, I cleared out the DB Connection code, data storage No, unclicked all the files.
reset everything that I could think of and it is now creating the jos_user file entry, but still not the Community builder record, so I am half way home....

Please respond with any suggestions you may have, or if you struggled with the Community builder plugin and got it to work...

Rusty
ranail 30 Apr, 2009
Ok after a few hours of debugging, my problem was the "onlinestatus" field is not in the comprofiler table so the insert was aborting. I am building a registration for to support joint family registrations so by modifying the SQL I caused the problem.

$database->setQuery( "SELECT * FROM #__comprofiler_fields WHERE `table`='#__comprofiler' AND name <>'NA' AND tablecolumns <> '' ");
// AND registration = '1'" ); ##RAN removed to allow all fields not just ones marked for registration.

I commited out above part of the Query to get all the fields from comprofiler not just the ones marked for registration as I wanted to stuff a "ParentID" into the comprofile file. This caused the error because all the fields in the comprofiler_fields table are NOT in the table jos_comprofiler. So to fix my issue, I noticed that "True" columns had entries in the tablecolumns field in the comprofiler_fields table. So I added the extra constraint to only show columns with tablecolumn entries.

This does two things, makes those fields available for the plugin to be mapped to the form so I can stuff hidden fields in then such as the logged in user's id as a parent id.

Hope this helps others in creating a Joint account with Joomla using chrono forms.

Rusty
Max_admin 30 Apr, 2009
Hi Rusty,

I'm glad you managed to fix it, sorry for not being able to help earlier, I was very busy and indeed the CB has changed recently and I found some difficulties getting the plugin to work fine with it, we need a profiles system here and I'm building our own system so that I don't have to go the CB way!

Thank you for posting the solution for everybody here!

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
ranail 09 Jun, 2009
I upgraded to 5.1 and the CB_Registration Plug-in no longer saves the field mappings for the CB fields, just the jos_user fields.
It displays all the fields, I key in the form fields to map to the db fields, hit submit, and no errors, but nothing saved.

Has anyone else seen this?
GreyHead 10 Jun, 2009
Hi ranil,

Technically it is saved - but not re-displayed. I posted a fix for this a few days ago.

Bob
ranail 10 Jun, 2009
Yes, I confirm, I checked the database and they are changing, just can't totally remove one, but can replace. To totally remove, I had to update DB directly.

Thanks,
Rusty
This topic is locked and no more replies can be posted.