A simple 18+ Age Verification plugin for Botble CMS websites.
Shows a popup asking users to confirm their age before accessing the site content.
Redirects users who deny access to a custom "Access Denied" page.
- Popup age verification on first visit
- Session-based age confirmation
- Redirect to "Access Denied" page if under 18
- Customizable messages and button texts via theme options
- Customizable popup colors and overlay
- Prevents page scrolling while popup is active
- Easy to install and integrate with Botble CMS
- Clone or download this repository into your Botble
platform/plugins/age-checkdirectory. - Run
php artisan plugin:activate age-checkto activate the plugin. - Configure messages and colors via Appearance > Theme Options > Age Check.
- Test the popup by visiting your site in an incognito window or after clearing session.
- When a user visits your site for the first time, the age check popup will appear.
- Clicking Yes confirms the user is over 18 and allows access.
- Clicking No redirects to an access denied page.
- The popup respects session status to avoid repeated prompts.
You can customize the following options in Theme Options:
- Enable or disable age check
- Popup message text
- Confirm and deny button texts
- Popup background and text colors
- Overlay background color
- Access denied page title and message
MIT License — feel free to use and modify.
Pull requests and issues are welcome!
Please follow coding standards and test thoroughly before submitting.
Created by [Mohit-Hasan] - [[email protected]]
GitHub: https://github.com/Mohit-Hasan/age-check-botble
This README was generated with the assistance of ChatGPT by OpenAI.

