Skip to content

JoseManuelPedraja/cffootballbypass

Repository files navigation

PrestaShop PHP Latest Release License Downloads Stars Forks

⚽ CF Football Bypass for PrestaShop

A PrestaShop module that automates switching between Proxied and DNS Only modes in Cloudflare during massive blocking events on football match days.

The module fetches the feed from hayahora.futbol and enables/disables the selected DNS records to keep your legitimate store accessible, with a configurable cooldown period before reactivating Cloudflare.


🚀 Quick Installation

  1. Download the ZIP file from GitHub.
  2. Copy the cffootballbypass folder into your PrestaShop modules directory.
  3. From the Back Office, go to Modules > Module Manager and activate CF Football Bypass.
  4. Configure the module under Advanced Parameters > CF Football Bypass, where you can set:
    • The checking interval
    • The cooldown period after disabling Cloudflare
    • The DNS records you want to manage

⚙️ Requirements

  • PrestaShop 8 or higher
  • Active Cloudflare account
  • Cloudflare API access with permissions to manage DNS

👨‍💻 Original Author & WordPress Support

⚠️ Note: This module has been adapted from the original WordPress version to PrestaShop with the author's permission and is completely free.


📖 Documentation

If you want to use an external cron, follow these steps:

  1. Add the following code to your .htaccess file located in var/www/public_html/modules/:
<Files "cron.php">
    <If "%{REQUEST_URI} =~ m#^/modules/cffootballbypass/cron\.php#">
        Require all granted
    </If>
</Files>

About

CF Football Bypass Prestashop es un plugin disenado para sitios web Prestashop espanoles que enfrentan bloqueos masivos de IPs durante los partidos de futbol debido a las ordenes judiciales solicitadas por LaLiga.

Topics

Resources

License

Stars

5 stars

Watchers

0 watching

Forks

Packages

 
 
 

Contributors