The following warnings occurred:
Warning [2] Undefined variable $unreadreports - Line: 26 - File: global.php(961) : eval()'d code PHP 8.1.2-1ubuntu2.14 (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
Site Offline but with permission group that can still access the website
#1
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
  Reply
#2
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];
  Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)