Cole2026
12-21-2004, 10:00 PM
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:
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!
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:
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!