IPB

Welcome Guest ( Log In | Register )



Tags
This content has not been tagged yet
 
Reply to this topicStart new topic

How To Set Up A Phbb Forum On A Simple Page.

, simple page link to phBB


savge17
no avatar
Super Member
*********
Group: [HOSTED]
Posts: 381
Joined: 1-December 05
From: Xempt..T17 GFX Crew
Member No.: 15,202



Post #1 post Dec 7 2005, 05:47 AM
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://www.trap17.com/forums/-t20432.html.
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.


CODE
<!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://yourip.nameofyourhtmlfile.html. 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://img.photobucket.com/albums/v620/tom...lphbbforum1.jpg (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: http://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://yourip/nameofyourhtmlfile.html, so re-write it so it says: http://yourip/forum/install/install.php. This should lead you to a screen where you have to enter in amounts of data.

QUOTE
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://yourip/forum/install/login.php or http://yourip/forum/install/index.php (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. wink.gif

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/albums/v620/tommywe...lphbbforum1.jpg now its time to make that link into a working one. Simply take the code we used before:

CODE
!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

CODE
<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:

CODE
<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.)


CODE
<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://img.photobucket.com/albums/v620/tom...lphbbforum1.jpg

I hope you guys found this tutorial helpful and useful. Thanks. smile.gif
-Savge

[note=jlhaslip]fix typos[/note]

This post has been edited by jlhaslip: Dec 7 2005, 06:18 AM
Go to the top of the page
+Quote Post
Megahalo
no avatar
Newbie [Level 1]
*
Group: Members
Posts: 10
Joined: 11-December 05
Member No.: 15,552



Post #2 post Dec 12 2005, 03:30 AM
I don't get the point of this tutorial. wink.gif
Go to the top of the page
+Quote Post
Glockmeister
no avatar
Member [Level 1]
****
Group: Members
Posts: 73
Joined: 7-November 05
Member No.: 13,918



Post #3 post Dec 12 2005, 07:41 AM
I think it about incorperating a phpbb forum, into a html page.

Good, I think. But I don't think i will be using that.
Go to the top of the page
+Quote Post
UltimateStar
no avatar
Newbie [Level 3]
***
Group: Members
Posts: 48
Joined: 1-February 06
From: USA
Member No.: 18,021



Post #4 post Feb 2 2006, 02:41 AM
Wow! ThnX for the Explanation. It really helped a lot.But still i have some problems installing the phpBB2 on my Trap17 account.. Are you able to host phpBB Forums on Trap17. If so Can somebody help me with it. ThnX in Advance!
Go to the top of the page
+Quote Post
gameratheart
no avatar
Privileged Member
*********
Group: [HOSTED]
Posts: 511
Joined: 14-November 05
From: Britannia!
Member No.: 14,287
myCENT:42.36



Post #5 post Feb 2 2006, 02:51 PM
UltimateStar, yes you can install and use phpBB forums on Trap17.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.
Go to the top of the page
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

    Topic Title Replies Topic Starter Views Last Action
No New Posts   10 -poirot- 19,036 27th July 2004 - 06:47 PM
Last post by: EricDrinkard
No new   14 Spudd 1,222 25th September 2009 - 08:24 PM
Last post by: Spudd
No new   36 chelcy 83,385 3rd September 2009 - 01:08 PM
Last post by: alexthemans
No New Posts   0 wassie 15,539 13th July 2004 - 11:52 PM
Last post by: wassie
No new 26 templest 31,463 15th June 2009 - 07:12 AM
Last post by: gannimel
No New Posts   8 chinfo 14,324 29th January 2009 - 11:04 PM
Last post by: networker
No New Posts   12 BooZker 3,032 8th July 2006 - 07:50 AM
Last post by: BooZker
No new   17 harad 23,138 3rd August 2004 - 11:40 PM
Last post by: MSTR
No New Posts   6 galexcd 1,286 27th June 2007 - 03:56 PM
Last post by: alex7h3pr0gr4m3r
No New Posts   4 zyklon 6,645 4th August 2004 - 08:58 PM
Last post by: zyklon
No New Posts   2 Gamesquare 5,204 28th September 2009 - 04:18 AM
Last post by: akira550
No New Posts   7 Shibbeh 9,480 25th August 2004 - 12:20 AM
Last post by: football123213
No new   23 bhavesh 2,323 31st December 2008 - 12:45 AM
Last post by: jlhaslip
No New Posts   6 saitunes 1,372 20th November 2009 - 03:43 AM
Last post by: iG-harsh
No New Posts   2 threepach 2,167 19th February 2008 - 08:30 PM
Last post by: threepach


 



RSS Open Discussion Time is now: 22nd November 2009 - 08:14 AM

Web Hosting Powered by ComputingHost.com.