Version: 1.00, by Beorn
Developer Last Online: Feb 2006
Version: 2.3.x
Rating:
Released: 05-30-2003
Last Update: Never
Installs: 66
No support by the author.
Hello all. This is a sort of alternative to g-force2k2's Warnings System Hack. He gets all credit for the idea.
Before anyone starts to accuse me of trying to steal his glory, let me explain. The admin of a well sized board that I super-mod asked me to revise g-force2k2's warning system (it was already installed). I downloaded it, looked through it, and decided that I couldn't: he requested that people respect his hack, and not modify it. So, I didn't, and decided to take a swing at it. Since people don't like change, I made it look the same as the original, but work differently.
Features:
Expireable warnings. Each warning type has a default length and value. (can turn this off too)
Warning values can be selected by issuer as per severity of the offense. This can be disabled by the administrator; the default value of warning will be used.
Warning lengths can be selected by issuer as per severity of the offense. This can be disabled by the administrator; the default length of warning will be used.
Relatively quick install: a few file mods, template mods, and then running a script.
Email on warning option (Never, Issuer's choice, Always)
PM on warning option (Never, Issuer's choice, Always)
Email on banning option (yes, no)
Changeable banning threshold
Which usergroups can warn, which can view the sum, which can view all the warnings
Mostly template driven
Add, remove, edit warnings
Add, remove, edit warning types
Stronger admin interface.
That's all I can think of now....
Stats:
Queries added per page: 0
Queries modified: 3 (indirectly: $templatesused needs to be modified)
Queries extra per day: 3+ceil(TheNumberOfUsersWithPointsExpiringToday/10)
Files to modify: 3
Files to add: 3
Install time: 10-15 minutes
Stipulations
Support requests will take a bit (a day or two) to reply due to a somewhat tight schedule.
Please click Install if you use it
DO NOT install this if you have g-force2k2's hack in place. USE THE UPGRADE if you have g-force2k2's hack installed
The package is attached. Screenshots are zipped next. Please click install if you use it.
If you are upgrading from g-force2k2's verison, use MWS-Upgrade.txt, and warn-upgrade.php.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Hey, I just installed your hack, I have some questions though.
1. When you set a warning, lets say 3 points, and a expiry of 5 days, after 5 days will those warning points go? If this happens, how can I set unlimited days?
2. When you add a warning to teh user, you cannot see the header any more, how can I add the header and footer?
Paris Holley - It sounds like you added that code, not replaced it.
Soundr - Yeah, the points are eliminated (but the warning remains so you have a rap sheet on the user). For an infinite one, set the default length to -1. As to the header: open the warn_newwarning template. Find <body>, and add after it $header
4thgenresource - Yeah, it's possible to have < 1 day warnings, but there would be a few modifications involved. Also, it sounds like you didn't remove all of g-force2k2's old warning system. Open the upgrade instruction file, and go to step 5. Make sure you've done everything listed.
Well, Points and Warning Points are the same thing. To make the change (that I think) you would like, open the postbit template, remove the following (if it is there...it may or may not be depending on how far you got through the installation...)
Code:
| $post[warnlink]
Scroll up a bit in the postbit template, and find
Code:
Posts: $post[posts]
Add after that:
Code:
<br>$post[warnlink]
Additionally, you may want to edit warn_postbitaddin and add a <br> (line break) between each of $post[warninglvlwords] and $post[viewwarnings] and $post[addwarning].
I have a problem and i feel like a dork posting this but, when i add the $post[warnlink] nothing shows up in my templates and i set the warning system to on.