Print Page | Close Window

4 forums on one site - single login

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=24169
Printed Date: 06 April 2026 at 10:58pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: 4 forums on one site - single login
Posted By: BigHead
Subject: 4 forums on one site - single login
Date Posted: 14 August 2007 at 3:51am

We want to add 4 forums to our site, 1 each in different sections, but would like to maintain a single login/member directory. Is this possible with WW?

We have a fantasy site with fairly popular snitz boards, but want to migrate to WW. We have set up the site so that each sport has its own board, but only requires a single-access login/registration and would like to keep it that way.

Anyone else doing this or know if it's possible?

Thanks




Replies:
Posted By: markradaba
Date Posted: 14 August 2007 at 5:57pm
WWF has a feature where you can set a forum to only be visible and accessible to certain level members.
 
How do you have your site setup as to determine which sport a member can view?
 


Posted By: MortiOli
Date Posted: 14 August 2007 at 6:29pm
From reading past topic about this, what you'd need to do is;

  • Setup 1 database
  • Change and setup each forum to use a different table prefix in the database
  • Rename 1 Author table in the database, to have a new prefix, and delete the rest
  • Search the WWF code and change all references to the Author table to look at the Author table with the new prefix

That way, you have all forums using different tables of the database for posts etc, but all looking at one table for Authors / Members.

Hope that helps, makes sense, and works!


Posted By: BigHead
Date Posted: 14 August 2007 at 10:23pm
Mark,
 
The site isn't member-based and everyone can view all the forums. Just want to make sure they dont' have to login more than once to view the different forums.


Posted By: BigHead
Date Posted: 14 August 2007 at 10:26pm
MortiOli,
That does make a lot of sense, and similar to what we had to do for snitz. The problem was the snitz code was so spaghetti like that when something became corrupted it's nearly impossible to locate the issue.
 
Thanks for the Directions.
 
T


Posted By: BigHead
Date Posted: 19 August 2007 at 11:56pm

MortiOli -

A follow up question for you. The setup_options_inc.asp page list the option where you can change the prefix for the data tables. Unfortunately, that is automatically added to the author table, so how would I prevent that from being added?
 
Thanks,


Posted By: BigHead
Date Posted: 20 August 2007 at 12:05am
PS - using access version for now.


Posted By: BigHead
Date Posted: 21 August 2007 at 11:40pm
Ok, I've got the multiple forums set up and they are recognizing the same user info (if anyone wants to know how, I will post it), but the user sessions aren't holding between forums. In other words, each time I visit a different forum, it requires me to re-login.
 
I am also required to re-login, if I go back and visit a forum to which I've already logged in.
 
I'm guessing this has something to do with session management, so am looking into that, but if anyone has other insight, I appreciate your help.


Posted By: Nick-V
Date Posted: 22 August 2007 at 12:04am
Unless I misunderstand the requirement I would do it the way WWF is naturally designed to work and would not play with tables or the code at all for maintenance and upgrade reasons. I would keep things simple and simply rethink my requirement to fit the package.
 
With WWF you can have 4 forums each with several sub forums.
 
If you wish to separate access to the 4 forums you can provide a link to each in each of your "sections": http://forums.webwiz.net/forum_topics.asp?FID=24 - http://forums.webwiz.net/forum_topics.asp?FID=24
 
Other things CAN be done but SHOULD they?
 
 


Posted By: levis
Date Posted: 22 August 2007 at 12:54am
I think the easiest way is put 4 db files in a folder, delete tblAuthor table in 3 db files, in these 3 db files, use File--->Get external data--->Link table and browse to tblAuthor table of the remain db file.
Did you try this?


Posted By: Nick-V
Date Posted: 22 August 2007 at 1:05am
The easiest way is to use the standard software.
 
He said "PS - using access version for now." Maybe not later.
 
With linked tables wouldn't he still have session issues?
 
To me, his stated requirement does not justify having four sets of forum pages to maintain or system/data modifications of any kind. I know its fun to tinker but there's also a time to be pragmatic...it might be possible to avoid unnecessary work.
 
Another way (maybe not as good as the one I suggested previously) to provide separate access to the 4 forums might be to use forum categories like  http://forums.webwiz.net/default.asp?C=3 - http://forums.webwiz.net/default.asp?C=3


Posted By: BigHead
Date Posted: 22 August 2007 at 1:32am
Hey Nick,
 
I get your point, and may end up doing that, but I think (for now Smile) having four physically separate forums is a cleaner approach.


Posted By: BigHead
Date Posted: 22 August 2007 at 1:35am
Levis,
 
Not sure I follow how that would clear up the session issue, but I'll talk to our primary programmer to see (I've been playing with this myself, instead of involving the person I should be :-)).


Posted By: BigHead
Date Posted: 22 August 2007 at 1:42am
What I've done is made sure both forums are a) using the same Author table and b) using the same Session table - anyone know, if there is/are another common table(s) that should be shared?


Posted By: BigHead
Date Posted: 22 August 2007 at 1:49am
Crap, nothing's working. Going to take Nick's advice for now and tinker while the forums are live.
 
Has anyone seen the way ESPN organizes their boards? It's a different board for each sport. They aren't all available with one click. I think there's a valid organization reason for that. 
 
That's what I'm trying to accomplish.


Posted By: jcecilb
Date Posted: 22 August 2007 at 5:16am
We currently run the look of multiple forums with one member list.  Our site uses one WWF database with the different "forums" as categories.  With a little modding, I set it up so that based on the URL lowcountrycops.com vs. palmettocops.com it knows which categories to show.
 
If one of my visitors goes to lowcountrycops, he only sees the counties which are in that disctrict of south carolina.  The same for peedeecops.com, upstatecops.com and midlandscops.com.  However, if he goes to palmettocops.com, he can see the entire state.
 
All I did was mod the SQL statement with a WHERE clause that filtered out the unwanted categories.
 
I hope this makes sense.  I have not had much sleep lately.


-------------
http://www.palmettocops.com/ - Palmetto Cops



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net