MyBB Community Forums

Full Version: Custom maintenance
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Need to know how to make custom maintenance page for mybb site instead of 
Tis site is closed the admin is listed why below
Text here
<!doctype html>
<title>Site Maintenance</title>
  body { text-align: center; padding: 150px; }
  h1 { font-size: 50px; }
  body { font: 20px Helvetica, sans-serif; color: #333; }
  article { display: block; text-align: left; width: 650px; margin: 0 auto; }
  a { color: #dc8100; text-decoration: none; }
  a:hover { color: #333; text-decoration: none; }

    <h1>We&rsquo;ll be back soon!</h1>
        <p>Sorry for the inconvenience but we&rsquo;re performing some maintenance at the moment. If you need to you can always <a href="mailto:#">contact us</a>, otherwise we&rsquo;ll be back online shortly!</p>
        <p>&mdash; The Team</p>
How do i do this site is located at /home.php
Are you talking about creating a new page and using that HTML for the page?
Yes and when i trigger maintenance mode that will display is where the maintenance page display is handled. One option is to redirect the user to a maintenance, or you could use the template system to render a different template of your choice there.
How do i redirect to another page

Ehmm bump
You could use the redirect function =>
(2015-10-31, 08:50 AM)SvePu Wrote: [ -> ]You could use the redirect function =>

Hello svepu i found a i make forum home.php
An make maintence  index.php so when they come they see maintenance page
Ad whey im done with maintenance i put forum on index.php and maintenance on home.php
That only affects the index page. All that's really doing is disabling the forum index. The rest of your forum will still be accessible.