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
/printthread.php 16 require_once



UserSpice
Site Offline but with permission group that can still access the website - Printable Version

+- UserSpice (https://userspice.com/forums)
+-- Forum: Miscellaneous (https://userspice.com/forums/forumdisplay.php?fid=28)
+--- Forum: Documentation (https://userspice.com/forums/forumdisplay.php?fid=30)
+--- Thread: Site Offline but with permission group that can still access the website (/showthread.php?tid=769)



Site Offline but with permission group that can still access the website - sire - 09-23-2017

if say my Site is "Site Offline" can i have it that a "permission group" that can still access the website
thanks
btw im using UserSpice Version 4.2.6


Site Offline but with permission group that can still access the website - mudmin - 09-23-2017

I'm trying to remember the version number, but if you add this line to your users/init.php and put all the user ids of the people you want to access the site even if it's offline, they SHOULD have access. You might have to update to a more recent version of userspice, but I think this worked back then...

Code:
//adding more ids to this array allows people to access everything, whether offline or not. Use caution.
Code:
$master_account = [1];