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)
-   -   Reminder to admin when the board is off (https://vborg.vbsupport.ru/showthread.php?t=38551)

Ordovicium 05-12-2002 08:52 PM

First it also doesn't work on my board, but then I add the $board_closed after:
PHP Code:

  <title>$bbtitle powered by vBulletin</title>
  
$headinclude
</head>
<
body>
$header 

in forumhome template.

Now it works. Thanx for the hack.

Scott MacVicar 05-12-2002 10:15 PM

oops that would be my bad
you can't add it to
header, footer or headerinclude as their loaded before the permissions are checked, you'd have to add
PHP Code:

eval("\$header = \"".gettemplate('header')."\";"); 

after $board_closed in the global.php file to get it to work in the header.

Ian 05-13-2002 02:04 AM

Doing your fix it made the Header appear twice... So literally, I had two headers.

Admin 05-13-2002 10:59 AM

Code:

eval('$header = "' . gettemplate('header') . '";');

Ian 05-14-2002 12:55 AM

What?

Scott MacVicar 05-14-2002 06:03 AM

there is a dot before the equals sign, remove it.

Boofo 05-14-2002 01:15 PM

Quote:

Originally posted by PPN
oops that would be my bad
you can't add it to
header, footer or headerinclude as their loaded before the permissions are checked, you'd have to add
PHP Code:

eval("\$header = \"".gettemplate('header')."\";"); 

after $board_closed in the global.php file to get it to work in the header.

If you add that, will it still work any where else or does it HAVE to go in the header, footer or headerinclude then?

BTW: I used Firefly's update to this already.

GOD-Dblade 05-14-2002 07:54 PM

and yes this is a good hack since vbb is very explotable and if someone got admin on your board while you were on and closed it down itd tell you...so yes it is VERY useful for forums that get hacked alot. lol

Ian 05-14-2002 07:59 PM

If you boards get hacked a lot there's a problem.

GOD-Dblade 05-18-2002 12:36 AM

ive been hacked so many [better wash my mouth][better wash my mouth][better wash my mouth][better wash my mouth]ing times due to vbbs unsecurity..i even have htaccess passs on my mod/admin panels and also they are ******* user names and multi numbers/letters passes also my ftp nobody knows about and in the admin logs it leaves no logs due to they dont even have to use the control panel to get admin/unban ppl/ban i do now know exactly how this is done but yet if you dont realize it VBB isnt secure at all. So far ive been hacked 3 times. 1 time from a rival forum and 2 times from some gay hacking forum. which i got the guy from the hacking forum in deep [better wash my mouth][better wash my mouth][better wash my mouth][better wash my mouth]...


All times are GMT. The time now is 07:59 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.01223 seconds
  • Memory Usage 1,739KB
  • 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
  • (3)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)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