Custom Ban Lengths
What I'm trying to do is add additional ban lengths that are less than 1 day. (one hour, six hours, and twelve hours, specifically).
I found in modcp/banning.php where I can add options to the dropdown menu but these options don't seem to do anything, as they just create a ban that is listed as -0 days.
What I want to know is how to define the values H_1, H_6, and H_12 as hours to ban for. I can't seem to find where D_1, etc, are defined otherwise I could just use that as a reference.
If someone can point me in the right direction that would be rad.
|