| 1 | 1 |
deleted file mode 100644 |
| ... | ... |
@@ -1,68 +0,0 @@ |
| 1 |
-Note: This is not a tutorial on how to update a skin. It's pretty much my notes on what will eventually have to |
|
| 2 |
-go into a tutorial. Therefore, there's probably things missing. We'll be working on a real tutorial. |
|
| 3 |
-Optional additions to listings.tpl for stories: |
|
| 4 |
- |
|
| 5 |
-{toc} - Table of Contents link to story index
|
|
| 6 |
-{count} - The view/read count
|
|
| 7 |
-{new} - The text "New!" for new stories or alternately a graphic (use the URL to the graphic from the main directory).
|
|
| 8 |
-{featuredtext} - The words "Featured Story" or "Past Featured Story" to use instead of the graphics if you wish
|
|
| 9 |
- |
|
| 10 |
-This is already done for you in the default_tpls folder. |
|
| 11 |
- |
|
| 12 |
-Also in listings.tpl you will need to add {comment} to both the seriesblock and storyblock sections. This
|
|
| 13 |
-will be used for favorite stories to show the member's comments about the story. Style the comment with |
|
| 14 |
-favcomment.tpl. See the default_tpls folder for an example. |
|
| 15 |
- |
|
| 16 |
-In viewstory.tpl optional addtion: |
|
| 17 |
- |
|
| 18 |
-{toc} - Table of Contents link to story index
|
|
| 19 |
- |
|
| 20 |
-The story and chapter notes (beginning and end) have been moved into blocks in viewstory.tpl This will let you |
|
| 21 |
-style them any way you wish and also hide those blocks when there are no notes to display. (See the default_tpls |
|
| 22 |
-for an example) |
|
| 23 |
- |
|
| 24 |
-For any new classifications you add you will need to modify listings.tpl, series_title.tpl, and optionally |
|
| 25 |
-viewstory.tpl and storyindex.tpl to include those additional classifications. Optionally, you can use {classifications}
|
|
| 26 |
-to include all your classifications at one time. The default_tpls/listings.tpl uses {classifications}
|
|
| 27 |
- |
|
| 28 |
-In reviews.tpl you can now add a quick review form to the bottom of the list of reviews instead of the |
|
| 29 |
-"Submit a Review" link using the {reviewform} variable. Already done in default_tpls.
|
|
| 30 |
- |
|
| 31 |
-The reviewsblock has been pulled into its own .tpl so it can be reused in places other than the reviews page |
|
| 32 |
-(such as the user panels) |
|
| 33 |
- |
|
| 34 |
-The profile section of the user page has been pulled into its own .tpl, again so that it can be re-used. |
|
| 35 |
-It should also make it easier for people modding skins. There is also now a setting in your admin settings for |
|
| 36 |
-whether or not to show the profile at the top of the view user page all the time or only when it's selected. |
|
| 37 |
- |
|
| 38 |
-In user.tpl you no longer have individual variables for the tabs. Instead it's been put into a block to |
|
| 39 |
-allow more tabs to be added dynamically without editing the tpl's each time. |
|
| 40 |
- |
|
| 41 |
-<!-- START BLOCK : paneltabs --> |
|
| 42 |
-<div {class}>{link} {count}</div>
|
|
| 43 |
-<!-- END BLOCK : paneltabs --> |
|
| 44 |
- |
|
| 45 |
-You can also use {linkcount} to include the count of items inside the link instead of next to it. You don't have
|
|
| 46 |
-to use <div>'s. This is just an example. |
|
| 47 |
- |
|
| 48 |
-Rather than have the news archive link hardcoded into the news block at the bottom, I've assigned it to a global |
|
| 49 |
-link (i.e. {home}) so that you can put it where you want. It's assigned as {newsarchive}
|
|
| 50 |
- |
|
| 51 |
-There are a large number of new links you can add to your skins and the menu block. The list is in the "Page |
|
| 52 |
-Links" section of the admin panel. |
|
| 53 |
- |
|
| 54 |
-In default_tpls, we changed the "classification" CSS class to "label". It's more clear what the purpose is |
|
| 55 |
-and shorter. :) |
|
| 56 |
- |
|
| 57 |
-For the new profile block, if you add new fields to the profile information, you will need to either add the |
|
| 58 |
-individual links such as {yahoo} or remove the individual links and make use of the new {authorfields} variable
|
|
| 59 |
-that displays the complete list of custom fields. If you're creating skins for the use of others, you're |
|
| 60 |
-encouraged to use {authorfields} instead of the individual links.
|
|
| 61 |
- |
|
| 62 |
-The $current variable for the index page was changed to home to solve a conflict with the variable name for the |
|
| 63 |
-pagelink. This will affect skins like Romance that use the current setting as the name of a containing div. |
|
| 64 |
- |
|
| 65 |
-For the featured, recent, and random blocks, if you use the .tpl option you'll need to remove the name of the |
|
| 66 |
-block from each of the variables. For instance {recenttitle} will now be {title}. This is because each of
|
|
| 67 |
-these blocks now uses the storyblock.php code. Therefore, you can also add any of the information you can |
|
| 68 |
-use in the listings.tpl to your random, featured, and recent blocks. |
| 69 | 0 |
deleted file mode 100644 |
| ... | ... |
@@ -1,6 +0,0 @@ |
| 1 |
-ALTER TABLE fanfiction_stories ADD `classes` VARCHAR( 200 ) NULL AFTER `catid`, |
|
| 2 |
-CHANGE `summary` `summary` TEXT NULL, |
|
| 3 |
-ADD `coauthors` VARCHAR( 200 ) NULL AFTER `uid`, |
|
| 4 |
-CHANGE `numreviews` `reviews` SMALLINT( 6 ) DEFAULT '0' NOT NULL, |
|
| 5 |
-CHANGE `counter` `count` INT( 11 ) NOT NULL DEFAULT '0' AFTER `reviews`, |
|
| 6 |
-ADD `storynotes` TEXT NULL DEFAULT '' AFTER `summary`; |
| 7 | 0 |
deleted file mode 100644 |
| ... | ... |
@@ -1,10 +0,0 @@ |
| 1 |
-ALTER TABLE fanfiction_stories ADD `classes` VARCHAR( 200 ) NULL AFTER `catid`; |
|
| 2 |
-ALTER TABLE fanfiction_series ADD `classes` VARCHAR( 200 ) NULL AFTER `catid`; |
|
| 3 |
-ALTER TABLE fanfiction_series CHANGE `owner` `uid` INT( 11 ) NOT NULL DEFAULT '0' |
|
| 4 |
-ALTER TABLE fanfiction_stories CHANGE `summary` `summary` TEXT NULL |
|
| 5 |
-ALTER TABLE fanfiction_series CHANGE `summary` `summary` TEXT NULL |
|
| 6 |
-ALTER TABLE fanfiction_stories ADD `coauthors` VARCHAR( 200 ) NULL AFTER `uid` |
|
| 7 |
-ALTER TABLE fanfiction_stories ADD `count` INT( 11 ) NOT NULL DEFAULT '0' AFTER `reviews`; |
|
| 8 |
-ALTER TABLE fanfiction_stories ADD `storynotes` TEXT NULL DEFAULT '' AFTER `summary`; |
|
| 9 |
-ALTER TABLE fanfiction_chapters ADD `endnotes` TEXT NULL DEFAULT '' AFTER `storytext`; |
|
| 10 |
-ALTER TABLE fanfiction_chapters ADD `count` INT( 11 ) NOT NULL DEFAULT '0' AFTER `uid`; |
| 11 | 0 |
deleted file mode 100644 |
| ... | ... |
@@ -1,6 +0,0 @@ |
| 1 |
-ALTER TABLE fanfiction_stories ADD `classes` VARCHAR( 200 ) NULL AFTER `catid`, |
|
| 2 |
-CHANGE `summary` `summary` TEXT NULL, |
|
| 3 |
-ADD `coauthors` VARCHAR( 200 ) NULL AFTER `uid`, |
|
| 4 |
-CHANGE `numreviews` `reviews` SMALLINT( 6 ) DEFAULT '0' NOT NULL, |
|
| 5 |
-CHANGE `counter` `count` INT( 11 ) NOT NULL DEFAULT '0' AFTER `reviews`, |
|
| 6 |
-ADD `storynotes` TEXT NULL DEFAULT '' AFTER `summary`; |
| 7 | 0 |
deleted file mode 100644 |
| ... | ... |
@@ -1,181 +0,0 @@ |
| 1 |
-CREATE TABLE `fanfiction_authorfields` ( |
|
| 2 |
- `field_id` int(11) NOT NULL AUTO_INCREMENT, |
|
| 3 |
- `field_type` tinyint(4) NOT NULL default '0', |
|
| 4 |
- `field_name` varchar(30) NOT NULL default ' ', |
|
| 5 |
- `field_title` varchar(255) NOT NULL default ' ', |
|
| 6 |
- `field_options` text, |
|
| 7 |
- `field_code_in` text, |
|
| 8 |
- `field_code_out` text, |
|
| 9 |
- `field_on` tinyint(1) NOT NULL default '0', |
|
| 10 |
- PRIMARY KEY (`field_id`) |
|
| 11 |
-) ENGINE=MyISAM; |
|
| 12 |
-CREATE TABLE `fanfiction_authorinfo` ( |
|
| 13 |
- `uid` int(11) NOT NULL default '0', |
|
| 14 |
- `field` int(11) NOT NULL default '0', |
|
| 15 |
- `info` varchar(255) NOT NULL default ' ', |
|
| 16 |
- KEY `uid` (`uid`) |
|
| 17 |
-) ENGINE=MyISAM; |
|
| 18 |
-CREATE TABLE `fanfiction_authorprefs` ( |
|
| 19 |
- `uid` int(11) NOT NULL default '0', |
|
| 20 |
- `newreviews` tinyint(1) NOT NULL default '0', |
|
| 21 |
- `newrespond` tinyint(1) NOT NULL default '0', |
|
| 22 |
- `ageconsent` tinyint(1) NOT NULL default '0', |
|
| 23 |
- `alertson` tinyint(1) NOT NULL default '0', |
|
| 24 |
- `tinyMCE` tinyint(1) NOT NULL default '0', |
|
| 25 |
- `sortby` tinyint(1) NOT NULL default '0', |
|
| 26 |
- `storyindex` tinyint(1) NOT NULL default '0', |
|
| 27 |
- `validated` tinyint(1) NOT NULL default '0', |
|
| 28 |
- `userskin` varchar(60) NOT NULL default 'default', |
|
| 29 |
- `level` tinyint(1) NOT NULL default '0', |
|
| 30 |
- `categories` varchar(200) NOT NULL default '0', |
|
| 31 |
- `contact` tinyint(1) NOT NULL default '0', |
|
| 32 |
- PRIMARY KEY (`uid`) |
|
| 33 |
-) ENGINE=MyISAM; |
|
| 34 |
-CREATE TABLE `fanfiction_blocks` ( |
|
| 35 |
- `block_id` int(11) NOT NULL auto_increment, |
|
| 36 |
- `block_name` varchar(30) NOT NULL default '', |
|
| 37 |
- `block_title` varchar(150) NOT NULL default '', |
|
| 38 |
- `block_file` varchar(200) NOT NULL default '', |
|
| 39 |
- `block_status` tinyint(1) NOT NULL default '0', |
|
| 40 |
- `block_variables` text NOT NULL, |
|
| 41 |
- PRIMARY KEY (`block_id`), |
|
| 42 |
- KEY `block_name` (`block_name`) |
|
| 43 |
-) ENGINE=MyISAM; |
|
| 44 |
-CREATE TABLE `fanfiction_chapters` ( |
|
| 45 |
- `chapid` int(11) NOT NULL auto_increment, |
|
| 46 |
- `title` varchar(250) NOT NULL default '', |
|
| 47 |
- `inorder` int(11) NOT NULL default '0', |
|
| 48 |
- `notes` text NULL, |
|
| 49 |
- `storytext` text NULL, |
|
| 50 |
- `endnotes` text NULL, |
|
| 51 |
- `validated` char(1) NOT NULL default '0', |
|
| 52 |
- `wordcount` int(11) NOT NULL default '0', |
|
| 53 |
- `rating` tinyint(4) NOT NULL default '0', |
|
| 54 |
- `reviews` smallint(6) NOT NULL default '0', |
|
| 55 |
- `sid` int(11) NOT NULL default '0', |
|
| 56 |
- `uid` int(11) NOT NULL default '0', |
|
| 57 |
- `count` int(11) NOT NULL default '0', |
|
| 58 |
- PRIMARY KEY (`chapid`), |
|
| 59 |
- KEY `sid` (`sid`), |
|
| 60 |
- KEY `uid` (`uid`), |
|
| 61 |
- KEY `inorder` (`inorder`), |
|
| 62 |
- KEY `title` (`title`), |
|
| 63 |
- KEY `validated` (`validated`) |
|
| 64 |
-) ENGINE=MyISAM; |
|
| 65 |
-CREATE TABLE `fanfiction_classes` ( |
|
| 66 |
- `class_id` int(11) NOT NULL auto_increment, |
|
| 67 |
- `class_type` int(11) NOT NULL default '0', |
|
| 68 |
- `class_name` varchar(100) NOT NULL default '', |
|
| 69 |
- PRIMARY KEY (`class_id`) |
|
| 70 |
-) ENGINE=MyISAM; |
|
| 71 |
-CREATE TABLE `fanfiction_classtypes` ( |
|
| 72 |
- `classtype_id` int(11) NOT NULL auto_increment, |
|
| 73 |
- `classtype_name` varchar(50) NOT NULL default '', |
|
| 74 |
- `classtype_title` varchar(50) NOT NULL default '', |
|
| 75 |
- PRIMARY KEY (`classtype_id`), |
|
| 76 |
- KEY `classtype_title` (`classtype_title`) |
|
| 77 |
-) ENGINE=MyISAM; |
|
| 78 |
-CREATE TABLE `fanfiction_codeblocks` ( |
|
| 79 |
- `code_id` int(11) NOT NULL auto_increment, |
|
| 80 |
- `code_text` text NOT NULL, |
|
| 81 |
- `code_type` varchar(20) default NULL, |
|
| 82 |
- `code_module` varchar(60) default NULL, |
|
| 83 |
- PRIMARY KEY (`code_id`) |
|
| 84 |
-) ENGINE=MyISAM; |
|
| 85 |
-CREATE TABLE `fanfiction_favorites` ( |
|
| 86 |
- `uid` int(11) NOT NULL default '0', |
|
| 87 |
- `item` int(11) NOT NULL default '0', |
|
| 88 |
- `type` char(2) NOT NULL default '', |
|
| 89 |
- `comments` text NULL, |
|
| 90 |
- KEY `uid` (`uid`) |
|
| 91 |
-) ENGINE=MyISAM; |
|
| 92 |
-CREATE TABLE `fanfiction_inseries` ( |
|
| 93 |
- `seriesid` int(11) NOT NULL default '0', |
|
| 94 |
- `sid` int(11) NOT NULL default '0', |
|
| 95 |
- `subseriesid` int(11) NOT NULL default '0', |
|
| 96 |
- `confirmed` int(11) NOT NULL default '0', |
|
| 97 |
- `inorder` int(11) NOT NULL default '0', |
|
| 98 |
- `updated` datetime NOT NULL default '0000-00-00 00:00:00', |
|
| 99 |
- KEY `sid` (`sid`), |
|
| 100 |
- KEY `inorder` (`inorder`), |
|
| 101 |
- KEY `seriesid` (`seriesid`) |
|
| 102 |
-) ENGINE=MyISAM; |
|
| 103 |
-CREATE TABLE `fanfiction_log` ( |
|
| 104 |
- `log_id` int(11) NOT NULL auto_increment, |
|
| 105 |
- `log_action` varchar(255) default NULL, |
|
| 106 |
- `log_uid` int(11) NOT NULL, |
|
| 107 |
- `log_ip` int(11) default NULL, |
|
| 108 |
- `log_timestamp` timestamp NOT NULL, |
|
| 109 |
- `log_type` varchar(2) NOT NULL, |
|
| 110 |
- PRIMARY KEY (`log_id`) |
|
| 111 |
-) ENGINE=MyISAM |
|
| 112 |
-CREATE TABLE `fanfiction_messages` ( |
|
| 113 |
- `message_id` int(11) NOT NULL auto_increment, |
|
| 114 |
- `message_name` varchar(50) NOT NULL default '', |
|
| 115 |
- `message_title` varchar(200) NOT NULL default '', |
|
| 116 |
- `message_text` text NULL, |
|
| 117 |
- PRIMARY KEY (`message_id`) |
|
| 118 |
-) ENGINE=MyISAM; |
|
| 119 |
-CREATE TABLE `".$tableprefix."fanfiction_modules` ( |
|
| 120 |
- `id` int(11) NOT NULL auto_increment, |
|
| 121 |
- `name` varchar(100) NOT NULL default 'Test Module', |
|
| 122 |
- `version` varchar(10) NOT NULL default '1.0', |
|
| 123 |
- PRIMARY KEY (`id`), |
|
| 124 |
- KEY `name_version` (`name`,`version`) |
|
| 125 |
-) ENGINE=MyISAM; |
|
| 126 |
-CREATE TABLE `fanfiction_pagelinks` ( |
|
| 127 |
- `link_id` int(11) NOT NULL auto_increment, |
|
| 128 |
- `link_name` varchar(50) NOT NULL default '', |
|
| 129 |
- `link_text` varchar(100) NOT NULL default '', |
|
| 130 |
- `link_url` varchar(250) NOT NULL default '', |
|
| 131 |
- `link_target` char(1) NOT NULL default '0', |
|
| 132 |
- `link_access` tinyint(4) NOT NULL default '0', |
|
| 133 |
- PRIMARY KEY (`link_id`), |
|
| 134 |
- KEY `link_text` (`link_text`), |
|
| 135 |
- KEY `link_name` (`link_name`) |
|
| 136 |
-) ENGINE=MyISAM; |
|
| 137 |
-CREATE TABLE `fanfiction_panels` ( |
|
| 138 |
- `panel_id` int(11) NOT NULL auto_increment, |
|
| 139 |
- `panel_name` varchar(50) NOT NULL default 'unknown', |
|
| 140 |
- `panel_title` varchar(100) NOT NULL default 'Unnamed Panel', |
|
| 141 |
- `panel_url` varchar(100) default NULL, |
|
| 142 |
- `panel_level` tinyint(4) NOT NULL default '3', |
|
| 143 |
- `panel_order` tinyint(4) NOT NULL default '0', |
|
| 144 |
- `panel_hidden` tinyint(1) NOT NULL default '0', |
|
| 145 |
- `panel_type` varchar(20) NOT NULL default 'A', |
|
| 146 |
- PRIMARY KEY (`panel_id`), |
|
| 147 |
- KEY `panel_hidden` (`panel_hidden`), |
|
| 148 |
- KEY `panel_type` (`panel_type`) |
|
| 149 |
-) ENGINE=MyISAM; |
|
| 150 |
-CREATE TABLE `fanfiction_series` ( |
|
| 151 |
- `seriesid` int(11) NOT NULL auto_increment, |
|
| 152 |
- `title` varchar(200) NOT NULL default '', |
|
| 153 |
- `summary` text NOT NULL, |
|
| 154 |
- `uid` int(11) NOT NULL default '0', |
|
| 155 |
- `isopen` tinyint(4) NOT NULL default '0', |
|
| 156 |
- `catid` varchar(200) NOT NULL default '0', |
|
| 157 |
- `rating` tinyint(4) NOT NULL default '0', |
|
| 158 |
- `classes` varchar(200) NOT NULL default '', |
|
| 159 |
- `characters` varchar(250) NOT NULL default '', |
|
| 160 |
- `reviews` smallint(6) NOT NULL default '0', |
|
| 161 |
- `challenges` varchar(200) NOT NULL default '', |
|
| 162 |
- PRIMARY KEY (`seriesid`), |
|
| 163 |
- KEY `owner` (`uid`), |
|
| 164 |
- KEY `catid` (`catid`), |
|
| 165 |
- KEY `challenges` (`challenges`), |
|
| 166 |
- KEY `characters` (`characters`), |
|
| 167 |
- KEY `classes` (`classes`) |
|
| 168 |
-) ENGINE=MyISAM; |
|
| 169 |
- |
|
| 170 |
-CREATE TABLE `fanfiction_stats` ( |
|
| 171 |
- `sitekey` varchar(50) NOT NULL default '0', |
|
| 172 |
- `stories` int(11) NOT NULL default '0', |
|
| 173 |
- `chapters` int(11) NOT NULL default '0', |
|
| 174 |
- `series` int(11) NOT NULL default '0', |
|
| 175 |
- `reviews` int(11) NOT NULL default '0', |
|
| 176 |
- `wordcount` int(11) NOT NULL default '0', |
|
| 177 |
- `authors` int(11) NOT NULL default '0', |
|
| 178 |
- `members` int(11) NOT NULL default '0', |
|
| 179 |
- `reviewers` int(11) NOT NULL default '0', |
|
| 180 |
- `newestmember` int(11) NOT NULL default '0' |
|
| 181 |
-) ENGINE=MyISAM; |
| 182 | 0 |
deleted file mode 100644 |
| ... | ... |
@@ -1,10 +0,0 @@ |
| 1 |
-ALTER TABLE fanfiction_stories ADD `classes` VARCHAR( 200 ) NULL AFTER `catid`; |
|
| 2 |
-ALTER TABLE fanfiction_series ADD `classes` VARCHAR( 200 ) NULL AFTER `catid`; |
|
| 3 |
-ALTER TABLE fanfiction_series CHANGE `owner` `uid` INT( 11 ) NOT NULL DEFAULT '0' |
|
| 4 |
-ALTER TABLE fanfiction_stories CHANGE `summary` `summary` TEXT NULL |
|
| 5 |
-ALTER TABLE fanfiction_series CHANGE `summary` `summary` TEXT NULL |
|
| 6 |
-ALTER TABLE fanfiction_stories ADD `coauthors` VARCHAR( 200 ) NULL AFTER `uid` |
|
| 7 |
-ALTER TABLE fanfiction_stories ADD `count` INT( 11 ) NOT NULL DEFAULT '0' AFTER `reviews`; |
|
| 8 |
-ALTER TABLE fanfiction_stories ADD `storynotes` TEXT NULL DEFAULT '' AFTER `summary`; |
|
| 9 |
-ALTER TABLE fanfiction_chapters ADD `endnotes` TEXT NULL DEFAULT '' AFTER `storytext`; |
|
| 10 |
-ALTER TABLE fanfiction_chapters ADD `count` INT( 11 ) NOT NULL DEFAULT '0' AFTER `uid`; |
| 11 | 0 |
deleted file mode 100644 |
| ... | ... |
@@ -1,230 +0,0 @@ |
| 1 |
- |
|
| 2 |
- |
|
| 3 |
- |
|
| 4 |
-CREATE TABLE `fanfiction_authorfields` ( |
|
| 5 |
- `field_id` int(11) NOT NULL auto_increment, |
|
| 6 |
- `field_type` tinyint(4) NOT NULL default '0', |
|
| 7 |
- `field_name` varchar(30) NOT NULL default ' ', |
|
| 8 |
- `field_title` varchar(255) NOT NULL default ' ', |
|
| 9 |
- `field_options` text, |
|
| 10 |
- `field_code_in` text, |
|
| 11 |
- `field_code_out` text, |
|
| 12 |
- `field_on` tinyint(1) NOT NULL default '0', |
|
| 13 |
- PRIMARY KEY (`field_id`) |
|
| 14 |
-) ; |
|
| 15 |
- |
|
| 16 |
- |
|
| 17 |
- |
|
| 18 |
-CREATE TABLE `fanfiction_authorinfo` ( |
|
| 19 |
- `uid` int(11) NOT NULL default '0', |
|
| 20 |
- `field` int(11) NOT NULL default '0', |
|
| 21 |
- `info` varchar(255) NOT NULL default ' ', |
|
| 22 |
- KEY `uid` (`uid`) |
|
| 23 |
-); |
|
| 24 |
- |
|
| 25 |
- |
|
| 26 |
- |
|
| 27 |
-CREATE TABLE `fanfiction_authorprefs` ( |
|
| 28 |
- `uid` int(11) NOT NULL default '0', |
|
| 29 |
- `newreviews` tinyint(1) NOT NULL default '0', |
|
| 30 |
- `newrespond` tinyint(1) NOT NULL default '0', |
|
| 31 |
- `ageconsent` tinyint(1) NOT NULL default '0', |
|
| 32 |
- `alertson` tinyint(1) NOT NULL default '0', |
|
| 33 |
- `tinyMCE` tinyint(1) NOT NULL default '0', |
|
| 34 |
- `sortby` tinyint(1) NOT NULL default '0', |
|
| 35 |
- `storyindex` tinyint(1) NOT NULL default '0', |
|
| 36 |
- `validated` tinyint(1) NOT NULL default '0', |
|
| 37 |
- `userskin` varchar(60) NOT NULL default 'default', |
|
| 38 |
- `level` tinyint(1) NOT NULL default '0', |
|
| 39 |
- `categories` varchar(200) NOT NULL default '0', |
|
| 40 |
- `contact` tinyint(1) NOT NULL default '0', |
|
| 41 |
- PRIMARY KEY (`uid`) |
|
| 42 |
-); |
|
| 43 |
- |
|
| 44 |
- |
|
| 45 |
- |
|
| 46 |
- |
|
| 47 |
-CREATE TABLE `fanfiction_blocks` ( |
|
| 48 |
- `block_id` int(11) NOT NULL auto_increment, |
|
| 49 |
- `block_name` varchar(30) NOT NULL default '', |
|
| 50 |
- `block_title` varchar(150) NOT NULL default '', |
|
| 51 |
- `block_file` varchar(200) NOT NULL default '', |
|
| 52 |
- `block_status` tinyint(1) NOT NULL default '0', |
|
| 53 |
- `block_variables` text NOT NULL, |
|
| 54 |
- PRIMARY KEY (`block_id`), |
|
| 55 |
- KEY `block_name` (`block_name`) |
|
| 56 |
-); |
|
| 57 |
- |
|
| 58 |
- |
|
| 59 |
- |
|
| 60 |
-CREATE TABLE `fanfiction_classes` ( |
|
| 61 |
- `class_id` int(11) NOT NULL auto_increment, |
|
| 62 |
- `class_type` int(11) NOT NULL default '0', |
|
| 63 |
- `class_name` varchar(100) NOT NULL default '', |
|
| 64 |
- PRIMARY KEY (`class_id`) |
|
| 65 |
-); |
|
| 66 |
- |
|
| 67 |
- |
|
| 68 |
- |
|
| 69 |
-CREATE TABLE `fanfiction_classtypes` ( |
|
| 70 |
- `classtype_id` int(11) NOT NULL auto_increment, |
|
| 71 |
- `classtype_name` varchar(50) NOT NULL default '', |
|
| 72 |
- `classtype_title` varchar(50) NOT NULL default '', |
|
| 73 |
- PRIMARY KEY (`classtype_id`), |
|
| 74 |
- KEY `classtype_title` (`classtype_title`) |
|
| 75 |
-); |
|
| 76 |
- |
|
| 77 |
- |
|
| 78 |
- |
|
| 79 |
-CREATE TABLE `fanfiction_codeblocks` ( |
|
| 80 |
- `code_id` int(11) NOT NULL auto_increment, |
|
| 81 |
- `code_text` text NOT NULL, |
|
| 82 |
- `code_type` varchar(20) default NULL, |
|
| 83 |
- `code_module` varchar(60) default NULL, |
|
| 84 |
- PRIMARY KEY (`code_id`) |
|
| 85 |
-) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; |
|
| 86 |
- |
|
| 87 |
- |
|
| 88 |
- |
|
| 89 |
-CREATE TABLE `fanfiction_favorites` ( |
|
| 90 |
- `uid` int(11) NOT NULL default '0', |
|
| 91 |
- `item` int(11) NOT NULL default '0', |
|
| 92 |
- `type` char(2) NOT NULL default '', |
|
| 93 |
- `comments` text NOT NULL, |
|
| 94 |
- KEY `uid` (`uid`) |
|
| 95 |
-); |
|
| 96 |
- |
|
| 97 |
- |
|
| 98 |
- |
|
| 99 |
- |
|
| 100 |
-CREATE TABLE `fanfiction_log` ( |
|
| 101 |
- `log_id` int(11) NOT NULL auto_increment, |
|
| 102 |
- `log_action` varchar(255) default NULL, |
|
| 103 |
- `log_uid` int(11) NOT NULL, |
|
| 104 |
- `log_ip` int(11) default NULL, |
|
| 105 |
- `log_timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP, |
|
| 106 |
- `log_type` varchar(2) NOT NULL, |
|
| 107 |
- PRIMARY KEY (`log_id`) |
|
| 108 |
-); |
|
| 109 |
- |
|
| 110 |
- |
|
| 111 |
- |
|
| 112 |
-CREATE TABLE `fanfiction_messages` ( |
|
| 113 |
- `message_id` int(11) NOT NULL auto_increment, |
|
| 114 |
- `message_name` varchar(50) NOT NULL default '', |
|
| 115 |
- `message_title` varchar(200) NOT NULL default '', |
|
| 116 |
- `message_text` text NOT NULL, |
|
| 117 |
- PRIMARY KEY (`message_id`) |
|
| 118 |
-); |
|
| 119 |
- |
|
| 120 |
- |
|
| 121 |
- |
|
| 122 |
-CREATE TABLE `fanfiction_modules` ( |
|
| 123 |
- `id` int(11) NOT NULL auto_increment, |
|
| 124 |
- `name` varchar(100) NOT NULL default 'Test Module', |
|
| 125 |
- `version` varchar(10) NOT NULL default '1.0', |
|
| 126 |
- PRIMARY KEY (`id`), |
|
| 127 |
- KEY `name_version` (`name`,`version`) |
|
| 128 |
-); |
|
| 129 |
- |
|
| 130 |
- |
|
| 131 |
- |
|
| 132 |
-CREATE TABLE `fanfiction_pagelinks` ( |
|
| 133 |
- `link_id` int(11) NOT NULL auto_increment, |
|
| 134 |
- `link_name` varchar(50) NOT NULL default '', |
|
| 135 |
- `link_text` varchar(100) NOT NULL default '', |
|
| 136 |
- `link_url` varchar(250) NOT NULL default '', |
|
| 137 |
- `link_target` char(1) NOT NULL default '0', |
|
| 138 |
- `link_access` tinyint(4) NOT NULL default '0', |
|
| 139 |
- PRIMARY KEY (`link_id`), |
|
| 140 |
- KEY `link_text` (`link_text`), |
|
| 141 |
- KEY `link_name` (`link_name`) |
|
| 142 |
-); |
|
| 143 |
- |
|
| 144 |
- |
|
| 145 |
- |
|
| 146 |
-CREATE TABLE `fanfiction_panels` ( |
|
| 147 |
- `panel_id` int(11) NOT NULL auto_increment, |
|
| 148 |
- `panel_name` varchar(50) NOT NULL default 'unknown', |
|
| 149 |
- `panel_title` varchar(100) NOT NULL default 'Unnamed Panel', |
|
| 150 |
- `panel_url` varchar(100) default NULL, |
|
| 151 |
- `panel_level` tinyint(4) NOT NULL default '3', |
|
| 152 |
- `panel_order` tinyint(4) NOT NULL default '0', |
|
| 153 |
- `panel_hidden` tinyint(1) NOT NULL default '0', |
|
| 154 |
- `panel_type` varchar(20) NOT NULL default 'A', |
|
| 155 |
- PRIMARY KEY (`panel_id`), |
|
| 156 |
- KEY `panel_hidden` (`panel_hidden`), |
|
| 157 |
- KEY `panel_type` (`panel_type`) |
|
| 158 |
-); |
|
| 159 |
- |
|
| 160 |
- |
|
| 161 |
-CREATE TABLE `fanfiction_stats` ( |
|
| 162 |
- `sitekey` varchar(50) NOT NULL default '0', |
|
| 163 |
- `stories` int(11) NOT NULL default '0', |
|
| 164 |
- `chapters` int(11) NOT NULL default '0', |
|
| 165 |
- `series` int(11) NOT NULL default '0', |
|
| 166 |
- `reviews` int(11) NOT NULL default '0', |
|
| 167 |
- `wordcount` int(11) NOT NULL default '0', |
|
| 168 |
- `authors` int(11) NOT NULL default '0', |
|
| 169 |
- `members` int(11) NOT NULL default '0', |
|
| 170 |
- `reviewers` int(11) NOT NULL default '0', |
|
| 171 |
- `newestmember` int(11) NOT NULL default '0' |
|
| 172 |
-) ENGINE=MyISAM; |
|
| 173 |
- |
|
| 174 |
- |