• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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