Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
User not showing up on /staff page
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Rystbo" data-source="post: 439078" data-attributes="member: 80524"><p>Give this a try, it might not work but try it, now you might have some minor issues to adjust like the new text, the roots that are in it might be different so just adjust them. </p><p></p><p>Replace----> <?php if(mysql_result(mysql_query("SELECT rank FROM users WHERE id = '" . $_SESSION['user']['id'] . "'"), 0) >= 9) { ?></p><p></p><p>With this ----> </p><p></p><p>$GetUsers = mysql_query("SELECT id, username, motto, rank, last_online, online, look FROM users WHERE rank > 2 ORDER BY rank DESC");</p><p> while($Users = mysql_fetch_assoc($GetUsers)) {</p><p> switch ($Users['rank']) {</p><p> case '2' : $rank = "Trial Moderators"; break;</p><p> case '3' : $rank = "Moderators"; break;</p><p> case '4' : $rank = "Senior Moderators"; break;</p><p> case '5' : $rank = "Community Leaders"; break;</p><p> case '6' : $rank = "Developers"; break;</p><p> case '7' : $rank = "Administrators"; break;</p><p> case '8' : $rank = "Managers"; break;</p><p> case '9' : $rank = "Owner"; break;</p><p> case '10' : $rank = "Manager"; break;</p><p> }</p><p> if($Users['online'] == 1){</p><p> $OnlineStatus = "<span style=\"display: inline-block; background: url('{url}/app/tpl/skins/{skin}/img/online.gif') left center no-repeat; width: 40px; height: 16px;\"></span>";</p><p> } else {</p><p> $OnlineStatus = "<span style=\"display: inline-block; background: url('{url}/app/tpl/skins/{skin}/img/offline.gif') left center no-repeat; width: 40px; height: 16px;\"></span>";</p><p> }</p><p>?></p></blockquote><p></p>
[QUOTE="Rystbo, post: 439078, member: 80524"] Give this a try, it might not work but try it, now you might have some minor issues to adjust like the new text, the roots that are in it might be different so just adjust them. Replace----> <?php if(mysql_result(mysql_query("SELECT rank FROM users WHERE id = '" . $_SESSION['user']['id'] . "'"), 0) >= 9) { ?> With this ----> $GetUsers = mysql_query("SELECT id, username, motto, rank, last_online, online, look FROM users WHERE rank > 2 ORDER BY rank DESC"); while($Users = mysql_fetch_assoc($GetUsers)) { switch ($Users['rank']) { case '2' : $rank = "Trial Moderators"; break; case '3' : $rank = "Moderators"; break; case '4' : $rank = "Senior Moderators"; break; case '5' : $rank = "Community Leaders"; break; case '6' : $rank = "Developers"; break; case '7' : $rank = "Administrators"; break; case '8' : $rank = "Managers"; break; case '9' : $rank = "Owner"; break; case '10' : $rank = "Manager"; break; } if($Users['online'] == 1){ $OnlineStatus = "<span style=\"display: inline-block; background: url('{url}/app/tpl/skins/{skin}/img/online.gif') left center no-repeat; width: 40px; height: 16px;\"></span>"; } else { $OnlineStatus = "<span style=\"display: inline-block; background: url('{url}/app/tpl/skins/{skin}/img/offline.gif') left center no-repeat; width: 40px; height: 16px;\"></span>"; } ?> [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
User not showing up on /staff page
Top