Jump to content
xisto Community
Sign in to follow this  
savge17

How To Set Up A Phbb Forum On A Simple Page. simple page link to phBB

Recommended Posts

Ok, I am going to teach you how to set up and include a phBB Forum on your web site hsted on your local computer set up as a Server.

This tutorial references to snlildude87's tutorial at http://forums.xisto.com/topic/20432-test-your-php-pages-wo-uploadinternet-complete-working-guide-on-how-to-test-your-php-pages/.

You have to set up a MYSQL DATABASE and a Apache server sucessfully in order for this to work. Do that first then come here and we can start.

 

Ok, Now that you got your Apache server set up and your MYSQL Database setup according to the Tutorial from snllildude87, lets BEGIN!

 

Step 1: First off you got to have a working HTML page with a button or link of some sort to point towards your forum. Set up your page so it has a working link.

 

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd;<HTML><HEAD> <TITLE>Setting up A phBB forum</TITLE> <LINK REV="made" HREF="mailto:youremail@email.com"> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> <META NAME="generator" CONTENT="NoteTab Light 4.95"> <META NAME="author" CONTENT="yourname"> <META NAME="description" CONTENT=""> <META NAME="keywords" CONTENT=""></HEAD><BODY BGCOLOR="#000000" TEXT="#FF0000" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000"><H1>Setting up A phBB forum</H1><P>Click <A HREF="hi">here</A> for the forums!</P><HR><P><SMALL>Created on ... December 06, 2005</SMALL></P></BODY></HTML>

There is your code. We will replace <A HREF="hi">here</A> with the proper code later on in the tutorial.

 

Step 2: Ok now since we got a working page and a working link lets upload the index.html or w/e named your html file into: D:\apachefriends\xampp\htdocs ( under xampp> htdocs, where u find it put your website there.)

So now lets test this webpage to see if it works. Go to: http://forums.xisto.com/no_longer_exists/. If that doesent work check to see if its in the right directory if not still ask for help.

The setup page should look a little somthing like this: http://forums.xisto.com/no_longer_exists/404.png (ignore the path or loc of file. Just as long as its in htdocs ur okay.)

 

 

 

 

Step 3: Ok so now where do we go from here? well its time to install phBB forums. Be sure to have the latest version of phBB installed FROM: https://www.phpbb.com/. Now unzip the file to your destop from wherever u downlaoded it to. The file on your destop should be named phpBB or something like that. Rename this file to "forums" and place it or upload it into the htdocs directory. Now you should have a new folder named Forums. When you click in forums there should be a whole bunch of folders like: Admin, Contrib, Docs, ect. now next step. Installing phBB!

 

 

Step 4: Time to install phBB! so start with opening your website to the homepage(AKA: index.html or w/e u called it). Now, the website's adress should be something like:http://forums.xisto.com/no_longer_exists/, so re-write it so it says: http://forums.xisto.com/no_longer_exists/. This should lead you to a screen where you have to enter in amounts of data.

 

You need to enter the database information into the blank fields in the installation. Your database name is going to be the name of the database you just made, which in this case, would be "phpbb" without quotation marks. The default database username for Uniserver is "root" without quotation marks. Enter that into database username field. The password field is to be left blank because the Uniserver database has no password be default. On any host that you might pay for webspace from, or even free hosting, your MySQL database will ALWAYS have a password. You then need to fill out Admin Email Address, Admin Username, and Admin Password.

After everythting is installed delete your install.php and contrib.php files for security reasons. Now to use your forum go to: http://forums.xisto.com/no_longer_exists/ or http://forums.xisto.com/no_longer_exists/ (it doent matter the login one give you a chance to register or login and begin creating your forums! If you are having trouble please post your problems here. :P

 

Step 5: Ok so now the phBB forums are working on your site, but you want to be able to access your forums without typing in the commands. Ok remember this? http://photobucket.com/user/tommywelphbbforum1.jpg/library/ now its time to make that link into a working one. Simply take the code we used before:

 

!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd;<HTML><HEAD> <TITLE>Setting up A phBB forum</TITLE> <LINK REV="made" HREF="mailto:youremail@email.com"> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8"> <META NAME="generator" CONTENT="NoteTab Light 4.95"> <META NAME="author" CONTENT="yourname"> <META NAME="description" CONTENT=""> <META NAME="keywords" CONTENT=""></HEAD><BODY BGCOLOR="#000000" TEXT="#FF0000" LINK="#0000FF" VLINK="#800080" ALINK="#FF0000"><H1>Setting up A phBB forum</H1><P>Click <A HREF="hi">here</A> for the forums!</P><HR><P><SMALL>Created on ... December 06, 2005</SMALL></P></BODY></HTML>

Look for

 

<A HREF="hi">here</A>

Now see the "hi" in quotes? Thats the file the browser is going to look for on the server. So simply rename it to the location of your index.php or login.php for the forums!

 

Now it should be something like:

 

<A HREF="forum/index.php">here</A>
(NOTE: you can also use forum/login.php instead of the index, only difference is there will be a login prompt instead of viewing the forum.)

 

 

<P>Click <A HREF="forum/index.php">here</A> for the forums!</P>
( we need the full script because the part that says Click "here" is a hyperlink.)

 

So now when you click on "here" it should lead you directly to your forums! http://forums.xisto.com/no_longer_exists/404.png

 

I hope you guys found this tutorial helpful and useful. Thanks. :P

-Savge

 

Notice from jlhaslip:
fix typos

Edited by jlhaslip (see edit history)

Share this post


Link to post
Share on other sites

Wow! ThnX for the Explanation. It really helped a lot.But still i have some problems installing the phpBB2 on my Xisto account.. Are you able to host phpBB Forums on Xisto. If so Can somebody help me with it. ThnX in Advance!

Share this post


Link to post
Share on other sites

UltimateStar, yes you can install and use phpBB forums on Xisto.com. Fantastico has a feature for doing that automatically for you.However, I should warn you that there is a little glitch. Once you setup a phpBB forum, on your first visit you must make at least one post, or else the database may crash. I don't know why this is, but it happened to me.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.