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 / Classic ASP versions(v3.4.XX)
 Upgrading And MODs
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

CptSternn
Starting Member

Ireland
17 Posts

Posted - 06 April 2009 :  11:35:32  Show Profile  Visit CptSternn's Homepage
Is there an easy way to upgrade and keep your mods or do we have to upgrade, then go through and manually install each mod again?

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 06 April 2009 :  11:37:31  Show Profile
You'll have to add them all again. You won't lose anything in the database but should run all the dbs files again anyway.


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”

Edited by - Shaggy on 06 April 2009 12:44:48
Go to Top of Page

Etymon
Advanced Member

United States
2385 Posts

Posted - 06 April 2009 :  12:17:09  Show Profile  Visit Etymon's Homepage
quote:
Originally posted by Shaggy

You'll have to add them all again. You won't lose anything in the database but should run all the dbs files again anyway.





Well, there are some dbs files that DROP (delete, remove, destroy - whatever is easiest to understand) a table and then CREATE it again.

Before you run your dbs file, be sure to look at the code in the dbs file and remove the DROP area of the code if you want to preserve your data using that same table. That would be the area from the [DROP] to the [END] including the area in between ... something like this (Note: the word UPSIZE is a table name):

[DROP]
UPSIZE
[END]

If the table already exists, and your dbs is trying to [CREATE] it again, all you will get is an error when the dbs tries to recreate it. Trying to [CREATE] over an existing table is a lesser evil than trying to [DROP] one.

Also, you could end up with a double entry in your CONFIG_NEW table by running a dbs again. That's not horrible ... just an overhead.
Go to Top of Page

SiSL
Average Member

Turkey
671 Posts

Posted - 06 April 2009 :  12:23:00  Show Profile  Visit SiSL's Homepage
Actually Dropping will cause you loose all DATA based on these mods (or modified later by you or your users. So I really don't recommend doing any DROP eitherway...

CHIP Online Forum

My Mods
Select All Code | Fix a vulnerability for your private messages | Avatar Categories W/ Avatar Gallery Mod | Complaint Manager
Admin Level Revisited | Merge Forums | No More Nested Quotes Mod
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 06 April 2009 :  12:34:58  Show Profile  Send ruirib a Yahoo! Message
If mods were to be added to a new code but old DB, of course NO dbs files SHOULD BE EXECUTED! The dbs files are to change the Db to have the mod working and it only needs to be done once!


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

Shaggy
Support Moderator

Ireland
6780 Posts

Posted - 06 April 2009 :  12:44:33  Show Profile
Yeah, I was just coming back to delete my post; no idea what I was thinking when I posted it


Search is your friend
“I was having a mildly paranoid day, mostly due to the
fact that the mad priest lady from over the river had
taken to nailing weasels to my front door again.”
Go to Top of Page

CptSternn
Starting Member

Ireland
17 Posts

Posted - 07 April 2009 :  02:00:42  Show Profile  Visit CptSternn's Homepage
Thanks for that - but note, in the upgrade version of the new system it will automatically upgrade your current database so you can use it and then you don't have to worry about any changes to it from the mods - all the old changes will be there already.

I was asking more about the code itself. I thought maybe someone wrote a utility that would grep differences from the old page and new page and could easily copy over any changes.

If no one has, maybe thats something I need to work on...
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 07 April 2009 :  02:44:53  Show Profile
There are a number of programs out there which compare files. Beyond Compare, Ultra Compare, etc. Google "file comparison" utility.
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.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07