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
Menu Permissions & Viewing
#1
Just a brief question, I've got multiple permission levels setup, lets say levels 2, 3, 4, and 5. I've got multiple dropdown menus in my menu. I want menu dropdown option 1 to be visible to permissions 2 and 3, and then menu dropdown option 2 to be visible to permissions 4 and 5. Is there a way to do this? I've been messing around with the code below, but can't seem to get it to work properly for multiple permissions

<?php if (checkMenu(#,$user->data()->id)){?>
Content
<?php } ?>
  Reply


Messages In This Thread
Menu Permissions & Viewing - by A.Long - 07-17-2016, 04:30 PM
Menu Permissions & Viewing - by mudmin - 07-17-2016, 06:37 PM
Menu Permissions & Viewing - by A.Long - 07-19-2016, 12:48 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)