Hallo, Gast! (Registrieren)

Letzte Ankündigung: MyBB 1.8.38 veröffentlicht (30.04.24)


Benutzer, die gerade dieses Thema anschauen: 1 Gast/Gäste
Antoligy MyBB Cloudflare Management Plugin
#1
Eine neue Erweiterung wurde veröffentlicht: Antoligy MyBB Cloudflare Management Plugin

Zitat:[Bild: http://www.cloudflare.com/images/layout/...e-logo.png] Preface/About
A few months ago, I started using Cloudflare for the forum I run. The improvements to site speed were pretty impressive, but I noticed that since Cloudflare was essentially a reverse proxy, user IPs were showing up as the reverse proxy IPs which rendered protection and bans useless.
That's when I started looking for how to fix this issue, and I arrived at a rather simple answer: develop a plugin to set the forwarded header as the user IP. (I've since personally switched to a server-side configuration block, but have kept the core functionality intact).
A short while later, another problem arose, namely that my fellow Administrators were unable to test changes to code (CSS/JS) unless Cloudflare development mode was on, and were also unable to see information about the bandwidth used etc... so I implemented quite a bit more.
The plugin stands today at ~400 lines of code, and since we are switching over to another forum (IP.Board) I have decided to release the plugin (and thereby the source-code, under a modified ISC License) to anyone who may be interested.

I am not dropping development of this project, and if features are requested I will strive to implement them. I believe I am long overdue to implement some of the newer settings (IPv6 and the like), and so those will come at some point in the near future. Support will also be provided.
(I know that there is a similar project currently available, arguably better. This was created before then, and has been in use on my forum since earlier this year).

Donations are welcome, and will provide a better incentive to build bigger/better/more plugins.

Features
  • Allows remote control of Cloudflare Site settings (Cache, Traffic).
  • Displays statistics from Cloudflare (Time, Cache, Traffic, Bandwidth).
  • Automatically fetches Cloudflare Zone ID.
  • Fixes user-IPs.

Screenshots
[Bild: http://mods.mybb.com/uploads/previews/56....thumb.png]

Installation & Configuration
The entire project is available either from here, or in my GitHub repo, bleeding-edge style: https://github.com/antoligy/MyBB-Plugins...Management

Installation of the plugin is relatively simple (although REQUIRES a Cloudflare account, and for your domain to be handled by it):


  1. Upload the Cloudflare.php to your inc/plugins/ directory.
  2. Install & Activate the plugin under the Administrator Control Panel.
  3. Configure API Key, Email Address and Domain Name in Plugin Settings.
  4. Start using under Tools->Cloudflare Management.
Zitieren
#2
Eine neue Version wurde veröffentlicht: Antoligy MyBB Cloudflare Management Plugin 1.2
Zitieren


Möglicherweise verwandte Themen…
Thema Verfasser Antworten Ansichten Letzter Beitrag
  CloudFlare Manager MyBB.de Bot 3 2.148 29.02.2020, 23:10
Letzter Beitrag: MyBB.de Bot
  Cloudflare CF-Ray MyBB.de Bot 0 908 26.01.2020, 08:00
Letzter Beitrag: MyBB.de Bot
  CloudFlare Manager MyBB.de Bot 9 3.428 21.12.2012, 00:55
Letzter Beitrag: MyBB.de Bot
  Professional database management (update 1.1) MyBB.de Bot 0 1.488 22.06.2011, 17:17
Letzter Beitrag: MyBB.de Bot