The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Mike's Warning System 1.0 Details »» | |||||||||||||||||||||||||
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. Show Your Support
|
Comments |
#22
|
|||
|
|||
Sajjid requests a conversion script.
|
#23
|
||||
|
||||
is this hack stable enuff to use?
l8er sonic |
#24
|
|||
|
|||
in your instruction step 1 you state OPEN global.php
which one ? one in forum dir or admin dir |
#25
|
|||
|
|||
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 |
#26
|
|||
|
|||
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. |
#27
|
||||
|
||||
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: --------------------------------- <BR> $post[warnlink] --------------------------------- ADD AFTER IT: --------------------------------- $post[warnlink] --------------------------------- CLOSE postbit Also.. I wouldn't recommend doing this step: Code:
1. OPEN admin/template.php FIND AND REMOVE: --------------------------------- // +++++++ Warning Hack 2.0 [ g-force2k2 ] +++++++ $only['warn'] = 'Warning System Hack'; // +++++++ Warning Hack 2.0 [ g-force2k2 ] +++++++ --------------------------------- CLOSE admin/template.php [high]* Oblivion Knight clicks install.[/high] |
#28
|
|||
|
|||
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'); |
#29
|
||||
|
||||
Fair point to make I guess..
Ran the extra query, thanks for your support with this modification |
#30
|
||||
|
||||
upgraded flawlessly. thanx.
l8er sonic |
#31
|
|||
|
|||
when i add the code
Code:
$WarnUserGroups = explode(",",$WarnUserGroups); $WarnUserGroupsView = explode(",",$WarnUserGroupsView); $WarnUserGroupsSum = explode(",",$WarnUserGroupsSum); $WarnUserGroupsUnwarnable = explode(",",$WarnUserGroupsUnwarnable); while ($post=$DB_site->fetch_array($posts) and $counter++<$perpage) { if($WarnOnOff) { if(in_array($bbuserinfo['usergroupid'],$WarnUserGroupsSum)) { eval("\$post['warninglvlwords'] = \"".gettemplate("warn_postbitsum")."\";"); } if(in_array($bbuserinfo['usergroupid'],$WarnUserGroupsView)) { eval("\$post['viewwarnings'] = \"".gettemplate("warn_postbitview")."\";"); } if(in_array($bbuserinfo['usergroupid'],$WarnUserGroups) && !in_array($post['usergroupid'],$WarnUserGroupsUnwarnable)) { eval("\$post['addwarning'] = \"".gettemplate("warn_postbitadd")."\";"); } if($post['warninglvlwords'] || $post['viewwarnings'] || $post['addwarning']) { eval("\$post[warnlink] = \"".gettemplate("warn_postbitaddin")."\";"); } } |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|