Posted by mccraic on May 1, 2008 at 10:31pm
Hello,
I am designing a website for a winery and would like to require visitors to verify their age and then have access to the wine shop and other pages without having to register. I have written a small module which creates an age verification form and requires the user to enter their age and then returns the catalog page if they are 21 or older and stays on the age verification form page if they are younger than 21. Is there a way to turn off all of the links on the page until the user verifies that he is over 21? Currently the user could just click on one of the primary links or menu links to bypass the age verification page.
Thanks for the help,
Patrick
Comments
questions...
Are you using ecommerce? If so what about user roles? Is your catalog a node?
And above all is it really necessary to prevent people under 21 from viewing a wine catalog?
I am using Ubercart.. My
I am using Ubercart.. My catalog is a node. I am not so concerned with preventing people under 21 from viewing the catalog, I need to TRY to prevent them from making a purchase. For an example of an alcohol site you can look at http://www.grolschgardens.com/ . At the moment I thought the easiest way to accomplish this is to try to discourage them from entering the site by having an Age Verification form which would block all other links until the visitor verified he was at least 21. The best solution would be for individual items in the catalog to be flagged "Only for purchase if the visitor verifies he/she is over 21".
Thanks for the help,
Patrick
Patrick McEvoy
age verification anyone?
OK. I don't know about Ubercart. Can you add a birthday field to the check out form?
On ecommerce checkout is done by registration so you could add a 'I am over 21' checkbox (which would actually be a role) to the user registration form. But like I said I don't know how Ubercart works.
Jones of Washington has a nice Drupal winery site. Their site has a note on the shipping selection check out page that says "You must be 21 years of age, an adult signature is required by the delivery driver." But other than that no age verification. If you want something on the front page I think you might have to add some custom code, and use cookies or something. I have no clue.
Maybe some of these modules (that you're probably familiar with) might be useful:
http://drupal.org/project/menu_per_role (seems nonfunctional)
http://drupal.org/project/remove_nonviewable_menu_items
http://drupal.org/project/simple_access
http://drupal.org/project/content_access
http://drupal.org/project/node_privacy_byrole
http://drupal.org/project/validateage
Sorry I'm not familiar with Ubercart or age validation. Good luck.
Did you find an Answer
Did you find an answer to this within Drupal?
Please let me know... I do a bunch of alcohol sites and this would be great to integrate into the system...
Michael Smethurst - ebusiness strategy consultant
Digital Methods Corporation
www.digitalmethodscorp.com
Michael Smethurst - ebusiness strategy consultant
Digital Methods Corporation
www.digitalmethodscorp.com
Age Validation Module (21 Years of Age)
I was actually creating a site for a winery as well and ran into the same problem so I created a module to add a checkbox to verify the customer's age during the Ubercart checkout process.
Hope this helps you...and others...out.
Age Validation Module (21 Years of Age)
Age Verification
I have a video game website, and I also would like to know how to block under age teens out of certain rooms. For instance, MA material should be off limits to 13 year olds. Is there a module out there that can help me with this problem?