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
default page for not permitted access
#5
I think the trick is going to be that at the bottom of the securePage function over in us_helpers, there is a just a redirect to the homepage. What we need is to pull from another file over in usersc so people can put whatever code they want.

I'm not sure if you know this, Brandin, but any time you do a redirect, you can do a get request at the end and flash a message on the screen. I even do that as a quick way to give user feedback.

So, let's say you have someone complete a form and then want to send them back to a file called cpanel.php, you can do

Redirect::to('cpanel.php?err=Form+complete!+Thank+you+for+your+submission!');

And they will be redirected and have that message flash up on the screen.
  Reply


Messages In This Thread
default page for not permitted access - by mudmin - 01-08-2017, 04:26 PM
default page for not permitted access - by mudmin - 01-16-2017, 02:53 PM
default page for not permitted access - by mudmin - 01-16-2017, 03:06 PM
default page for not permitted access - by mudmin - 01-16-2017, 03:12 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)