Terms & Conditions to register?
Permalink
when I try to register a new members account I receive the error
'You must agree to the Terms & Conditions to register.'
I do not remember switching this function on and subsequently have no idea how to remove it...
Can anyone please offer an explanation or a solution as to why this has happened and how to resolve it.
Cheers
'You must agree to the Terms & Conditions to register.'
I do not remember switching this function on and subsequently have no idea how to remove it...
Can anyone please offer an explanation or a solution as to why this has happened and how to resolve it.
Cheers
registering through where?
I try to register a user account
www.www.mywebsite.com/subdirectory/index.php/register/...
As a new member would register
www.www.mywebsite.com/subdirectory/index.php/register/...
As a new member would register
I'm having the same problem... When someone tries to register through your site, it says that the person needs to accept the terms and conditions, however there is no option to either select yes for the terms and conditions nor turn the option off.
In addition to the registration issue, images I insert into my website are only viewable by my admin login... guest or registered users only see the file name with out the image... strange.
has anyone worked out a fix for this?
open the file concrete/controllers/register.php and go to line 52 and make a comment for the following three lines..
I don't know why it is failing, but this should help (it's not a fix tho, just an ugly work around)
I have no clue what this t&c is doing there but the variable the controller checks for isn't there... Doesn't make much sense for me, it might does if I'd dig around the code a bit longer...
I don't know why it is failing, but this should help (it's not a fix tho, just an ugly work around)
I have no clue what this t&c is doing there but the variable the controller checks for isn't there... Doesn't make much sense for me, it might does if I'd dig around the code a bit longer...
What code am I supposed to inject on line 52 to get the workaround?
if(!$terms_and_conditions) { $e->add(t('You must agree to the Terms & Conditions to register.')); }
/*
if(!$terms_and_conditions) {
$e->add(t('You must agree to the Terms & Conditions to register.'));
}
*/
Er... I wasn't exactly sure (at the time) what you meant so I.. deleted it and um...it seems to be working. LOL I'm a bit concerned though because I'm pretty sure that string is required.
..the string isn't essential and commenting a few lines has the same effect as removing them..
These lines are needed if you want to use t&c but since there's not even a checkbox for this, it won't work anyways.
We need the core team to understand what t&c is supposed to be in there... Until then, you're fine I guess
These lines are needed if you want to use t&c but since there's not even a checkbox for this, it won't work anyways.
We need the core team to understand what t&c is supposed to be in there... Until then, you're fine I guess
Thanks heaps Remo, your solution worked (for now)
We will release a fix for this straight away.
I think this is a good idea to force a new user to agree the Terms and Conditions, though....
Katz, you could do this with an required checkbox configured in the user attributes tab, couldn´t you? you´d only have to find the space to actually put down the T&Cs somewhere.
Oh... I was actually thinking about that one as well not only one T&C but two or three.
For my concrete5 Japan community, I am planning to create a different set of T&C for...
1. Regular community users
2. The users who wants to submit theme
3. The users who wants to submit blocks
4. and etc...
Yeah.. that's another approach that I was thinking about.
And you create T&C pages in concrete5 site...
But if you don't need additional T&C.... you won't really need to set the special users attribute.
If there is only one T&C..., what I would do is to edit..
/concrete/single_pages/register.php
Right above the "Register" button... I'll probably add the following code with hyperlink...
"By clicking register button, you have agreed the terms of conditions."
And add the hyperlink to T&C page, and create a T&C page somewehere in the site.
So that we can recognize that all registered users who have clicked register button have agreed T&C.
For my concrete5 Japan community, I am planning to create a different set of T&C for...
1. Regular community users
2. The users who wants to submit theme
3. The users who wants to submit blocks
4. and etc...
Yeah.. that's another approach that I was thinking about.
And you create T&C pages in concrete5 site...
But if you don't need additional T&C.... you won't really need to set the special users attribute.
If there is only one T&C..., what I would do is to edit..
/concrete/single_pages/register.php
Right above the "Register" button... I'll probably add the following code with hyperlink...
"By clicking register button, you have agreed the terms of conditions."
And add the hyperlink to T&C page, and create a T&C page somewehere in the site.
So that we can recognize that all registered users who have clicked register button have agreed T&C.