![]() |
Be able to ban users for a certain number of hours
1 Attachment(s)
Be able to ban users for a certain number of hours [LEFT]Template Edit Description: This is an edit of the /modcp/banning.php file. It allows you to ban users for a certain number of hours (you choose). Difficulty: Easy Step 1: Open modcp/banning.php in an editor of your choice, for this tutorial I will be using Notepad ++. On line 261 find the code: PHP Code:
PHP Code:
Step 2: On line 395 find this code: PHP Code:
PHP Code:
PHP Code:
PHP Code:
You can change these to suit you best (or add more). |
Quote:
|
Quote:
|
Quote:
|
If you need something like this, there's a better option with no core file edits at Daily Short Term Banning by BOP5 (Ban users during part of the day or night).
|
Quote:
Just more friendlier banning options for yourself and your staff to use.If both work together you have the best of both worlds.. |
Quote:
|
As skol pointed out, this is mainly to be used if a member is say trying to be annoying just to frustrate staff then you can just block them for say 1 hour or so.
|
Quote:
Ban'em, punch'em, hunt'em down and pee on their front porch!! :D |
All times are GMT. The time now is 01:10 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|