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)

NTLDR 09-01-2002 03:57 PM

Quote:

Originally posted by hypedave
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting ']' in /home/ochroma/public_html/forums/admin/functions.php(308) : eval()'d code on line 41 [/B]
You haven't edited the code correctly ;)

g-force2k2 09-01-2002 04:11 PM

Ice Man the warnconfig.php goes in the admin directory... also make sure that you edited the admin/functions.php correctly... regards...

g-force2k2

Gohan 09-01-2002 06:45 PM

Great hack! i love you :p
i'll asap installation it

Mr_P 09-01-2002 09:27 PM

Hack looks fine and shows on board but i cant warn no one as i get page not displayed

i can enter the details why they were warned then when i press return thats when i get no page so a path is wrong and i thinl ots this one

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

that is path to my vbb folder so where am i going wrong ?

Also Just relised from the pics in the first post that my warning box dont have the button GO on it .

I did all templates as well so not sure why the button aint showed.

g-force2k2 09-02-2002 01:28 AM

Mr_P did you change the global $gobutton template by any chance? because its the same gobutton as everywhere on the forums really... regards...

g-force2k2

eXtremeTim 09-02-2002 02:28 AM

Very Nice Hack :)

I will most definatly install this one.

Mr_P 09-02-2002 07:35 AM

nope aint changed the button and the go button appears on the forum as normal (just not on that warn box).
To be honest i would`nt ov even knew it was missing to i compared mine to the pics you posted at beginning of thread.

I re-did hack just in case i missed anything but still same

also $fdname = "/VBB/"; // forum directory folder name
is the above correct ?

Mr_P 09-02-2002 08:42 AM

got the button to show by robbing the following code from showthread and inserted it in here

PHP Code:

 <td bgcolor="#13486D"><smallfont color="#FFFFFF">Reason for Warning:<br><input type="text" name="reason" value="" maxlength="100" size="30">
$gobutton              $gobutton     <input type="image" src="https://vborg.vbsupport.ru/images/go.gif" border="0" 
align="absbottom">
   </
td></tr><tr

now when i enter data and warn them and then hit go i still get the page not displayed.

This has something to do with this dont it but i tried all sorts and it still page not displayed ........Any Ideas?

also $fdname = "/VBB/"; // forum directory folder name
is the above correct ?



Not Found
The requested URL was not found on this server

What file is it actually looking for when the Go button is pressed is it warn.php if so then the path above is correct to the vbb folder so warn should be found automatically.

Mr_P 09-02-2002 09:54 AM

nope sorry it fines the extra crap above was me when i was editing the code i forgot to remove excess after messing with it.
I have it all going - everything shows except when i click go i get page not found on this server - if i can solve that then hack is complete and cheers Erwin.

Erwin 09-02-2002 10:29 AM

Installed with no problems... with some minor modifications, specifically using my own JS window opening script. :) Thanks!


All times are GMT. The time now is 11:12 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.02075 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)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