Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
"Smith" Warning System Details »»
"Smith" Warning System
Version: 1.3.1, by akanevsky akanevsky is offline
Developer Last Online: Feb 2016 Show Printable Version Email this Page

Category: Administrative and Maintenance Tools - Version: 3.6.0 Rating:
Released: 11-20-2006 Last Update: 11-24-2006 Installs: 172
DB Changes Uses Plugins Template Edits
Additional Files  
No support by the author.

I no longer support my hacks. Please feel free to update them and release new versions elsewhere as long as I get the credit for the original modification.

/*================================================= =====================*\
|| "Smith" Warning System
||
|| Author : Anton Kanevsky
|| Co-Author(s) : Mr_Devlin (German Translation)
|| Works on : vBulletin 3.5 / 3.6
|| Released : Nov 25, 2006
||
|| Time required to install: 1 minute
|| Difficulty: easy
\*================================================ ======================*/

DESCRIPTION

Have you been running into troublesome users ever since you have began administering your bulletin board? Have you been forced into banning these users because there was no other way to prevent them from wreaking havoc in your community? Look no further. "Smith" Warning System is a professional solution that features a system of warning points as an alternative to an immediate ban. A must-have tool for a serious administrator.

STATISTICS

File Uploads: 1
Template Changes: 5
Products to Install: 1


FEATURES
  • Configuration Options
    • Banning Threshold (defines the maximum number of points)
    • Banning Usergroup (defines where to move a user after the user has reached the threshold)
    • Automatically Create Warning Usernote for Warned User (yes / no)
    • Fake Warner (a fake person from whom warnings originate)
    • Forum for Information Threads (can be turned off completely)
    • Enable Conditional Display of "Issue New Warning" Link in Showthread and Showpost (Advanced Option; Takes Extra Queries)

  • Extensive Usergroup Permissions
    • Can Issue Warnings
    • Can Administer Warnings
    • Can Disable Notification
    • Can Be Warned
    • Can Override Warning Settings (Defines whether number of points, duration period, reputation effect and revokation cost may be customized per-warning)
    • Can View Own Warnings
    • Can View Others Warnings

  • Warning Type Manager
    • Title & Description
    • Default number of points (customizable per warning)
    • Default duration period (customizable per warning)
    • Default reputation effect (customizable per warning)
    • Default self-revokation cost (customizable per warning)
    • Each warning type can be deactivated or deleted if desired.

  • Warning History Manager
    • Extensive filter for a quick lookup of warnings that much certain criteria.
    • Ability to permanently revoke unexpired warnings as an alternative to complete deletion. That way they stay in the log, but have no further effect.

  • Smart, Full-Featured Front End
    • Amount of points and duration of a warning.
    • Real and "Verbal" (non-penalty) warnings, both of which are recorded into the warning log.
    • If certain setting (vBulletin Options -> Warning System) of the hack is misconfigured, an error message will be displayed when you attempt to issue a new warning, thus preventing your database from potential corruption.
    • Each post can only be warned once.
    • A person may not issue a self-warning.
    • Verbal warnings are displayed with a "verbal" sign in the log in place of the points.
    • Information about an issued warning is automatically recorded into user's usernotes page. If a warning is deleted, the usernote is deleted too. The feature can be turned off if desired.
    • Information about an issued warning is automatically posted in the form of a new thread in a designated forum. The feature can be turned off if desired.
    • If a post has an attached warning, the brief warning details are displayed at the bottom of the post.
    • If a person a positive warning level, it is displayed in the posts and in the profile of that person.
    • Warned posts are automatically locked from any further modifications by their owners.
    • Warning history, once a user has one or more warnings, is available from the user's profile and from posts.
    • Members who have a permission to issue warning are unable to issue warnings to higher-standing usergroups (such as moderator -> supermoderator or supermoderator -> admin).
    • A sophisticated "who's online" handler that shows exactly what a user is doing in the front-end warning system.
    • Only those links to which the viewer has access are displayed. For example, a moderator will not see an "issue new warning" link on a supermoderor's post, but an administrator will.
    • Reputation Effect: Amount of reputation points that will be subtracted from the user's account until the warning expires or is revoked/deleted.
    • Reputation-Based Self-Revokation Capability: Each warning can be set to allow the end user to buy the warning out in exchange for a certain amount of reputation points.

  • Bonus! The following importer has been included into the package:
    • Inferno Warning System v1.3

VERSION HISTORY

1.3.1
Corrected a postbit_legacy template bug.

1.3.0
The first free release that is officially cross-compatible with both vBulletin 3.5 and 3.6.

1.2.2
[F] Corrected a licensing issue.
[F] Corrected a cron bug, which caused an sql error.
[F] Changed behavior of "Can View ___ Warnings" permission to cover the warning level displayed in posts.

1.2.1
[+] Reputation Points Option was removed from vBulletin Options. Instead, Reputation Effect can now be defined per Warning Type and even per Warning.
[+] Reputation-Based Self-Revokation Capability: Each warning can be set to allow the end user to buy the warning out in exchange for a certain amount of reputation points.
[+] Feature to enable creation of warning information threads in a specific forum.
[+] More detailed and better formatted usernotes and notifications.

1.1.0
[+] Ability to Issue Verbal Warnings
[+] Ability to Define a Fake Warner
[+] Automatic Usernotes Creation
[+] Warned Posts May Not Be Modified by the Author
[+] More sophisticated who's online handler
[+] Warning sign on warned posts

1.0.0
Introductory Release

INTRODUCTION

This hack includes a cron, which you do not need to manually add to your cron manager. The cron is added automatically for you once you install the product XML.
If you wish to import your warning data from another warning system, upload warn_import.php from ./do_not_upload/ to ./admincp/ and run it from your browser.

The installation manual is contained within the attached file.

IF YOU LIKE MY HACK, PLEASE CLICK INSTALL

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #112  
Old 01-10-2007, 08:09 PM
slipknottin slipknottin is offline
 
Join Date: May 2006
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im getting the same issue with the two PMs per warning.
Reply With Quote
  #113  
Old 01-10-2007, 09:22 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by slipknottin View Post
Im getting the same issue with the two PMs per warning.
You might want to consider clicking the button just once instead of clicking on it continuously until the picture changes.
Reply With Quote
  #114  
Old 01-10-2007, 10:03 PM
Nerudo Nerudo is offline
 
Join Date: Jul 2005
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, im getting a bug while trying to warn someone at my forum.

Code:
Database error in vBulletin 3.6.4:

Invalid SQL:

			UPDATE user 
			SET 
				ws_warninglevel = 10, pmtotal = pmtotal + 1, pmunread = pmunread + 1, reputation = -463, reputationlevelid = 
			WHERE 
				userid = 210126 
			LIMIT 1;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE 
				userid = 210126 
			LIMIT 1' at line 4
Error Number : 1064
Date         : Wednesday, January 10th 2007 @ 09:43:36 PM
Script       : http://forum.hardmob.com.br/warn.php
Referrer     : http://forum.hardmob.com.br/warn.php?do=warn&postid=4783609
Reply With Quote
  #115  
Old 01-10-2007, 10:15 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nerudo View Post
Hi, im getting a bug while trying to warn someone at my forum.

Code:
Database error in vBulletin 3.6.4:

Invalid SQL:

			UPDATE user 
			SET 
				ws_warninglevel = 10, pmtotal = pmtotal + 1, pmunread = pmunread + 1, reputation = -463, reputationlevelid = 
			WHERE 
				userid = 210126 
			LIMIT 1;

MySQL Error  : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE 
				userid = 210126 
			LIMIT 1' at line 4
Error Number : 1064
Date         : Wednesday, January 10th 2007 @ 09:43:36 PM
Script       : http://forum.hardmob.com.br/warn.php
Referrer     : http://forum.hardmob.com.br/warn.php?do=warn&postid=4783609
Do you have any reputation levels defined in your admincp?
Reply With Quote
  #116  
Old 01-11-2007, 04:49 PM
slipknottin slipknottin is offline
 
Join Date: May 2006
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Psionic Vision View Post
You might want to consider clicking the button just once instead of clicking on it continuously until the picture changes.

I do only click it once.
Reply With Quote
  #117  
Old 01-11-2007, 05:20 PM
Nerudo Nerudo is offline
 
Join Date: Jul 2005
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Psionic Vision View Post
Do you have any reputation levels defined in your admincp?
Sure, here is a screenshot.
Reply With Quote
  #118  
Old 01-23-2007, 01:23 PM
Nerudo Nerudo is offline
 
Join Date: Jul 2005
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi again,
I have another error while issue a warning:

Code:
Fatal error:

*xxx has exceeded their stored private messages quota and can not accept further messages until they clear some space.

Unable to proceed with save while $errors array is not empty in class vb_datamanager_pm in /includes/class_dm.php on line 763
Reply With Quote
  #119  
Old 02-03-2007, 10:30 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Nerudo View Post
Hi again,
I have another error while issue a warning:

Code:
Fatal error:

*xxx has exceeded their stored private messages quota and can not accept further messages until they clear some space.

Unable to proceed with save while $errors array is not empty in class vb_datamanager_pm in /includes/class_dm.php on line 763
Well, that means that the guy has a full pmbox. This version does not check for a full pmbox, but the next one will.
Reply With Quote
  #120  
Old 02-05-2007, 05:05 AM
Artificial_Alex Artificial_Alex is offline
 
Join Date: Nov 2006
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I did everything it says todo, and got NO errors, but it doesn't show any links in postbit/profiles.


Even after i triple checked I put the right coding in.



I am running on 3.6.4, know what could have happened?


Also, i set up permissions in usergroups

yet when I go to the link I think it uses to warn posts (http://www.gaminggutter.com/warn.php...&postid=104201) I get this:


-----, you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Reply With Quote
  #121  
Old 02-05-2007, 05:23 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Artificial_Alex View Post
I did everything it says todo, and got NO errors, but it doesn't show any links in postbit/profiles.


Even after i triple checked I put the right coding in.



I am running on 3.6.4, know what could have happened?


Also, i set up permissions in usergroups

yet when I go to the link I think it uses to warn posts (http://www.gaminggutter.com/warn.php...&postid=104201) I get this:


-----, you do not have permission to access this page. This could be due to one of several reasons:

1. Your user account may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
2. If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.
Permissions.
Issuer - Can Warn
Receiver - Can Be Warned
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:37 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.05233 seconds
  • Memory Usage 2,330KB
  • Queries Executed 26 (?)
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
  • (4)bbcode_code
  • (6)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
  • (1)pagenav_pagelinkrel
  • (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