[DigitalPoint] App for Cloudflare®

[DigitalPoint] App for Cloudflare®

No permission to download
Compatible XF 2.x versions
  1. 2.0
  2. 2.1
  3. 2.2
Additional requirements
PHP 7.0 or higher
A Cloudflare account (which is free).
Attribution 4.0 International (CC BY 4.0) https://creativecommons.org/licenses/by/4.0/
Visible branding
Everything is available from within XenForo (you do not need to go to Cloudflare for things) via the Cloudflare API. This allows you give admins permission to do certain things (for example block IP addresses within Cloudflare without giving them access to your Cloudflare account).

It simplifies/automates much of the configuration and usage of Cloudflare with XenForo.
  • Manage all Cloudflare settings/options for your zone.
  • Ability to purge Cloudflare cache.
  • Cloudflare Firewall support
    • You can automatically create firewall filters to block access to XenForo internal directories that are not intended to be accessed via web browser (internal_data and src). You can also delete any firewall filter.
    • Create/delete Firewall user agent rules.
    • Create/delete Firewall IP address rules. Includes the ability to optionally expire the rule in the future (for example maybe you want to block a class C for 7 days, or you want to force a challenge to a specific IP for 30 days).
    • Manage country-level traffic blocking (includes Tor exit nodes).
    • Ability to force challenge on the registration and contact forms (helps mitigate automated spam).
  • Cloudflare Access support
    • You can automatically create Access policies to allow only admins the ability to access the install and admin.php URLs. You can also delete any existing Access policy.
  • Cloudflare Page Rules support
    • You can view and delete any Page Rules on your zone.
  • Cloudflare Cache Rules support
    • You can automatically create a Page Rule that will instruct Cloudflare to cache XenForo CSS files (normally they are not cached because Cloudflare caches based on file extension, and XenForo's CSS system has .php extension).
    • You can automatically create a Page Rule that will instruct Cloudflare to cache images served through XenForo's image proxy (similar to XenForo's CSS, Cloudflare normally does not cache them because the image proxy uses .php extension).
  • Cloudflare Turnstile support (requires XF 2.2.12+)
    • You can automatically configure/create Turnstile site via API.
    • Gives direct links to Turnstile Settings and Analytics within Cloudflare account.
  • Use Cloudflare Workers as proxy to hide your server's origin IP address for certain XenForo functions:
    • Image proxy
    • Unfurl
  • Support for Cloudflare R2 (object storage) to store things like avatars and attachments in the cloud.
  • Support for caching HTML pages for guests at the network edge (in Cloudflare data centers).
  • Supports both Global API key and API tokens. API tokens allow the minimum required permissions and can span multiple zones (you could use the same API token across multiple XenForo installations/domains without giving any unnecessary permissions).
  • Moderators that have the ability to spam clean and view user's IPs get an extra option in the spam cleaner where they can temporarily ban the IP address(es) the spammer used in the last 30 days. The number of days to ban is an option you can set in the admin area (it defaults to 7 days).
  • Ability to backup and restore certain Cloudflare configuration (Access Apps, Firewall Rules, Firewall IP Access Rules, Firewall User Agent Blocking, Page Rules).
    • You can restore backups to a different zone (for example if you had extensive configuration for a zone, you could give another zone the same configuration through a backup restore).
    • Restoring a backup does not delete existing configurations (you are able to merge configuration into an existing config).
  • Cloudflare configuration is protected by a new admin permission, Manage Cloudflare.
In exchange for being free, this addon has a single attribution link buried on the bottom of XenForo's Help -> Cookie usage page (there are no site-wide or footer links).


















First release
Last update
5.00 star(s) 8 ratings

More resources from digitalpoint

Latest updates

  1. Fix for media uploads

    Hate pushing quick versions out (sorry)... but a necessary fix for media uploads which are...
  2. Fix for XenForo's class autoload variation

    Not sure why this is the case, but it seems XenForo's class autoloading system works slightly...
  3. "Easy config" option and some additional handling of some "what ifs"

    Added "Easy config" button to settings page to automatically optimize some settings for XenForo...

Latest reviews

A great add-on that increased the performance and security of your website. @DigitalPoint also has great support in private and in the add-on's thread.
This add-on not only brought my main Cloudflare settings into the Xenforo admin control panel, it also helped me more easily set up extra features like using R2 buckets for 'data' and 'internal_data' directories, workers for the image and link proxies, and securing our admin and install features.
Wow! This is an amazing addon. The number of features that this Addon provides are easily worth paying for. Very well coded.
Amazing add-on. Just on the sheer volume that this is capable of doing, it is really well done and helps you integrate your forum to get the maximum benefit from Cloudflare.
Fantastic add-on that makes it easy to take advantage of all your Cloudflare features. I used it to setup R2 and it was really easy.
Honestly, one of the easiest ways to control your CloudFlare account that I have come across. I have avoided CloudFlare like the plague, but this has made it easy even on the Free tier I am currently using.
A must have add-on when using Cloudflare. Thank you so much for developing it. Cloudflare Worker is a nice touch.
Pretty aweseom and useful!
I really appreciate the predefined rules that are included.
Thank you for this great addon!