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
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 June 2006 at 9:18am
You are along the right lines.

All you should need to do is make a second copy of Web Wiz Forums in another folder on the site, but have it linked to the same database. You can then change the header.asp and footer.asp as well as the CSS files for both forums to give them both different looks.
Back to Top
wistex View Drop Down
Mod Builder Group
Mod Builder Group


Joined: 30 August 2003
Location: United States
Status: Offline
Points: 877
Post Options Post Options   Thanks (0) Thanks(0)   Quote wistex Quote  Post ReplyReply Direct Link To This Post Posted: 06 June 2006 at 2:04pm
I used the same technique that Borg described and it worked like a charm.  Exactly what you need, Landlord-Forum. :)
 
For me, I'd actually like two different forums with one userbase.  I've seen this done on other forums, and one way to accomplish this is to modify one or both forum installations to point to the same member tables, but still have the rest of each forum point to different tables.  Both forums would need to use the same database, just with a different table prefix... except for the members tables which would have the same prefix.
 
If most of the membership / login / logout code is in one place, then this would actually be pretty easy to implement.  It will be a nightmare if the code is spread out throughout the forum code.


Edited by wistex - 06 June 2006 at 2:04pm
Back to Top
Landlord-Forum View Drop Down
Newbie
Newbie
Avatar

Joined: 11 January 2006
Location: United Kingdom
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote Landlord-Forum Quote  Post ReplyReply Direct Link To This Post Posted: 06 June 2006 at 3:23pm
many thanks, it seems to work a treat, did just that, a folder called forum2, i am now going to change the 3 files you mention.
 
great forum code this, very simple to use/change etc
 
well done wwf and thanks to you all on the forum here!
 
** update-- eek, i can't login. say the capthcha code is wrong,
 
is this something to do with the forum running in an inline frame on another site? easy fix? or do i have to reverse the way i have the site framed i.e., frame the bits for the other site on my pages?? and host from my server?
 
thanks
 
JP
 
 


Edited by Landlord-Forum - 06 June 2006 at 4:38pm
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 June 2006 at 5:38pm
Try connecting to the forum without the Iframe and see if it works, if it does you know it's the Iframe coursing issues.

I would recommend staying clear of frames as they can course issues with browsers.
Back to Top
Landlord-Forum View Drop Down
Newbie
Newbie
Avatar

Joined: 11 January 2006
Location: United Kingdom
Status: Offline
Points: 19
Post Options Post Options   Thanks (0) Thanks(0)   Quote Landlord-Forum Quote  Post ReplyReply Direct Link To This Post Posted: 06 June 2006 at 6:03pm
Hi Borg,
 
not sure how to do that.
 
basically the forum is on my site (site1) and i want to share it on another site not owned by me (site2) (i have ftp access to both sites and am modifying pages in both).
 
so, i am using an inline frame on the other site to call up the forum in the middle of the page, keeping the other sites look and feel top/side/bottom banner/ads in place.
 
i get the feeling this is a cookie issue with the forum trying to do a cookie while technically in another site (address bar reads for the other site.)
 
i would like ideaaly that users feel thay have not left site 2 but have access to the forum form there without coming to the forum site. i could take the pages from site 2 and host them on site1, just makes updating them a pain, or i suppose i could frame them up form my site, still got the address bar showng site1 though...
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 June 2006 at 6:15pm
If you use mySQL or SQL Server you should be able to connect to the same database from 2 completely different sites.

Also as you are setting up a new forum you should consider using version 8 as it is a vast improvement over version 7 and uses a different login system that doesn't require cookies.
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.