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
Email Setup - Mail Error
#9
Yeah that would be perfect. I just tried the alert box idea. I wrote a file called "no_access_notice_1.php" which looks like this:

<script>
alert("Unauthorized to access.");
location.href = "account.php";
</script>

And in users/helpers/us_helpers.php around line 415 I changed the code to be:

Redirect::to("no_access_notice_1.php");

So right now my page pops an alert box saying "unauthorized to access" and then redirects the user to account.php.
  Reply


Messages In This Thread
Email Setup - Mail Error - by Angel - 09-12-2016, 02:25 PM
Email Setup - Mail Error - by mudmin - 09-12-2016, 02:41 PM
Email Setup - Mail Error - by Angel - 09-14-2016, 12:44 PM
Email Setup - Mail Error - by brian - 09-14-2016, 12:56 PM
Email Setup - Mail Error - by Angel - 09-14-2016, 01:04 PM
Email Setup - Mail Error - by Angel - 09-14-2016, 01:12 PM
Email Setup - Mail Error - by brian - 09-14-2016, 01:14 PM
Email Setup - Mail Error - by brian - 09-14-2016, 01:23 PM
Email Setup - Mail Error - by Angel - 09-14-2016, 01:34 PM
Email Setup - Mail Error - by firestorm - 09-14-2016, 03:17 PM
Email Setup - Mail Error - by brian - 09-14-2016, 05:05 PM
Email Setup - Mail Error - by tudtude - 10-06-2016, 04:05 AM
Email Setup - Mail Error - by brian - 10-06-2016, 01:05 PM

Forum Jump:


Users browsing this thread: 6 Guest(s)