Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Initiate a DBS Script on Install?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
JJenson Posted - 15 January 2008 : 11:50:50
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 <
8   L A T E S T    R E P L I E S    (Newest First)
ruirib Posted - 16 January 2008 : 04:17:45
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.<
JJenson Posted - 15 January 2008 : 21:49:02
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? <
Podge Posted - 15 January 2008 : 16:00:08
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.<
JJenson Posted - 15 January 2008 : 15:48:18
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?<
Podge Posted - 15 January 2008 : 15:04:10
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.<
HuwR Posted - 15 January 2008 : 13:04:26
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.<
JJenson Posted - 15 January 2008 : 12:54:22
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.<
modifichicci Posted - 15 January 2008 : 12:18:23
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.<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.04 seconds. Powered By: Snitz Forums 2000 Version 3.4.07