(2013-11-04, 11:31 AM)Destroy666 Wrote: [ -> ]Why not use the simpliest solution: ACP -> Configuration -> Board Online / Offline -> Yes, instead of .htaccess?
.htaccess maintenance way gives oportunity to make
any edits on live site, including template edits,
testing plugins, php edits, testing with
error_reporting(E_ALL) in
real, live environment (thats useful),
debugging stuff, broking site ect ect, while visitors still not see any of these, just maintenance page.
Closing site with ACP function is easy and cool, but perhaps would stop from working in most above cases,
and then visitors would see random stuff, errors, broken template,
print_r($whatWasInThisObjectAgain?) ect
Ofcourse can do all these things on localhost, but usualy localhost settings and real server settings are different,
and after moving these updates to live server environment differences coming out and make problems
then some things must be adjusted, while visitors are watching, reading, writing posts, replies, sending PM's.
Any mistake or small bug at that time may broke everything
exacly at moment when some visitors was about to submit his post into which they put a lot of work,
lost all hour to make it... almost finished... submitting... and then ........... .... .......
I rather would suggest ~ .htaccess maintenance mode.
EDIT --------------
Btw, i just found
awesome method of "htaccess maintenance"
even better than my own, not requiring IP, just a cookie, by frostschutz. Really good one.
http://community.mybb.com/thread-100345-...#pid792124