Contribution:MaintenanceMode

From WHMCS Documentation

Jump to: navigation, search

Note: This contribution has been superseded by an option for enabling a maintenance mode directly in WHMCS.



SparkysMods.gif

User contribution: Maintenance Mode by Sparky (See all by this user)

This addon will enable you to put your site into Maintenance Mode for the user front end only. It will not affect the admin back end at all while you have it set in Maintenance Mode. If an admin is logged in the front end is still displayed.

How it Works

The addon either creates or deletes a file called "maintenance.txt" in your WHMCS root folder. When the file exists the maintenance page is displayed. If the file does not exist your normal site is displayed. If an Admin is logged in the normal page is still viewable.

To Activate MAINTENANCE MODE

  1. Go to Admin => Addon Modules => Maintenance Mode
  2. Select the box and click "Change Mode".

To De-Active MAINTENANCE MODE

  1. Go to Admin => Addon Modules => Maintenance Mode
  2. de-select the box and click "Change Mode".

To Install the Addon

  • Please see the readme.txt file for install instructions.

Enjoy!.

Sparky

Download latest version (1.0.2)

Changelog

Version 1.0.0 (Original release)

Version 1.0.1 (from v1.0.0)

  • Changed: BUGFIX - Missing Variable for changing file permission of maintenance.txt

Version 1.0.2 (from v1.0.1)

  • Changed: NEW FEATURE - Administrator access while in maintenance mode

Contribution:MaintenanceMode
All documented contributions | Document your own contribution