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.
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.
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.
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