No edit summary |
|||
(16 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{TOCright}} | |||
<!-- | |||
Administrators use maintenance mode while doing tasks such as: forum upgrades, backups, restores, installing and uninstalling themes and modifications. | NOTE: In the first paragraph, the "onlyinclude" tags select what is shown on the SMF Terminology page (as well as on this page). The "includeonly" tags select what is shown only on the SMF Terminology page, and *not* on this page. | ||
--> | |||
<onlyinclude>When maintenance mode is enabled, only [[administrator]]s have access to the forum. Other users will see the [[forum header]] and the [[main menu]], but won't have access to any part of the forum. Administrators use maintenance mode while doing tasks such as: forum upgrades, backups, restores, installing and uninstalling themes and modifications. <includeonly>For more information, please see [[Maintenance mode]].</includeonly></onlyinclude> | |||
In maintenance mode, the database may still be accessed for user authentication (to check if the member is an administrator). | |||
===How to Enable Maintenance Mode=== | ===How to Enable Maintenance Mode=== | ||
Line 19: | Line 25: | ||
===How to Set Maintenance Mode without Logging into the Forum=== | ===How to Set Maintenance Mode without Logging into the Forum=== | ||
# Log in to your forum's | # Log in to your server's control panel (not your forum's admin panel). | ||
# Go to your file manager. | # Go to your file manager. | ||
# Find the directory that your forum's files are in. This could be ''public_html'', ''www'', or several other places, depending on your host. | # Find the directory that your forum's files are in. This could be ''public_html'', ''www'', or several other places, depending on your host. | ||
# Find the file | # Find the file [[Settings.php]] and make a back-up copy of it, just in case you make a mistake while editing it. | ||
# Open the file ''Settings.php'' for editing. | # Open the file ''Settings.php'' for editing. | ||
# Find ''$maintenance'' in the file. Here are the settings you can use: | # Find ''$maintenance'' in the file. Here are the settings you can use: | ||
#* '''maintenance = 0;''' - | #* '''$maintenance = 0;''' - Maintenance mode is turned off. | ||
#* '''maintenance = 1;''' - | #* '''$maintenance = 1;''' - Maintenance mode is turned on. | ||
#* '''maintenance = 2;''' - | #* '''$maintenance = 2;''' - Anyone (including administrators) trying to access the forum will only see a white page. Maintenance mode is enabled in full force. This mode cannot be enabled from the administration center. | ||
# Save the file. | # Save the file. | ||
[[Category:SMF terminology]] |
Latest revision as of 09:14, 8 May 2018
When maintenance mode is enabled, only administrators have access to the forum. Other users will see the forum header and the main menu, but won't have access to any part of the forum. Administrators use maintenance mode while doing tasks such as: forum upgrades, backups, restores, installing and uninstalling themes and modifications.
In maintenance mode, the database may still be accessed for user authentication (to check if the member is an administrator).
How to Enable Maintenance Mode
- Go to Administration > Configuration > Server Settings > General.
- Check the box next to Enable Maintenance Mode.
- Change the Subject for display.
- If you wish, you may change the Message for display. All guests and members will see this message and it can be used to give an explanation as to why the forum is in maintenance mode.
- Click the save button.
How to Disable Maintenance Mode
- Go to Administration > Configuration > Server Settings > General.
- Uncheck the box next to Enable Maintenance Mode.
- Click the save button.
How to Set Maintenance Mode without Logging into the Forum
- Log in to your server's control panel (not your forum's admin panel).
- Go to your file manager.
- Find the directory that your forum's files are in. This could be public_html, www, or several other places, depending on your host.
- Find the file Settings.php and make a back-up copy of it, just in case you make a mistake while editing it.
- Open the file Settings.php for editing.
- Find $maintenance in the file. Here are the settings you can use:
- $maintenance = 0; - Maintenance mode is turned off.
- $maintenance = 1; - Maintenance mode is turned on.
- $maintenance = 2; - Anyone (including administrators) trying to access the forum will only see a white page. Maintenance mode is enabled in full force. This mode cannot be enabled from the administration center.
- Save the file.