![]() |
i found a bug
hi,
in the admincp if you try to add a warning type aws doesn't check if the forum is properly filled in and the warning type just get added with blank fields (and 0 for numerical values) this is a small problem and doesn't reaaly affect the operation of the hack but John if you got 10 times off time please fix that |
Quote:
This is in AdminCP. If an admin enters nothing, or enters stupid values, it is his fault. I agree with you that checks are better than no checks, but if I start checking everything, then programming those checks will eat up all my time. Maybe if I get some free time, I'll add those checks. Rgds |
1 Attachment(s)
hi John,
i added a few checks myself if the warningtypename description or points is empty an error message is displayed that was quite simple one small code edit and three new phrases the rest of the form cannot be left as it is cause those are personal choices and always have a value ... |
Quote:
If you keep up like that, at the end you will be able to write your own AWS! That's how I started with ZT's hack and see where I end up with. LoL, Good work my friend. I'll have a new version out today or tomorrow, with a couple of new additions, like the ability to define a cut-off point, after which the user's signature or avatar will not show, if he has exceeded that limit of warning points. Stay tuned. |
hi,
if anybody wants it .Here's howto do that.In the file /admincp/admin_warn.php find this code PHP Code:
PHP Code:
in your admincp you cando this with the phrasemanager like this 1)type = controlpanel stop message varname=warning_warn_emptywarntype text=Please provide a proper name for the warning type 2)type control panel stop message varname=warning_warn_emptydesc text = please provide a proper description for the warningtype 3)type = control panel stop message varname=warning_warn_emptypoints text=please provide proper points for the warning type 4) type=control panel stop message varname=warning_warn_maturity text=please provide a proper maturity for the warning type that's it easy... |
Quote:
Rgds |
Quote:
|
Good work Delphi, I added those phrases to the installation instructions.
Rgds |
All times are GMT. The time now is 10:39 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:
|