phpBBHacks.com - [Dev] Ban List (updated)
Talk sports at SportsForums.net
StatsForums Home   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in
FAQFAQ   SearchSearch   MemberlistMemberlist   TutorialsTutorials   ContactContact Us
Add Us:     MySpace     Facebook     StumbleUpon
Username:    Password:
Remember Me?    
[Dev] Ban List (updated)
Goto page 1, 2  Next
BlinkList
del.icio.us
Furl
linkaGoGo
reddit
Simpy
Mister Wong
Yahoo! My Web

Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2 Hack Development
 See a User Guidelines violation? Please contact us.
Author Message

monacelli
New User

Joined: 05 Dec 2004
Posts: 15

PostPosted: April 6th 2005, 6:00 pm    Post subject: [Dev] Ban List (updated) Reply with quote

Here's an updated version of ThE DrAgOn's Ban List. Since so many people (including myself) had a lot of trouble getting it to work, I thought I'd update it a bit.

I fixed some spelling errors, got rid of the hard-coded language, implemented some fixes posted here in the forums, added sessions, fixed ban reason, and fixed pagination.

Anyway, check it out.

Download
_________________
monacelli -- Dover Mafia | Forums
Back to top
View user's profile Send private message AIM Address

TNM
Well Known User

Joined: 10 Apr 2005
Posts: 113

PostPosted: May 8th 2005, 2:48 am    Post subject: Reply with quote

thanks i couldent get that other one to work
Back to top
View user's profile Send private message

ViPeR5000
Not So New User

Joined: 14 Nov 2003
Posts: 75
Location: Portugal

PostPosted: May 8th 2005, 11:10 pm    Post subject: Reply with quote

works very nice
_________________
WEbSite: www.viper5000.net
Forum : http://forum.viper5000.net only have 325 hacks install and working... and counting up...
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger MSN Messenger

KidneyBoy
Not So New User

Joined: 28 Sep 2003
Posts: 62

PostPosted: May 30th 2005, 12:16 pm    Post subject: Reply with quote

Could somebody please re-upload this link? My Banlist works fine except when it comes to entrering in a reason. No matter what I put in the "reason" box, the following message is displayed: "No Reason Was Given." I want it to reflect the REASON the ban is there. Supposidly this version worked.

Thanks!
KidneyBoy
Back to top
View user's profile Send private message

bonelifer
Experienced User

Joined: 21 Oct 2004
Posts: 302

PostPosted: September 8th 2005, 11:42 am    Post subject: Reply with quote

Could someone make an addon to show the reason in the members profile as well? Perferably displayed below "Interests:" with the text "Reason for being banned:". It should only appear when the user has been banned otherwise it the field should not show up on their profile.
Back to top
View user's profile Send private message

TwiSteD
Experienced User

Joined: 18 May 2004
Posts: 492
Location: North Carolina

PostPosted: September 8th 2005, 3:46 pm    Post subject: Reply with quote

if monacelli doesn't mind, i wouldnt mind adding those addons for y'all....
Back to top
View user's profile Send private message

Ricky_Racer
Support Team

Joined: 19 Jul 2003
Posts: 1424
Location: Middle of Nowhere, USA

PostPosted: September 10th 2005, 12:02 pm    Post subject: Reply with quote

KidneyBoy, the download link worked for me, but it sure didn't look like the issue of the ban reason wasn't fixed anway I made mine work and posted what I did here Ah censoring links Ok I can copy and paste
Well, I fixed mine, probably not the correct way, but it is working now.
I found the solution in another hack, Advanced Banned User Management v.1.1.2 by Wooly Spud.
Here is what I did to mine
Code:
#
#------[OPEN:]------------------------------------------
#
./admin/admin_user_ban.php
#
#------[FIND:]------------------------------------------
#
         $sql = "SELECT username FROM " . USERS_TABLE . " WHERE user_id = " . $user_list[$i];
         if (!($result = $db->sql_query($sql)))
         {
            message_die(GENERAL_ERROR, 'Unable to get username', '', __LINE__, __FILE__, $sql);
         }
         $row = $db->sql_fetchrow($result);
         $user_name = trim($row['username']); // for mssql compatibility
         $sql = "INSERT INTO " . BANLIST_TABLE . " (ban_userid, user_name, reason, banned_by, date, time) VALUES (" . $user_list[$i] . ", '" . addslashes($user_name) . "', '" . addslashes($reason) . "', '" . addslashes($userdata['username']) . "', '". date("m.d.y") . "', '".date("H:i")."')";
#
#------[REPLACE WITH:]----------------------------------
#
         if(isset($HTTP_POST_VARS['reason']) && $HTTP_POST_VARS['reason'] != "")
         {
            $add_reason = "'".$HTTP_POST_VARS['reason']."'";
         }
         else
         {
            $add_reason = "NULL";
         }
         $sql = "SELECT username FROM " . USERS_TABLE . " WHERE user_id = " . $user_list[$i];
         if (!($result = $db->sql_query($sql)))
         {
            message_die(GENERAL_ERROR, 'Unable to get username', '', __LINE__, __FILE__, $sql);
         }
         $row = $db->sql_fetchrow($result);
         $user_name = trim($row['username']); // for mssql compatibility
         $sql = "INSERT INTO " . BANLIST_TABLE . " (ban_userid, user_name, reason, banned_by, date, time) VALUES (" . $user_list[$i] . ", '" . addslashes($user_name) . "', " . $add_reason . ", '" . addslashes($userdata['username']) . "', '". date("m.d.y") . "', '".date("H:i")."')";
Back to top
View user's profile Send private message Visit poster's website

KidneyBoy
Not So New User

Joined: 28 Sep 2003
Posts: 62

PostPosted: September 10th 2005, 12:48 pm    Post subject: Reply with quote

At the time, the link wasn't working. monacelli emailed me the code, and it worked great on my 2 boards *shrug*

Take it easy
KidneyBoy
Back to top
View user's profile Send private message

monacelli
New User

Joined: 05 Dec 2004
Posts: 15

PostPosted: September 17th 2005, 4:50 pm    Post subject: Reply with quote

TwiSteD wrote:
if monacelli doesn't mind, i wouldnt mind adding those addons for y'all....

By all means, do whatever you want to this mod. ThE DrAgOn hasn't been heard from in years so I'm sure he wouldn't mind either.

I'd love to see it updated, fully working, new features, etc.
_________________
monacelli -- Dover Mafia | Forums
Back to top
View user's profile Send private message AIM Address

252playa
Not So New User

Joined: 30 Jun 2005
Posts: 37

PostPosted: October 19th 2005, 10:46 pm    Post subject: Reply with quote

I want to be able to ban free email accounts..is this possible?
Back to top
View user's profile Send private message AIM Address Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    phpBBHacks.com Support Forums Forum Index -> phpBB 2 Hack Development All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Links: Big Message Boards - Free JavaScript - phpBB2 - phpbb styles - Suporte phpBB - phpBB.it - phpBB Česky - phpBB Turkiye - phpBBArabia.com - phpBB-fr.com - Romanian phpBB online community - phpBB-TW.net - phpBBservice.nl - phpBB Brasil

Network: iFroggy Network Blog - iFroggy Hosting - SportsForums.net - KarateForums.com - YanksBlog.com - PhotoshopForums.com - DeveloperCube - Managing Online Forums - ManagingCommunities.com - CommunityAdmins.com - DrGregHouse.com - Bad Boy Blog - SodaRatings.com - Patrick O'Keefe

< Advertising - Contact Us - Staff - User Guidelines >

Copyright © 2001-2009. iFroggy Network, phpBBHacks.com. All Rights Reserved. Privacy Policy. We Support phpBBHacks.com (of course!).
Powered by phpBB © phpBB Group. phpBB SEO. Hosted by 100MegsWebHosting. We are in no way affiliated with the phpBB Group. phpBB is copyright to the phpBB Group.