[Awaiting Validation] Advanced Banned User Manager 1.1.2

A place for MOD Authors to post and receive feedback on MODs still in development. No MODs within this forum should be used within a live environment! No new topics are allowed in this forum.
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: MOD Development Forum rules

On February 1, 2009 this forum will be set to read only as part of retiring of phpBB2.
User avatar
Wooly Spud
Registered User
Posts: 166
Joined: Tue Jun 11, 2002 11:18 am

[Awaiting Validation] Advanced Banned User Manager 1.1.2

Post by Wooly Spud »

Updated: May 09, 2003 5:01am cst
This is an advanced version of the current 'Ban Control' that comes with phpbb. This mod displays bans in a list similar to the way the memberlist does and when available displays the last time a banned user visited the site along with their postcount. It also expands the functionality of the ban system by recording the time a ban was created, who created the ban, and allows you to specify a reason for a ban. You can additionaly add a reason to older bans, do mass un-baning, and ban as usual all from the same interface.
>>Advanced Banned User Manager Page

NOTES:
>> As this mod usses phpbb's DBAL, It is assumed that it works well with the usual Databasses.

>> For certain functions this mod uses Java Script and may not work 100% on Netscape 6.0 or earlier versions. I recommend IE v5.5+

>> As of v1.1.0 This Mod requires additional tables to be added to your Database. You must have either some form of database management tool like phpmyadmin to install.

To Do List:
>> Custom Ban Messages when banned members visit site.
>> Temporary Bans.
>> Banned IP Block Grouping.
>> Ban Reason Enhancements.
>> Ban Last Updated Field.
ChangeLog
v0.0.0 - Initial Beta in KMR
v0.0.1 - Open Beta, First major change:
1. Name changed to Advanced Banned User Manager
2. Added Ability to ban users. Works the same as the current ban user module. (uses same code to process bans).
3. Cut 2 un-needed variables
4. Removed Excess unused Code from template file and script.
5. Zip now contains both the Screenshot and the English Language pack.
6. Added use of Pre-existing phpbb variables. (i noticed a ever-so slight speed gain after doing this.)
7. Page now pulls user information for email bans.
v0.0.2 - Fixed Bug...
1. If bans do not exist for a certain Sort method it no longer dies.
2. If there are no bans it now shows a friendly No Bans message.
3. Pagination will only apear on pages if needed.
4. Screenshot is now a png file.
5. Smaller download size.
v0.1.0 - Overhaul
1. Re-did the entire code, Uses DBAL now and has less code makeing it load quicker.
2. Added an All sort option.
v0.2.0 - Minor Stuff
1. Clearified the Instalation instructions in reguards to language packs.
2. Re-organized zip file.
v1.0.0 - Version Numbering fix
1. Conformed to phpbb MOD Version Numbering Standards.
v1.0.1 - phpbb MOD install.txt Compliance
1. Re-did install.txt to conform to official phpbb MOD Template and actions.
v1.1.0 - New Features, Files, Language Handling.
1. Added Following Features. Ban Time, Banned By, Ban Reason, Edit Bans(Lets you add reasons to older bans)
2. Added New File's user_banlist_edit.tpl, and changelog.txt.
3. Removed Screenshot in zip to conserve file size.
4. Re did parts of original tpl file so that its more multi language friendly.
5. Nearly everything is dependant on language variables now.
6. Updated English Language Pack.
7. Renamed zip and Re-did version numbering.
v1.1.1 - Minor code revisions.
1. Switched all die codes to phpbb message_die(GENERAL_ERROR,'') messages.
2. Fixed minor typo in install.txt
3. Cleaned up code in all files to use proper nesting.(sometimes i can be anal about these things when perfecting code)
4. Sort selection now carries over to next page load.
v1.1.2 - Minor bug fix.
1. Fixed bug where some browsers/ later versions of phpbb added an extra instance of the phpbb folder to the links for view and update ban.
Last edited by Wooly Spud on Sun May 18, 2003 10:54 pm, edited 21 times in total.
xmulder
Registered User
Posts: 429
Joined: Thu Jun 27, 2002 8:37 pm

Post by xmulder »

i guess that it will show the last visit even if the user is banned, ie, user A was banned on the 10th and tried to login on the 13th - will it show 13th as thier last visit date?

Looks great - gona try it on me forum later
User avatar
Wooly Spud
Registered User
Posts: 166
Joined: Tue Jun 11, 2002 11:18 am

Post by Wooly Spud »

New version 4.1.1. Check it out.
zemaj
Registered User
Posts: 267
Joined: Thu Mar 07, 2002 3:58 am
Location: Australia
Contact:

Post by zemaj »

Very nice, but here's two things that would really be great:

o a time period after which the user becomes unbanned.
o a reason why the user was banned which could be displayed to the user when logged in.

I've been planning to make a system with those features for a while, but it doesn't look like I'll have the time, but it would be awesome if you could add them to your system, they're not overly hard to do and the would make the system so much easier.

-zem
User avatar
Wooly Spud
Registered User
Posts: 166
Joined: Tue Jun 11, 2002 11:18 am

Post by Wooly Spud »

New version v4.1.2 Minor edit to install.txt thats all.

zem - ill like the reason for banning idea ill look into adding it. As for the time unban im not sure how i would go about it but ill look into it. i cant promis a definite date or time frame but i will look into doing them.
zemaj
Registered User
Posts: 267
Joined: Thu Mar 07, 2002 3:58 am
Location: Australia
Contact:

Post by zemaj »

To do the unban time all you would have to do is add an extra column in the ban table which could hold the ban expire time (or 0 for no expire). THen the script would just have to check to unban users whenever a banned person tries to login or the admin_ban.php page is accessed.

-zem
Spider Slay
I am too lazy to register

Post by Spider Slay »

Yes, reason is really cool. If you can do that, you trully are a sexy man, Wooly.
User avatar
Wooly Spud
Registered User
Posts: 166
Joined: Tue Jun 11, 2002 11:18 am

Post by Wooly Spud »

I have added Ban Time, Ban by, and Ban Reason to this mod. i have not compiled the zip or install yet but ill post the update as soon as i do.

NOTE: This version of the mod requires an sql statement to be executed.
User avatar
Wooly Spud
Registered User
Posts: 166
Joined: Tue Jun 11, 2002 11:18 am

Post by Wooly Spud »

v4.2.0 Now uploaded you can get it from the page above.

Read Changelog for details. Will update Screenshot soon.
User avatar
Wooly Spud
Registered User
Posts: 166
Joined: Tue Jun 11, 2002 11:18 am

Post by Wooly Spud »

Due to MOD DB Standards i have changed the version numbers that appear in all of the changelog and as a result the Current Version Number has Changed.

The New Official Version Number is 1.1.0

See the above changelog fordetails.
User avatar
Wooly Spud
Registered User
Posts: 166
Joined: Tue Jun 11, 2002 11:18 am

Post by Wooly Spud »

New Version 1.1.1
v1.1.1 - Minor code revisions.
1. Switched all die codes to phpbb message_die(GENERAL_ERROR,'') messages.
2. Fixed minor typo in install.txt
3. Cleaned up code in all files to use proper nesting.(sometimes i can be anal about these things when perfecting code)
4. Sort selection now carries over to next page load.
Deriel
Registered User
Posts: 164
Joined: Tue Aug 27, 2002 5:16 pm
Location: Curitiba/PR - Brasil
Contact:

Post by Deriel »

I downloaded/extract the .zip several times but in all the file admin_user_banlist.php appears with 0 kB
Roberdin
Registered User
Posts: 203
Joined: Sun Nov 24, 2002 3:56 pm
Location: London, United Kingdom

Post by Roberdin »

How about this function: Say a banned member tries to login. Automatically, his or her IP address could be added to the ban list to enforce the ban?
Roberdin
User avatar
Wooly Spud
Registered User
Posts: 166
Joined: Tue Jun 11, 2002 11:18 am

Post by Wooly Spud »

Deriel: Ah ok, i fixed that. ive been having issues with FTPing to my site the zip could have got damaged. I just re uploaded it and it is now in working order.

Roberdin: The problem with this comes in with dynamic ip's. If a person that is not banned is in the same ip block as the person that is banned then they end up getting banned inadvertantly parts of the time. The bigest culprit of this ive seen is the Star Wars Galaxies Official Site Forums. It is worth looking into though.
Roberdin
Registered User
Posts: 203
Joined: Sun Nov 24, 2002 3:56 pm
Location: London, United Kingdom

Post by Roberdin »

Ok, but how about a short term ban, say a day. Most banned users try to login sveral times before either posting as a guest or re-registering. However, an auto-IP ban would block further attempts afterwards.
Roberdin
Locked

Return to “[2.0.x] MODs in Development”