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
  #42  
Old 11-22-2006, 05:04 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Junkie View Post
When I go to forward the private message, this is what shows up in the forwarding box. Notice all of the <hr> tags.



You have been warned by FBJunkie for the following post:
http://www.fantasyfootballgridiron.c...wpost.php?p=18

You have been given 2 warning points, which makes your warning level to be 2.
Be advised that warning threshold is 20.

Warning duration has been set to 30 days, with reputation effect of 20.

To avoid receiving future warnings, please make sure you get familiar with and obey the community rules.

FBJunkie has given the following reason for the warning:
<hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><h r><hr><hr><hr><hr><hr><hr><hr><hr>
Please do not talk about something different other than the posted topic. Thank you.
<hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><hr><h r><hr><hr><hr><hr><hr><hr><hr><hr>

This is an automatically generated message and no reply is required.
However, if you think that you do not deserve this warning, feel free to initiate a dispute by replying.

Alternatively, if you have 100 or more reputation points, you may buy revokation of the warning for these points.
To do so, visit your warning history by clicking on the link in your profile, and then click "Revoke Warning".
No <hr> tags have even been coded into the system. There must be something wrong with your vBulletin installation.
Reply With Quote
  #43  
Old 11-22-2006, 05:27 PM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anthony, I just did a clean install of vB, latest version, installed your MOD, and still getting the lines. Also, when a warning is issued and the PM sent, two messages show as being in the users inbox, but there is just the one message. After reading the message, it shows that there is still one unread message in the inbox.
Reply With Quote
  #44  
Old 11-22-2006, 06:08 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Junkie View Post
Anthony, I just did a clean install of vB, latest version, installed your MOD, and still getting the lines. Also, when a warning is issued and the PM sent, two messages show as being in the users inbox, but there is just the one message. After reading the message, it shows that there is still one unread message in the inbox.
The fact remains that no <hr>'s have ever been coded into the package. Furthermore, I don't think I have ever used <hr> tag in any of my modifications. Make a search through the files contained in the ZIP and you'll find that it's true. If a fresh installation of vBulletin gives you that problem, then either the installation is not fresh or the server at which you are installing vBulletin is malfunctioning.
Reply With Quote
  #45  
Old 11-22-2006, 09:16 PM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any idea why when issuing a warning and the subsequent email why two messages show as being in the users inbox, but there is just the one message; and then after reading the message, it shows that there is still one unread message in the inbox.
Reply With Quote
  #46  
Old 11-22-2006, 09:58 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Junkie View Post
Any idea why when issuing a warning and the subsequent email why two messages show as being in the users inbox, but there is just the one message; and then after reading the message, it shows that there is still one unread message in the inbox.
That may be from a previous bad installation. Do a query:
[SQL]UPDATE user SET pmunread = pmunread - 1 WHERE userid = YOURUSERID[/SQL]
Of course, replace YOURUSERID with the actual userid.
Reply With Quote
  #47  
Old 11-22-2006, 10:22 PM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would I have to do this with every user ID? Mine, and each of the test users that I have set up? And then all other user ID's thereafter?

By the way Anthony, I fixed the lines problem. Don't ask me how; I did something that did fix it. Have you been able to fix the other problem?
Reply With Quote
  #48  
Old 11-22-2006, 10:32 PM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ran the query with my user id "1" and got the following:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'fantasyf_forums.user' doesn't exist
Reply With Quote
  #49  
Old 11-22-2006, 11:10 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Junkie View Post
Would I have to do this with every user ID? Mine, and each of the test users that I have set up? And then all other user ID's thereafter?

By the way Anthony, I fixed the lines problem. Don't ask me how; I did something that did fix it. Have you been able to fix the other problem?
I know what the fix is, but I won't be able to implement it if I have to keep answering your nonsense posts.

Quote:
Ran the query with my user id "1" and got the following:

An error occurred while attempting to execute your query. The following information was returned.
error number: 1146
error desc: Table 'fantasyf_forums.user' doesn't exist
Just like with any other query, you have to prefix the table with the TABLE_PREFIX which you have defined in config.php.
Reply With Quote
  #50  
Old 11-23-2006, 12:00 AM
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Posts: 327
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am sorry if my intelligence level is well below yours. But thanks for the additional help and hopefully this is the last time I need to ask you for any help.
Reply With Quote
  #51  
Old 11-23-2006, 12:33 AM
GoTTi GoTTi is offline
 
Join Date: Jun 2002
Posts: 1,346
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Mattimus1984 View Post
Great we dont have to pay now that rocks
give him a week.
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 06:46 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.06809 seconds
  • Memory Usage 2,330KB
  • Queries Executed 28 (?)
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
  • (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_postinfo_query
  • fetch_postinfo
  • 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