vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Warnings System Hack v1.0 (https://vborg.vbsupport.ru/showthread.php?t=42972)

g-force2k2 08-30-2002 10:00 PM

Warnings System Hack v1.0
 
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

g-force2k2 08-31-2002 01:41 AM

Screenshot A :: Admin CP Warning List

g-force2k2

g-force2k2 08-31-2002 01:42 AM

Screenshot B :: Admin CP Warning Log

g-force2k2

g-force2k2 08-31-2002 01:43 AM

Screenshot C :: Admin CP Warning Menu

g-force2k2

g-force2k2 08-31-2002 01:43 AM

Screenshot D :: Add Warning Feature

g-force2k2

g-force2k2 08-31-2002 01:44 AM

Screenshot E :: Warning getinfo template
Notice :: Only appears for Moderators and Administrators if there's warnings to view!

g-force2k2

Goldknight 08-31-2002 01:45 AM

=D it s my most fav hack

/me install!

Awesome hack!

g-force2k2 08-31-2002 01:46 AM

Screenshot F :: Warning Postbit Template
Notice :: Only appears for Moderators and Administrators

g-force2k2

g-force2k2 08-31-2002 01:47 AM

Screenshot G :: View Warning Feature

Last but not least whew... well Enjoy :)

g-force2k2

Link14716 08-31-2002 01:53 AM

If only I can find a way to get this to my new computer, then I'd install it. :(

Tok Muda 08-31-2002 01:54 AM

wuhuu!! nice , i'll try this ASAP :D

Erwin 08-31-2002 02:03 AM

Nice... will install this one... it's a lot better than the previous Warnings Hack. :)

g-force2k2 08-31-2002 02:05 AM

Quote:

Originally posted by Erwin
Nice... will install this one... it's a lot better than the previous Warnings Hack. :)
oh i didn't even know there was one :p everyone was just requesting one so i thought i would take it up ;) regards... Enjoy

g-force2k2

assassingod 08-31-2002 02:07 AM

This is brilliant! Just what I need, thanks alot g-force2k2:)

MHR 08-31-2002 02:45 AM

awesome

lordofgun 08-31-2002 03:45 AM

AMAZING!!! YOU ARE NOW THE MOTHER HACKER!!!

Working perfectly on 2.2.6.

Hack of the century! I've been waiting for this FOREVER! It won't be long til this makes the "top hacks" list on the front page!

/me clicks install!!!

g-force2k2 08-31-2002 04:10 AM

Quote:

Originally posted by lordofgun
AMAZING!!! YOU ARE NOW THE MOTHER HACKER!!!

Working perfectly on 2.2.6.

Hack of the century! I've been waiting for this FOREVER! It won't be long til this makes the "top hacks" list on the front page!

* lordofgun clicks install!!!

thanks man for the compliments ;) im glad that this hack was what you're looking for :) regards...

g-force2k2

hypedave 08-31-2002 05:13 AM

wow this is the first hack im going to implement on the new and improved mindsights

Brad 08-31-2002 05:27 AM

g-force2k2, thanks for all these nice hack releases, i really like how this one looks and might install it tomorrow. :)

Velocd 08-31-2002 06:01 AM

This does look good, if only I had it in the past! :p
Anyway, I'm defiantly going to install this when I get the chance, good job G-force ;)

[high]* Velocd clicks install[/high]

muliman 08-31-2002 07:21 AM

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

SaintDog 08-31-2002 07:31 AM

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

Dean C 08-31-2002 08:10 AM

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

- Mist

NuclioN 08-31-2002 08:17 AM

Very nice! ;)

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

Obi-Wan 08-31-2002 08:37 AM

Best hack i've seen so far..

Great stuff
*click*

muliman 08-31-2002 09:13 AM

Quote:

Originally posted by NuclioN
Very nice! ;)

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

ralitve path!

Greets,
muliman

muliman 08-31-2002 10:26 AM

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

N9ne 08-31-2002 10:50 AM

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 :D :

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?

[D]Vincent 08-31-2002 12:53 PM

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


:E

X-Fan 08-31-2002 01:37 PM

Great hack g-force! Does everything a warning hack should do!

Chris M 08-31-2002 01:40 PM

Works great now that I fixed my Usergroup issue:)

Satan

Goldknight 08-31-2002 03:27 PM

Quote:

Originally posted by Tha Rock
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 :D :

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?

I m not sure if I undy your QQ but this warning hack is not "remove" member's accounts whenever their warning level reach maximum. This warning hack is only get any members to get in Banned usergroup and their account is still in database but only that they cannot post, download attachment, etc.. whatever you modify the usergroup (9) permission. But it does not remove any members' accounts at all. You can unban it and it will change to regular usergroup. QQ that you ask, that s what warning hack is. This hack send members into Banned usergroup whenever warning level reach maximum.

N9ne 08-31-2002 03:31 PM

So which usergroup does this hack send users into once they've reached maximum warnings? I have a special usergroup for banned users so i'd like them to go into that ;)

Goldknight 08-31-2002 03:37 PM

Quote:

Originally posted by Tha Rock
So which usergroup does this hack send users into once they've reached maximum warnings? I have a special usergroup for banned users so i'd like them to go into that ;)
open warnconfig.php and find..

PHP Code:

$banusergroup "8"// usergroupid of the banned group by warnings! 

Change $banusergroup = "8" to $banusergroup = "9" that you made special banned usergroup. That s where your banned members will be if their warning level reach maximum

N9ne 08-31-2002 03:42 PM

perfect, great hack, thanks :)

Goldknight 08-31-2002 03:43 PM

NP =D

g-force2k2 08-31-2002 03:43 PM

muliman :: i will make a seperate addition to fix your needs for the registered groups issue and thanks for finding the little bug ;) i will update asap :) regards...

g-force2k2

N9ne 08-31-2002 03:45 PM

g-force, I just thought i'd show you this page: https://vborg.vbsupport.ru/forumdisp...&pagenumber=14

Almost filled by you :p

g-force2k2 08-31-2002 03:59 PM

Quote:

Originally posted by Tha Rock
g-force, I just thought i'd show you this page: https://vborg.vbsupport.ru/forumdisp...&pagenumber=14

Almost filled by you :p

:p damn i didn't even know you could do that... thanks for the linkage :) regards...

g-force2k2

Link14716 08-31-2002 04:06 PM

Now that I got my proxy to keep me logged in, downloads ;)


All times are GMT. The time now is 02:45 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.01367 seconds
  • Memory Usage 1,819KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete