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
  #72  
Old 09-01-2002, 10:34 AM
The Ghost's Avatar
The Ghost The Ghost is offline
 
Join Date: Feb 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi again,

now I have more Informations.

it work's but not for all Users in all Posts.

Sometimes I see the link, sometimes not. It's not specific Users....

It is so a great Hack, please help me.
Reply With Quote
  #73  
Old 09-01-2002, 10:52 AM
Goldknight's Avatar
Goldknight Goldknight is offline
 
Join Date: Aug 2002
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Warning system are available only to Admin, SuperMod, and Moderator.

Which users you speak of? members? Moderator? SuperMod?

Edit: I check your link that you post to your board and it look fine to me. What do you mean about "users"?
Reply With Quote
  #74  
Old 09-01-2002, 10:59 AM
The Ghost's Avatar
The Ghost The Ghost is offline
 
Join Date: Feb 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I mean normal Members.

I don't see the link on every Members.

Look at the Screenies.

thx in Advance.
Reply With Quote
  #75  
Old 09-01-2002, 11:00 AM
The Ghost's Avatar
The Ghost The Ghost is offline
 
Join Date: Feb 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

and Screenie 2
Reply With Quote
  #76  
Old 09-01-2002, 11:10 AM
Goldknight's Avatar
Goldknight Goldknight is offline
 
Join Date: Aug 2002
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ah, I got it. Thanks

Can you PM me your postbit and showthread template? I ll check thur if I can find the problem.
Reply With Quote
  #77  
Old 09-01-2002, 11:19 AM
The Ghost's Avatar
The Ghost The Ghost is offline
 
Join Date: Feb 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

thx for your help!

Mystics from the vB Germany Support helped me.

I had an error in my Functions.php. I use the "Away Hack" and placed your code on the false place, so your Hack displays the link only on Offline Users. Very funny

Now it works fine!

Very Great Hack!

thx
Reply With Quote
  #78  
Old 09-01-2002, 11:21 AM
Goldknight's Avatar
Goldknight Goldknight is offline
 
Join Date: Aug 2002
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That s what I think. It s functions problem after all. Glad that you sort it out. =D Have fun with it. It s one of my fav hack

Edit: fyi it s not my hack, it s g-force2k2. I merely help him by beta testing, thanks to him for this hack but welcome anytime.
Reply With Quote
  #79  
Old 09-01-2002, 11:22 AM
Ice Man_00 Ice Man_00 is offline
 
Join Date: Jan 2002
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by The Ghost
Hi,

I have a Problem.

I don't see the Warning Level: 0 [ View User Warnings ] [ Warn This User ] Links on the Admin User's, I think that is normal, but I don't see this link on some Users, too......

Look here:

http://www.root-shell-club.com/board...8752#post28752

The User "Superw?ss" hasn't the Warning link in his post, but he isn't a Moderator, Super Moderator or Admin.

Can anyone help me?

thx in Advance
Just want to say, WOW !! Amazing hack if it had worked

I also have the same problem as he does, still nothing shown in postbit, and Yes i have installed it twice to be shure. but nothing still shows. Any clue ??

Thx.
Reply With Quote
  #80  
Old 09-01-2002, 11:33 AM
Goldknight's Avatar
Goldknight Goldknight is offline
 
Join Date: Aug 2002
Posts: 304
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Under all members or some of members?

If all member, be sure to check your postbit and showthread
Reply With Quote
  #81  
Old 09-01-2002, 12:55 PM
Ice Man_00 Ice Man_00 is offline
 
Join Date: Jan 2002
Posts: 56
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is my showthread template
PHP Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<
html>
<
head><title>$bbtitle $thread[title]</title>
$headinclude
<script language="javascript" type="text/javascript">
<!--
function 
aimwindow(aimid) {
    
window.open("member.php?s=$session[sessionhash]&action=aimmessage&aim="+aimid,"_blank","toolbar=no,location=no,menubar=no,scrollbars=no,width=175,height=275,resizeable=yes,status=no")


}
function 
openeditsigwindow(x,y,sessionhash,userid) {
                
window.open("moderator.php?action=editsig&s="+sessionhash+"&userid="+userid"EditSig""toolbar=no,scrollbars=yes,resizable=yes,width="+x+",height="+y);
}
// -->
<!-- Warnings Hack v1.0 g-force2k2 ] -->
function 
showwarnings(userid) { window.open
("warn.php?s=&action=show_warn&userid="+userid,
 
"show_warn""toolbar=no,scrollbars=yes,resizable=yes,width=600,height=350"); }
function 
addwarnings(postid) { window.open
("warn.php?s=&action=add_warn&postid="+postid,
 
"add_warn""toolbar=no,scrollbars=yes,resizable=yes,width=350,height=150"); }
<!-- 
Warnings Hack v1.0 g-force2k2 ] -->
</
script>
</
head
And this is my postbit template :

PHP Code:
    <td bgcolor="$post[backcolor]width="100%" valign="top">
    <
smallfont>$post[icon] <b>$post[title]</b></smallfont>
    <
p><normalfont>$post[message]</normalfont></p>
    
$post[attachment]
    <
p>$post[signature]</p>
    <
p>$post[editedby]</p>
<!-- 
Warnings Hack v1.0 g-force2k2 ] -->
    <
p align="right"><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged]<br>
    
$post[warnings]</smallfont></p>
<!-- 
Warnings Hack v1.0 g-force2k2 ] -->            
</
td>
</
tr
Hmm....and btw, it dosen`t show on any members, admins, or other registrered members. Can it do something with the config.php file ??

Where the path is: shall it stand the path on the server, i mean like /www/home/vbulletin/forum
or just /forum ??????

And on the usergroupID i have put in more than just one (but i have tried with just one also, same thing) like userid, 2,3,4,5 with "," and not "."

Cheers
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 01:22 AM.


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.05892 seconds
  • Memory Usage 2,337KB
  • 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
  • (2)bbcode_php
  • (1)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