Koozali.org: home of the SME Server

Two seperate forums

Mark Thomas

Two seperate forums
« on: April 17, 2002, 07:14:37 PM »
Hi,

I have installed phpBB2 in SME 5.1.2 and have one primary domain, and one
virtual domain (set up as an i-bay)

I installed phpBB2 ok, but I would like to have a distinct forum for each website, is this possible? Is there a howto? Where is it? :-)

Thanks

Mark

Dan Brown

Re: Two seperate forums
« Reply #1 on: April 17, 2002, 07:46:01 PM »
I don't see why it wouldn't be possible, but there isn't any HOWTO that I know of.  Should be easy enough, though--just use different databases for each installation.

Mark Thomas

Re: Two seperate forums
« Reply #2 on: April 17, 2002, 08:07:36 PM »
OK cheers - I thought it would have been quite easy - I have created 2 virtual domains, and a mysql database for both, but when i go to either it
still comes up with the same forum... hmmmm odd...

How do i bring up the install.php page again? Perhaps i have not installed the board correctly?

Thanks

Mark

Dan G.

Re: Two seperate forums
« Reply #3 on: April 17, 2002, 09:20:45 PM »
Are you using two distinct ibays for each of the virtual domains?

It should be as easy as following Dan B's How-to twice, inserting a different database name, and pointing at the correct directory.  Then, you would access the different forums in one of these ways:

1. www.youraddress.com/forum1/
    www.youraddress.com/forum2/

or,

2.  if they are in virtual domains, they should link directly to the respective ibays containing the two different full installations of phpBB.

Dan G.

Dan Brown

Re: Two seperate forums
« Reply #4 on: April 18, 2002, 05:16:21 AM »
What Dan G. said--the two forums should be in differently-named directories.  IOW, I don't think you can have domain1.net/phpBB2 and domain2.net/phpBB2 be different forums, at least not within the general structure of my HOWTO.

Trbonja

Re: Two seperate forums
« Reply #5 on: April 18, 2002, 07:12:40 AM »
You should have phbb file stored in separate dir as per dan's suggestions. Also during installation of the phpbb it autodetects settings so make sure you change the database name and username/password ( good idea to have separate mysql users) Also, phpbb script is able to create database (dont have to do it from mysql prompt).

Kind regards,
Trbonja