Skip to content

A lightweight and customizable age verification plugin for Botble CMS that displays a popup to confirm users are 18+ before granting access. Perfect for websites selling age-restricted products like vaping or alcohol.

Notifications You must be signed in to change notification settings

Mohit-Hasan/age-check-botble

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Botble Age Check Plugin

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.


Features

  • 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

Installation

  1. Clone or download this repository into your Botble platform/plugins/age-check directory.
  2. Run php artisan plugin:activate age-check to activate the plugin.
  3. Configure messages and colors via Appearance > Theme Options > Age Check.
  4. Test the popup by visiting your site in an incognito window or after clearing session.

Usage

  • 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.

Configuration Screenshots

Age Check Popup

Age Check Popup

Theme Options Settings

Theme Options


Customization

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

License

MIT License — feel free to use and modify.


Contribution

Pull requests and issues are welcome!
Please follow coding standards and test thoroughly before submitting.


Contact

Created by [Mohit-Hasan] - [[email protected]]
GitHub: https://github.com/Mohit-Hasan/age-check-botble


Acknowledgments

This README was generated with the assistance of ChatGPT by OpenAI.

About

A lightweight and customizable age verification plugin for Botble CMS that displays a popup to confirm users are 18+ before granting access. Perfect for websites selling age-restricted products like vaping or alcohol.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published