ok
Code: Alles auswählen
CREATE TABLE `phpbb_user_shops` (
`id` INT( 10 ) NOT NULL AUTO_INCREMENT ,
`user_id` INT( 10 ) NOT NULL ,
`username` VARCHAR( 32 ) NOT NULL ,
`shop_name` VARCHAR( 32 ) NOT NULL ,
`shop_type` VARCHAR( 32 ) NOT NULL ,
`shop_opened` INT( 10 ) NOT NULL ,
`shop_updated` INT( 10 ) NOT NULL,
`shop_status` TINYINT( 1 ) DEFAULT '0' NOT NULL ,
`amount_earnt` INT( 10 ) DEFAULT '0' NOT NULL ,
`amount_holding` INT( 10 ) DEFAULT '0' NOT NULL ,
`items_sold` INT( 10 ) DEFAULT '0' NOT NULL ,
`items_holding` INT( 10 ) DEFAULT '0' NOT NULL ,
PRIMARY KEY ( `user_id` ) ,
INDEX ( `id` )
);
CREATE TABLE `phpbb_user_shops_items` (
`id` INT( 10 ) NOT NULL AUTO_INCREMENT ,
`shop_id` INT( 10 ) NOT NULL ,
`item_id` INT( 10 ) NOT NULL ,
`real_id` INT( 10 ) NOT NULL ,
`seller_notes` VARCHAR( 255 ) NOT NULL ,
`cost` INT( 10 ) NOT NULL ,
`time_added` INT( 10 ) NOT NULL ,
INDEX ( `shop_id` ) ,
PRIMARY KEY ( `id` )
);
INSERT INTO `phpbb_config` (config_name, config_value) VALUES ('u_shops_enabled', '0');
INSERT INTO `phpbb_config` (config_name, config_value) VALUES ('u_shops_open_cost', '0');
INSERT INTO `phpbb_config` (config_name, config_value) VALUES ('u_shops_tax_percent', '0');
INSERT INTO `phpbb_config` (config_name, config_value) VALUES ('u_shops_max_items', '100');
da ist aus der install datei...
man muss aba aus phpbb orion machen