Author |
Topic  |
|
HVROX
Junior Member
 
177 Posts |
Posted - 17 May 2004 : 12:35:37
|
Hello,
I want to setup 2 forums. 1 in topic order and the other in last post order. I want them to share user profile data and look. What mods would I have to make to the script and where?
Say I named one forum: FORUM_T and the other FORUM_LP and the data bases: FORUM_T_DATA , FORUM_LP_DATA , and FORUM_T&LP_USER_DATA
3 data bases. Is this possible?
I want it so when I add a category in FORUM_T it does not add the same changes to FORUM_LP. But the users only have to log in once.
Thanks, HVROX
|
Edited by - HVROX on 18 May 2004 00:26:21 |
|
HuwR
Forum Admin
    
United Kingdom
20595 Posts |
Posted - 17 May 2004 : 18:29:55
|
The forum already contains a mechanism to do this, if you look in config asp, there are some variables
strTablePrefix = "FORUM_" strMemberTablePrefix = "FORUM_" strFilterTablePrefix = "FORUM_" 'used for BADWORDS and NAMEFILTER tables
These allow you do do what you described, all the forums would share the same DB, but by setting different strTablePrefixes for each forum, they will not share the same posts, but members will be the same.
Logging in is a different matter, this is controlled by cookies, and will depend how your forums are addressed (are they the same domain?) if they are the same domain just different directories then just set the forums cookie mode to 'website' |
 |
|
HVROX
Junior Member
 
177 Posts |
Posted - 18 May 2004 : 00:17:53
|
Thanks HuwR for the help so far.
So far I've got 1 forum directory to do what I need except for 1 little thing. I need to be able to set the topic order default for each forum individually. Meaning if I can use only 1 Snitz Forum package/directory and have the abillity to control topic order within each individual forum than that would solve all my problems. I originally started searching the Snitz site for a mod that would add that function when creating a forum but came up with answers that said that was impossible. Thats when I moved to the 2 forum directory, 1 shared data base idea. I understand html well. Asp on the other hand I'm new to but I am starting to see the basics of the commands. So I really need very detailed info - ( copy and paste this here and that there ). If there is a mod that would allow me to do this using only 1 forum directory and 1 data base that's even better.
Thanks again, HVROX
|
Edited by - HVROX on 18 May 2004 00:30:02 |
 |
|
|
Topic  |
|
|
|