Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Mike's Warning System 1.0 Details »»
Mike's Warning System 1.0
Version: 1.00, by Beorn Beorn is offline
Developer Last Online: Feb 2006 Show Printable Version Email this Page

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.

Comments
  #32  
Old 07-05-2003, 01:23 PM
Soundr Soundr is offline
 
Join Date: Jun 2003
Location: Spain
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #33  
Old 07-05-2003, 08:49 PM
xpguy xpguy is offline
 
Join Date: Feb 2003
Posts: 29
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i cant find the get info template bit :S
Reply With Quote
  #34  
Old 07-06-2003, 10:04 PM
4thgenresource 4thgenresource is offline
 
Join Date: Mar 2003
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
07-05-03 at 10:49 PM xpguy said this in Post #32
i cant find the get info template bit :S
It's under "User Info Display Templates"
Reply With Quote
  #35  
Old 07-06-2003, 10:35 PM
4thgenresource 4thgenresource is offline
 
Join Date: Mar 2003
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there anyway to have, instead of days, also have a certain length of time, like 1 hour, 3 hours, etc..?
Reply With Quote
  #36  
Old 07-07-2003, 02:10 AM
4thgenresource 4thgenresource is offline
 
Join Date: Mar 2003
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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"

Reply With Quote
  #37  
Old 07-07-2003, 04:26 PM
Beorn Beorn is offline
 
Join Date: Jun 2002
Location: Long Island, NY
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #38  
Old 07-08-2003, 05:14 AM
EWorld EWorld is offline
 
Join Date: Jun 2003
Location: Rochester, NY
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mr. Mike .. umm how would I put

Warning Points: 13 (orwhatever they have) in the postbit?

Like under

POSTS:
POINTS:
WARING POITNS:

- Speedy
Reply With Quote
  #39  
Old 07-08-2003, 02:31 PM
Beorn Beorn is offline
 
Join Date: Jun 2002
Location: Long Island, NY
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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].

Mike
Reply With Quote
  #40  
Old 07-10-2003, 09:15 PM
kimbers kimbers is offline
 
Join Date: Jul 2003
Location: N.C.
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #41  
Old 07-10-2003, 11:29 PM
Beorn Beorn is offline
 
Join Date: Jun 2002
Location: Long Island, NY
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you modify showthread.php as per the instructions?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:47 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.07290 seconds
  • Memory Usage 2,307KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete