mfyvie
06-20-2007, 10:53 AM
I'm writing a mod which has as part of its design a section which automatically bans users.
I've completed all the bits and pieces to ban the user, but I am just being stumped by the phrase "Banned" which is inserted into the usertitle field of the user record after they are banned.
I can't find this phrase anywhere, nor the code that retrieves this value from wherever it is stored.
Of course, I can simply hard code "Banned", but I'd prefer to try and make my ban routines as close to the original as I can.
Does anyone have any idea how this phrase can be retrieved from inside a hook in login.php?
I've completed all the bits and pieces to ban the user, but I am just being stumped by the phrase "Banned" which is inserted into the usertitle field of the user record after they are banned.
I can't find this phrase anywhere, nor the code that retrieves this value from wherever it is stored.
Of course, I can simply hard code "Banned", but I'd prefer to try and make my ban routines as close to the original as I can.
Does anyone have any idea how this phrase can be retrieved from inside a hook in login.php?