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
#4
For the email issue, I'm surprised that's an issue, but I will take a look and see if it has an impact on PHPMailer, the SMTP library we are using.

There have been a few requests around what UserSpice should do when the user doesn't have permissions. I think we'll need to have a separate discussion about that to solicit some of the possible behaviors that should be implemented.

If you wanted to make you're own change temporarily, you can go to users/helpers/us_helpers.php and go to the securePage function and look for this block of code.

//Check if user's permission levels allow access to page
if (checkPermission($pagePermissions)){
return true;
}elseif ($user->data()->id == $master_account){ //Grant access if master user
return true;
}else {
Redirect::to("index.php");
return false;
}

Change the "Redirect::to("index.php"); and point it to your page with something like Redirect::to($us_url_root."path_to_file");
  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: 3 Guest(s)