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)

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!


All times are GMT. The time now is 01:46 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.01185 seconds
  • Memory Usage 1,735KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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