THIS ADD-ON IS FOR XenForo VERSION 1.1 ONLY!
IT CANNOT BE USED AT XenForo VERSION 1.2 OR GREATER!
Every time you install an addon, rebuild your templates or do other maintenance work in your XenForo ACP (Admin-Control-Panel) the forum shuts down for a few minutes and all your forum visitors see a blank white screen without any notice only.
This tiny "Maintenance Screen" XenForo Addon solves that problem. It checks if a blank screen would be shown, intervenes that process automatically and redirects all visitors to a standard HTML file called "sorry.html" in your forum directory.
You can design that "sorry.html" file as you like. The file included in this package tries to automatically redirect your users back to your forum every 15 seconds until your forum can be reached again.
Current compatibility: XenForo 1.1.3
Please note: This add-on is no longer needed starting with Xenforo version 1.1.4, when the White Screen problem has been solved. However, this ressource will stay available for all of you still using Xenforo 1.1.3 or smaller.
Upload everything from the "upload" directory into your web servers forum directory.
Install "addon-wmt_MaintenanceScreen-10*.xml" in your Xenforo ACP as a new addon.
Modify "sorry_default.html" if needed, until it fits for you.
Change filename from "sorry_default.html" to "sorry.html".
This release can be installed or upgraded using Auto-Installers
Note: You have to do steps 3 and 4 manually if you like a customized maintenance screen, even if you use the auto installer.
If this addon is triggered, XenForo is basically out of order for showing pages. This means that you/we cannot use any XenForo pages or templates for this addon.
The only thing you can modify (and possibly have to) is the file "sorry.html" where this addon automatically redirects all visitors during XenForo's outage. The file "sorry.html" should reside in the root folder of the web directory of your XenForo installation, just beside XenForo's "rgba.php" (it will be there if you follow the instructions above).
For the automatic redirection to your forum homepage it is VERY IMPORTANT that you change the setting of the redirect target in the head of "sorry.html". You will find the following code:
CHANGE the URL of that code to YOUR XenForo home page URL. For example, if your Xenforo Homepage is "http://www.domain.com/xenforo/" you have to change that toHTML:<meta http-equiv="refresh" content="15;url=/">
orHTML:<meta http-equiv="refresh" content="15;url=http://www.domain.com/xenforo/">
The default setting (/) works only if your XenForo URL is the URL of the home page of your whole domain!HTML:<meta http-equiv="refresh" content="15;url=/xenforo/">
You may also change your logo and the footer link to your homepage in "sorry.html".