Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
[HIS] Hack Installer System (Build 3) Details »»
[HIS] Hack Installer System (Build 3)
Version: 1.00, by Link14716 Link14716 is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

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.

Comments
  #22  
Old 01-13-2005, 11:07 PM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #23  
Old 01-13-2005, 11:53 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by trafix
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?
FAQ entries are just phrases.
Reply With Quote
  #24  
Old 01-14-2005, 12:05 AM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
FAQ entries are just phrases.
yes they are ... but the faq dbtable holds the info for this
Reply With Quote
  #25  
Old 01-14-2005, 03:54 PM
Kagen Kagen is offline
 
Join Date: Oct 2004
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

this hack kinda sucks without a readme dont you think? i mean i want to devolop hacks also
Reply With Quote
  #26  
Old 01-14-2005, 10:43 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #27  
Old 01-22-2005, 05:53 PM
coldpride coldpride is offline
 
Join Date: Apr 2003
Location: USA
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I need the readme for this !
Reply With Quote
  #28  
Old 01-22-2005, 10:03 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #29  
Old 02-06-2005, 04:10 AM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MarcoH64
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.
That is not the problem I don't think. I get a similar error, but the problem is a query failing and then the template not found error is caused by vB trying to log it I think.

This query in creator..
PHP Code:
                // Grab all the phrases for the settinggroups, then unset the unneeded variable.
                
$teh_settinggroups2 $DB_site->query("SELECT varname, text FROM ".TABLE_PREFIX."phrase WHERE varname IN ($sg_in) ORDER BY languageid DESC"); 
this is the error sent back.

PHP Code:
Invalid SQLSELECT varnametext FROM phrase WHERE varname IN () ORDER BY languageid DESC
mysql error
You have an error in your SQL syntax.  Check the manual that corresponds to your MySQL server version for the right syntax to use near ') ORDER BY languageid DESC' at line 1 
$sg_in seems to be empty...

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.
Reply With Quote
  #30  
Old 02-06-2005, 12:25 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you drop into #geekydesigns in devcore matt might be avaible to help
Reply With Quote
  #31  
Old 02-06-2005, 03:31 PM
noppid noppid is offline
 
Join Date: Mar 2003
Location: Florida
Posts: 1,875
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Zachery
If you drop into #geekydesigns in devcore matt might be avaible to help

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:07 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06833 seconds
  • Memory Usage 2,315KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete