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

Reply
 
Thread Tools
Warnings System Hack v1.0 Details »»
Warnings System Hack v1.0
Version: 1.00, by g-force2k2 g-force2k2 is offline
Developer Last Online: May 2008 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 08-30-2002 Last Update: Never Installs: 61
 
No support by the author.

Please Notice Warnings System Hack v2.0 has been released.
View Thread Here

Yeah i promised a release of this one... its pretty self explanatory... its a warning system devised to help keep forums more secure... allows a new way for moderators to ban users...

First off big thanks to GoldKnight for helping me square thing away again and for beta testing

Edit: See quick update [ Here ] for a quick template fix thanks to mulimum regards

Features?
Config Features - Warn Config
- includes moderator exemption inclusion of warings by other moderators
- includes special usergroup for banned by warnings
- includes setable warninglvl limit before banning

Warning System ::
- includes the warning tabs on posts for warning members
- includes viewable lists of warnings per each member (postbit)
- also includes viewable lists on getinfo template
- includes auto log of each warning issued
- includes pm feature to send the user being warned a warning notification
- includes auto banning once the user's warninglvl has reached the banlimit

Admin Features -
Admin CP Based Setup ::
- include a log of all warnings that have been given out... includes who warned who and the viewable post that the warning was issued on, as well as the date. (with a page navigation feature)
- includes a list of all the users who have been issued warnings as well as different options of revoking warnings and unbanning users who were banned by warnings...

whew... on to the to do list

What to do?
// ++++++++++++++++++++
Queires to Run (2)
File Modifications (4)
Template Modifications (4)
Templates to Add (15)
Files to Upload (3)

Instructions in the install_warning.php

If you like this hack please click install thanks in advance... regards... and as always enjoy

g-force2k2

Show Your Support

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

Comments
  #22  
Old 08-31-2002, 07:21 AM
muliman muliman is offline
 
Join Date: Dec 2001
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

very nice, but i have more then 1 usergroup for regged user.
In your warnconfig.php there are this line:
$reggroup = "2"; // usergroupid for registered users

can i change this line to more usergroups?
For example:
$reggroup = "2,10,12,13,14";/ usergroupid for registered users

or dosn´t this match?

THX for help
muliman
Reply With Quote
  #23  
Old 08-31-2002, 07:31 AM
SaintDog SaintDog is offline
 
Join Date: Nov 2001
Location: Tennessee
Posts: 1,975
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There was a hack called HellBan I think that used a similiar system, but yours appears to be slightly more advanced and out of the beta stage (I don't think the other one moved out of beta).

Nonetheless, nice hack and great job. I may install this at vBulletinTemplates seeing that some members seem to be having an attitude problem latley, maybe this will help keep them in line .

- SaintDog
Reply With Quote
  #24  
Old 08-31-2002, 08:10 AM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this looks awesome... ill let someone else install it and report back with their results first though

- Mist
Reply With Quote
  #25  
Old 08-31-2002, 08:17 AM
NuclioN's Avatar
NuclioN NuclioN is offline
 
Join Date: Aug 2002
Posts: 955
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice!

$fdname ="forum" must be a relative path or a full rooth source?
Reply With Quote
  #26  
Old 08-31-2002, 08:37 AM
Obi-Wan Obi-Wan is offline
 
Join Date: Feb 2002
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Best hack i've seen so far..

Great stuff
*click*
Reply With Quote
  #27  
Old 08-31-2002, 09:13 AM
muliman muliman is offline
 
Join Date: Dec 2001
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by NuclioN
Very nice!

$fdname ="forum" must be a relative path or a full rooth source?
ralitve path!

Greets,
muliman
Reply With Quote
  #28  
Old 08-31-2002, 10:26 AM
muliman muliman is offline
 
Join Date: Dec 2001
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I found a little Bug in the getinfo_warning template:

Here the original (getinfo_warning):
Quote:
<tr><td bgcolor="#13486D"><normalfont><b>Warning Level:</b></normalfont></td>
<td bgcolor="#13486D"><normalfont>$userinfo[warninglvl] Warnings&nbsp;<a href='javascript:showwarnings($post[userid])'>[ View User Warnings ]</a></normalfont></td></tr>
change to:
Quote:
<tr><td bgcolor="#13486D"><normalfont><b>Warning Level:</b></normalfont></td>
<td bgcolor="#13486D"><normalfont>$userinfo[warninglvl] Warnings&nbsp;<a href='javascript:showwarnings($userinfo[userid])'>[ View User Warnings ]</a></normalfont></td></tr>
Now the link to "View User Warnings" can be found...

Greets,
muliman
Reply With Quote
  #29  
Old 08-31-2002, 10:50 AM
N9ne N9ne is offline
 
Join Date: Feb 2002
Posts: 1,495
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got a question, when a user is banned by having warnings, how are they banned? I don't wish for them to have their account removed and such, so I have a request :

I've created a new usergroup called "Banned" which's userid=9

Is it possible for some custom code be made for me so when they've received maximum warnings, they go into the banned usergroup instead?
Reply With Quote
  #30  
Old 08-31-2002, 12:53 PM
[D]Vincent's Avatar
[D]Vincent [D]Vincent is offline
 
Join Date: Jun 2002
Location: In my own little world?
Posts: 411
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Vincent]Great I'll install this a little later on


:E
Reply With Quote
  #31  
Old 08-31-2002, 01:37 PM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great hack g-force! Does everything a warning hack should do!
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 04:11 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04833 seconds
  • Memory Usage 2,306KB
  • Queries Executed 27 (?)
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_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