• Debian 11 is approaching its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.80 will be the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

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