[FEU] Registration goes on even without required fields

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Francesca
Forum Members
Forum Members
Posts: 14
Joined: Mon Oct 27, 2008 2:13 pm
Location: Italy

[FEU] Registration goes on even without required fields

Post by Francesca »

Hi,
I'm using FEUsers 1.6.10 with CMSMS 1.6.6 and I setted up a bunch of custom user properties.
Then I created a group and configured the required properties for the user registration form, but after submitting the form in the front-end, the registration goes on even if the required fileds are not filled.
Plus, the form asks the user to submit the username twice but doesn't check if the values are the same and the first one is accepted as username.

This is my code in the registration page:

Code: Select all

{cms_module module='SelfRegistration' group='UtentiRegistrati' lang='it_IT' captcha='1'}
Basically, the form checks only email, password and captcha.

Any help? thank your very much

sorry for my english
Last edited by Francesca on Sat Oct 31, 2009 6:18 pm, edited 1 time in total.
Francesca
Forum Members
Forum Members
Posts: 14
Joined: Mon Oct 27, 2008 2:13 pm
Location: Italy

Re: [FEU] Registration goes on even without required fields

Post by Francesca »

I looked at the wrong installation (I run more than one website with CMSMS), I have this problem with CMSMS 1.6.6 - FEU 1.6.10 and SelfRegistration 1.2.5
Attachments
CropperCapture[3].Jpg
Last edited by Francesca on Sat Oct 31, 2009 6:19 pm, edited 1 time in total.
vilkis

Re: [FEU] Registration goes on even without required fields

Post by vilkis »

Hi,
There was problem with SelfRegistration 1.2.5 and FEU 1.6.9 : http://dev.cmsmadesimple.org/bug/view/3928
I thought it was fixed.
vilkis
Francesca
Forum Members
Forum Members
Posts: 14
Joined: Mon Oct 27, 2008 2:13 pm
Location: Italy

Re: [FEU] Registration goes on even without required fields

Post by Francesca »

thank you, I even didn't notice that the form could be submitted without email.
Still, I have the problem with the other custom required fields and with the username that is accepted even if the value of "username again" is different from "username".

As you can see from the attached screenshot, I configured some fields as "Campo obbligatorio = required field" but the registration form doesn't check if they are filled.
Attachments
CropperCapture[4].Jpg
Last edited by Francesca on Sun Nov 01, 2009 3:16 pm, edited 1 time in total.
vilkis

Re: [FEU] Registration goes on even without required fields

Post by vilkis »

You have to upgrade SelfRegistration module from svn. If you can not do it I can send you the required file or you can wait for new version of SelfRegistration.
vilkis
Francesca
Forum Members
Forum Members
Posts: 14
Joined: Mon Oct 27, 2008 2:13 pm
Location: Italy

Re: [FEU] Registration goes on even without required fields

Post by Francesca »

I'm new with SVN so I hope I did it right. I downloaded e uploaded on my space all the files from
http://svn.cmsmadesimple.org/svn/selfreg/

but the problem is not solved
vilkis

Re: [FEU] Registration goes on even without required fields

Post by vilkis »

Are you sure that you overwrote old files successfully?  No problem with permissions?
vilkis
Francesca
Forum Members
Forum Members
Posts: 14
Joined: Mon Oct 27, 2008 2:13 pm
Location: Italy

Re: [FEU] Registration goes on even without required fields

Post by Francesca »

Yes, the files were all overwritten and I got no other problems.
And I can see the module is updated because now the "move this user to FEU" icon appears, before there was a broken image.

I think there's no need to launch an upgrader, is there?
Last edited by Francesca on Mon Nov 02, 2009 5:40 pm, edited 1 time in total.
vilkis

Re: [FEU] Registration goes on even without required fields

Post by vilkis »

I have no idea then. I don't use FEU 1.6.10 at the moment.
vilkis
jmcgin51
Power Poster
Power Poster
Posts: 1899
Joined: Mon Jun 12, 2006 9:02 pm

Re: [FEU] Registration goes on even without required fields

Post by jmcgin51 »

Francesca wrote: I think there's no need to launch an upgrader, is there?
After you upload the new files, you must go to your Module panel and click "upgrade" next to FEU.
Francesca
Forum Members
Forum Members
Posts: 14
Joined: Mon Oct 27, 2008 2:13 pm
Location: Italy

Re: [FEU] Registration goes on even without required fields

Post by Francesca »

Ok so now I uploaded the SVN version of FEU, too. I only upgraded SelfRegistration.

But right after the upload, the admin panel doesn't work anymore. Just a blank page with the following PHP error:
Fatal error: Class 'feu_smarty' not found in /web/htdocs/www.etc.../modules/FrontEndUsers/FrontE ... module.php on line 85
I notice that the svn version has a new file in the lib/ directory and it's called "class.feu_smarty.php"..maybe something is wrong with that file?

Here's the line 85 in FrontEndUsers.module.php

Code: Select all

$obj = new feu_smarty($this);
Last edited by Francesca on Tue Nov 03, 2009 3:17 pm, edited 1 time in total.
Francesca
Forum Members
Forum Members
Posts: 14
Joined: Mon Oct 27, 2008 2:13 pm
Location: Italy

Re: [FEU] Registration goes on even without required fields

Post by Francesca »

I figured out by myself adding the following code in FrontEndUsers.module.php

Code: Select all

require_once(dirname(__FILE__)."/lib/class.feu_smarty.php" );
now Im'g going to test if the registration form works properly
Francesca
Forum Members
Forum Members
Posts: 14
Joined: Mon Oct 27, 2008 2:13 pm
Location: Italy

Re: [FEU] Registration goes on even without required fields

Post by Francesca »

No good news, the registration is successfull also without the custom required fields  :(

I found the problem also on bugtracker
http://dev.cmsmadesimple.org/bug/view/3829
Last edited by Francesca on Tue Nov 03, 2009 4:17 pm, edited 1 time in total.
jwaldeck

Re: [FEU] Registration goes on even without required fields

Post by jwaldeck »

Hi Francesca,

any news about this bug? This is REALLY annoying, have you managed to fix it somehow?

Tks!
jw
vilkis

Re: [FEU] Registration goes on even without required fields

Post by vilkis »

Hi,
I use FrontEndUsers 1.6.11 and SelfRegistration 1.2.5
If I make the change to Selfregistration module as described in http://dev.cmsmadesimple.org/bug/view/3928
the email is being validated.
If I understand the code well the Selfregistration module performs the validation of custom required fields of type email, multiselect and date, only.
vilkis
Post Reply

Return to “Modules/Add-Ons”