ALERT!
Click here to register with a few steps and explore all our cool stuff we have to offer!
Home
Upgrade
Credits
Help
Search
Awards
Achievements
 3466

Hide banned members on postbit.

by Shoe - 12-07-2016 - 12:18 PM
#1
Open your index.php in your favorite editor and search for this block of code:


PHP Code:
$query $db->query("
        SELECT s.sid, s.ip, s.uid, s.time, s.location, s.location1, u.username, u.invisible, u.usergroup, u.displaygroup
        FROM "
.TABLE_PREFIX."sessions s
        LEFT JOIN "
.TABLE_PREFIX."users u ON (s.uid=u.uid)
        WHERE s.time>'
$timesearch'
        ORDER BY u.username ASC, s.time DESC
    "
); 

and change to:
Hidden Content
You must register or login to view this content.


thus preventing usergroup with group id of 7 (banned group) from displaying.
[Image: RQyFiiZ.png]
Reply
#2
Neat O: Might be useful if I ever owned another forum XD
@3 is my slut
Reply

Users browsing: 1 Guest(s)