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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Initiate a DBS Script on Install?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

JJenson
Advanced Member

USA
2121 Posts

Posted - 15 January 2008 :  11:50:50  Show Profile  Visit JJenson's Homepage  Reply with Quote
HI I was just wondering I want to have a bunch of mods inserted in right from the get go. I want to create a giant dbs script that will handle all the mods.

Basically how would I go about having the DBS run after the initial install of the tables without having to hit the admin_mod_dbsetup.asp.

The reason I ask is cause of certain mods that use inc_header and are putting include files in there it errors out the page but if I could get the dbs to run before hitting these pages then I would not have this problem and could have all mods installed right away without having to upload install 4 or 5 different times.

Any idea would be great?

Thanks All <

modifichicci
Average Member

Italy
787 Posts

Posted - 15 January 2008 :  12:18:23  Show Profile  Visit modifichicci's Homepage  Reply with Quote
create a dbs, upload a base snitz inc_header, inc_func_common, admin_login and run dbs
then upload the final inc_header, inc_func_common, admin_login.
That is the way adamantine install itself.<

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 15 January 2008 :  12:54:22  Show Profile  Visit JJenson's Homepage  Reply with Quote
Yeah I just want to have it completely automated so I want it all in one shot. That is actually how I did it before just trying to take it one more step there has to be a way.<
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 15 January 2008 :  13:04:26  Show Profile  Visit HuwR's Homepage  Reply with Quote
well, originally when I first created the dbs update process it was infact possible to just open the admin_mod_dbsetup.asp and load/run the dbs file, however consequent releases of the code have stopped that.

having said that, it should be possible to remove the files reliance on other forum stuff and run it as it was originally created.<
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 15 January 2008 :  15:04:10  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
How about adding the appropriate sql to inc_create_forum_mysql.asp (or mssql, access, etc)?

You could response.write the sql statements executed in admin_mod_dbsetup.asp, edit them accordingly and add them to the relevant inc_create_forum_xxx.asp file. Wouldn't be too difficult.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 15 January 2008 :  15:48:18  Show Profile  Visit JJenson's Homepage  Reply with Quote
Hmm I like either way. How would I go about removing the reliance on the other forum stuff? I mean will it run without inc_header.asp and inc_func_common.asp?<
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 15 January 2008 :  16:00:08  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message  Reply with Quote
If you add the sql statements to inc_create_forum_xxx.asp (according to you database platform) then the database portion of your mods will be added when setup.asp is run and you never have to run admin_mod_dbsetup.asp before adding the mod's code to a forum.

What exactly are you trying to accomplish? I mean you could just run your giant dbs file before adding the mod's code to your forum. Thats the easiest option in my view. Or maybe I'm not fully understanding what you want to achieve.<

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

JJenson
Advanced Member

USA
2121 Posts

Posted - 15 January 2008 :  21:49:02  Show Profile  Visit JJenson's Homepage  Reply with Quote
I will probably use what you are saying Podge jsut wondered what Huws Idea intailed.

Basically I am going to have a promodified forum with everything already coded and just want the script to execute so you don't have to upload file twice. Thats mainly it I just want to upload once then have the dbs script during install sometime or just after instal be able to run the script without errors.

Does this make sense or does this makes sense only in my mind? <
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 16 January 2008 :  04:17:45  Show Profile  Send ruirib a Yahoo! Message  Reply with Quote
I've helped setup too many forums in the past, sometimes even upgradin the database from Access to something else. Not only for that, but also for testing (and helping with issues raised at this forum), I always keep a clean base version installed at all times, so I can add all the dbs files needed for a certain scenario to that base version, change the config to the DB I want and just run the dbs file. It always works and it doesn't require any special coding.<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.13 seconds. Powered By: Snitz Forums 2000 Version 3.4.07