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)

Erwin 09-02-2002 10:52 AM

Also, don't forget to add the following code to the warn_show and warn_add templates right at the top before any of the HTML:

Code:

<head>
$headinclude
</head>

This is so that the < normalfont> tags would work. :)

Gohan 09-02-2002 10:55 AM

Perfect working but one problem

my forum have not folder just only root folder
http://saxxon.squadcenter.de/

so must i change to?
$fdname = ""; // forum directory folder name

Erwin 09-02-2002 11:02 AM

No, use this:

$fdname = "/";

Obi-Wan 09-02-2002 11:34 AM

Quote:

Originally posted by muliman
I found a little Bug in the getinfo_warning template:

Here the original (getinfo_warning):

change to:

Now the link to "View User Warnings" can be found...

Greets,
muliman


Thx m8...was about to ask about it:)

Gohan 09-02-2002 03:01 PM

Quote:

Originally posted by Erwin
No, use this:

$fdname = "/";

Thank ya man!

g-force2k2 09-02-2002 03:54 PM

thanks for the help Erwin ;)

btw Mr. P do you have this coding in the warn_add template?

PHP Code:

<form action="$PHP_SELFmethod=post>
<
input type="hidden" name="action" value="insert_warn"

because im not sure about why you're getting a blank page... its seems like the action isn't being carried through properly... regards...

g-force2k2

hypedave 09-02-2002 05:23 PM

Quote:

Originally posted by Goldknight


uh? Can you give your code of that?

welp that place is about to go through a major re do in a couple of days, so im not gonna worry about it right now. I have installed this on my test board thats going live anyday now

I have to problems

with my server being an NT IIS Server, what is the correct path I need for this coding

$fdname = "forum"; // forum directory folder name

I tryed c:\\folder\\forum location

but that didnt work

aslo when I click the warn user link
I get this following error

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are:

would it be because of my $fdname path???

g-force2k2 09-02-2002 05:33 PM

hyperdave for the directory problems try replace all instances of:

PHP Code:

/$fdname 

with:

PHP Code:

.. 

see if that fixes that problem... as for the warn user link... maybe because its javascript? im not sure...

Edit: you can try replace the javascipt link with:

PHP Code:

<a href='warn.php?s=$session[sessionhash]&action=add_warn&postid=$post[postid]'>[ Warn User ]</a

see if that works? regards...

g-force2k2

hypedave 09-02-2002 06:02 PM

hey I figured my problem out, it would help if I read the directions on where to upload files, dont me how I did this, but I uploaded all the files to the admin directory. any who going to make atest account and ban the heck out of it.

thanks for the speedy help, i'll beback if I finder more problems

g-force2k2 09-02-2002 06:21 PM

lol ;) glad that you figured it out hypedave :) enjoy man... have fun banning the heck out of the tester :p regards...

g-force2k2


All times are GMT. The time now is 10:04 PM.

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.01388 seconds
  • Memory Usage 1,751KB
  • 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_code_printable
  • (4)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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