SVN Changelog for SMFShop
$Id: svn_changelog.txt 78 2007-01-18 08:14:54Z daniel15 $
Latest released version: SMFShop 2.3 Build 11 (Released 21st October 2006)

NOTE: This file will only document large changes. Trivial changes will not be listed here, and instead will be added as comments to the SVN commit.
NOTE 2: This file will only list changes since the latest released version of SMFShop. For older changes, please see the svn_changelog_old.txt file
============================

18th January 2007
-----------------
Changes:
 - [Most source files] Implemented permissions (finally! :-))
 - More minor cleanup
 - [Shop.template.php] In category list, say "1 item" rather than "1 items"

11-13th January 2007
--------------------
Changes:
 - [Shop.english.php] Cleaned up language file
 - (index.template.php) Fixed minor problem with shop admin panel in SMF 1.1 Default theme (Core)
 - Moved shop subprocedures into Shop-Subs.php file
 - Started working on category support

CREATE TABLE `smf_shop_categories` (
`id` SMALLINT( 5 ) UNSIGNED NOT NULL ,
`name` VARCHAR( 50 ) NOT NULL ,
`parent_id` SMALLINT( 5 ) UNSIGNED NOT NULL ,
`count` INT UNSIGNED NOT NULL ,
PRIMARY KEY ( `id` ) 
);

ALTER TABLE `smf_shop_items` ADD `category` SMALLINT NOT NULL ;

9th January 2007
----------------
Changes:
 - [ShopAdmin.php, ShopAdmin.template.php] When editing an item, you can now edit the item_info (getAddInput() info)
 - [All item files] Code cleanup
 - [DecreasePost.php] Admin can choose number to decrease post count by

8th January 2007
----------------
Changes:
 - [ShopAdmin.template.php] More layout fixes
 
 - New 'header' (comments at top of pages), similar to SMF one
 - Minor bug fixes

7th January 2007
----------------
Changes:
 - [ShopAdmin.template.php] Changed layout slightly
 - [ShopAdmin.template.php, Shop.template.php, Shop-Bank.php] Added bank deposit/withdraw fees
 - [Shop-Bank.php] Fixed small bug with bank withdrawals
 - [Shop.english.php] Changed $txt['shop_trade_message'] (Whilst --> If)
 - [Shop.english.php] Fixed problem in $txt['shop_add_item_message2'] which caused a sprintf() error on the Add An Item page
 - [ShopAdmin.php] Removed echoSelectImage() function, obsoleted by getImageList() to get array and formatted in template files
 - [ShopAdmin.template.php, ShopAdmin.php, Shop-Inventory.php] Option to not delete item after use
 
MySQL changes:
 - ALTER TABLE `smf_shop_items` ADD `delete_after_use` TINYINT(1) UNSIGNED DEFAULT '1' NOT NULL AFTER `can_use_item`;
 
4th January 2007
----------------
Changes:
 - (Post.php) [ShopAdmin.php, ShopAdmin.template.php] Started working on bonuses per word and/or character
 - [Shop.template.php] Cleaned up shop main page a bit.

3rd January 2007
----------------
Changes:
 - [ShopAdmin.template.php] Minor changes to template
 - [Shop*.php] Heaps of code cleanup
 - [ShopAdmin.php] Use fatal_lang_error() rather than die() for fatal errors (which shouldn't happen)
 - [Shop.php] List of members money (?action=viewall) now shows realName rather than memberName
 - [Shop-Trade.php] Fixed a minor error with the Trade Centre, when a member tries to purchase an item they can't afford
 - [Shop*.php, Shop.template.php] Use layer system for shop header and footer
 - [Shop.template.php] Hide minimum deposit and withdraw if they're equal to 0
 - [Shop.english.php] Cleaned up code formatting (use ' instead of ")

2nd January 2007 - Revision 52
----------------
Changes:
 - [Shop.template.php] Changed formatting of headings (use titlebg rather than just centering the test
 - [Shop.english.php] Change capitalisation of $txt['shop_send_item'] (Send an item to someone --> Send an Item to Someone
 - [Shop.template.php, minor edits to Shop.php, Shop-Bank.php, Shop-Buy.php, Shop-Send.php, Shop-Trade.php, Shop-Inventory.php] In the left-hand shop menu, the current action is now bolded
 - [svn_changelog.txt] Moved older changelog entries to svn_changelog_old.txt

22nd December 2006 - Revision 50
------------------
Changes:
 - Fixed bugs reported by TacticalPenguin:
    - [ChangeDisplayName.php] If no value is set for the length, assume 5 (was done previously in onUse but not in useGetInput)
    - [ChangeOtherTitle.php] require_input accidentally set to false, fixed now

20th December 2006
------------------
Changes:
 * Added SMF 1.1 support

Files Changed:
 * package-info.xml

17th December 2006
------------------
Changes:
 * --- REMOVED SMF 1.0 compatibility! ---
 
 * Fixed problem with SMF 1.1's Find Members popup
 * Minor code changes for 10 richest pocket/money list
 * In 10 richest list, link username to user's profile
 * Show user's credits on their profile page
 * When sending an item to someone, use better error checking
 * User's money is now part of $context['user'] array
 * Fixed problem with item picture in Trade Centre (it was being confined to 32x32)
 * Fixed trade centre message ("receive a notification via email" --> "receive a notification via IM")
 * General code tidying and reformatting (including moving some stuff into template)

Files Modified:
 * Shop.php
 * Shop-Send.php
 * Shop-Inventory.php
 * Shop-Buy.php
 * Shop-Trade.php
 * Shop-Bank.php
 * Shop-Send.php
 * Shop.template.php
 
 * install_SMF1-1.xml
 
SMF Files edited:
 * Profile.template.php
 * Profile.php
 * Load.php

8th December 2006 - Revision 37
-----------------
Changes:
 * Moved some code from Display.template.php to Load.php (finally!!)
 * Renamed install_SMF1-1RC2.xml to install_SMF1-1.xml
 * Changed some things in the readme

Files Modified:
 * install_SMF1-1.xml
 * readme_1-1.txt
 * package-info.xml


29th November 2006 - Revision 34
------------------
Changes:
 * Optimised inventory queries slightly (instead of fetching all rows into array, it uses MySQL LIMIT to limit number of rows returned)
 * Moved some code from Shop-Buy.php and Shop-Inventory.php to the template
 * Fixed slight problem in formatting of shop footer (missing space)
 * Minor fix to $txt['shop_send_money_message'] (said E-Mail instead of PM)
 * Minor change to how version information is shown for development versions

Files Modified:
 * Shop-Buy.php
 * Shop-Inventory.php
 * Shop.template.php
 * Shop.english.php
 * shopVersion.php

Modified language strings:
 * $txt['shop_send_money_message']

22nd November 2006
------------------
Changes:
 * When sending an item to someone, show an error if they don't exist (as per http://www.daniel15.com/forum/index.php/topic,423.html).

Files Modified:
 * Shop-Send.php


17th November 2006
------------------
Changes:
 * Allow floating-point values for interest

Files Modified:
 * ShopAdmin.php

21st October 2006
-----------------
SMFShop 2.3 released! Please see svn_changelog_old.txt for all changes before this date