07-31-2017, 06:06 PM
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
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