Okay, this is weird. I copied and pasted the code, and got this warning:
Parse error: parse error, unexpected T_VARIABLE in /home/pkrwud/public_html/vbulletin/admincp/admin_warn.php on line 1837
So, I copy and pasted the original code from the same post (quoted above), and got the same error again. In fact, I got that error when I clicked on any of the options in the Warning System portion of the Admin CP. So, I opened the original copy of that file on my hard drive, and copied and pasted from there, and now it's back to normal.
Maybe I'm missing it, but I'm not seeing any real difference between the two.
Why did I get that error? BTW, line 1837 is the one that starts with: $get_warns
And, I have another question (lucky you). In that same file, just below the code mentioned above, it says:
PHP Code:
$cell = array();
$id=$warn['userid'];
if ($warn['usergroupid']==5)
{
$usergrp="Super Moderator";
}
else if ($warn['usergroupid']==6)
{
$usergrp="Administrator";
}
else if ($warn['usergroupid']==7)
{
$usergrp="Moderator";
}
Will I need to make changes here too?