Registration plugin configuration?

dennisg 11 Mar, 2008
I am using Joomla 1.5 and CF v2.5J1.5RC2 and just came across the Registration Plugin. The ToolTip mentions "fill in the plugin config". Where is this plugin config? I don't have anything in Plugin Manager and only a checkbox within the form itself. What do I need to do to get this feature working?
GreyHead 11 Mar, 2008
Hi dennisg,

Go to the Forms manager, select the checkbox for the form you want to use, then click the PlugIn icon and you'll see the config form.

Do remember to turn the PlugIn 'On' on the Form PlugIns tab after you've configured it.

Bob
dennisg 11 Mar, 2008
Bob,

No Plugin icon exists. Topline icons in Forms Manager has "CB Registration", "Publish" "Unpublish" "New", etc. There is something to the left of "CB Registration", but it's not complete. Well, after expanding my browser window beyond my Desktop, the other plugin icons appeared (using Firefox on Linux). I will now give this feature another try. Thanks.
GreyHead 11 Mar, 2008
Hi dennisg,

I guess my screen is wide enough to see them. In ChronoForms for Joomla 1.0.x they are neatly on a second line.

Bob
dennisg 11 Mar, 2008
Now that I've found the icon, I've filled in the plugin configuration form, but now get a red error banner after submitting my form. Error is "Please enter Your Name". Also, in the ToolTip it states to "assure the enabled field is marked". What is this referring to? I don't have any "enabled field".
joayala 11 Mar, 2008
I have the same problem.

Even, I have a redirect URL (thanks page) after my form is filled but it is not showed and the user is not registered.

Jos
GreyHead 11 Mar, 2008
Hi dennisg,

I'm not sure exactly where those messages are coming from but it soulds to me as if they are from the Joomla Registration code. To register you need to have values in name, username and password I think. So your form must create and validate values for those three fields. You can give them different names - that's what the configuration form is for.

I need my breakfast coffee and can look more later.

Bob
GreyHead 11 Mar, 2008
Hi joayala,

The plugin runs long before the ReDirect so it sounds as if something is going wrong with the Registration process.

Please take a Form Backup and post it here or email it to me at the address in my sig and I'll take a closer look.

Bob
dennisg 12 Mar, 2008
It's definately in the onsubmit function - specifically at the $user->save() call. My form has the required fields (name, username, password, verified password, and email address) in the plugin configuration. What is missing?
GreyHead 12 Mar, 2008
Hi dennisg,

It's been a long day - and I still need more coffee.

I've just had a quick look at the code for the 1.5 plugin and I can't see where it's getting the user data from the form. It's very clear in the Joomla 1.0.x version which I've worked with.

Ah no,it's buried in here
$user->bind( JRequest::get('post'), 'usertype' )
I'd try putting in some debug code just after this to see what's ending up in $user. With luck print_r($user); will do the trick.

Bob
dennisg 12 Mar, 2008
I got it to work, but only by using the exact same names in my form and in the plugin config (e.g., Name field = name, Username field = username, Email field = email, etc.). In other words, no mapping!
GreyHead 12 Mar, 2008
Hi dennisg,

I think that's how it's supposed to be. You're telling CF which of your form fields map to the Joomla registration fields. . . .

Time to go and watch CSI

Bob
Max_admin 12 Mar, 2008
I agree this is a bug with the CF plugin in 1.5, will fix and release a new one soon!

Cheers,

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.