![]() |
Mike's Warning System 1.0
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:
That's all I can think of now.... Stats:
Stipulations
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. |
Screenshots:
Showthread admin or mod view (may change as per your settings) Add warning View User warnings Warning list ACP Options ACP Add Warning Type ACP View Warnings ACP View Warning List |
looks good. may use it in future
|
Quote:
?TomokiG? |
This has a GREAT amount of potential, I love the expiry idea.
I may well revert to this from g-force2k2's version. Quote:
|
The expiry idea is great! I was going to install the original warnings system but it wasn't quite like what I was looking for. I think this is though -- as long as it's proved stable ;)
|
Just now I've finished translating and integrating the hack after deinstalling the old one ^^... although I had to retype the old warnings...
And I've to admit... this hack ist much better than the "original" one... Big THX... °TomokiG° |
This looks great, I thought about doing the same thing.
However I'll do the same thing with more for vB3 when its out if I have enough time :D I've put all my hacking on hold now until vB3, I just can't wait for it...so I can hack it to pieces :D |
I have installed this, however, the warn link is not showing up anywhere. Yes, I have followed the instructions to a T, but it is still not working correctly...
EDIT: Damn all these master switches that default to off! ;) |
I found one error. In getinfo, the link to view warnings is wrong (the userid is missing) since it uses $post[userid]. To fix this, and have it work in both the postbit and in getinfo, open up member.php.
Find: PHP Code:
PHP Code:
EDIT: Also, you forgot to add the header to the new warning page, making it look terrible. To fix this, edit your warn_newwarn template. Find: Code:
<body> Code:
$header |
Looks good. I've got gforce2k's one installed too, but this one looks nice. :) Well done.
|
sounds great, thanks for sharing :) I've currently got geforce2k's install. I'll prob stick with that for now. However great work non the less :)
|
Mike did indeed do great job at the task of what I thought was a much needed replacement for g-force2k2's warning system we installed on our site. Thanks Again, Mike. :D
|
Quote:
Eeep...I made that fix to the beta site (see 'dapence' above ;)), but I forgot to add it into the install file...I'll update it in a minute... Quote:
Quote:
A conversion script will take a few days not only because I need to set up both hacks, but also because I need time to...I'm guessing about a week.... |
Quote:
|
Quote:
|
It would help if I had the data and structure to the warnings and warnings_log table with g-force2k2's hack installed for a conversion....
|
Quote:
[/high] I could be wrong.. :speechless: |
Is there a way to change the font and size of the text for the hack?
|
this is a great hack, thanks man :)
|
Sajjid requests a conversion script.
:) |
is this hack stable enuff to use?
l8er sonic |
in your instruction step 1 you state OPEN global.php
which one ? one in forum dir or admin dir |
Quote:
Quote:
I'm going to send in an update in a minute. What you need to do is replace the files, and go to 'Resum' in the admin panel. That's all. Now, the conversion script: After (seemingly) everything that could possibly go wrong in my life, I think I'll have time for that conversion. I'll try to get it out by Friday (I hope). Mike |
Hello all,
I finally finished that upgrade script. If you have g-force2k2's Warning System (v. 2.0 or higher), you can use the upgrade instructions included in the package posted in the first post of this thread. If you are upgrading, use MWS-Upgrade.txt, and warn-upgrade.php. I'll ask a mod to move this to the 'Full Releases' forum :). Thank you everyone for beta testing. Please spread the word, and click Install if you install it. By clicking Install, you will receive updates when I do update it. |
I've just upgraded from g-force2k2's mod, and so far everything seems to be running well.. :)
Just a little thing i picked up on with the upgrade instructions: Code:
FIND: Also.. I wouldn't recommend doing this step: Code:
1. OPEN admin/template.php [high]* Oblivion Knight clicks install.[/high] |
Quote:
Quote:
Finally, anyone who ran the upgrade before this post, please run this query, which I seemed didn't paste into the final upgrade file....but I'll do that now. Code:
DELETE FROM template WHERE title IN('warn_warnlink','warn_viewlink','warn_userinfo','warn_show_warn','warn_show','warn_seelink','warn_redirect_warnsuccess','warn_redirect_userban','warn_pmyes','warn_pmno','warn_pmemail_subject','warn_pmemail_notify','warn_listing','warn_list','warn_Getinfo_warning','warn_error_whywarnself','warn_error_noexist','warn_error_nowarnings','warn_error_noaccess','warn_error_maxwarnlimit','warn_error_emptyreason','warn_error_cantwarngroup','warn_banemail_subject','warn_banemail_notify','warn_add'); |
Fair point to make I guess..
Ran the extra query, thanks for your support with this modification :) |
upgraded flawlessly. thanx.
l8er sonic |
when i add the code
Code:
$WarnUserGroups = explode(",",$WarnUserGroups); |
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? - Devnull |
i cant find the get info template bit :S
|
Quote:
|
Is there anyway to have, instead of days, also have a certain length of time, like 1 hour, 3 hours, etc..?
|
Okay I need help now....Whenever I anyone click's on a user's name, or the profile button, we're getting this error:
"Fatal error: Call to undefined function: checkwarnlink() in C:\Sites\BS Forums\member.php on line 1405" :( |
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. |
Mr. Mike .. umm how would I put
Warning Points: 13 (orwhatever they have) in the postbit? Like under POSTS: POINTS: WARING POITNS: - Speedy |
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] Code:
Posts: $post[posts] Code:
<br>$post[warnlink] Mike |
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.
|
Did you modify showthread.php as per the instructions?
|
All times are GMT. The time now is 04:47 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:
|