![]() |
[HIS] Hack Installer System (Build 3)
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. |
More screenshots. Looks like PNG images don't get thumbnails. That sucks, doesn't it?
|
The hack creator file will be released in the near future. This post is a placeholder for even more screenshots, considering I just went through 2 posts and now have room for 1 more screen.
|
any info on install?
|
Are there compatibility requirements? I mean, are all vBulletin.org hacks compatible to HIS? If not, is there any compatibility list?
Thanks. |
Only hacks that have written files for the HIS will work. This is more of just an easy way to have an installer for a hack than an end user modification. Hacks that use the HIS should have the HIS files included and uploaded as if it were a normal installer.
|
doesn't work at all here
|
Quote:
|
i had to adjust path's in the files , dunno why
|
Quote:
|
Which hacks currently use this installer?
|
Quote:
uCash and Shop The Shoutbox (original platform) maybe somthing else of ours? O.o |
Quote:
edit: downloaded the zip package. I don't know what to do next .... , no instructions or anything ? :( |
Quote:
If you need abit of help drop by irc.devcore.co.uk /#geekydesigns |
I think a readme/instruction file is needed .....
|
Helpfull hint ...... download the shoutbox and use the files there as a guide
|
I was fooling around with this hack, and optimized it to my needs. I have saved much time in modifying clients bulletin boards. This hack was missing a couple of stuff, but I stuck it in. I will post back with some details that some may take advantage of to fully utilize the whole power of this hack.
Great job Link! |
:) ... keep me up to date drk
|
i have errors
i have errors i have errors i have errors i have errors i have errors i have errors on trying to install the jukebox i get this with the settings Parse error: parse error, unexpected T_STRING in /home/xxxxx/domains/xxxxxx.com/public_html/forums/install/hacks/Jukebox/1/settings.php on line 16 line 16 is PHP Code:
PHP Code:
|
Looking into using HIS for a new hack i am writing, thx for making life a bit easier Link.
Running into 1 problem (well not really problem atm): If there is a database error during install, the db_mysql.php can't include the './includes/functions_log_error.php' because current directory is different then expected. This will be more a nuisance during testing then when a hack is finished. |
OK ... bug report here!
when i auto generate phrase.php the HIS is NOT including email body phrases :( I did the install for the members choice and it sends out an email to let the member know that he has been nominated and invites to add an acceptance speech ... however these phrases are not captured by the his....i can only presume that its because the body phrase are broken into many lines .... i added the phrases manually into the hack phrase.php .... and they dont get installed by the his with the others :( its not so bad for the members choice as there is only 2 email body phrases ... however the vb trader is different ... there are lots of them ;). Suggestion.... The vb trader also has a substancial faq section that is added to the forum FAQ's ... is it possible to add another step to the installer/auto generator for FAQ information? |
Quote:
|
Quote:
|
this hack kinda sucks without a readme dont you think? i mean i want to devolop hacks also
|
Well you're free not to use it.
This is not something that will learn you how to write a hack. It only helps with providing an easy way for a developer to offer an installer for his hack. So i don't see how a readme could make any differnce for you being able to write a hack or not? |
I need the readme for this !
|
There is no readme, it is ment to be an aid to coders. A coder can quickly figure it out himself.
This is not a standalone tool for an end-user. |
Quote:
This query in creator.. PHP Code:
PHP Code:
As best I could tell. I was gonna use it for vBGarage, but for the life of me can't gen the files. If anyone has a heads up on this, please holler. Thanks. |
If you drop into #geekydesigns in devcore matt might be avaible to help
|
Quote:
I noticed that and will do. However when I posted it was about 7:00 AM Sunday in the UK. I figured I'd wait for a more active time to drop in. I don't need this fixed today. But it sure seems like something I'd like to implement. Thanks a bunch for the reply. |
is there a FAQ laying around on how to use this at all?
|
Quote:
|
would i be right to assume that none of this stuff (regarding creating the hack is done dynamically, i have to manually code it into the example files)?
|
seriously, no disrespect to anyone but is their anything THIS hack actually does? or is it just basically a tutorial for creating an installer?
|
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:
Code:
Invalid SQL: SELECT varname, text FROM phrase WHERE varname IN () ORDER BY languageid DESC PHP Code:
|
This is a good idea, but does have some issues that could be a problem. Not knowing 100% how things work, I can't call um bugs.
I attempted to use this with the creator and had no success. However I did learn enough to see how to do the create by hand. After getting that far I decided that the proceedures available to the users were not exactly the logic I would have liked. My experience with the shoutbox factored in as well. Great idea, I hope that it gets turned into a full blown documented tool with some ideas from the community applied to how and what things are done. |
Any SQL error that you run into, will give the above error, and has been reported before i think in this thread.
|
Probably, because the same variable don't work in creator.php.
The MySql IN () is empty. |
Quote:
|
Quote:
|
All times are GMT. The time now is 04:57 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|