vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Frames in Hack Installation (https://vborg.vbsupport.ru/showthread.php?t=73185)

Cole2026 12-21-2004 10:00 PM

Frames in Hack Installation
 
Description
I have installed a variety of hacks on my board, and have noticed that every script I have used has not had the admin cp menu frames in it, so I created this small if conditional for hackers to use to get those frames to appear during a hacks installation.


Just Add:
PHP Code:

if (empty($_REQUEST['step'])) {
        
print_cp_redirect('index.php?loc=yourscript.php');


After including nessisary files(IE:Global.php) in the installer. Replace yourscript.php with the name of your script. This could be classified as a how to as well, but I thought it would work better at vb.org as a mini mod, because the info is more directed at hackers here. :pirate: This is my first modification, so go easy on me!

C.Birch 12-22-2004 12:53 PM

they dont have them because theres no real need to have the menu when your installing a hack because most give you a link back to the admin cp anyway when your done running the installer.

also its not like your going be wanting to use the menu when installing a hack as stopping a install part way in to it to do something else then going back to the install will just give you no ends of probs due to a partly installed hack.

thats my view anyway.

Erwin 12-22-2004 09:50 PM

Plus you probably want to see the URL in the address bar so you know what step you are at, and know where to go to if something goes wrong. :)


All times are GMT. The time now is 10:04 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.01048 seconds
  • Memory Usage 1,710KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete