Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Current Version (Old)
 Setup Automation -HuwR?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

RedLeader
New Member

USA
85 Posts

Posted - 17 April 2001 :  14:02:47  Show Profile  Visit RedLeader's Homepage  Send RedLeader an AOL message
I'm running HuwR version of the Forums and I've setup quite a few forums on my server.

The question is the process I'm going through and if there is a better way to do it.

When I setup a forum, I create the database in SQL 7, copy the files, modify my config and run setup. When I'm done, I modify HuwR's config, and then run the forums.

What's the major difference between the 2 and how can I merge them into 1?

Being that I have been setting up new forums (A few every week or so), I'd like to automate the process. All Forums are in 1 database, just different Forum Prefixs. Any ideas on how I can incorporate that and any other unique info into an Automated setup(Maybe a table) that would allow for filling in a few fields and WHAMMO!, a new forum is installed and ready for the admin to use?


Thanks,

RL.

BTW: If anyone is interested in working on this with me let me know. Could turn into a nice MOD.



HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 17 April 2001 :  14:32:01  Show Profile  Visit HuwR's Homepage
I would actually take a few more steps. I would

1) create DB, upload a clean copy of the official Snitz code, run setup.asp
2) upload and execute the mod_dbsetup files
3) upload all the asp files from my download
4) modify the config.asp that came in my download.

Go to Top of Page

RedLeader
New Member

USA
85 Posts

Posted - 17 April 2001 :  15:02:42  Show Profile  Visit RedLeader's Homepage  Send RedLeader an AOL message
HuwR,

I actually skipped a step above. I do create the Database.. (actually not anymore since all of my forums run from 1 DB) but I have modified the main Forum files so now I just copy all of them as is to a new directory.

Bottom line... here's the process

1) New DB or Not
2) Copy Files including Mod Files
3) Modify Config.asp and Run Setup.asp
4) Run mod_dbsetup.asp
5) Modify HuwR's config.asp

My main question is, Is there a way to incorporate what's in your Config.asp with the original? What are the major differences?

I was also thinking about taking the main things that change in the config.asp(Table Prefixes, StrUniqueID) and storing that in a database table.

I would then modify the main(and hopefully merged) single config.asp to have a place holder for the StrTablePrefix, StrMemberPrefix and StrUniqueID lines. I would open up and do a automated replace with the new config info and save the config file.

Does this sound like it would work?

RL.





Go to Top of Page

RedLeader
New Member

USA
85 Posts

Posted - 17 April 2001 :  20:04:56  Show Profile  Visit RedLeader's Homepage  Send RedLeader an AOL message
HuwR,

Am I correct that the only different between your config.asp and the orginal is your inclusion of

<!--#include file="inc_mod_config.asp"-->
at the top and

LoadModConfig()
ReadModConfig()


towards the middle and end?


RL
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 17 April 2001 :  20:07:43  Show Profile  Visit HuwR's Homepage
yes that is correct, all my mod variable are placed in this new file and loaded and saved using the two functions you mention, apart from the timezone Mod which adds a few lines to config

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.43 seconds. Powered By: Snitz Forums 2000 Version 3.4.07