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
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
  #92  
Old 09-02-2002, 10:52 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also, don't forget to add the following code to the warn_show and warn_add templates right at the top before any of the HTML:

Code:
<head>
$headinclude
</head>
This is so that the < normalfont> tags would work.
Reply With Quote
  #93  
Old 09-02-2002, 10:55 AM
Gohan's Avatar
Gohan Gohan is offline
 
Join Date: Nov 2001
Location: The Netherlands
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Perfect working but one problem

my forum have not folder just only root folder
http://saxxon.squadcenter.de/

so must i change to?
$fdname = ""; // forum directory folder name
Reply With Quote
  #94  
Old 09-02-2002, 11:02 AM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, use this:

$fdname = "/";
Reply With Quote
  #95  
Old 09-02-2002, 11:34 AM
Obi-Wan Obi-Wan is offline
 
Join Date: Feb 2002
Posts: 68
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by muliman
I found a little Bug in the getinfo_warning template:

Here the original (getinfo_warning):

change to:

Now the link to "View User Warnings" can be found...

Greets,
muliman

Thx m8...was about to ask about it
Reply With Quote
  #96  
Old 09-02-2002, 03:01 PM
Gohan's Avatar
Gohan Gohan is offline
 
Join Date: Nov 2001
Location: The Netherlands
Posts: 141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Erwin
No, use this:

$fdname = "/";
Thank ya man!
Reply With Quote
  #97  
Old 09-02-2002, 03:54 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the help Erwin

btw Mr. P do you have this coding in the warn_add template?

PHP Code:
<form action="$PHP_SELFmethod=post>
<
input type="hidden" name="action" value="insert_warn"
because im not sure about why you're getting a blank page... its seems like the action isn't being carried through properly... regards...

g-force2k2
Reply With Quote
  #98  
Old 09-02-2002, 05:23 PM
hypedave's Avatar
hypedave hypedave is offline
 
Join Date: Nov 2001
Location: Dallas, Tx
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Goldknight


uh? Can you give your code of that?
welp that place is about to go through a major re do in a couple of days, so im not gonna worry about it right now. I have installed this on my test board thats going live anyday now

I have to problems

with my server being an NT IIS Server, what is the correct path I need for this coding

$fdname = "forum"; // forum directory folder name

I tryed c:\\folder\\forum location

but that didnt work

aslo when I click the warn user link
I get this following error

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

would it be because of my $fdname path???
Reply With Quote
  #99  
Old 09-02-2002, 05:33 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hyperdave for the directory problems try replace all instances of:

PHP Code:
/$fdname 
with:

PHP Code:
.. 
see if that fixes that problem... as for the warn user link... maybe because its javascript? im not sure...

Edit: you can try replace the javascipt link with:

PHP Code:
<a href='warn.php?s=$session[sessionhash]&action=add_warn&postid=$post[postid]'>[ Warn User ]</a
see if that works? regards...

g-force2k2
Reply With Quote
  #100  
Old 09-02-2002, 06:02 PM
hypedave's Avatar
hypedave hypedave is offline
 
Join Date: Nov 2001
Location: Dallas, Tx
Posts: 320
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey I figured my problem out, it would help if I read the directions on where to upload files, dont me how I did this, but I uploaded all the files to the admin directory. any who going to make atest account and ban the heck out of it.

thanks for the speedy help, i'll beback if I finder more problems
Reply With Quote
  #101  
Old 09-02-2002, 06:21 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol glad that you figured it out hypedave enjoy man... have fun banning the heck out of the tester regards...

g-force2k2
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 04:26 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.08518 seconds
  • Memory Usage 2,316KB
  • 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
  • (4)bbcode_php
  • (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
  • (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