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

  New Posts New Posts RSS Feed - setting up new db (SQL)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

setting up new db (SQL)

 Post Reply Post Reply
Author
mtm81 View Drop Down
Groupie
Groupie


Joined: 03 December 2002
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote mtm81 Quote  Post ReplyReply Direct Link To This Post Topic: setting up new db (SQL)
    Posted: 06 July 2006 at 12:50pm
Hi,
When setting up a new forum using SQL.. instead of creating a new db, I was going to us a db with existing tbls for other purposes that do other things around the site.
 
1) - Would this affect the performance of the forum (i.e does it prefer to be running in it's own db)
2) - When I create the db I don't want it overwriting any existing data... The only way I can think this would happen would be if there were any existing tbls called the same as the new ones created for the forum..
 
How can I check this.. is there a list ofthe tbls created for the forum I can check against?
 
 
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: 06 July 2006 at 2:50pm
A new database is best and would give better performance, but you can use an existing one if you prefer.

All tables in web wiz forums begin with the table prefix 'tbl' if you feel this will course problems with your own tables in the database you can change the table prefix in the file 'includes/setup_options.asp' just edit the file with notepad.
Back to Top
mtm81 View Drop Down
Groupie
Groupie


Joined: 03 December 2002
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote mtm81 Quote  Post ReplyReply Direct Link To This Post Posted: 06 July 2006 at 3:12pm
ok smashing - one last thing.. if I'm planning on using the existing member api system and these members are a part of this existing db - would I NEED to use the same DB or is it independant.
 
 
Back to Top
mtm81 View Drop Down
Groupie
Groupie


Joined: 03 December 2002
Status: Offline
Points: 57
Post Options Post Options   Thanks (0) Thanks(0)   Quote mtm81 Quote  Post ReplyReply Direct Link To This Post Posted: 06 July 2006 at 3:53pm
oh one other thing...
the forum is in a logged in only progrected area.. if a user tries to access any other area of this protected area, a piece of code in the top of each page written in ASP, checks the session and if it doesn't exist, boots them to the login page...
 
How does this work in conjunction with the forum...
 
Is there a particular include (like the common.asp) one for example which is on every forum page and therefore if I posted my piece of code in there would force this to work?
 
 
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: 06 July 2006 at 3:58pm
If you use the member API your database runs independently from that used in the forum.

The common.asp file is used on every page, but remember when adding your own code to this to declare all new variables as strict coding is enabled within the forum code.
Back to Top
 Post Reply Post Reply

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.