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
User page with selected links
#4
Ok. So I've been thinking about your problem.

There are a few things to think about. If a person, is going to have access to more than one department, then you need to go into the users table and create a column called "department" and give it 1 for sales, 2 for quality, etc.

Otherwise if someone is only in one department, you can use the id of that permission level (which can be found when you click on the permission in the admin panel. 1 is user, 2 is admin by default, so I'm going to assume 3 is sales, etc. So...what you want to do is go to usersc/scripts/custom_login_script.php and edit it. It should look something like this...
http://pastebin.com/eapf3jFD

I hope that helps. Let me know if you need further explanation.
  Reply


Messages In This Thread
User page with selected links - by sqluser - 12-17-2016, 08:13 PM
User page with selected links - by mudmin - 12-18-2016, 06:01 PM
User page with selected links - by sqluser - 12-18-2016, 06:37 PM
User page with selected links - by mudmin - 12-19-2016, 02:37 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)