Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Reminder to admin when the board is off Details »»
Reminder to admin when the board is off
Version: 1.00, by Scott MacVicar Scott MacVicar is offline
Developer Last Online: Mar 2016 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 05-11-2002 Last Update: Never Installs: 4
 
No support by the author.

Someone requested this on vBulletin.com real quick hack not really a major thing but I'll do it anyway.

open global.php and find
PHP Code:
// check that board is active - if not admin, then display error
if (!$bbactive) {
  if (!
$permissions['cancontrolpanel']) {
    eval(
"standarderror(\"".str_replace("\'""'"addslashes($bbclosedreason))."\");");
    exit;
  }

change to

PHP Code:
unset($board_closed);
// check that board is active - if not admin, then display error
if (!$bbactive) {
  if (!
$permissions['cancontrolpanel']) {
    eval(
"standarderror(\"".str_replace("\'""'"addslashes($bbclosedreason))."\");");
    exit;
  }
  else {
    
$board_closed "<center><b>The board is currently closed to non admins</b></center>";
  }

then in whatever template you want add $board_closed, i just added it to the header template at the very top.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 05-18-2002, 12:40 AM
GOD-Dblade GOD-Dblade is offline
 
Join Date: Apr 2002
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh and one more thing...ive started out with a new db 2 times...and sorry ppn for getting off topic
Reply With Quote
  #23  
Old 05-18-2002, 01:03 AM
Ian's Avatar
Ian Ian is offline
 
Join Date: Mar 2002
Location: Minnesota
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If what you say is true than you shouldn't be getting hacked...
You probably have a trojan or keylogger on your computer.
Reply With Quote
  #24  
Old 05-18-2002, 01:25 AM
GOD-Dblade GOD-Dblade is offline
 
Join Date: Apr 2002
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no i dont...
and yes it is true im not a stupid newb that would run around with a keylogger/trojan on my computer and i kinda run a big gaming site that used to have to do with hacking games.
and this guy is just using a exploit in the php i believe he says he doesnt even have to use the admin panel and he doesnt use it. He leaves no logs in the admin panel and no admin can prune the admin panel and we have no hacks that allow you to edit thephp files within the panel. its just one of vbb's many bugs...the first time this happened it was with the cookie hack...which they supposely fixed with the new db_sql.php file but from what i hear you can still access the accounts threw the usercp..i havent done any testing. But i still do notunderstand how he could admin hisself....unban people and even deadmin everyone and demod everyone without being admin. but today he took a bold step and admined himself thats how i figured out who it was and then i had a long talk with his isp....he shouldnt be online much longer.
and one more thing vbb is a bad ass forum way better then phpbb2...but has a few security issues that need to be delt with...but i guess any forum will have htem no mater what....it just takes some time to find them.
edit:spelling
Reply With Quote
  #25  
Old 05-18-2002, 01:49 AM
GOD-Dblade GOD-Dblade is offline
 
Join Date: Apr 2002
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

oh and one more thing ian...i had a look at your forums and how you say i got a problems and yes i do...with big forums you get more problems...lemme tell you how many members weve had...5k from phpbb2 2.5k from first version of vbb we ran..then we decided to get a new db and have a hole new outlook on the forums and so far since sunday night 700 members
Reply With Quote
  #26  
Old 05-18-2002, 02:22 AM
GOD-Dblade GOD-Dblade is offline
 
Join Date: Apr 2002
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

finally got around to installing the hack....nice job
Reply With Quote
  #27  
Old 05-18-2002, 02:26 PM
Ian's Avatar
Ian Ian is offline
 
Join Date: Mar 2002
Location: Minnesota
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, our forum is still small because we havn't got the mainpage up yet...

What's your php version? If it''s lower than 4.12 you should consider upgrading to patch that security hole. Also, are you sure he doesn't have direct access to the database? This is most likely because than he wouldn't have to go through the control panel... You really post this problem at the vBulletin.com forums, they could probably help you more.
Reply With Quote
  #28  
Old 05-19-2002, 05:15 AM
GOD-Dblade GOD-Dblade is offline
 
Join Date: Apr 2002
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its 4.0.6 php and no he has no access to the phpmyadmin i change the directory a few times a day to make sure and it has .htaccess on it they are once again threating me to take my site down but i have no plans on retaliating on them...im just going to report them and leave it at that...this [better wash my mouth][better wash my mouth][better wash my mouth][better wash my mouth] is getting old mad fast im thinking about closing down my site completely....im tired of this [better wash my mouth][better wash my mouth][better wash my mouth][better wash my mouth].
Reply With Quote
  #29  
Old 08-02-2002, 10:07 PM
The Ghost's Avatar
The Ghost The Ghost is offline
 
Join Date: Feb 2002
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

work's fine on 2.2.6.

Simple but great Hack!

thx!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 11:21 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06672 seconds
  • Memory Usage 2,281KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete