How To: Manual Install with the HIS
by
10 Feb 2005
Yes i know the title sounds confusing but in my release threads i have a few replies for ppl wanting manual install instructions instead of using the HIS.... so here it is STEP 1 - QUERIES The HIS installs the queries second last, however for manul instilation we have to do them first. Open install/hachs/xxxxx/x/queries.php this is how each querie is coded in this file PHP Code:
$query['new'][] = 'CREATE TABLE '. TABLE_PREFIX .'vb_jukebox_trax (
PHP Code:
CREATE TABLE '. TABLE_PREFIX .'vb_jukebox_trax (
STEP 2 - TEMPLATES Open install/hachs/xxxxx/x/templates.php this is how each template is coded in this file PHP Code:
$templates['jb_jukebox_bit'] = '<tr>
and add a new template with the name 'jb_jukebox_bit' PHP Code:
<tr>
STEP 3 - PHRASES Open install/hachs/xxxxx/x/phrases.php this is how each phrase is coded in this file PHP Code:
$phrase['jb_is_active']['text'] = 'Is this song active..';
However this is quite self explanatory here but ... find the right phrasegroup and add a phrase, in the example phrasegroup id 888 is required so add this phrase under the hacks own phrasegroup using the ['text'] for each. How do I find out what the name of phrasegroup X is? When you view a list of each phrasegroup you will see in the following in the header for each .. like GLOBAL Phrases (phrasetypeid = 1) Control Panel Global Phrases (phrasetypeid = 2) Permissions Phrases (phrasetypeid = 3) Forum-Related Phrases (phrasetypeid = 4) Calendar Phrases (phrasetypeid = 5) Repeat for each STEP 4 - SETTINGS Open install/hachs/xxxxx/x/settings.php this is how each settings is coded in this file PHP Code:
$setting['jb_defult_title']['titlephrase'] = 'Defult Song Title';
STEP 4.1 - Phrases Open your phrase manager again and add to the vBulletin Settings Phrases (phrasetypeid = 5000) and there are 2 phrases entered for each one. Please note the varname includes the vboption name with the pre and post text FROM $setting['jb_defult_title']['titlephrase'] = 'Defult Song Title'; varname = setting_jb_defult_title_title Text = Defult Song Title FROM $setting['jb_defult_title']['descphrase'] = 'What is the name of the song?'; varname = setting_jb_defult_title_desc Text = What is the name of the song? Repete for each STEP 4.2 - Add settings to database again there is a couple of ways to do this STEP 4.2.1 Open phpmyadmin and select the "setting" table and then select insert enter the following based in the example above varname = jb_defult_title grouptitle = jukebox value = vB Jukebox defaultvalue = vB Jukebox optioncode = displayorder = 20 advanced = 0 volatile = 0 Repete for each STEP 4.2.2 You could build a quirie for each and enter them via the admincp STEP 4.2.3 Fo your forum is in debug mode this will allow you to add settings on the fly in your admincp settings area. STEP 5 - TEMPLATES & FILE EDITS I always influde all template and file mods in the readme file Open install/hachs/xxxxx/x/file_mods.php and Open install/hachs/xxxxx/x/template_mods.php this is how each is coded in this file PHP Code:
$temp_mod['Navigation / Breadcrumb Templates »: navbar'][$i]['note'] = '[If you have modifyed this template before you may like to edit this in your own way. all we need to do it provide a link to vb_jukebox.php and target it to a new browser window.
['note'] = Just a note of what is being done with this edit ['find'] = text to look for in the current file/template ['type'] = what to do ['mod'] = the test that has to be added |