Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases

Reply
 
Thread Tools
Warning Hack V1.5 Details »»
Warning Hack V1.5
Version: 1.00, by Zero Tolerance Zero Tolerance is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 05-19-2004 Last Update: 07-12-2004 Installs: 161
 
No support by the author.

Version 1.5 Note: You must have v1 installed to upgrade, the upgrade process is small so there was no need to write out a fresh install.

It has come to my attention that a "decent" warning system isn't available here on vbulletin.org, which is quite a shame, and because forums like mine, and probably yours need a simple yet advanced warning system to keep things under wraps

Anyway, i thought i might aswell release what i made, prior to me getting off my ass... lol

Administration Features:
View Warning Logs
- Displays all warnings, warned user, warned by, link to the warned post, date, warning type, and the comment specified when the warning was given, and a remove warning link
(Remove will remove the log and also put the members warning level back down in accordance to how much it was increased by the selected warning removed)
Unban Banned Members
- A simple page that you should visit every few days, it will automatically ban any auto banned users by the warning system where there ban time has expired
Warning Options
- Here you can set the following:
-- Number of warn points before member is auto banned
-- Number of days a member is auto banned for
-- View Warnign Types
-- Add Warning Type
-- Add warning type has the following fields:
---- Name/Description/Warn Points Given

Forum Features:
Every post has "Warn [Name]" and "View [Names] Warnings"
These are only accessiable by a member group which is allowed to "moderate" (Moderating groups are auto detected)
Clicking the Warn link will bring you to a page where you view the user your warning, a link to review the warned post, members current warning level, and below the warning types, has a drop down menu to select the warning type, and a text field to put your comment for why this warning is been issued
Upon completing the warning form, the warned user will be Pm'ed from the person who warned them, with the comment put down and a link to the post

View Warnings link will display logs of only that specified user's warnings, the same features as the admin cp warning logs, only just for this user

Members can access only 1 page of the warning system, which is "View My Warnings", this link is added to the quick links drop down menu
Here they simple view there warnings, just like a moderator would, only without the remove warning link

V1.5 Features:
Protectable Usergroups:
No user's in these defined groups can be warned, or banned.
Root Admin Force Protection:
Userid 1 cannot be warned, canned be banned, this is not optional, this is forced for security.
New Unban Members Set Up:
Now displays all currently banned user's, what time they were banned, what time they are supposed to be unbanned. You may unban the user even if there time has not expired (You will be notificed if they have not served the time issued upon ban, but not stopped). Upon unbanning, you choose the members 'new' warning level and the user's usergroup to move them into
Set banned usergroup:
You can now easily choose from a drop down menu which usergroup user's are sent to if after been warned they are banned.

V1.5 Bug Fixes:
- User locations in 'Users online' shown as unknown if they are warning/viewing warnings (Priority: Medium)
- Unban members system renovated and now fully works (Priotity: Maximum)
- No mysql errors upon sending a pm if the PM table had been altered (Priotity: Maximum)
- New protectable usergroups to stop any group of your choice been banned (Priotity: Maximum)
- Last time visited didn't appear when error page occured (Priotity: Low)
- Un-used global in PM function (Priority: Low)

I hope you enjoy the system, my staff teamare very pleased with it and find it of great use, enjoy the hack

- Zero Tolerance

Show Your Support

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

Comments
  #132  
Old 07-12-2004, 10:16 PM
DiscussNASCAR DiscussNASCAR is offline
 
Join Date: Oct 2003
Location: ATL
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bigreefer
I Installed this hack in VB 3.0.3

All goes great but only one thing does not go.
If i Warn a user an he has reach the Bann-Warnpoits, the Hack dount move the user to a banned group. The user always can use the Forum
we had that problem too. Turned out it was because only their primary group is changed (we have a temp fan usergroup), so, if they had a subgroup that let them in more places, they could still post where we didn't want them to.

dunno if it helps or not, but I guess what I'm getting at is, check for subgroups on that person

lots of issues with this hack. Essentially, all we are using it for now is to keep track of how many points a user has
Reply With Quote
  #133  
Old 07-13-2004, 05:58 PM
Zero Tolerance's Avatar
Zero Tolerance Zero Tolerance is offline
 
Join Date: Feb 2004
Location: England
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 1.5 has been released, check main post to download it. It covers a range of bug fixes and new features which is covering mainly what everyone has asked for, sorry for the delay on this update, been up to my neck working on rpg inferno. But here it is, check the main post to see what's new, enjoy all

- Zero Tolerance
Reply With Quote
  #134  
Old 07-13-2004, 06:25 PM
Jolten Jolten is offline
 
Join Date: Mar 2004
Posts: 749
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Trying to apply the 1.5 update...


Quote:
alter table warning_options
add `banned_usergroup_id` int(15) not null default '0'
add `protected_usergroups` varchar(255) not null default '';
results in

Error


SQL-query+:+


ALTER TABLE warning_options ADD `banned_usergroup_id` int( 15 ) NOT NULL default '0' ADD `protected_usergroups` varchar( 255 ) NOT NULL default ''


MySQL said:

#1064 - You have an error in your SQL syntax near 'ADD++`protected_usergroups` varchar( 255++)++NOT++NULL default++''' at line 1
Reply With Quote
  #135  
Old 07-13-2004, 06:33 PM
Zero Tolerance's Avatar
Zero Tolerance Zero Tolerance is offline
 
Join Date: Feb 2004
Location: England
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*Updates first post*

Missed a comma out, sorry about that, use this:

ALTER TABLE warning_options ADD `banned_usergroup_id` int( 15 ) NOT NULL default '0', ADD `protected_usergroups` varchar( 255 ) NOT NULL default ''
Reply With Quote
  #136  
Old 07-13-2004, 06:39 PM
Jolten Jolten is offline
 
Join Date: Mar 2004
Posts: 749
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Zero.. went smooth now. I really appreciate the work.
Reply With Quote
  #137  
Old 07-13-2004, 06:41 PM
Zero Tolerance's Avatar
Zero Tolerance Zero Tolerance is offline
 
Join Date: Feb 2004
Location: England
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not a problem, glad i could help ^_^. Enjoy,

- Zero Tolerance
Reply With Quote
  #138  
Old 07-13-2004, 07:13 PM
Snatch Snatch is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 124
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great Job !!

But one question.

At my Forum is Warn Level 10 = 1 Day Bann

If I warn a user and he has reach Level 10/10 he was banned for 1 day.
But if I warn him into this bantime the Level does not go for example to 15/10 etc. So if he reach for example 20/10 he banned 2 Days. Ist there a way to do this.

now is it so, if i warn a user and he reach level 10/10 an i ban him into the Bantime again and again the hack makes for the Same juser more and more reason.
Code:
1:
User: tester
Time banned: 21:59 13-07-2004
Time To Be Unbanned: 21:59 14-07-2004

2: 
User: tester
Time banned: 22:05 13-07-2004
Time To Be Unbanned: 22:502 14-07-2004
but i wish, that he add the secound bann tho the first so he has 2 Day Ban instead og 1.

Sorry for bad English
Reply With Quote
  #139  
Old 07-13-2004, 07:32 PM
Zero Tolerance's Avatar
Zero Tolerance Zero Tolerance is offline
 
Join Date: Feb 2004
Location: England
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The system was set up so the warning level cannot go over the limit, so if a user has 9/10 and you warn them 3 points, it will only go to 10/10 (Otherwise that would be a bug)

What your asking could be done but then others may not want as say you give them 12/10 and they get banned for 17 days where normall people get 15/16 days banned. I feel it would be unfair aspecially when it may be done by accident from a mod because they didn't know of this feature therefor that user is banned longer than they should be.

However, in version 2 there will be admin controllable ban length's, and upon been warned if they are to be banned for exceeding the warning limit then a moderator may choose a suitable ban time length.

Hope that will be sufficient for your needs, i feel it would be better

- Zero Tolerance
Reply With Quote
  #140  
Old 07-13-2004, 08:33 PM
j_86 j_86 is offline
 
Join Date: May 2003
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If I was to set an IF condition, that displays to one user gorup only - does this include the sub-usergroups a user may be member of?

Say if there main one is 6, but are also part of 10. And I set if condition bbusergroup == 10 - will they get to see the warning links?
Reply With Quote
  #141  
Old 07-13-2004, 08:35 PM
Zero Tolerance's Avatar
Zero Tolerance Zero Tolerance is offline
 
Join Date: Feb 2004
Location: England
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This post has a way to show the links only to people who can moderate

https://vborg.vbsupport.ru/showpost....7&postcount=19

- Zero Tolerance
Reply With Quote
Reply

Thread Tools

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 07:22 PM.


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.04774 seconds
  • Memory Usage 2,312KB
  • 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
  • (1)bbcode_code
  • (2)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
  • (2)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