Version: 1.00, by Link14716
Developer Last Online: Oct 2023
Version: 3.0.3
Rating:
Released: 11-09-2004
Last Update: Never
Installs: 26
Supported DB Changes
I decided to release what I thought was a stable build 3 early. For those who actually used build 2 in their hacks (if there are any), delete the build 2 files and replace them with the build 3 files (except the example hack). Build 3 changes the way the HIS file are laid out, so hack_install.php was changed quite a bit. Seriously, upgrade. Your build 1/2 hack files will work with build 3.
Now that I've finished my public service announcement, I must not that a hack creator script, allowing for easy creation of the hack files, is not included in this release. I decided to release build 3 before the creator script is finalized. If you want to create hack files now, you'll have to first make a folder for your hack (replacing spaces with underscores), a folder inside for the build number (1 probably, but you can use another number). Then, move the example index.php over and edit it as necessary. Then, upload the folder and index.php to the hacks folder, select it, check "Generate Files" and continue. It will generate all the files needed except the query and modification files. For those, just follow the example file's syntax.
Now, onto the HIS!
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, rename your modified hack_install_bx.php to something entirely different (probably yourhack_install.php) first. 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.
Build 3 is attached, screens should be attached in this post and in the following post.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Try catching me on ICQ today, could be difficult because i seem to be stuck with RL work, and a non-responsive server (and a non-responsive Tech Suppurt ) for a server i administer.
On an upgrade "settinggroups" are never installed. Have a modified version now here, that i will include with one of my hacks. If you want i can send you, but i guess you will figure it out yourself in 10 seconds.
ok now i'm starting to get this thing after more confuz-zed-ness than you shake a stick at.
i must reitterate it should really come with a basic readme/faq. but thank you for your efforts.
i have run into a problem though
PHP Code:
Warning: halt(./includes/functions_log_error.php): failed toopenstream: No such file or directoryinK:\Network\xampp\htdocs\forums\includes\db_mysql.php on line 389
Warning: halt(): Failed opening './includes/functions_log_error.php'forinclusion (include_path='.;K:\Network\xampp\php\pear\')inK:\Network\xampp\htdocs\forums\includes\db_mysql.php on line 389
There seems to have been a slight problem with the EBS:L!VE Forums database.
Please try again by pressing the refresh button in your browser.
An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.
We apologise for any inconvenience.
Database error in vBulletin 3.0.3:
Code:
Invalid SQL: SELECT varname, text FROM phrase WHERE varname IN () ORDER BY languageid DESC
mysql error: You have an error in your SQL syntax. Check the manualthatcorresponds to your MySQL server version for the right syntax tousenear ') ORDER BY languageid DESC' at line 1
mysql error number: 1064
Date: Monday 14th of February 2005 02:41:30 PM
Script: http://localhost/forums/install/hack_install.php
Referer: http://localhost/forums/install/hack_install.php
Username: sabret00the
IP Address: 127.0.0.1
ok it's not as simple as i thought it would be to fix it, the error is here
PHP Code:
// Now grab all the phrases for the settings andunset the unneeded variable.
$teh_settings2 = $DB_site->query("SELECT varname,text FROM ".TABLE_PREFIX."phrase WHERE varname IN ($sg_in) ORDER BYlanguageid DESC");
unset($sg_in);
while ($the_settings2 =$DB_site->fetch_array($teh_settings2)) {
// Figure out what's what and putthem in the setting array.
$varname =str_replace("setting_", "", $the_settings2['varname']);
if (strpos($varname, "_desc")) {
$varname =str_replace("_desc", "", $varname);
$pt = "desc";
} else {
$varname =str_replace("_title", "", $varname);
$pt = "title";
}
$hack_settings[$varname][''.$pt.'phrase'] = str_replace("'", "\'",$the_settings2['text']);
// Now unset some crap.
unset($varname);
unset($pt);
}
the $sg_in doesn't seem to be set
I have exactly the same problem and I there is zero documentation about this HIS system.
The problem is that IF you are using settings.php, you MUST leave the definition of both the $setting and the $settinggroup array in that file. If you are not using either one of them, it still must be defined.
Easiest solution is to keep the following 2 lines in the top of the settings.php file if you use it:
PHP Code:
$settinggroup = array();
$setting = array();
You can always leave those 2 lines in the top. No need to change the install program.