Author |
Topic  |
|
jglazer
New Member

52 Posts |
Posted - 07 October 2002 : 12:27:42
|
I have 3 web sites that all share the same forum system. The issue is that each has a different name to the forum area, and different colors. To accomplish this, I went through the code and changed all references to CONFIG_NEW to a variable that I can control from a central location. I have to think that there are others out there that have had to do the same thing. It would be nice if the names of the tables could be held in global variables that can easily be adjusted if, for some reason, you need to direct a particular site to a particular table instead of the normal ones.
Just a suggestion.
Thanks! Jon
|
|
GauravBhabu
Advanced Member
    
4288 Posts |
Posted - 07 October 2002 : 12:59:37
|
You could use that by using different themes for each forum. What do you mean by changed the variable CONFIG_NEW? That is a table name. |
 |
|
jglazer
New Member

52 Posts |
Posted - 08 October 2002 : 11:56:37
|
Yes, change the name of the CONFIG table in the database so that you could adjust the colors, name of the forum (base name) home page location etc... and still have each site maintain a "pool" of forums and topics that are accessable from every web site. See
www.dawgsfootball.com www.cometsfootball.com www.grovecityohio.com
for examples. Each of these have different colors and names but the content of the forums are the same.
Jon
|
 |
|
GauravBhabu
Advanced Member
    
4288 Posts |
Posted - 08 October 2002 : 13:06:14
|
So you have a differently named Config table for each forum? |
 |
|
Doug G
Support Moderator
    
USA
6493 Posts |
Posted - 08 October 2002 : 15:31:00
|
Remember the config settings are copied to Application variables, so just changing the table names won't work unless all the forums are in their own web application folder.
|
====== Doug G ====== Computer history and help at www.dougscode.com |
 |
|
jglazer
New Member

52 Posts |
Posted - 10 October 2002 : 11:24:43
|
Yes a different named config table for each forum (usually CONFIG_forumname). So that the name of the forum, colors and various other settings can be manipulated on a site-by-site basis. Each web site is it's own fully-qualified site. They do not share application variables. I have been running (with my own mods to change the config table name) for a couple years now. Just upgraded to the latest version (been a little reluctant to do so because of my mods so I was a few versions behind) so I thought I'd post this idea so that mayber, in future releases, I would not have to go through and re-apply my mods.
Get the picture?
Thanks! Jon
|
 |
|
GauravBhabu
Advanced Member
    
4288 Posts |
Posted - 10 October 2002 : 13:31:48
|
You could also do that by adding another column or columns in config table. C_Variable -Variable Name C_Value -Default C_Value_Forum1 -Forum1 Values C_Value_Forum2 -Forum2 Values
I have not done this though, so cannot tell how complicated or easy it will be.
|
 |
|
jglazer
New Member

52 Posts |
Posted - 11 October 2002 : 11:10:05
|
I tried to do this. It's a little complex especially when dealing with newe versions of Snitz. In my solution, I just rename the various config tables back to CONFIG_NEW when it comes time to upgrade. Then run SETUP.ASP each time and and let it upgrade the tables with the various new rows and values.
Jon |
 |
|
|
Topic  |
|