View Full Version : MODCP, add new ban time
Duckface
04-16-2015, 06:33 PM
Hiya,
Is there currently a button function to add a new temporary ban time, or would I have change the hard code?
ForceHSS
04-16-2015, 08:08 PM
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
Duckface
04-17-2015, 11:42 AM
On the modcp, ban user.
alcazarx
04-17-2015, 12:36 PM
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)
*/
Hiya,
Is there currently a button function to add a new temporary ban time, or would I have change the hard code?
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.
ForceHSS
04-17-2015, 02:29 PM
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.
There is banning in admincp as I stated above
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.