Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
GSMaintenance: Put your site in "Maintenance mode"
#9
Don't know about the IP address whitelisting, but adding an if clause in the gsm_pre function will display maintenance mode only if  $USR is not set or $USR is not equal to the GS_ADMIN_USERNAME cookie (that is, you will see it if you are logged in to the backend):

Also addressed the issue with stripslashes and charset, and removed duplicate <head> tag and changed the HTML doc to HTML5.
If the plugin author thinks this is useful, (s)he is free to include it in next version.

You can download the unofficial update here: 
.zip   gsmaintenance.zip (Size: 4.16 KB / Downloads: 18)
Reply


Messages In This Thread
RE: GSMaintenance: Put your site in "Maintenance mode" - by Tyblitz - 2015-04-28, 05:02:58



Users browsing this thread: 1 Guest(s)