Joomla Registration Plugin not working?

Lesanjo 05 Dec, 2012
Hello,

Over the last several weeks I have noticed something strange;

I have setup a registration form using the User Registration Plugin under Joomla plugins in Chronoforms RC 3.0 and I realized the following

1. I cannot nest any object action within a third nest (3 levels of nesting)
2. More importantly, The registration plugin doesn't seem to work anymore!

My offline version of the same site registers an account really well and so did the site some weeks ago. I doubt the problem is with Joomla because I tried registering with their own default registration form and it works, up to the sending of the activation email.

Anyone with an idea as to why this is happening?
GreyHead 05 Dec, 2012
HI Lesanjo,

Basically avoid nesting actions unless you have to. You rarely need to use the On Success actions at all, placing the next action after the preceding one works fine.

That said, you can nest more than three - so I'm not sure exactly what is happening here. There's nothing obvious from your description.

Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.

Bob
Lesanjo 06 Dec, 2012
Hello,

I have attached the problematic forms; The form 'Before_Mod' shows the triple nesting initially used. As I said earlier, the third tier would be lost upon saving the form. The form 'After_Mod' shows the modification of the same form but limited to the use of two tiers of nesting

I have ruled out the following:

1. Set the User Registration in Joomla to Self Register. This is how it has always been, even when my chronoform worked

2. Changed the email engine from 'SMTP' back to the default 'PHPMailer'. No difference was seen in regards to this problem

3. Ensured that Joomla can send activation emails and create user accounts; I used the default joomla user registration form and it works well, just like my chronoform used to work initially.


I have two questions related to the above

1. Could the problem be caused by the hosting server itself?
2. In regards to what you said, would the next action after a custom validator be skipped if the result of the validation comes back false?


Thanks...
GreyHead 07 Dec, 2012
Hi Lesanjo,

Here's how I would structure this:

In the On Submit event:
Custom Serverside validation: check the passwords etc.
  On Success: leave empty
  On Fail: Event Loop
Joomla! User Registration (set the user up in the Registered group)
// now there is a question here about whether the registration is completed.
Custom Code: get the new User ID see this FAQ 
Event Switcher [GH]: use to set the User Group
  Event A: Joomla! User Create Update (set the User Group)
  Event B: Joomla! User Create Update (set the User Group)
  Event C: Joomla! User Create Update (set the User Group)
Email:
Add System Message:
Redirect User:

Bob
Lesanjo 07 Dec, 2012
still not working. I reconfigured the submit event as per your direction to no avail.

However, things are working on my localhost. build. In truly baffled!
GreyHead 12 Dec, 2012
Hi Lesanjo,

It has to be something about the way the email is set up either on the site config, or in the Email action. Hard to say what though.

Please drag a Debugger action into the On Submit event, then submit the form and post the debug - including the 'dummy emails' results here.

Note: if you are using the Easy Wizard you can turn on Debug on the Others tab.

Bob
Lesanjo 12 Dec, 2012
Hello,

Managed to get it working on Monday. I restructured the old layout but ensured there is a maximum of 2 nesting levels.

I'll attach the revised form.
This topic is locked and no more replies can be posted.