cool... i have about 250 hacks in stock, i may switch to this system for the installs once it's released as final...
btw, i was thinking a $vbphrase driven interface would be better... and a cleaner code... if you want someone to help, i will be able to give some times later this week... (for next 2 days it's camping with kids!)
Can this system insert Admin Help items as well?
I really need that and dont fancy inserting them for my own board then give out a SQL dump as that could cause errors...
The Hack Installer System (HIS) is an HTL-like hack. However, it suceeds in one major place the HTL failed: vBulletin.org compliance.
The HIS is a hacker tool - it does not need a seperate installation. It only needs one database table, which is created automatically the first time the script is ran. Thus, it can be distributed along with your hack as its installer as long as you follow the terms:
You may NOT modify hack_install.php or hack_install_bx.php (where x is the build number) and leave it named as such. If you modify hack_install_bx.php, you should not distribute hack_install.php and instead rename your modified hack_install_bx.php to something entirely different (probably youhackname_install.php). ONLY THE OFFICIAL UNMODIFIED FILES MAY BE NAMED hack_install.php AND hack_install_bx.php. Even if you modify and rename, the original copyright text at the top must remain intact.
Eh, well, I think that is all the terms. Anyways, on to this "hack".
This is based off of the uCash & uShop installer, which was based off of the vBadvanced Homepage 1.01 installer by Tigga (Brian Gunter), used with permission.
All hacks have a folder in install/hacks, which then has a folder for each hack build. Of course, a hack author probably would probably only include the current build, it needs to increase with each new release. All hack information is contained within .php files, with the exception of file/template edits, which is usually an .html file. See the included example files to see exactly how it is done.
Template, phrase, and setting files can be automatically generated based on 3 variables in the main hack file (index.php). The queries file, for obvious reasons, must be done by hand, although that should be pretty easy.
Included are the HIS in one .zip, files for a uCash & uShop install in case you need more of an example, and screenshots.
Wow, I'm going to try this out on my forum, and If I'm inpressed, I'll include the installer with my vb ads hack. :nervous:
Warning: readdir(): supplied argument is not a valid Directory resource in /home/codersla/public_html/install/hack_install.php on line 22
Warning: asort() expects parameter 1 to be array, null given in /home/codersla/public_html/install/hack_install.php on line 29
Warning: Invalid argument supplied for foreach() in /home/codersla/public_html/install/hack_install.php on line 30
Fatal error: main(): Failed opening required '' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/codersla/public_html/install/hack_install.php on line 35