Jump to content

Maintenance Mode With WHMCS


netone

Recommended Posts

When I was setting up my site, I simply put up a index.html page in place with the information I wanted to show.

 

I'm not sure if it works this way across the board, but on my hosting server and the servers I maintain at work, the index.html page takes precedence over index.php.

 

So if your customers go to http://domain.tld/whmcs/ it would load index.html but nothing can stop them if they are going directly to http://domain.tld/whmcs/index.php, http://domain.tld/whmcs/clientarea.php, etc.

Link to comment
Share on other sites

But this isn't really the right way todo it.

 

Cause if a client comes to your billing site looking for something, and find a message saying it's in manintenance mode, it's fine.

 

But, if the same client forgot where to find your billing, and then look for a link in his emails which could have taken him to knowledge base, downloads, status, etc, then they still get the site. Instead it needs to go into maintenance mode like vBulletin does

Link to comment
Share on other sites

One thing. Today I was upgrading and I asked the same question

then I went to my client area and noticed it is on Maintenance Mode

So when the install folder is there it is in maintenance mod.

 

It was a relief.

Link to comment
Share on other sites

But this isn't really the right way todo it.

 

Cause if a client comes to your billing site looking for something, and find a message saying it's in manintenance mode, it's fine.

 

But, if the same client forgot where to find your billing, and then look for a link in his emails which could have taken him to knowledge base, downloads, status, etc, then they still get the site. Instead it needs to go into maintenance mode like vBulletin does

 

Agreed, but in a pinch, not being able to find any maintenance mode function, it was the best I could come up with at the time.

Link to comment
Share on other sites

couldn't you just modify the header template and then set your own variable in like configuration.php that says if it's in maintenance mode or not.. and if it is, if they goto index.php or clientarea.php the template says "if it's in maintenance mode, show this, otherwise do what I'm supposed to"

Link to comment
Share on other sites

  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated