VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: Bedrock on September 02, 2012, 09:44:00 AM

Title: Agreeing to TOS not required in registration
Post by: Bedrock on September 02, 2012, 09:44:00 AM
I have a problem that I've met in 2.0.6 and 2.0.8 and now in the 2.0.10 version. You can register without accepting the Terms of Service. But it's set to 'Required' in the Configuration... How can I fix this bug?

Thank you!

Best regards
Bedrock
Title: Re: Agreeing to TOS not required in registration
Post by: raudi88 on September 07, 2012, 18:50:28 PM
I've the same problem
Title: Re: Agreeing to TOS not required in registration
Post by: Milbo on September 08, 2012, 14:32:25 PM
The problem here is that we have a mix of agreed_tos and agreed. One is for joomla, one is for the shop tos, we need to split this in two different fields in future
Title: Re: Agreeing to TOS not required in registration
Post by: raudi88 on September 08, 2012, 14:54:17 PM
Hi, how can we disable the joomla tos?
Title: Re: Agreeing to TOS not required in registration
Post by: templeton on October 06, 2012, 18:32:11 PM
Hi,

I am having this issue as well.  Milbo, what's your recommended short term solution before a VM core fix?  Thanks.

Carlos
Title: Re: Agreeing to TOS not required in registration
Post by: patrik60 on October 07, 2012, 12:36:11 PM
Hello

It is possible to disable it in the table #__virtuemat_userfields in the DB. Have a look at the attached jpg. I did disable the field in the account (set to 0). This way you can register without accepting the TOS.

[attachment cleanup by admin]
Title: Re: Agreeing to TOS not required in registration
Post by: razor7 on December 04, 2012, 19:01:58 PM
Hi, I'm having the same issue, VM 2.0.14. I can register Even if "agreed" field is set to required and not checked at registration time!!!

How can we solve this?

More info on models/userfields.php line 428, "agreed" gets "required=0" because the mode is "registration", on every other "mode" this won't happen.

Thanks!