Page 11 of 16

Re: Ban users by x warnings

Posted: Wed Sep 03, 2008 1:58 pm
by Peter77sx
zyxw wrote:
A_O_C wrote:...


could the Admin reverse it? :roll:

Here's one way

http://ktuk.net/phpBB3/viewtopic.php?f= ... 0&p=147871

Re: Ban users by x warnings

Posted: Thu Sep 04, 2008 1:26 am
by mod.der
Help me configuring it.
I need to make it as 3 or 5 warning before a ban.
How do I do that?
Thanks

Re: Ban users by x warnings

Posted: Thu Sep 04, 2008 1:10 pm
by RMcGirr83
From the very first post of the topic
Modification description: Bans a user automaticlly when a user has the number of warnings thats set in the ACP when there is a warning added.
So I would guess the setting is located in the ACP...probably under board settings.

Re: Ban users by x warnings

Posted: Fri Sep 05, 2008 5:11 pm
by dave2p
Do the warnings need to be initiated in different threads or do they have to be done in the ACP for the user in question?

I ask because I have this installed, set for 2 warnings and 7220 minute in the ACP but when two warnings have been issued the user is not banned and can continue to post

running ver 3.02 with a couple of other mods on a system with a Joomla front end - the joomla authentication uses the PHPbb3 database and was allowing a loophole for banned users in that if they logged in the Joomla page and then linked to the forum they could post quite happily even if banned. That loophole is now closed as the forum link requires a login again but this mod still is not working for me.

Re: Ban users by x warnings

Posted: Wed Sep 17, 2008 5:11 am
by moselekm
Lmao, nevermind, found it. It's in Board Settings - Derh :lol: :oops:

Re: Ban users by x warnings

Posted: Sat Sep 27, 2008 12:33 am
by Seether
What happens to the warnings if a user gets unbanned after the given amount of time? Will the counter of warnings be set to zero again?

Re: Ban users by x warnings

Posted: Sat Sep 27, 2008 2:01 pm
by dave2p
Anyone answere my post earlier?

I can issue warnings and they exceed the no set in the ACP but the user can still log in

This Mod is not working on my board.

Re: Ban users by x warnings

Posted: Sat Sep 27, 2008 2:06 pm
by A_O_C
then you made a mistake in your edits. i have 3.0.2 with about 50+ MODs installed an no problem

Re: Ban users by x warnings

Posted: Sun Sep 28, 2008 12:36 am
by dave2p
A_O_C wrote:then you made a mistake in your edits. i have 3.0.2 with about 50+ MODs installed an no problem

Right - this was not an error in the edits as it was working when I first applied it and tested it but had since stopped working. Tracking back through the changes I have made I can only assume that it stopped working around the time I upgraded my board from 3.0.1 to 3.0.2.

Checking old backups I had, the changes to includes/mcp/mcp_warn.php were on files on my live board up until around the time I upgraded to 3.0.2.

That file had been replaced either when I upgraded or when I added one of 7 other mods since then.

Anyway - I re-applied the edits to that file and the Mod is now working again. All the other modded files were fine and retained the edits originally applied.

This may help someone that has a similar problem.

Re: Ban users by x warnings

Posted: Wed Oct 01, 2008 3:44 am
by kramtronix
The mod calls for the following action:

Code: Select all

    INSERT INTO phpbb_config (config_name, config_value) VALUES ('warnings_ban', 3);
    INSERT INTO phpbb_config (config_name, config_value) VALUES ('warnings_ban_expire', 1440);
Where do I do this at? :mrgreen:

Re: Ban users by x warnings

Posted: Wed Oct 01, 2008 4:11 am
by DragonMaster1
kramtronix wrote:The mod calls for the following action:

Code: Select all

    INSERT INTO phpbb_config (config_name, config_value) VALUES ('warnings_ban', 3);
    INSERT INTO phpbb_config (config_name, config_value) VALUES ('warnings_ban_expire', 1440);
Where do I do this at? :mrgreen:

In your cPanel database click the SQL section and add it there and submit

Re: Ban users by x warnings

Posted: Wed Oct 01, 2008 4:27 am
by kramtronix
Alright, I'm a SQLtard. I went to the db, and it opened up something called phpMyAdmin.

I have NO idea what to do in there. I can't lie. :?

Re: Ban users by x warnings

Posted: Wed Oct 01, 2008 6:40 am
by Sunka
When you open phpMyAdmin, then click on left side on your database name
Then when your database show on monitor, then click on SQL on main menu, in text box then paste this:

Code: Select all

INSERT INTO phpbb_config (config_name, config_value) VALUES ('warnings_ban', 3);
INSERT INTO phpbb_config (config_name, config_value) VALUES ('warnings_ban_expire', 1440);
and click GO.
That all

Re: Ban users by x warnings

Posted: Wed Oct 01, 2008 8:15 am
by Paul
Seether wrote:What happens to the warnings if a user gets unbanned after the given amount of time? Will the counter of warnings be set to zero again?
No, it will not be resetted . IF you warn him again he would again be banned, except when the warning was removed as it was to old.

Re: Ban users by x warnings

Posted: Wed Oct 01, 2008 1:04 pm
by Seether
Paul wrote:
Seether wrote:What happens to the warnings if a user gets unbanned after the given amount of time? Will the counter of warnings be set to zero again?
No, it will not be resetted . IF you warn him again he would again be banned, except when the warning was removed as it was to old.
Please explain this to me.
A User will be banned if he gets 3 warnings. Now he gets banned and after 3 days he will be automatically unbanned. He still has got 3 warnings, hmm?
A moderator gives him another warning, then he has got 4 warnings and will be banned again, right? After unbanning his counter of warnings is set to 4.
From time to time a warnings will be removed according to the time limit for warnings, right?


Will the admin be informed if a user gets banned?

thx S.