09-03-2017, 03:00 PM
Try adding these two functions to your usersc/includes/custom_functions.php
https://pastebin.com/qp8U5ZRp
Then you just call it by
1 is the user id of the user you're trying to echo. In the weird event there aren't any permissions, it will just be blank.
https://pastebin.com/qp8U5ZRp
Then you just call it by
Code:
<?php getRoles(1);?>
1 is the user id of the user you're trying to echo. In the weird event there aren't any permissions, it will just be blank.