The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.2.25 (Linux)
File Line Function
/global.php(961) : eval()'d code 26 errorHandler->error
/global.php 961 eval
/showthread.php 28 require_once





× This forum is read only. As of July 23, 2019, the UserSpice forums have been closed. To receive support, please join our Discord by clicking here. Thank you!

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Maintenance mode
#4
This is similar to what I did, and it works quite well! It is much nicer to have a full page than it is to just die the page and say offline lol.

In addition, I also added a setting in the db called offlinemsg and modified my offline page to echo this. The admin_panels.php page has this added:

https://hastebin.com/owiciluhuj.php

https://hastebin.com/xutucowupu.xml

That way you can modify the offline message to whatever you want without manually coding everytime!
  Reply


Messages In This Thread
Maintenance mode - by emanresu - 01-27-2017, 01:54 PM
Maintenance mode - by mudmin - 02-03-2017, 02:18 PM
Maintenance mode - by firestorm - 05-03-2017, 05:33 PM
Maintenance mode - by Brandin - 05-06-2017, 11:36 AM
Maintenance mode - by firestorm - 05-08-2017, 05:48 AM
Maintenance mode - by mudmin - 05-09-2017, 10:15 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)