OK, here's the basic MySQL queries. I just grabbed these from the installScript.php file. Tell me how you go.
CREATE TABLE `smf_shop_items` (
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
`name` VARCHAR(50) NOT NULL,
`desc` TEXT NOT NULL,
`price` DECIMAL(8,2) UNSIGNED NOT NULL,
`module` TINYTEXT NOT NULL,
`stock` SMALLINT NOT NULL,
`info1` TEXT NOT NULL,
`info2` TEXT NOT NULL,
`info3` TEXT NOT NULL,
`info4` TEXT NOT NULL,
`input_needed` TINYINT UNSIGNED DEFAULT '1' NOT NULL,
`can_use_item` TINYINT UNSIGNED DEFAULT '1' NOT NULL,
`image` TINYTEXT NOT NULL,
PRIMARY KEY (`id`)
);
CREATE TABLE `smf_shop_inventory` (
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT ,
`ownerid` INT UNSIGNED NOT NULL ,
`itemid` INT UNSIGNED NOT NULL ,
`amtpaid` DECIMAL(8, 2) UNSIGNED DEFAULT '0.00' NOT NULL,
`trading` TINYINT(1) UNSIGNED NOT NULL,
`tradecost` DECIMAL(8, 2) NOT NULL,
PRIMARY KEY (`id`)
);
ALTER TABLE `smf_members` ADD `money` DECIMAL(9, 2) UNSIGNED DEFAULT '0.00' NOT NULL;
ALTER TABLE `smf_members` ADD `moneyBank` DECIMAL(9, 2) UNSIGNED DEFAULT '0.00' NOT NULL;
INSERT INTO `smf_settings` (`variable`,`value`) VALUES ('shopVersion', '2.1');
INSERT INTO `smf_settings` (`variable`,`value`) VALUES ('shopDate', '11th March 2006');
INSERT INTO `smf_settings` (`variable`,`value`) VALUES ('shopBuild', '9');
INSERT INTO `smf_settings` (`variable`,`value`) VALUES ('shopCurrencyPrefix', '');
INSERT INTO `smf_settings` (`variable`,`value`) VALUES ('shopCurrencySuffix', ' credits');
INSERT INTO `smf_settings` (`variable`,`value`) VALUES ('shopPointsPerTopic', '10');
INSERT INTO `smf_settings` (`variable`,`value`) VALUES ('shopPointsPerPost', '8');
INSERT INTO `smf_settings` (`variable`,`value`) VALUES ('shopInterest', '2');
INSERT INTO `smf_settings` (`variable`,`value`) VALUES ('shopBankEnabled', '1');
INSERT INTO `smf_settings` (`variable`,`value`) VALUES ('shopImageWidth', '32'), ('shopImageHeight', '32');
INSERT INTO `smf_settings` ( `variable` , `value` ) VALUES ('shopTradeEnabled', '1');
INSERT INTO `smf_settings` VALUES ('shopItemsPerPage', '10');
UPDATE `smf_members` SET `money` = '10000' WHERE `ID_MEMBER` = '1' LIMIT 1;
INSERT INTO `smf_shop_items` ( `id` , `name` , `desc` , `price` , `module` , `stock` ) VALUES (
'', 'Test Item', 'Just a test item!', '10.00', 'testitem', '50');
INSERT INTO `smf_shop_items` ( `id` , `name` , `desc` , `price` , `module` , `stock` ) VALUES (
'', 'Random Money', 'Get a random amount of money, between -190 and 190!', '75', 'RandomMoney', '50');
INSERT INTO `smf_shop_items` ( `id` , `name` , `desc` , `price` , `module` , `stock` ) VALUES (
'', 'Add 100 to Post Count', 'Increase your Post Count by 100!', '50', 'AddToPostCount', '50');
INSERT INTO `smf_shop_items` ( `id` , `name` , `desc` , `price` , `module` , `stock` ) VALUES (
'', 'Increase Karma', 'Increase your Karma by 5', '100', 'IncreaseKarma', '50');
INSERT INTO `smf_shop_items` ( `id` , `name` , `desc` , `price` , `module` , `stock` ) VALUES (
'', 'Change Username', 'Change your Username!', '50', 'ChangeUsername', '50');
INSERT INTO `smf_shop_items` ( `id` , `name` , `desc` , `price` , `module` , `stock` ) VALUES (
'', 'Change User Title', 'Change your User Title', '50', 'ChangeUserTitle', '50');
INSERT INTO `smf_shop_items` ( `id` , `name` , `desc` , `price` , `module` , `stock` ) VALUES (
'', 'Increase Total Time', 'Increase your total time logged in by 12 hours.', '50', 'IncreaseTimeLoggedIn', '50');
INSERT INTO `smf_shop_items` ( `id` , `name` , `desc` , `price` , `module` , `stock` ) VALUES (
'', 'Change Other\\'s Title', 'Change someone else\\'s title', '200', 'ChangeOtherTitle', '50');
INSERT INTO `smf_shop_items` ( `id` , `name` , `desc` , `price` , `module` , `stock` ) VALUES (
'', 'Decrease Posts by 100', 'Decrease <i>Someone else\\'s</i> post count by 100!!', '200', 'DecreasePost', '50');
UPDATE smf_shop_items SET info1 = '100', input_needed = 0 WHERE module = 'AddToPostCount';
UPDATE smf_shop_items SET info1 = '5', input_needed = 0 WHERE module = 'IncreaseKarma';
UPDATE smf_shop_items SET info1 = '43200', input_needed = 0 WHERE module = 'IncreaseTimeLoggedIn';
UPDATE smf_shop_items SET info1 = '-190', info2 = '190', input_needed = 0 WHERE module = 'RandomMoney';
UPDATE smf_shop_items SET info1 = '40', input_needed = 1 WHERE module = 'Steal';
INSERT INTO `smf_shop_items` VALUES ('', 'Steal Credits', 'Try to steal credits from another member!', 50, 'Steal', 50, '40', '', '', '', 1, 1, 'blank.gif');
INSERT INTO `smf_shop_items` VALUES ('', 'Rock', 'Well.... It does nothing', 5, 'Rock', 50, '', '', '', '', 0, 0, 'blank.gif');
INSERT INTO `smf_shop_items` (`name`, `desc`, `price`, `module`, `stock`, `input_needed`, `can_use_item`) VALUES (
'Change Display Name', 'Change your display name!', 50.00, 'ChangeDisplayName', 49, 1, 1);
INSERT INTO `smf_shop_items` (`name`, `desc`, `price`, `module`, `stock`, `input_needed`, `can_use_item`) VALUES ('Sticky Topic', 'Make any one of your topics a sticky!', 400.00, 'StickyTopic', 50, 1, 1);
UPDATE smf_shop_items SET image = 'blank.gif';
ALTER TABLE `smf_boards` ADD `countMoney` TINYINT(1) UNSIGNED DEFAULT '1' NOT NULL;