[RC] Auto Ban

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
Satanasov
Registered User
Posts: 1310
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

[RC] Auto Ban

Post by Satanasov »

Image

Auto Ban

Description:

Add ability to ban users after N number of board wide warnings

Features:

ACP:
- Activate Auto Ban
- Warnings Ban Limit
- Auto Ban duration
- Auto Ban reason

Installation:

1. Create anavaro folder in %phpBB%/ext
2. cd %phpBB%/ext/anavaro
3. git clone https://github.com/satanasov/autoban.git
4. Board Admin Panel -> Customize -> Manage extensions -> Enable Auto Ban
5. Settings are in Board Settings menu in ACP.
Last edited by Satanasov on Mon Nov 10, 2014 1:43 pm, edited 2 times in total.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.
User avatar
draky
Registered User
Posts: 250
Joined: Tue Dec 10, 2002 2:04 pm
Location: France
Name: Gilles W.
Contact:

Re: [BETA] Auto Ban

Post by draky »

Nice :)

Mispelling :

Code: Select all

How meny warnings for user to auto ban
Should be "many" ;)
Satanasov
Registered User
Posts: 1310
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [BETA] Auto Ban

Post by Satanasov »

Shish ... I am truly illiterate ...
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.
User avatar
wkuzma
Registered User
Posts: 392
Joined: Sun Sep 02, 2007 10:18 pm
Contact:

Re: [BETA] Auto Ban

Post by wkuzma »

I set this up on my system and set the board warning to 2
I then logged in as a user under a test account and made 3 posts
then re-logged in as admin and warned the test account 3 times 1 for each post
the name of the test account was test

The reason I posted that was to show how I tested this.
The test account was not banned even though 3 board warnings was given to the account.
it was set to auto ban = yes
warning count =2
auto ban duration = 30
User avatar
moviehive
Registered User
Posts: 190
Joined: Mon Oct 20, 2014 2:08 am
Name: Aaron T

Re: [BETA] Auto Ban

Post by moviehive »

Works for me you perhaps have a setting wrong. Did you check the ban list? In mine:
Username: Test

Length of ban:
until Sat Feb 07, 2015 4:13 pm

Reason for ban:
Warning limit exceeded

Reason shown to the banned:
Warning limit exceeded
User avatar
wkuzma
Registered User
Posts: 392
Joined: Sun Sep 02, 2007 10:18 pm
Contact:

Re: [BETA] Auto Ban

Post by wkuzma »

moviehive wrote:Works for me you perhaps have a setting wrong. Did you check the ban list? In mine:
Username: Test

Length of ban:
until Sat Feb 07, 2015 4:13 pm

Reason for ban:
Warning limit exceeded

Reason shown to the banned:
Warning limit exceeded
I set it up correctly I guess I will test it some more and check all setting
I did check the ban list
User avatar
moviehive
Registered User
Posts: 190
Joined: Mon Oct 20, 2014 2:08 am
Name: Aaron T

Re: [BETA] Auto Ban

Post by moviehive »

Did you enable the option:
Auto Ban:
Activate banning on certain count of warrnings

First option in the auto ban settings...

If so what's your Warning duration set to.
User avatar
BryanFR
Registered User
Posts: 79
Joined: Wed Aug 27, 2014 4:44 pm
Location: Eure, FR
Contact:

Re: [BETA] Auto Ban

Post by BryanFR »

Hi, I like many systems. Thank you.
I'm student in the life based in France. My community is : http://www.thebryx.cf
Satanasov
Registered User
Posts: 1310
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [BETA] Auto Ban

Post by Satanasov »

wkuzma wrote:I set this up on my system and set the board warning to 2
I then logged in as a user under a test account and made 3 posts
then re-logged in as admin and warned the test account 3 times 1 for each post
the name of the test account was test

The reason I posted that was to show how I tested this.
The test account was not banned even though 3 board warnings was given to the account.
it was set to auto ban = yes
warning count =2
auto ban duration = 30
Sorry, but why were the post needed at all?

The extension works with user warnings - the one made from MCP -> Warnings. I don't think that this is related with the posts of the user.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.
User avatar
wkuzma
Registered User
Posts: 392
Joined: Sun Sep 02, 2007 10:18 pm
Contact:

Re: [BETA] Auto Ban

Post by wkuzma »

Lucifer4o wrote:
wkuzma wrote:I set this up on my system and set the board warning to 2
I then logged in as a user under a test account and made 3 posts
then re-logged in as admin and warned the test account 3 times 1 for each post
the name of the test account was test

The reason I posted that was to show how I tested this.
The test account was not banned even though 3 board warnings was given to the account.
it was set to auto ban = yes
warning count =2
auto ban duration = 30
Sorry, but why were the post needed at all?

The extension works with user warnings - the one made from MCP -> Warnings. I don't think that this is related with the posts of the user.
Ok it worked through the MCP
Thanks I misunderstood the ext
Satanasov
Registered User
Posts: 1310
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [BETA] Auto Ban

Post by Satanasov »

Don't mention it. I thouth you have, so I will have to update the documentation.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.
leschek
Registered User
Posts: 838
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [RC] Auto Ban

Post by leschek »

Wouldn't be better to add settings into ACP - Users and Groups - User security?
Satanasov
Registered User
Posts: 1310
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [RC] Auto Ban

Post by Satanasov »

leschek wrote:Wouldn't be better to add settings into ACP - Users and Groups - User security?
Don't thins so - this is board seting not user securty one.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.
leschek
Registered User
Posts: 838
Joined: Tue Jul 18, 2006 12:49 pm
Contact:

Re: [RC] Auto Ban

Post by leschek »

As user I would looking for such settings first near another ban options, then in forum features and board setting would be last. But now, when I found it (I didn't read point 5 in first post as I installed it with "Upload extensions" extension) I know where the settings are, I'm fine with any location it is in.
Satanasov
Registered User
Posts: 1310
Joined: Sun Jul 29, 2012 5:48 am
Name: Stanislav Atanasov
Contact:

Re: [RC] Auto Ban

Post by Satanasov »

There is a new revision.

It appears I have done a half working extension. Thanks to the user contribution it should be working withowt any issues.
For list of all my extensions go to https://github.com/satanasov
If you want custom functions in some of my products - PM me and we will discuss it.
Post Reply

Return to “Extensions in Development”