Pages: 1
Hi,
is it possible to implement a confirmation for terms and conditions before user registration?
I want users to confirm the terms and conditions before registration to be a bit legaly correct.
I could not find any thread for this. Is there a possibility?
Thanks
Joergen
Hi,
nobody an idea how to add terms and conditions before registration?
Any hint would be welcomed!
Joergen
Hello
please don't forget we're voluntaries, not paid for helping, just satisfied when someone is satisfied too.
So for your request, you need to create a custom theme with register.tpl, or a Template Extension for register.tpl : see the doc and this forum for further info
You can also create an "Legal Mention" page with additional page
Last edited by flop25 (2011-09-06 22:07:20)
Offline
flop25 wrote:
So for your request, I need to create a custom theme with register.tpl, or a Template Extension for register.tpl : see the doc and this forum for further info
You can also create an "Legal Mention" page with additional page
It seems to be a bit complicated in my opinion.
1) create a plugin "Terms Agreement" that adds a mandatory checkbox on register.tpl + custom label for the checkbox
2) create a "Terms Of Use" page with plugin Additional Pages
3) force registration with $conf['guest_access'] = false; in your local configuration with LocalFiles Editor
4) in the plugin "Terms Agreement", set the label to I agree with <a target="_blank" href="./pages/terms_of_use">Terms of use</a>
Of course, creating the "Terms Agreement" plugin is not "easy".
In a first step, I would not even have a checkbox. I would simply have a sentence before the register button "by submitting this form, I agree with the Terms of use. Depending on the theme you want to use, if jQuery is already loaded, you can add a small piece of jQuery to insert this sentence dynamically, with no plugin required.
Offline
Joergen, my solution only requires to type text on register.tpl, with something like "by submitting this form, I agree with the Terms of use." But you do as you wish
Copy/paste register.tpl from themes/default/template in /template-extension. Add you text in that new register.tpl . Go to the Template page and associate "register.tpl" with "register.tpl"
that's all folks ^^
Plg solution is more elegant, from a developer view
Last edited by flop25 (2011-09-06 22:13:20)
Offline
flop25 wrote:
Plg solution is more elegant, from a developer view
Yes, you're right.
The problem with the template-extension is that there is no chance you update it when register.tpl will be modified (for security reason for example) and it will be hard to find the origin of the bug.
But on a short term basis, template-extensions are good.
Offline
Sorry if my second question sounds demanding.
I appreciated the support that is given here, I come from the German Forum because my questions seems to be very special.
I wounder if this issue was not ask before and many Web sites work without this.
Anyway for me it would be enough to add a text, telling something like "If you register you agree to the Terms ..."
This should cover the legal requirement I need.
(I prepare the Album Site for an adult education centre called VHS in Germany, also as an volunteer)
I think the checkbox solution would be the perfect way, but I am not able to create a plugin (not yet) ;-)
Adding text to the register.tpl sounds much easier for me.
I will try this and feeback my result.
Thanks for help
Hi,
the solution seems to work, thanks for the help.
I have added a text line with a link to the Terms document.
I had to use the template from the stripped theme, the mentioned register.tpl from themes/default/template did not work.
Here a link to the German Forum with a sample pic (I can not add pictures here).
http://de.piwigo.org/forum/viewtopic.php?pid=872#p872
Thread #4
Good night
a solution with the Plugin "UserAdvManager" is also possible (same thread in the german forum) :-)
Offline
Hello!
How can I add checkbox for Terms and Conditions confirmation that it is possible to check whether a check box has been checked or not?
Thx for answer
Offline
Pages: 1