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
haha got the redirect working right
#2
You could handle that one of 2 ways...either you could edit navigation.php (which could get written with updates), or the better way to do it would be to copy the default account page over to usersc/account.php, change the init to ../users/init.php at the top of that page. Then just below that, write a script to redirect people to the right place based on permissions just like you did for the other thing. In this situation, it would try to send them to the account.php but they would immediately be redirected. They won't even notice.
  Reply


Messages In This Thread
haha got the redirect working right - by raven - 03-02-2017, 02:18 PM
haha got the redirect working right - by mudmin - 03-02-2017, 03:40 PM
haha got the redirect working right - by mudmin - 03-02-2017, 03:40 PM
haha got the redirect working right - by raven - 03-02-2017, 04:05 PM
haha got the redirect working right - by mudmin - 03-02-2017, 04:20 PM
haha got the redirect working right - by raven - 03-02-2017, 05:22 PM
haha got the redirect working right - by raven - 03-02-2017, 08:23 PM
haha got the redirect working right - by raven - 03-03-2017, 12:44 AM
haha got the redirect working right - by mudmin - 03-03-2017, 12:50 AM
haha got the redirect working right - by raven - 03-03-2017, 01:10 AM
haha got the redirect working right - by raven - 03-03-2017, 01:13 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)