Installing: Step 1 - Uploading

At this point, you should have the zip archive "unzipped" and the contents similar to those shown in the structure and CHMOD guide. If you do not have a similar structure, check to make sure you have your zip program preferences set to allow creation of directories and to preserve case and long filenames.

If you haven't done so already, create a new directory on your server named appropriately (if you wanted to access the forums via 'http://www.domain.com/forums/', create a directory called 'forums' in the 'public_html' or 'www' directory on your webserver.

Using your FTP client, move into the directory you wish to upload to (if you followed the above advice, move into the newly created 'forums' directory.)

Using your FTP client, create the following directories "archive_in", "archive_out", "html", "lang", "Skin", "sources", "ssi_templates", "style_images", and "uploads" (TIP: If your FTP client supports "Drag n' Drop" which most modern clients do, you can save yourself some time and effort by simply selecting all the files from the "unzipped" zip archive and drag them into your FTP client window, this will then copy all the files, creating the directories as it goes. If you choose to do this, you can safely ignore most of the following instruction, just remember to CHMOD as outlined in the stucture and CHMOD guide).

Once the directories have been created, CHMOD "archive_in", "archive_out" and "uploads" to 0755 (if you get permissions errors later on, you can CHMOD these to "0777"). Now, upload the contents of the files in your local folders (from the zip file) into the corresponding directories you've just created on your server. Some folders will contain other files and folders, upload them all - preserving the structure you have in your zip file (for example, upload the entire contents of the "html" folder on your computer to the "html" directory on the server).

Once you have finished uploading into the directories, upload the rest of the files "admin.php", "conf_global.php", "conf_mime_types.php", "index.php", "install_templates.txt", "sm_install.php", "ssi.php" to the same place as you created the directories earlier (into "forums" for our example).
CHMOD "conf_global.php" to 0666 (if you get permission denied errors later on, you can CHMOD this to 0777).

That's it, the hard work is now done! You can proceed to the next step.

Installing: Step 2 - Using the Installer
An installer is provided to assist you in entering the information Invision Board needs to connect to your mySQL database and to create your new administrators account.

Run the "sm_install.php" file through your web browser by entering the URL to it into your browser address bar (if you have followed our example, type in http://www.domain.com/forums/sm_install.php, naturally subsituting 'domain.com' for your web address.)

You will be presented with a short information screen, if you receive an error telling you that "conf_global.php" does not have suitable permissions, CHMOD "conf_global.php" to 0777 via your FTP client.

Clicking on proceed will present you with a simple information form. You will need to know your mySQL username and password at this point. If you do not know it, please ask your web host - in most cases it is different from the FTP log in information.

The form is very straightfoward, with only the following points needing closer examination. If you do not know what your mySQL "host" is, try "localhost" (without the quotes). if the mySQL server is on the same server as your website (and in most cases it is) this will suffice.
If you have created a new database for Invision Board, or wish to use an existing database, enter the name of the database in the appropriate field.

Unless you intend to install multiple copies of Invision Board into the same database, you can leave the "table prefix" blank. If you do not have a mySQL password (if you are installing Invision Board on your local server) this can be left blank.
After submitting the form, you will be informed of any errors - if you do get an error similar to "permission denied for user@localhost using password YES" - the chances are you have either your mySQL username, mySQL password or mySQL database name wrong. Consult with your webhost for the correct information and resubmit the form.

If the installation was successful, you will receive notification to that effect.
Follow the link to finish off the installation and to log into your newly installed board. When the log in page loads, enter in the information you chose for your administrator account.
Once you are logged into the board, click on the "Admin CP" link found in the navigation bar to access the Administration Control Panel.

Installing: Step 3 - Admin CP First Steps
The Invision Board administration control panel is a very sophisticated tool. This is where you can create new categories and forums for your board, as well as set bad word filters, edit emoticons, change the board colours and so on. We recommend you browse the documentation at Invision Board before getting attempting some of the more complex operations.

Lets get stuck in!
The first thing you will need to do is remove the "sm_install.php" file from your server; although Invision Board locks the installer after a successful install, it's always a good idea to remove the installer as re-running it will delete your database tables.

Before anyone can post, we need some forums!
If you wish to get stuck in straight away, now would be a good time to create some forums for your members to post in.
In the Administrators CP, click on the "Forum Control" expanding menu in the left menu frame. When it loads, click on "New Category".
If your website was about computers, you could enter "PC Software" as the category name. Submit the form by clicking the button at the bottom of the page.
Now we have a category to "group" the forums, lets create a forum or two.

Click on "New Forum" found in the same expandable menu. Choose "Normal Forum" from the drop down box and proceed.
There are many options here, which are outside the scope of this guide, for more information see the documentation at Invision Board. We can create a new forum without knowing what all the options do. Using our example, you might want a forum dedicated to "Games" - if so, enter "Games" as the forum title, and a suitable description for the new forum. When you have done this scroll down and submit the form by clicking the button at the bottom of the page.

If you now go back to your board, and refresh the page, you will see the new category and forum. Try a little test post to make sure the system is running perfectly.

Congratulations! You have installed and set up your new Invision Board. If you ran into trouble, please click on the "Help!" link in the top menu bar for the FAQ and how to get support.

Thank you for supporting Invision Board




File Structure and CHMOD values
Below is a table showing the file structure and recommended CHMOD values for the file (and in the case of directories, the CHMOD values for the contents of the directories).
The CHMOD values are not needed for Windows based servers and can be safely ignored. The CHMOD values may vary from system to system, if in doubt, CHMOD everything to 0777.
Most systems will not need to CHMOD everything to install successfully, use the table below to determine what needs CHMOD'ding for installation, and what can be left until later.
  File/Folder Name Item CHMOD Value Contents CHMOD Value CHMOD for install Can CHMOD later
PHP file admin.php - - - -
folder archive_in 0755 - X -
folder archive_out 0755 - X -
PHP file conf_global.php 0666 - X -
PHP file conf_mime_types.php - - - -
folder html - - - -
PHP file index.php - - - -
PHP file install_templates.txt - - - -
folder lang 0755 0755 - X
folder Skin 0755 0755 - X
PHP file sm_install.php - - - -
folder sources - - - -
PHP file ssi.php - - - -
folder ssi_templates - - - -
folder style_images 0755 0755 - X
folder uploads 0777 - X -