My usergroupid is 98. Unless I've gone blind...This says 98, right?
http://216.118.105.52/forums/admin/u...usergroupid=98
And this part from my memberlist.php is correct, right?
PHP Code:
if ($what=="topposters") {
$orderby="posts";
$direction="DESC";
}
if ($what=="datejoined") {
$orderby="joindate";
$direction="DESC";
}
if ($what=="banned") {
$condition="98";
$orderby="lastpost";
$direction="DESC";
}
if ($orderby=="" or ($orderby!="username" and $orderby!="posts" and $orderby!="joindate" and $orderby!="lastpost")) {
$orderby="username";
}
And this bit in my memberlist template is correct, right?
PHP Code:
<td bgcolor="{secondaltcolor}"><smallfont><a href="memberlist.php?s=$session[sessionhash]&what=datejoined"><b>List by Date Joined</b></a></smallfont></td>
<td bgcolor="{secondaltcolor}"><smallfont><a href="memberlist.php?s=$session[sessionhash]&what=banned"><b>Banned</b></a></smallfont></td>
What am I doing wrong?