- implemented screenshot handling, inclding

* editing after upload
  * reputation gain for approved uploads
  * moderator interface (albeit a bit wonky)

I still do not speak French, Spanish or Russian, so translations are
appreciated
This commit is contained in:
Sarjuuk
2014-11-12 19:35:03 +01:00
parent f413089328
commit 0b46d15a2a
22 changed files with 1591 additions and 34 deletions

View File

@@ -0,0 +1,16 @@
DROP TABLE IF EXISTS `aowow_screenshots`;
CREATE TABLE IF NOT EXISTS `aowow_screenshots` (
`id` int(16) unsigned NOT NULL AUTO_INCREMENT,
`type` tinyint(4) unsigned NOT NULL,
`typeId` mediumint(9) NOT NULL,
`uploader` int(16) unsigned NOT NULL,
`date` int(32) unsigned NOT NULL,
`width` smallint(5) unsigned NOT NULL,
`height` smallint(5) unsigned NOT NULL,
`caption` varchar(250) DEFAULT NULL,
`status` tinyint(3) unsigned NOT NULL COMMENT 'see defines.php - CC_FLAG_*',
`approvedBy` int(16) unsigned DEFAULT NULL,
`deletedBy` int(16) unsigned DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `type` (`type`,`typeId`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;