09-14-2016, 01:34 PM
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.
<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.