Thread: Forum Home Enhancements - [YUI] Tabbed Forum Home
View Single Post
  #2  
Old 03 Dec 2008, 02:46
bobster65's Avatar
bobster65 bobster65 is offline
 
Join Date: Mar 2006
Real name: Bob
Installing v2.0.x is much simpler than any previous version of TFH to install, first, you want to remove the following files and revert changes from previous versions to the templates. Note: You may want to keep the tab's data for reference later.

Step 1: Make Reverts

The first step is to revert your forum to not include any tabs, this will be a clean slate for TFH and improve the quality of the installation instructions. Listed below is template edits, file edits, and uploaded files for you to remove and change back to the original. For full reverts needed, please look at the install docs for version 1.0x located in the download package.
  • 1.0x
    1. FORUMHOME - template edits
    2. index.php - file edits; the easiest way to revert this is to download the vBulletin package that corresponds to your version and upload index.php overwriting your changes.
    3. /forum_root/tabs/* - added files, remove directory and files within.
    4. /index_tab.php - An edited copy of index.php if is still there, remove it.
    5. /index_*.php - the backup file the install docs instructed you to change, you may either remove this or rename it back to index.php. This may not correspond to your current version, so your best bet would be the step described in #2.
  • 1.5.0 Beta
    1. clientscript/tabs/ajaxtabs.css - added file, delete.
    2. clientscript/tabs/ajaxtabs.js - added file, delete.
    3. clientscript/tabs/loading.gif - added file, delete.
    4. /tabforumhome.php - added file, delete.
    5. FORUMHOME - template edits, see install doc for v1.5.0 for full changes.
    6. forumhome_forumbit_level1_post - template edits, see install doc for v1.5.0 for full changes.
    7. forumhome_forumbit_level1_nopost - template edits, see install doc for v1.5.0 for full changes.
    8. FORUMHOMETAB - remove the template; clicking [Revert] on the custom template should remove this

Now that you have reverted changes from previous versions, the installation of v2.0 comes next.

Step 2: File Uploads

You want to upload the following files to your server into the corresponding directory on your server. These files are found in the "UPLOAD" folder of the package. Note: The Uploads folder has a syntax of sorting files into sub-folders. These folders correspond to the default names for folders in a vBulletin installation. The files directly found within the "UPLOAD" folder signify the forum root.

Upload the following files:
  • /tabindex.php
  • /tab_blog.php - Note: This is used by the default vBulletin Blog Module. This requires vBulletin Blog to be installed and activated to work.
  • /tab_blog_entry.php - Note: This is not used by the default vBulletin Blog Module. This requires vBulletin Blog to be installed and activated to work. To set the blog module to use this file, use the "Edit Module Functionality" to set the file name to this file.
  • /tab_pt.php - Note: This file is not currently being shipped with Beta 1 - it will ship with Beta 2! This file will be used for the default Project Tools module and requires vBulletin Project Tools to be installed and activated to work.
  • /clientscript/yui/tabview/* - Upload the directory tabview and all files inside of it.
  • /clientscript/yui/elements/* - Upload the directory elements and all files inside of it.
  • /clientscript/yui/fonts/* - Upload the directory fonts and all files inside of it.
  • /clientscript/yui/utilities/* - Upload the directory utilities and all files inside of it.
  • /includes/xml/cpnav_tfh.xml
  • /admincp/tfh.php
  • /admincp/tfh_fixes.php
  • /admincp/tfh_impex.php
  • /admincp/tfh_modules.php

Step 3: Product Import

To do the bulk of the installation, all you need to do is import the file called product_bobster_tfh.xml by following entering the ACP and following this set of links:

ACP -> Plugins & Products -> Manage Products -> [Add/Import Product]

Once you import the product, it will add a template called "FORUMHOMETAB" to all your styles. This template includes the default template data located within the FORUMHOME template's <!-- main --> comments.

Step 4: Template Edits

Template: FORUMHOME

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add Before that line:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If you have a custom FORUMHOME template, follow Option 2 instead of Option 1.

OPTION 1:
Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

OPTION 2 - This is for boards with custom FORUMHOME templates.
Find (This is the default template, yours will vary.):

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Copy your custom modifications and replace the contents of the template "FORUMHOMETAB" with your custom modifications - nothing will be lost from TFH as the template FORUMHOMETAB is just a copy of the default code within <!-- main --> and <!-- /main -->.

After you have copied your code, replace the code you copied above (in the FORUMHOME template) with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Template: forumhome_forumbit_level1_nopost, forumhome_forumbit_level1_post

Add this code to the beginning of the template:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Add this code to the end of the template:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Template: forumhome_forumbit_level1_nopost

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Please Do Not PM me for vBulletin assistance... I am currently only doing customization & addon's for Xenforo.
Reply With Quote