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
Something is wrong with the permissions
#7
Replace the delete function from forms posted:
http://pasted.co/index.php?act=submit

Line 515 on admin_user.php
(replacing the checkbox)
http://pasted.co/2d1fcf67

This disables the checkbox for User ID 1.

admin_permissions.php
Add array:
Code:
$permission_exempt = array(1,2);

Change line 118 (the delete button):
http://pasted.co/120a1740

admin_permission.php

Add array:
Code:
$permission_exempt = array(1,2);

Change line 182, the delete checkbox:
http://pasted.co/24b7551c

Change the delete function:
http://pasted.co/b49a9de2
  Reply


Messages In This Thread
Something is wrong with the permissions - by Brandin - 08-28-2017, 01:23 PM
Something is wrong with the permissions - by ALiF - 09-27-2017, 07:50 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)