By Webz on
Can anyone tell me if there a way to easily integrate a check box in the user registration page for a "terms of use" and or "privacy policy" information in Drupal 6.x? I do see a few mods for 4.7 and 5.x but nothing as of yet for 6.x.
In addition, can anyone tell me if I also have OpenID enabled will having a checkbox still work?
Any help would be greatly appreciated. I've been searching for an answer for well over an hour.
Comments
hah...me too, then i had an old 'a-hah'
okay, was looking for the same thing for COPPA compliance (a checkbox like "you must be 13 or older" etc)
here's what to do:
go to admin/user management/profiles -
add new field: checkbox
give it a title and a form name, etc - AND in the 'explanation' box that users see, you can use html to link to the full node for your terms of service etc...
*visibility* set to "private field, content only available to privileged users" (so that others won't see it in a user profile except for admin)
leave page title blank (duh)
make it required
make it visible in user registration form.
you're done. repeat for privacy statement, etc...
NOTE: if you have both a terms of service and a private statement, consider creating both in a 'group' of profile fields called "Terms of Use and Privacy" (do this by puttting that in the category at the top of the same page) - by doing this, both will appear in their own little neat box on the user registration form.
HowTo
There's already a site recipe for this over at http://drupal.org/node/112519. If someone could add this D6 version to that HowTo page, it would truly be excellent. ;)
=-=
Added 6.x and tagged for 6.x
If you want something wit more control, investigate the terms_of_use.module or legal.module.
Boxes can be unchecked later!
So, what's to keep a user from going to their profile later and unchecking the Terms of Service and/or Privacy Statement boxes? If a legal question should arise, they could claim that they never checked the box because they did not read the TOS or PS and therefore did not accept them. Am I missing something here?
Form won't validate without consent
It's not possible to claim that they never checked the box because if that were true, the form wouldn't have validated & they wouldn't have an account.
Having said that, it's probably a good idea to add a clause that says if they remove consent (uncheck the box later), then they have to stop using the site or some such thing.
Yup. That makes
Yup. That makes sense.
However, subsequent to my post above, I experimented a bit and unchecked the boxes. When I attempted to save the profile I got the Drupal 'field is requred' message. So, guess the user cannot uncheck the boxes and successfully resave his profile. - That's a good thing! I'm happy now.
Thank you
This is exactly what I needed. You explained it well. Thanks again
Is there a way of adding a
Is there a way of adding a checkbox for privacy policy in a node add form?
in a asite i'm working on i need anonimous users to create content, but i'd need to add that checkbox in the node creation form... any idea?
subscribing
+
Drupal 6 port of the Legal
Drupal 6 port of the Legal module is mostly done. Still need to deal with Open ID login, write more test coverage, and generally test more. Anyone who's interested please lend a hand.
------------------------------------------
Drupal Specialists: Consulting, Development & Training
Robert Castelo, CTO
Code Positive
London, United Kingdom
----