Forums

Community Builder registration data not saving...

chriscaple 09 Dec, 2008
Hi -

I've got Joomla 1.5.7, Community Builder 1.2 RC4, and the latest version of chronoforms. I created a very simple custom registration form using the form wizard, configured the CB registration plugin, activated the plugin, saved the form, published it, created an article, embedded the form in the article, linked it to a menu, and... when I fill in the form on the front end and hit submit, it redirects to the site's default page and no data is stored. The submitted data doesn't get saved into Community Builder, or anywhere else. Just sort of disappears.

Allow user registration is on.

If I turn on debugging, I get this:


_POST: Array ( [text_1] => Bob [text_2] => Test [text_3] => bobtest [text_5] => avatar [text_6] => avatar [text_7] => address@hotmail.com [text_8] => Toronto [undefined] => Submit [8dc3b73d7266d4c1046c8fd3584e4a19] => 1 ) 


Anyone have any idea what's going on?
GreyHead 09 Dec, 2008
Hi chriscaple,

Please test the form without embedding it in an article. I would expect to see the post array as a part of the debug code but usually there are a block of other messages after that.

Bob
chriscaple 09 Dec, 2008
Hi Bob,

Thanks very much for your fast reply.

Per your request I set up a direct link to the form from a menu item and retried submitting. I got the same result -


_POST: Array ( [text_1] => Bob [text_2] => Test [text_3] => bobtest [text_5] => avatar [text_6] => avatar [text_7] => address@hotmail.com [text_8] => Toronto [undefined] => Submit [8dc3b73d7266d4c1046c8fd3584e4a19] => 1 ) 


I have to pass out for a bit (it's 4:14 am here) - I'm working on the site on a local WAMP server, but can upload it to an online server if you wanted to take a look at it at some point.

I'd greatly appreciate any assistance you could provide.
chriscaple 09 Dec, 2008
Just a quick general follow-up query about the CB Registration plugin - you don't have to fill in every field on that page, right? I mean... just the ones that your form's using, correct?

Apologies if that's a dumb question.
Max_admin 09 Dec, 2008
Hi Chris,

are you sure the plugin is enabled in the plugins tab ? only the CB plugin ? show me a scrrenshot for the CB plugin config screen!

regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 09 Dec, 2008
Hi Chris,

I'm fairly certain that the Name field is required, though possibly you can construct it from the first & last name fields.

Bob
chriscaple 09 Dec, 2008
Hi Bob,

Okay, but... if I don't want to have a single "name" field on the registration form - if I want to have separate fields for first name and last name - and you're saying the name field has to be included somehow... what do I do with it?

Community Builder has an option in configuration for choosing "name style" - you can set it to single name, first and last, or first, middle and last. Tip next to it says "The name style details how you what to capture the name field in Joomla/Mambo."

If I select the "first and last" name style, then in the CB fields list, "name" is marked as unpublished.

Although it's also still marked as "required" on registration... hmm... wonder what happens if I remove that... dang, nothing, same problem...

I'm going to try adding a "name" field into the form, see what happens.
chriscaple 09 Dec, 2008
Huh... okay, so... I added a "name" field, connected it to the CB registration... filled in the form and submitted it, and got this -

_POST: Array ( [text_61] => testname [text_1] => Bob [text_2] => Test [text_3] => bobtest [text_5] => avatar [text_6] => avatar [text_7] => address@hotmail.com [text_8] => Toronto [undefined] => Submit [f0f4d6e9efac5fa4bb85ad60ca8f3d64] => 1 )

Fatal error: Call to undefined method stdClass::getError() in C:\wamp\www\sunscape\sunscape\components\com_chronocontact\plugins\cf_cb_registration.php on line 245
GreyHead 09 Dec, 2008
Hi Chris,

Sorry, looks like I got it all wrong. Apologies. Hopefully Max can help.

Bob
chriscaple 09 Dec, 2008
Thanks for trying, Bob. I appreciate the attempt.

I tried setting up a couple of new Joomla installations, stripped down to just Chronoforms and Community Builder, but still haven't been able to get any custom CB registration pages to work.
Max_admin 09 Dec, 2008
Hi Chris,

at the name field add text_3 so its the same as username, what happens ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
chriscaple 09 Dec, 2008
Hi Max -

Fatal error: Call to undefined method stdClass::getError() in C:\wamp\www\cbregtest\components\com_chronocontact\plugins\cf_cb_registration.php on line 245


I get that on all three installations I've been testing this out on.
chriscaple 10 Dec, 2008
Was browsing through the Joomlapolis forums just now, trying to see if anybody there had been able to get this working... most recent thread I found was this one -

http://www.joomlapolis.com/component/option,com_joomlaboard/Itemid,/func,view/catid,40/id,67826/#67826

- in which they hadn't.

So... uhhh... sorry if this is an at all impertinent question, but - does the Chronoforms Community Builder registration plugin actually work? Like - have you definitely had it successfully passing registration data into CB? Because I've been trying to get it working for nearly two full days now and haven't been able...
Max_admin 10 Dec, 2008
Hi Chris,

yes it works🙂 and it has been working for too many users now, its a bit tricky and takes sometime for some users but I do it in 2 minutes and I know others do the same😉 anyway I replied your PM

Regards
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
chriscaple 10 Dec, 2008
Hi Max,

Okay, whew! Again, sorry if that was a rude question at all. And thanks for the PM reply - I'm sending the link right now!
chriscaple 12 Dec, 2008
Thanks for your assistance, Max.

Still doesn't work, though. And I'm out of time on this project now, so I'll have to drop this.
auntypizza 27 Dec, 2008
I have managed to get it working - I just recently had the same issue, and it has to do with the Name Field in Chronoforms integration with CB. If name wasn't required, this issue wouldn't be happening, plus, why have name AND firstname - another glitch.

I used the code from the generated Form Fields name for First Name (eg, text_2 or whatever yours is) and put that in Name Field, and don't put text_2 in First Name. Leave it blank. When they are both filled with same text_2 doesn't work. Make sense? I'm thinking of going into PHPMyAdmin and seeing if I can make name field not required.

I still have minor problem - First Name field in CB isn't filled in when you go to CB, User Management, but you get that information from the email you get (having 2 fields in your Chronoform of First Name and Last Name) so you have to do it manually.

A sort of solution.

I did manage to get the file upload working as well - I get an attachment in the sent email, so I'm pleased about THAT!
GreyHead 27 Dec, 2008
Hi Auntypizza,

Please see this thread which I think has a solution for the firstname + lastname issue.

Bob
This topic is locked and no more replies can be posted.