1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

What is a good html code for when the board is inactive?

Discussion in 'XenForo Questions and Support' started by Kent55, Oct 8, 2012.

  1. Kent55

    Kent55 Active Member

    Hi, I just wanted to ask, when I close the forum for maintenance what is a good html code so that it will display a totally separate screen with the text that I want?
     
  2. Adam Howard

    Adam Howard Well-Known Member

    A separate screen?

    Personally I'd do that on an htaccess level to direct people to index2.html file when the site is going to be offline for a longer than usual time and given that the forum may not be accessible, not even on the closed notice.

    And when done, use htaccess again to direct them back to the forum.

    But if your site is going to be only close for a short while.... I'd just keep the closed notice simple and within the closed notice box... ie.... something like this

    PHP:
    <center>
    <
    b>Important title here</b>
    <
    br />
    <
    br />
    Message here
    <br />
    <
    br />
    </
    center>
    Simple and anything can read it.
     
  3. Kent55

    Kent55 Active Member

    Thanks
     
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Adam Howard likes this.
  5. Kent55

    Kent55 Active Member

    Thank you
     

Share This Page