TheMayhem |
12-13-2010 08:54 PM |
Quote:
Originally Posted by NovoCiv
(Post 2133398)
I have a question about upgrading. I've modified a lot of items in the market and a lot of code in the actual file. Will I lose all of my custom scripted items if I upgrade to a new version?
|
The market.php has been heavily-heavily edited between 3.0.1 and 3.1.0
What I essentiall did is split the market.php file up into about 8 files that are located inside a new directory called pointmarket, which makes it easier for me to edit.
The file that now deals with purchases is called market_purchase.php. In addition to the name change, there is a coupon addition associated with all purchases on the market_transactions queries that is run as well as a marketid/mid column change, and a few other things. So in short, yes if you custom scripted anything you will need to remodify the code after the upgrade. Finally, if you ended up creating any NEW items in the market_items table by creating a new table row/data, you will severely-severely screw up the code and probably will have to uninstall/reinstall. Now if you just used the market test items that were precoded for your use, then you won't have to uninstall anything and simply just remodify the code for 3.1.0
|