• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Age Verification forward?

Bryce_VanHoosen

New Pleskian
I'm building a site for a vapor lounge and I need to have a message that says "are you 18 years or older? Yes or No?" pop up before letting anyone in the site. How would I do this?
 
Hi Bryce,

Web Presence Builder provides no built-in feature for it.

However, you set up a PHP file triggering the pop-up screen, setting a cookie if the user pressed "Yes". Store the PHP file on the server, provided you have access to it. Then integrate a site-wide PHP module in Web Presence Builder that checks for the existence of the cookie. This example from a forum might give you an idea: http://www.webhostingtalk.com/showthread.php?t=661689. Hope this helps.
 
Back
Top