-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ban Module #220
Ban Module #220
Conversation
veryard
commented
Mar 22, 2019
- phpBB 3 Ban Module
- phpBB 3 Ban Module
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to me, just some minor comments that I've spotted so far.
I haven't tested this at all yet, to do so I will need to spin up a PHPBB 3 install and ban some users. I'll try and get a chance to do that this weekend.
Thanks for the feedback:
I'll get to everything on Sunday. Thanks, |
I'll keep this as requiring changes until I've had a chance to test, then approve it if it looks like everything works. Thanks for the contribution 😄 |
|
Hello, Have made changes:
I looked into this, looks like MyBB stores these bans in the |
I’d be happy with email/IP bans being added at a later date, I think having just standard band would be a big enough improvement on its own.
… On 23 Mar 2019, at 02:17, Brad Veryard ***@***.***> wrote:
Hello,
Have made changes:
Reason will pull from ban_give_reason if ban_reason is empty
Deleted users or users that do not exist in the users table are ignored.
bantime is now generated based from the phpBB fields ban_start & ban_end, treats bans less than one day as a one day ban. (phpBB allows users to be banned for 30 mins, 1 hour etc etc.)
Also, there are IP and email bans, ideally they should be transferred as well.
I looked into this, looks like MyBB stores these bans in the banfilters table which is a bit odd considering it all could be done from one table. I'll have to extend the code to do this some where down the line.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Let me know if you need me to fix/update anything. Brad. |
What if the text contains valid tags, though? Code snippets, etc. |
Sorry, I don't understand what you're saying? |
err... that was for the pull for issue #223 |
|