| Author |
Topic Search Topic Options
|
jeremyseda
Newbie
Joined: 05 May 2004
Location: United States
Status: Offline
Points: 11
|
Post Options
Thanks(0)
Quote Reply
Topic: Is More than 1 WWF install possible? Posted: 12 May 2004 at 12:19pm |
Hello,
I'm having some issues installing Web-Wiz Forums (WWF) on more than one location of my site. They are stand-alone, right down to the databases, which are named and referenced differently (i.e., wwForum_wat.mdb and wwForum_wln.mdb). However, whenever I go through the Administration of one of the forums, it updates links and Forum Titles. For example, up above, you see "Web Wiz Forums : Web Wiz Forums Support : Post New Topic." If this was one instance of WWF on my site and I updated the other to have the title "Macromedia Flash Forums," then the topic on the first instance would be changed to "Macromedia Flash Forums...," even though the database and files are stand-alone. Does anyone know how to get two or more instances of the WWF working on the same web site? Any help would be greatly appreciated.
|
 |
Semikolon
Senior Member
Joined: 09 September 2003
Location: Norway
Status: Offline
Points: 1718
|
Post Options
Thanks(0)
Quote Reply
Posted: 13 May 2004 at 9:42am |
|
disable application variables.. this is done in common.asp and admin/common.asp
|
 |
Semikolon
Senior Member
Joined: 09 September 2003
Location: Norway
Status: Offline
Points: 1718
|
Post Options
Thanks(0)
Quote Reply
Posted: 13 May 2004 at 9:43am |
|
oh shoot.. I forgot:
or ask your host to create a new application for your second forum
|
 |
jeremyseda
Newbie
Joined: 05 May 2004
Location: United States
Status: Offline
Points: 11
|
Post Options
Thanks(0)
Quote Reply
Posted: 13 May 2004 at 1:39pm |
Although I understand the VB syntax, I'm not fluent in developing ASP. Is this a pretty easy modification in the common.asp files? If not, could you point to which lines would need modification and how. Thanks so much for your help Semikolon! I greatly appreciate it!
|
 |
shovel
Groupie
Joined: 08 November 2001
Location: United States
Status: Offline
Points: 72
|
Post Options
Thanks(0)
Quote Reply
Posted: 13 May 2004 at 2:44pm |
|
Hello Jeremy,
I have run 3 versions of the access forum in the past and now am running 3 versions of the SQL forum on the same site.
You have to edit BOTH of the common.asp files (there's also one in the
admin folder) in both of the forums. And in those two files you
must not only change the PATH to the specific databases, but you must
also rename the FORUM COOKIE in at least one of the forums to avoid any
conflicts.
Approx. line 169 of the main directory's common.asp and line 96 in the admin/common.asp needs to be changed in one forum:
'Set up the forum cookie name
'(This is useful if you run multiple copies of Web Wiz Forums on the same site so that cookies don't interfer with each other)
Const strCookieName = "WWF"
Jim
|
 |
dpyers
Senior Member
Joined: 12 May 2003
Status: Offline
Points: 3937
|
Post Options
Thanks(0)
Quote Reply
Posted: 13 May 2004 at 3:38pm |
You may be able to create a new application yourself if you can create subdomains - e.g. flash.mysite.com.
|
Lead me not into temptation... I know the short cut, follow me.
|
 |
jeremyseda
Newbie
Joined: 05 May 2004
Location: United States
Status: Offline
Points: 11
|
Post Options
Thanks(0)
Quote Reply
Posted: 13 May 2004 at 5:58pm |
|
Hey Semikolon, thanks for your replies. I had a look at the common.asp files and couldn't tell which variable(s) I should disable. Could you possibly point me to which variables need to be disabled? I can read and even write some VBScript, but don't consider myself fluent in ASP. Thanks much! :)
|
 |
dj air
Senior Member
Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
|
Post Options
Thanks(0)
Quote Reply
Posted: 13 May 2004 at 6:11pm |
look for this section of code in both common.asp files
'Set if application variables are used for forum configuration 'This will make your forum run faster as there are less hits on the database, but if you are using free web hosting or 'are on a server where you share your application oject with others then you will need to set this to false blnUseApplicationVariables = true
change the section in blue refereanced above to False
|
 |