• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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