Author |
Topic  |
|
master of puppets
Junior Member
 
Canada
117 Posts |
Posted - 09 April 2001 : 19:10:54
|
Ok, please help. We want 2 different forum configurations, not different topics, or forums or whatever. Just like colors and copyright and title and stuff. Everything else the same. I know i refer to it a lot, but if you look at http://www.mxtabs.net/forum/ and http://www.drum-talk.com/forum/
That is how we want it. 2 different configurations, but all the same forums. What do we have to do to the database, and what .asp files do we have to edit to make this work? Thank you.
"It's not how far you go, it's how go you far" - Guy in Ski School |
|
master of puppets
Junior Member
 
Canada
117 Posts |
Posted - 09 April 2001 : 20:16:11
|
does anyone actually know how to do this? Just wondering because people ask questions here all the time and they are answered right away, but our questions seem to be ignored.
"It's not how far you go, it's how go you far" - Guy in Ski School |
 |
|
work mule
Senior Member
   
USA
1358 Posts |
Posted - 09 April 2001 : 21:57:42
|
Here's an idea...
I don't know if it's a simple thing to do or not. I'll try to offer an idea or two.
You'll probably need two different directories first of all. The idea is to somehow make strCookieURL unique between the two because you need to store this information in an Application variable:
Application(strCookieURL & "strHomeURL") = rsConfig("C_STRHOMEURL")
If strCookieURL isn't unique then you won't be able to maintain a different set of application variables which are needed to maintain the different configurations. Make sense?
Then in the database, you'll want to duplicate the Forum_Config table. Name it something like Forum2_Config.
In one set of the forum files, you'll want to edit the config.asp and probably a couple of admin_xxxx.asp files. What you want to do is hardcode the table name for the Config table in those files. So anywhere you see something like:
strSql = strSql & " FROM " & strTablePrefix & "CONFIG "
...you'll want to change to:
strSql = strSql & " FROM FORUM2_CONFIG "
...so that the configuration information will come from that second config table and not the other one.
This should work, I think. I've never done anything like this, nor have plans to (at this time), but if I did, this is probably where I would start first. Maybe someone can either confirm or dispute this.
Oh, the other option is to hardcode all the variables in the config.asp file starting at Line 319 - about 117 variables.
Hope that helps.
Edited by - work mule on 09 April 2001 22:06:40 |
 |
|
master of puppets
Junior Member
 
Canada
117 Posts |
Posted - 09 April 2001 : 23:25:56
|
Thanks man. If anyone can confirm this, it would be great, so I don't kill a bunch of time.
"It's not how far you go, it's how go you far" - Guy in Ski School |
 |
|
master of puppets
Junior Member
 
Canada
117 Posts |
Posted - 09 April 2001 : 23:41:29
|
In the forum admin section, can't you choose to set the cookie to the site, or to the forum?? Can't you just set it there??
"It's not how far you go, it's how go you far" - Guy in Ski School |
 |
|
master of puppets
Junior Member
 
Canada
117 Posts |
|
rick7165
Senior Member
   
USA
1094 Posts |
Posted - 10 April 2001 : 02:24:04
|
ReRun setup.asp
Test Site www.eastpasco.com Running on HuwR's SR4 release. Colors and Graphic scheme done by Richard Kinser. |
 |
|
sr_erick
Senior Member
   
USA
1318 Posts |
Posted - 10 April 2001 : 12:23:31
|
When I go into one of the topics on the snofan forums I get this error message.
ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/snofans/forum.asp, line 227
Sr_Erick... Snowmobile Fanatics
|
 |
|
master of puppets
Junior Member
 
Canada
117 Posts |
Posted - 10 April 2001 : 18:56:11
|
When I go to setup.asp, it says I need to upgrade the database. How do I do this??
"It's not how far you go, it's how go you far" - Guy in Ski School |
 |
|
Matti-Mck
Starting Member
38 Posts |
Posted - 15 April 2001 : 11:44:42
|
hrmmm. i'm not really following how to do this rite. i have two sites i need set up the same way aswell.. can anyone send me a more detailed desciption of how to do it all, coz i'm not sure what i am doing wrong...
thanks, -Matti
|
 |
|
|
Topic  |
|