Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Addons

Post Reply
 
Thread Tools
  #1  
Old 04-10-2009, 02:49 AM
elektrik Offline
forum loafer
 
Join Date: Dec 2008
Posts: 10
Offline / maintenance mode switch?

Hi all,

Has anybody got a way to temporarily switch PP on or off from the admin panel, so that the site is totally inaccessible? Gallery2 and Joomla, for example, have options to do this and still display a themed page, so I'm wondering if anybody has figured this out for PP.

Thanks!
Reply With Quote
  #2  
Old 04-10-2009, 04:00 AM
jaywilliams's Avatar
jaywilliams+ Offline
Team Pixelpost
 
Join Date: Sep 2005
Posts: 1,003
Send a message via AIM to jaywilliams Send a message via MSN to jaywilliams Send a message via Yahoo to jaywilliams Send a message via Skype™ to jaywilliams
I generally use .htaccess & mod_rewrite to display a notice to all people except my own IP.
__________________
Jay Williams | A Different View
Reply With Quote
  #3  
Old 04-10-2009, 02:38 PM
Dennis's Avatar
Dennis+ Offline
Team Pixelpost
 
Join Date: Jul 2006
Posts: 2,394
Send a message via MSN to Dennis
I second that (mostly I just hack the index.php). My hack is described in detail here:
http://www.pixelpost.org/forum/showt...ex.php+address

this can be easily modified to display a message to anything not corresponding to your IP address.
__________________
My photoblog, powered by PixelPost 1.9 dev SVN | My Pixelpost Addons | My Cool Photoblog profile
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 02:43 PM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs