Welcome to Sign in | Join | Help
Home Forums Photos Downloads

Installing phpBB3.0 RC1

  •  05-28-2007, 1:14 AM

    Installing phpBB3.0 RC1

    Works fine so far.  And since I am taking a break from coding I think I will document how I did it in case anyone wants to know if it will work.  I will go over the things specific for a Shared Account.

    You can download phpBB from http://www.phpbb.com/downloads/ It gives you a zip file which we will use.

    I am using DotNetPanel, IE7, phpBB3.0RC1, and The Serenity Dark Purple Style.

    Main Steps:

    • Create a "Web Space" for the website (Can skip this if you wish to add it to an existing Web Site)
    • Create and/or designate a SQL Server Database for the forums. (Has to be linked to the same space as the web site)
    • Setup an email for the forum to Use. (Needs to be with UltimaHosts)
    • Upload and Unzip the phpBB3 software.
    • Run the install script and setup the basic settings.
    • Resecure the Website (Not sure if this is needed or not)

    Web Space

    Existing Website:
    Skip down to "Setting Up The Web Site"

    New Web Space:
    Login to your Account and head over to "Web Sites" on your Hosting Space Menu. Hit "Create Web Site" and select a domain or subdomain you will be using.

    Setting Up The Web Site:
    First, Enable Write Permissions in Security Settings, it will be required for the install to work.
    Second add "index.php" and "default.php" to the Default Documents on the right hand side.
    That is pretty much all that you MUST do here.

    SQL Server 2005 Time
    You should also be able to use MySQL, but I don't know how. I wanted to use SQL Server 2005 for it so I did.

    Using an Existing Server:
    You will need to create a DSN as detailed below in "Creating a DSN". Also make sure you have a user.

    Making a new Database and User
    Head over to Databases -> SQL Server 2005. On the bottom right you can create a user for the database. Give it a user name and a password, and don't worry about the database options here.
    Now that you have a user, hit create database up top and give it a name, and make sure the checkbox for the user you created is checked and hit save.

    Creating a DSN:
    Since SQL Server 2005 is not supported natively by phpBB3 you will need to make a DSN for the database and user you just created.
    In the Hosting Space Menu hit ODBC DSNs. Here hit Create ODBC DSN and Give it a Name. Select SQL Server as the ODBC Driver, then 2 more drop dows should show up, select the database and user name yuou want to use.

    Email
    phpBB can use email to activate accounts, and also for notices. So lets give it an email.

    Making a New Email
    In the Hosting Space Menu we want Mail -> Accounts.
    Make youself an email that will be used. Nothing needs to be a certain way so whatever you want is good.

    Using an Existing UltimaHosts Email:
    If you want to you can. Either way it will work. Although it must be from UltimaHosts or somewhere else you can SMTP from. I am going to assume you are using UltimaHosts.

    File Manager:
    On the Hosting Space Menu we want File Manager now.

    Uploading and Unzipping:
    Browse to the directory that you want the phpBB3 directory to show up in. (you can move it anywhere, but its got to start somewhere).
    Hit Upload and select the zipped phpBB file to upload. After its uploaded you can click the check mark next to it and hit upzip along the top.
    Now make sure to create the directory that you want the forums to be located at. Then Browse into the phpBB3 directory and hit select all (The check box to the left of File Name, just under Home)
    With all of them selected hit Move, then navigate to the directory you want to put the forums in.

    Install It
    First Browse to the Forum. If you put it in wwwroot/Forums then you would browse to "http://www.domainname.tld/Forums/install"
    Follow the install directions.
    When it asks about the Database, give it the DSN, Username, Database Name, and Password.
    When it asks for the email settings the Server Name is mail.ultimahosts.com, it will be using SMTP with a Login, and the User name is the FULL email address, and the password is the password.

    After the install, adjust the settings to your liking and head back into the File Manager.
    Browse to the Forum Directory you made. Check the Docs and Install Directory. Then Delete them.  After you have deleted those, create a new directory called "avataruploads".  Now we set up the permissions that will be needed.

    First head back to your Forum's Admin Control panel and head on over to Avatar Settings.  Here you will edit the upload directory to be that directory you just made.  After you do that head BACK to the Web Site Settings in your DotNetPanel.  First click off the enable write permissions for the "whole site" then head over to Virtual Directories.

    Create a virtual directory for each of the following: "cache", "files", "store", "avataruploads".  The only setting you should need to change is Enabled Write Permissions to be ON.  Those virtual directories should point to the actual directories in the forum's folder.

    Now as long as I didn't miss anything, that should result in a working phpBB3 boards.

    Now lets install a style that works (for some reason the default one for me is worthless).
    I picked Serenity Dark Purple (http://www.phpbb.com/community/viewtopic.php?f=74&t=546345) which comes in a nice zip.
    Well head back into the File Manager and navigate over to the "styles" directory in the forums directory. Here you should see a prosilver and some other directory, those are the default styles.
    Click Upload and upload the style zip to this folder, then select it and hit unzip.

    Now you will need to log in with your administrator account and head over to the "Styles" tab in the Admin Control Panel.
    The style you installed should be listed under the Uninstalled Styles, just hit install. I changed it to the default also.

    Ok now we should be all done. I'm off to figure more of this out.


    -Wilson Gearld Mead III
    www.rangoric.com (Rather Blah)
    blog.rangoric.name (Closer to Not Blah)
    Filed under: ,
View Complete Thread
Powered by Community Server, by Telligent Systems