MyBB Tutorials

Banned Page Log [Like Nulled] {NO HIDE}

Submitted by Harley, , Thread ID: 41869

Thread Closed
Harley
Hi Puddin! Miss me?
Level:
0
Reputation:
19
Posts:
146
Likes:
19
Credits:
868
26-07-2017, 06:28 PM
This post was last modified: 08-08-2017, 07:44 AM by Harley
#1
This requires the pages plugin here:https://community.mybb.com/mods.php?action=view&pid=936

PHP Code:
<?php
define
("IN_MYBB"1);
require_once 
"./global.php";
require_once 
MYBB_ROOT "inc/class_parser.php";

$query $db->query("SELECT * FROM mybb_banned");
while(
$users $db->fetch_array($query))
{
  
$bannedUsers[] = $users;



for( 
$i$i count($bannedUsers) ; $i++ )
{
 echo 
"UID: ",$bannedUsers[$i]['uid'];
 echo 
"<br/>";
 echo 
"gid: ",$bannedUsers[$i]['gid'];
 echo 
"<br/>";
 echo 
"oldgroup: ",$bannedUsers[$i]['oldgroup'];
 echo 
"<br/>";
 echo 
"dateline: ",$bannedUsers[$i]['dateline'];
 echo 
"<br/>";
 echo 
"bantime: ",$bannedUsers[$i]['bantime'];
 echo 
"<br/>";
 echo 
"reason: ",$bannedUsers[$i]['reason'];
 echo 
"<br/>";

}
?>
I didn't add the username queries if you need/want them let me know.

Users browsing this thread: 1 Guest(s)