Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - 2 forum - 1 user database
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

2 forum - 1 user database

 Post Reply Post Reply Page  123>
Author
Bubaz View Drop Down
Newbie
Newbie


Joined: 08 February 2006
Location: Belgium
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote Bubaz Quote  Post ReplyReply Direct Link To This Post Topic: 2 forum - 1 user database
    Posted: 08 February 2006 at 5:59pm
Hi,

I have 2 questions :
- I would like create 2 forum (not sub forum) with 2 different database but with only 1 user database (for login / registration).
Do you have a solution for that under SQL server
- Is it possible to attribute a specific layout (header / footer) for a subforum?

Thanks,

Bubaz
Back to Top
wmeyers View Drop Down
Newbie
Newbie
Avatar

Joined: 11 February 2006
Location: United States
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote wmeyers Quote  Post ReplyReply Direct Link To This Post Posted: 13 February 2006 at 9:51pm
I am also interested in Question 1.
 
I will have multiple subdomains, i.e. subdomain1.domain.org, subdomain2.domain.org, etc.
 
Can I use the same SQL database for multiple sites as long as I change the table names? If so, in what file that runs the SQL script would I need to change the names?
 
In doing so, it would be great if I could leave the members table alone and let people across multiple sites share it. Is this possible?
 
Can the subdomains be virtual, or do they have to be real? I am worried about conflicting ASP sessions between the multiple forums.
 
Any advice would be greatly appreciated!
 
Thanks.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 14 February 2006 at 11:41am
To use the same SQL Server database you need to change the database table prefix in the common.asp files and the SQL Server setup file.

For multiple forums using the same members table would be allot harder and would require substantial code re-writing within many files of the forum.
Back to Top
wmeyers View Drop Down
Newbie
Newbie
Avatar

Joined: 11 February 2006
Location: United States
Status: Offline
Points: 15
Post Options Post Options   Thanks (0) Thanks(0)   Quote wmeyers Quote  Post ReplyReply Direct Link To This Post Posted: 14 February 2006 at 6:46pm
Understood, thanks for your prompt response!
Back to Top
MarcusJS View Drop Down
Newbie
Newbie


Joined: 15 February 2006
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote MarcusJS Quote  Post ReplyReply Direct Link To This Post Posted: 15 February 2006 at 4:25pm
Just done this and it all seemed pretty easy (I'm using the SQL version) but hit a little glitch - the admin area seems to be pointing to the config table of my original forum.

Have I missed something, can anyone help?

Thanks in anticipation
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 16 February 2006 at 10:31am
There is also a common.asp file in the admin area, you need to update the table prefix, etc. in that file as well.
Back to Top
MarcusJS View Drop Down
Newbie
Newbie


Joined: 15 February 2006
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote MarcusJS Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2006 at 9:43am
I admit I missed that one at first (between posting my question & getting the response) but I've also updated it and I've got a new problem now...

Although I can get into the correct admin areas for each forum when I change the settings in one - like the logo - it applies the change to both forums. I'm guessing it's a connection string problem again or something similar.
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2006 at 10:16am
For performance reasons Web Wiz Forums uses application level variables to cut down on database hits, these will effect other web wiz forums running in the same application.

There are two ways to get around this, if you have access to the server you could place each forum in it's own application. If you don't have access to the server you will need to set the variable 'Const blnUseApplicationVariables = true' to false in one or both your forums in the common.asp file
Back to Top
 Post Reply Post Reply Page  123>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.