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 v2.1 (https://vborg.vbsupport.ru/showthread.php?t=43265)

etones 10-18-2002 05:30 AM

Quote:

Originally posted by \ \ - Speedy - / /
I am trying to install this on 228, and everything went fine up untill the txt file :S It says

Something Different?
// ++++++++++++++++++++
Go to the Admin CP and create a new usergroup.
Call the group Banned by Warnings :: And be sure to restrict all access to the forum from this usergroup!
Then Submit and right click the edit link to that new usergroup. Remember the Usergroupid for the config of the warnconfig.php!
(ie. 8)


Well I did that, but I dont know what file to edit b/c warncongig.php isnt there, and well I looked at the other files, I am going tpo go to bed right now so if someone could reply to this I would be happy, I want to finish this hack ;)


\\- Speedy -//

You set it in the admin control panel now,

Emuman 10-21-2002 05:16 PM

umm i cant find the warnconfig.php file.

groovesalad 10-21-2002 09:25 PM

Where do I find the warnconfig.php file? This hack doesn't seem to work without it.

Erwin 10-21-2002 10:20 PM

Looks like he forgot to include it in his new ZIP file.

Here is a copy of mine - just upload it into your ADMIN directory. Make sure you modify the variables to suit your site.

groovesalad 10-21-2002 10:28 PM

Do you know if this works on 2.2.8? I do'nt get a link to the warnings in the Postbit nor does it link correctly on the Index page.

http://www.groove-salad.com/forum

Erwin 10-21-2002 10:57 PM

It works for 2.2.8 - you may have installed the hack wrongly, or you may have the wrong settings in warnconfig.php (for the forum directory).

g-force2k2 10-22-2002 06:19 PM

im sorry for my awayness as of late... but i don't know when i will be back... im sorry to everyone that i have let down but i have other priorities at the moment...

as for the warnconfig.php i don't know how many times in my thread that i have stated there isn't one ;P its been replaced by the vbulletin options in version 2.0...

etones im not sure but i will take a look...

Apok if you look back i did answer your second question... you have to find the <smallfont color="{pagetextcolor}" and replace it with <smallfont

regards... again im sorry...

g-force2k2

bejita 10-23-2002 06:00 AM

g-force, i modify your scripts specialy on warn.php
if this hack exist please delete it, if no please review it.
i made this for :
- admin can warn all except admin :) ( your default )
- sm can warn all except admin and sm
- mod can warn only to user except admin,sm and mod

this what i change
Code:

                checkwarngroup($admin);
change/replace with
Code:

if (($bbuserinfo[usergroupid]==5) and ($admin==6)){
                checkwarngroup($admin);
}
if (($bbuserinfo[usergroupid]==7) and ($admin==6)){
                checkwarngroup($admin);
}
if (($bbuserinfo[usergroupid]==7) and ($admin==5)){
                checkwarngroup($admin);
}
else {}

please check again my code

Erwin 10-23-2002 12:01 PM

Quote:

Originally posted by g-force2k2
as for the warnconfig.php i don't know how many times in my thread that i have stated there isn't one ;P its been replaced by the vbulletin options in version 2.0...

g-force2k2

Really? I'm using version 2.0... I should probably delete my warnconfig.php then. :)

Miztah 10-24-2002 06:44 PM

How can I get the Warning Level/Points to appear in the welcome panel?


All times are GMT. The time now is 12:54 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.01617 seconds
  • Memory Usage 1,747KB
  • 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
  • (2)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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