Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #11  
Old 01-23-2004, 11:32 PM
KuraFire's Avatar
KuraFire KuraFire is offline
 
Join Date: Oct 2001
Location: inside vB3's .php
Posts: 1,245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MetalGearMaster
I don't understand how exactly the HTL KNOWS whether a hack is a "normal," imported," or "uninstalled" hack. Is it like a page where we can "add" hacks just like we can add styles and input all the info ourselves, and then we can select whether it is a normal hack or an imported hack? and then if we ever uninstall it, click on uninstall in that same page?? something like that at all?

and what's the difference between Normal hacks and Imported Hacks? My guess is that normal hacks are those that are done with a .htl file, but then whats an imported hack???

MGM out
I'll explain this briefly now, cos I'm about to go sleep. Also because it will be made very abundantly clear to you once you get to see the HTL with your own eyes, fully functional etc.

With the HTL, a Hack is not just some file edits and other things you have performed/changed on your vBulletin, but also an entry in a database table. This table holds ALL data relevant for the Hack (paired with another table that takes care of file and template modifications).

Adding Hacks (note: not installing them, but creating them yourself) is indeed done much like the Add Style page (or perhaps rather, the Add User page, as there's a lot of data on that page). In here, however, you don't specify what kind of Hack it is. That's done from the HTL's Install Routine system.

What basically happens when you install a Hack is this:

1) at first you get to choose: Real install, Test Run, Verbose Test Run, and (in case you're not running the install sequence from an already installed Hack) Import to Database.
Real Install will, evidently, really perform all actions and require you to make the file edits.
Test Run and Verbose Test Run will not make any changes whatsoever, but take you through the entire Install Routine for the Hack nonetheless. Verbose will give complete output to what will happen during each step of the installation, should you choose to perform a Real Install.
Import to Database means: insert this Hack's data into my database table(s), without making any changes whatsoever to my system. The benefit for that is that you can look into all the details of the Hack, before choosing to actually install it. You can do test runs of an Imported Hack (meaning: not install anything, but see what happens during install), you can delete Imported Hacks, and you can edit/alter them as your own if you feel you should (keep in mind the Author's copyright and wishes!).

2) if you choose a Real Install or (Verbose) Test Run, you will proceed to go through the various steps of the Install Routine. During each step, the HTL System will keep track of what step you have performed, and store that data in the database with your hack (just like how the vB installation/upgrade keeps track of what Step you are at). If you don't follow the Installation run (if it's a Real install) all the way to the very end, the Hack will appear in the Unfinished Installs section on the Manage Hacks page. From there, you can choose to continue where you left off.

If you choose to import a hack into your database, it will be imported with a certain 'status flag' being set in a way that tells the system that this Hack is not actually installed, but merely imported. Then it will show up in red for you, to tell you that it's an Imported hack.


Make things a bit clearer? Guess I wasn't very brief huh? Ahwell
Reply With Quote
 


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 04:55 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
  • Page Generation 0.06578 seconds
  • Memory Usage 3,247KB
  • Queries Executed 12 (?)
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
  • (20)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (31)post_thanks_box
  • (31)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (31)post_thanks_postbit_info
  • (31)postbit
  • (31)postbit_onlinestatus
  • (31)postbit_wrapper
  • (1)showthread_list
  • (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_threadedmode.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • 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_threaded
  • showthread_threaded_construct_link
  • 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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete