It looks like you're new here. If you want to get involved, click one of these buttons!
So I'm trying to figure out how I can create an icon or text to put next to a banned user's name within a discussion. I'm having a hard time trying to get the role value of a banned user or even trying to figure out if that user has been banned already.
I've set up a test user which has posted several comments on a discussion and have then banned that user. What I want is to figure out how to put some kind of icon or text next to his name to signify that that user has been banned.
I tried using (within discussion/helper_functions.php):
$banned = BanModel::CheckUser($Object->InsertUserID);
but I keep getting a value of 1 each time for all users (banned or not). Any clues on how to find out how I can go about that?