The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Hiya,
Is there currently a button function to add a new temporary ban time, or would I have change the hard code? |
|
#2
|
|||
|
|||
|
You mean
admincp/Users/Ban User or admincp/User Infractions/Add New Automatic Ban or admincp/User Infractions/User Infraction Manager/Add New Automatic Ban |
|
#3
|
|||
|
|||
|
On the modcp, ban user.
|
|
#4
|
||||
|
||||
|
AFAMK you'd have to change the code for adding custom ban time.
PS: @Force: There is no "banning" in ACP. the links link to the ModCP-Menu to ban. /* edit Yes, automatic ban using warning system, but no "normal" ban/unban, this done in ModCP. (read: the relevant forms and actions are taken from there) */ |
|
#5
|
|||
|
|||
|
You have to change the code in modcp/banning.php. If you find the list of options in that file, it should be obvious how you can add a new time. I believe that's the only thing you have to do to add a time in the modcp. Apparently there's a different file if you want to add it for "Add New Automatic Ban" in the admincp.
|
|
#6
|
|||
|
|||
|
There is banning in admincp as I stated above
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|