Register Members List Search Today's Posts Mark Forums Read

Reply
 
Article Options
vB Maintenance Page
ChU v2
Join Date: May 2007
Posts: 396

Chicago
by ChU v2 ChU v2 is offline 24 Dec 2007
Rating: (1 vote - 1.00 average)

What is this?

This is a simple little "hack" that creates a maintenance page for your forums while you upgrade or want downtime. I figured will the updates from vB3.6.8 to vB3.7 this might be useful. Might save some people from displaying that Database error page while they configure the new files.

--------

This took about 5 minutes to create so feel free to customize it to however you like.

--------

Instructions:

Upload Maintenance.php and Maintenance.jpg to your forum root. When you want the page to display simply rename the Maintenance.php to index.php and it should be your homepage by default.

Note: Be sure to rename your old index page so you don't overwrite it.

This is the case on my server, could be difference from yours. I'm not a server expert in the least.

--------

View: Live Demo
Attached Images
File Type: jpg maintenance.jpg (66.5 KB, 215 views)
Attached Files
File Type: php maintenance.php (788 Bytes, 47 views)

Last edited by ChU v2; 24 Dec 2007 at 04:04..
Views: 3689
Reply With Quote
Comments
  #2  
Old 24 Dec 2007, 04:00
SEOvB's Avatar
SEOvB SEOvB is offline
 
Join Date: May 2007
Real name: Jarvis
I'm not one to deem what is a mod around here, but this clearly isn't one.

And also, if for whatever reason you do use this, be sure to rename your original index.php so you don't overwrite it with this one.
__________________
vBulletin Services and vBulletin Hosting
Reply With Quote
  #3  
Old 24 Dec 2007, 04:03
ChU v2 ChU v2 is offline
 
Join Date: May 2007
Real name: Nick
Originally Posted by FRDS View Post
I'm not one to deem what is a mod around here, but this clearly isn't one.

And also, if for whatever reason you do use this, be sure to rename your original index.php so you don't overwrite it with this one.
Didn't want to put it in template modifications. And thank you for mentioning about the old index, I forgot to mention that.
Reply With Quote
  #4  
Old 24 Dec 2007, 06:38
BlizzardHQ BlizzardHQ is offline
 
Join Date: Dec 2007
Real name: Mike
How does this stop someone from using the site though? If they follow in a thread link, they can still access the site. I use something like this for my site, but I have it coded inside of turn board off/on message template.
Reply With Quote
  #5  
Old 24 Dec 2007, 11:37
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Not a modification, moved to articles section.

PS the most effective way to block access to the site during maintenance is to use a .htaccess file to redirect to a maintenance page, except for those IP-addresses that need to access the board for the maintenance.
__________________
Marco van Herwaarden
Ex vBulletin.org Coordinator
Reply With Quote
  #6  
Old 24 Dec 2007, 11:53
Hornstar's Avatar
Hornstar Hornstar is offline
 
Join Date: Jun 2005
Real name: Matt
Thanks this is a good start!

Originally Posted by BlizzardHQ View Post
How does this stop someone from using the site though? If they follow in a thread link, they can still access the site. I use something like this for my site, but I have it coded inside of turn board off/on message template.
Can you share this with me? or the community? I am interested in something like you have. Thanks.
Reply With Quote
  #7  
Old 30 Dec 2007, 00:03
ChU v2 ChU v2 is offline
 
Join Date: May 2007
Real name: Nick
It's more designed for when your upgrading vB, when you overwrite your original config file with the new one you get that DB error, with this you wont. For most it takes us 10 seconds to edit the new config, but for others it may not. That's the purpose.

Can you share this with me? or the community? I am interested in something like you have. Thanks.
Use the search, I'm sure something will turn up.
Reply With Quote
  #8  
Old 30 Dec 2007, 17:22
XxBuLLeTz XxBuLLeTz is offline
 
Join Date: May 2006
looks good...i'll use it next time i need to update my vbulletin
Reply With Quote
Reply

Similar Article
Article Author Type Replies Last Post
Thread Maintenance v1.0 g-force2k2 vBulletin 2.x Full Releases 22 09 Feb 2004 18:25



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Article Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 19:42.

Layout Options | Width: Wide Color: