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)

John 10-27-2002 04:31 PM

I don't see any link in postbit :(

Perhaps someone should make clear that warnconfig.php is no longer needed...

When I click on "View Warning Logs", I get:

Warning: Division by zero in c:\program files\apache group\apache\htdocs\forums\admin\admin_warning.php on line 87

Invalid SQL:
SELECT logid, username, userid, target, targetid, timestamp, type, postid, comment
FROM warnings_log
ORDER BY logid
LIMIT 0,
mysql error: You have an error in your SQL syntax near '' at line 5

mysql error number: 1064

Help? :(

John 10-27-2002 04:51 PM

Weird. I went into vBulletin options, saved them, and it started to work.

Still a few minor niggles though - sometimes, when I warn a user I get this on the redirect page:

Warning: Failed to Receive in c:\program files\apache group\apache\htdocs\forums\warn.php on line 165

Any ideas? Not a real problem, just annoying ;)

Apart from that small thing, an absolutely fantastic hack. We're going to be using this a lot!

Erwin 10-27-2002 05:21 PM

Quote:

Originally posted by WoodiE
Thanks Link14716 that fixed the problem, but now when I log in the admin control panel under:

vBulletin Options -> I have two [Warnings System] links listed. How do i remove the old one?

-WoodiE

Open up phpMyAdmin, go to the "setting" table, and scroll down to the end of the table, and just drop the extra columns. :)

WoodiE 10-28-2002 06:05 PM

Erwin - your a good man...thanks!

-WoodiE

Erwin 10-28-2002 06:37 PM

No problems. :)

desi 10-29-2002 05:47 AM

awesome hack...... installed without any problems .

thankx g-force2k2 :)

Miztah 10-30-2002 01:26 AM

I need help in having the forums display your current warning points in the welcome panel... how can I go about doing this?

Mr_P 11-01-2002 06:45 AM

Latest Version Warnings System Hack v2.1 Can be Found [ Here ]

After a Successful first release i decided to make a more customizeable and more optimizeable Warnings Hack well here it is...

For new installers simply run the auto installer (install_warning.php) and then use the installation_txt.php to make template and file modifications.

Ok is this the complete hack if we download the new version as im a bit confused.
As in the Install Instructions it says :

Notice ::
Open warnconfig.php and configure this according to your forum!

Yet this file is not included in the new zip so does this mean just grab this from the orginal zip or what ?

Kuipo 11-01-2002 06:59 AM

Workd Great, Using 2.2.8 and i did the folowing. Didn't deal with this part of the read me at all
Quote:

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)

Notice ::
Open warnconfig.php and configure this according to your forum!
i made the rest of the changes that the "installation_txt.php" says to make. then i put the files in the dir and used the "install_warning.php" (i had an error here, dunno why i just had to deleate 2 lines from "installation_txt.php": cpheader(); and cpfooter(); they kept giving me problems.)

after that the auto installer did the rest and i went into the CP and set up the options. It's just what i was thinking of earlier today... I wanted a warning script, and this is all i wanted and more.
GREAT JOB g-force2k2. btw, you might want to update the "installation_txt.php" so people dont have to dig through 17 pages of posts to figure out that there doesnt need to be a warnconfig.php ;) anyways.. good job!! *clicks install*

Mr_P 11-01-2002 07:04 AM

hmm so if no warnconfig then how do u select which usergroup is affected by this hack ?

Even in the readme it says the following :
Files to Upload (4)
// ++++++++++++++++++++
install_warning.php (admin directory - auto_installer)
warnconfig.php (admin directory)
admin_warning.php (admin directory)
warn.php (forum directory)

and cheers for quick reply m8

so something aint right or im looking at it different.I did install the old version before and it worked well but i since cleared the board and lost everything.So would like to know for sure that warn config aint needed before going ahead.

also as a final note does anyone know what queries this adds to the board ?


All times are GMT. The time now is 01:42 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.01591 seconds
  • Memory Usage 1,741KB
  • 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_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