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
Need ability to approve new user
#5
Hi Dan

Thanks - I've managed to set up the new user permission - STUDENT - and prevent access to a page until I change the client's permission to STUDENT. So far so good.

However, I'm a bit lost with the function. From what I understand, if the client hasn't paid and their permission is still set to USER, I can show a banner or alert that displays when the client tries to access a STUDENT protected page.

I can't work out how to do it. I have looked at a file called us_helpers.php that has, on line 769, a reference to the hasperm function you mentioned, but I'm not sure how to implement the banner/alert

Could you point me in the right direction please

Thanks
  Reply


Messages In This Thread
Need ability to approve new user - by joelmalach - 07-31-2017, 03:04 PM
Need ability to approve new user - by dan - 07-31-2017, 03:16 PM
Need ability to approve new user - by dan - 07-31-2017, 03:26 PM
Need ability to approve new user - by joelmalach - 07-31-2017, 04:02 PM
Need ability to approve new user - by joelmalach - 07-31-2017, 06:06 PM
Need ability to approve new user - by karsen - 07-31-2017, 06:36 PM
Need ability to approve new user - by joelmalach - 08-01-2017, 07:34 AM
Need ability to approve new user - by joelmalach - 08-02-2017, 08:47 AM
Need ability to approve new user - by firestorm - 08-02-2017, 07:28 PM
Need ability to approve new user - by joelmalach - 08-03-2017, 08:59 AM
Need ability to approve new user - by mudmin - 08-03-2017, 01:20 PM
Need ability to approve new user - by joelmalach - 08-03-2017, 02:56 PM
Need ability to approve new user - by mudmin - 08-03-2017, 02:58 PM
Need ability to approve new user - by firestorm - 08-03-2017, 05:42 PM
Need ability to approve new user - by mudmin - 08-03-2017, 05:48 PM
Need ability to approve new user - by Brandin - 08-03-2017, 11:08 PM
Need ability to approve new user - by joelmalach - 08-04-2017, 04:26 AM

Forum Jump:


Users browsing this thread: 3 Guest(s)