[MODDB] Ban Hammer

Post your MODs, receive and provide feedback!
Topics in this forum are not for MOD support, they are for giving the author feedback.
Forum rules
The topics in this forum are not for general MOD support, they are for giving the MOD author some feedback, ideas and bug reports.
User avatar
RMcGirr83
Supporter
Supporter
Posts: 6242
Joined: 30 Nov 2006, 14:23
Real name: Rich McGirr

Re: [MODDB] Ban Hammer

Post by RMcGirr83 »

and the fix

Code: Select all

                  $user_type_array = array(USER_NORMAL, USER_INACTIVE);
                  // Grab the user id
                  $sql = 'SELECT *
                  FROM ' . USERS_TABLE . '
                  WHERE ' . $db->sql_in_set('user_type', $user_type_array) . ' AND username_clean = "' . $username . '"';
                  $result = $db->sql_query($sql);
User avatar
bonelifer
Administrator
Administrator
Posts: 477
Joined: 24 Jun 2006, 17:48
Real name: William
Location: htpc.MythBuntu

Re: [MODDB] Ban Hammer

Post by bonelifer »

Senoir Richard. You are the man. Sam-T get on getting the next version out the door. You can DO IT.
User avatar
Unknown Bliss
New member
New member
Posts: 45
Joined: 24 Oct 2010, 02:08
Real name: Michael.C.
Location: Inside your head.

Re: [MODDB] Ban Hammer

Post by Unknown Bliss »

Very nice MOD you got here. Well done.
User avatar
bonelifer
Administrator
Administrator
Posts: 477
Joined: 24 Jun 2006, 17:48
Real name: William
Location: htpc.MythBuntu

Re: [MODDB] Ban Hammer

Post by bonelifer »

Ok found the trash can mod. It's a quick tools mod, but the ACP part and the SQL stuff should be what you need.

Move to trash -->> http://phpbb3hacks.com/viewtopic.php?f=37&t=331
Post Reply