deleted old updates files
--- a/docs/Skin Changes 2.0 to 3.0.txt
+++ /dev/null
@@ -1,69 +1,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
-go into a tutorial. Therefore, there's probably things missing. We'll be working on a real tutorial.
-Optional additions to listings.tpl for stories:
-{toc} - Table of Contents link to story index
-{count} - The view/read count
-{new} - The text "New!" for new stories or alternately a graphic (use the URL to the graphic from the main directory).
-{featuredtext} - The words "Featured Story" or "Past Featured Story" to use instead of the graphics if you wish
-
-This is already done for you in the default_tpls folder.
-
-Also in listings.tpl you will need to add {comment} to both the seriesblock and storyblock sections. This
-will be used for favorite stories to show the member's comments about the story. Style the comment with
-favcomment.tpl. See the default_tpls folder for an example.
-
-In viewstory.tpl optional addtion:
-
-{toc} - Table of Contents link to story index
-
-The story and chapter notes (beginning and end) have been moved into blocks in viewstory.tpl This will let you
-style them any way you wish and also hide those blocks when there are no notes to display. (See the default_tpls
-for an example)
-
-For any new classifications you add you will need to modify listings.tpl, series_title.tpl, and optionally
-viewstory.tpl and storyindex.tpl to include those additional classifications. Optionally, you can use {classifications}
-to include all your classifications at one time. The default_tpls/listings.tpl uses {classifications}
-
-In reviews.tpl you can now add a quick review form to the bottom of the list of reviews instead of the
-"Submit a Review" link using the {reviewform} variable. Already done in default_tpls.
-
-The reviewsblock has been pulled into its own .tpl so it can be reused in places other than the reviews page
-(such as the user panels)
-
-The profile section of the user page has been pulled into its own .tpl, again so that it can be re-used.
-It should also make it easier for people modding skins. There is also now a setting in your admin settings for
-whether or not to show the profile at the top of the view user page all the time or only when it's selected.
-
-In user.tpl you no longer have individual variables for the tabs. Instead it's been put into a block to
-allow more tabs to be added dynamically without editing the tpl's each time.
-
-<!-- START BLOCK : paneltabs -->
-<div {class}>{link} {count}</div>
-<!-- END BLOCK : paneltabs -->
-
-You can also use {linkcount} to include the count of items inside the link instead of next to it. You don't have
-to use <div>'s. This is just an example.
-
-Rather than have the news archive link hardcoded into the news block at the bottom, I've assigned it to a global
-link (i.e. {home}) so that you can put it where you want. It's assigned as {newsarchive}
-
-There are a large number of new links you can add to your skins and the menu block. The list is in the "Page
-Links" section of the admin panel.
-
-In default_tpls, we changed the "classification" CSS class to "label". It's more clear what the purpose is
-and shorter. :)
-
-For the new profile block, if you add new fields to the profile information, you will need to either add the
-individual links such as {yahoo} or remove the individual links and make use of the new {authorfields} variable
-that displays the complete list of custom fields. If you're creating skins for the use of others, you're
-encouraged to use {authorfields} instead of the individual links.
-
-The $current variable for the index page was changed to home to solve a conflict with the variable name for the
-pagelink. This will affect skins like Romance that use the current setting as the name of a containing div.
-
-For the featured, recent, and random blocks, if you use the .tpl option you'll need to remove the name of the
-block from each of the variables. For instance {recenttitle} will now be {title}. This is because each of
-these blocks now uses the storyblock.php code. Therefore, you can also add any of the information you can
-use in the listings.tpl to your random, featured, and recent blocks.
-
--- a/docs/upgade11_step10.sql
+++ /dev/null
@@ -1,7 +1,1 @@
-ALTER TABLE fanfiction_stories ADD `classes` VARCHAR( 200 ) NULL AFTER `catid`,
-CHANGE `summary` `summary` TEXT NULL,
-ADD `coauthors` VARCHAR( 200 ) NULL AFTER `uid`,
-CHANGE `numreviews` `reviews` SMALLINT( 6 ) DEFAULT '0' NOT NULL,
-CHANGE `counter` `count` INT( 11 ) NOT NULL DEFAULT '0' AFTER `reviews`,
-ADD `storynotes` TEXT NULL DEFAULT '' AFTER `summary`;
--- a/docs/upgade20_step10.sql
+++ /dev/null
@@ -1,11 +1,1 @@
-ALTER TABLE fanfiction_stories ADD `classes` VARCHAR( 200 ) NULL AFTER `catid`;
-ALTER TABLE fanfiction_series ADD `classes` VARCHAR( 200 ) NULL AFTER `catid`;
-ALTER TABLE fanfiction_series CHANGE `owner` `uid` INT( 11 ) NOT NULL DEFAULT '0'
-ALTER TABLE fanfiction_stories CHANGE `summary` `summary` TEXT NULL
-ALTER TABLE fanfiction_series CHANGE `summary` `summary` TEXT NULL
-ALTER TABLE fanfiction_stories ADD `coauthors` VARCHAR( 200 ) NULL AFTER `uid`
-ALTER TABLE fanfiction_stories ADD `count` INT( 11 ) NOT NULL DEFAULT '0' AFTER `reviews`;
-ALTER TABLE fanfiction_stories ADD `storynotes` TEXT NULL DEFAULT '' AFTER `summary`;
-ALTER TABLE fanfiction_chapters ADD `endnotes` TEXT NULL DEFAULT '' AFTER `storytext`;
-ALTER TABLE fanfiction_chapters ADD `count` INT( 11 ) NOT NULL DEFAULT '0' AFTER `uid`;
--- a/docs/upgrade11_step10.sql
+++ /dev/null
@@ -1,7 +1,1 @@
-ALTER TABLE fanfiction_stories ADD `classes` VARCHAR( 200 ) NULL AFTER `catid`,
-CHANGE `summary` `summary` TEXT NULL,
-ADD `coauthors` VARCHAR( 200 ) NULL AFTER `uid`,
-CHANGE `numreviews` `reviews` SMALLINT( 6 ) DEFAULT '0' NOT NULL,
-CHANGE `counter` `count` INT( 11 ) NOT NULL DEFAULT '0' AFTER `reviews`,
-ADD `storynotes` TEXT NULL DEFAULT '' AFTER `summary`;
--- a/docs/upgrade11_step4.sql
+++ /dev/null
@@ -1,182 +1,1 @@
-CREATE TABLE `fanfiction_authorfields` (
- `field_id` int(11) NOT NULL AUTO_INCREMENT,
- `field_type` tinyint(4) NOT NULL default '0',
- `field_name` varchar(30) NOT NULL default ' ',
- `field_title` varchar(255) NOT NULL default ' ',
- `field_options` text,
- `field_code_in` text,
- `field_code_out` text,
- `field_on` tinyint(1) NOT NULL default '0',
- PRIMARY KEY (`field_id`)
-) ENGINE=MyISAM;
-CREATE TABLE `fanfiction_authorinfo` (
- `uid` int(11) NOT NULL default '0',
- `field` int(11) NOT NULL default '0',
- `info` varchar(255) NOT NULL default ' ',
- KEY `uid` (`uid`)
-) ENGINE=MyISAM;
-CREATE TABLE `fanfiction_authorprefs` (
- `uid` int(11) NOT NULL default '0',
- `newreviews` tinyint(1) NOT NULL default '0',
- `newrespond` tinyint(1) NOT NULL default '0',
- `ageconsent` tinyint(1) NOT NULL default '0',
- `alertson` tinyint(1) NOT NULL default '0',
- `tinyMCE` tinyint(1) NOT NULL default '0',
- `sortby` tinyint(1) NOT NULL default '0',
- `storyindex` tinyint(1) NOT NULL default '0',
- `validated` tinyint(1) NOT NULL default '0',
- `userskin` varchar(60) NOT NULL default 'default',
- `level` tinyint(1) NOT NULL default '0',
- `categories` varchar(200) NOT NULL default '0',
- `contact` tinyint(1) NOT NULL default '0',
- PRIMARY KEY (`uid`)
-) ENGINE=MyISAM;
-CREATE TABLE `fanfiction_blocks` (
- `block_id` int(11) NOT NULL auto_increment,
- `block_name` varchar(30) NOT NULL default '',
- `block_title` varchar(150) NOT NULL default '',
- `block_file` varchar(200) NOT NULL default '',
- `block_status` tinyint(1) NOT NULL default '0',
- `block_variables` text NOT NULL,
- PRIMARY KEY (`block_id`),
- KEY `block_name` (`block_name`)
-) ENGINE=MyISAM;
-CREATE TABLE `fanfiction_chapters` (
- `chapid` int(11) NOT NULL auto_increment,
- `title` varchar(250) NOT NULL default '',
- `inorder` int(11) NOT NULL default '0',
- `notes` text NULL,
- `storytext` text NULL,
- `endnotes` text NULL,
- `validated` char(1) NOT NULL default '0',
- `wordcount` int(11) NOT NULL default '0',
- `rating` tinyint(4) NOT NULL default '0',
- `reviews` smallint(6) NOT NULL default '0',
- `sid` int(11) NOT NULL default '0',
- `uid` int(11) NOT NULL default '0',
- `count` int(11) NOT NULL default '0',
- PRIMARY KEY (`chapid`),
- KEY `sid` (`sid`),
- KEY `uid` (`uid`),
- KEY `inorder` (`inorder`),
- KEY `title` (`title`),
- KEY `validated` (`validated`)
-) ENGINE=MyISAM;
-CREATE TABLE `fanfiction_classes` (
- `class_id` int(11) NOT NULL auto_increment,
- `class_type` int(11) NOT NULL default '0',
- `class_name` varchar(100) NOT NULL default '',
- PRIMARY KEY (`class_id`)
-) ENGINE=MyISAM;
-CREATE TABLE `fanfiction_classtypes` (
- `classtype_id` int(11) NOT NULL auto_increment,
- `classtype_name` varchar(50) NOT NULL default '',
- `classtype_title` varchar(50) NOT NULL default '',
- PRIMARY KEY (`classtype_id`),
- KEY `classtype_title` (`classtype_title`)
-) ENGINE=MyISAM;
-CREATE TABLE `fanfiction_codeblocks` (
- `code_id` int(11) NOT NULL auto_increment,
- `code_text` text NOT NULL,
- `code_type` varchar(20) default NULL,
- `code_module` varchar(60) default NULL,
- PRIMARY KEY (`code_id`)
-) ENGINE=MyISAM;
-CREATE TABLE `fanfiction_favorites` (
- `uid` int(11) NOT NULL default '0',
- `item` int(11) NOT NULL default '0',
- `type` char(2) NOT NULL default '',
- `comments` text NULL,
- KEY `uid` (`uid`)
-) ENGINE=MyISAM;
-CREATE TABLE `fanfiction_inseries` (
- `seriesid` int(11) NOT NULL default '0',
- `sid` int(11) NOT NULL default '0',
- `subseriesid` int(11) NOT NULL default '0',
- `confirmed` int(11) NOT NULL default '0',
- `inorder` int(11) NOT NULL default '0',
- `updated` datetime NOT NULL default '0000-00-00 00:00:00',
- KEY `sid` (`sid`),
- KEY `inorder` (`inorder`),
- KEY `seriesid` (`seriesid`)
-) ENGINE=MyISAM;
-CREATE TABLE `fanfiction_log` (
- `log_id` int(11) NOT NULL auto_increment,
- `log_action` varchar(255) default NULL,
- `log_uid` int(11) NOT NULL,
- `log_ip` int(11) default NULL,
- `log_timestamp` timestamp NOT NULL,
- `log_type` varchar(2) NOT NULL,
- PRIMARY KEY (`log_id`)
-) ENGINE=MyISAM
-CREATE TABLE `fanfiction_messages` (
- `message_id` int(11) NOT NULL auto_increment,
- `message_name` varchar(50) NOT NULL default '',
- `message_title` varchar(200) NOT NULL default '',
- `message_text` text NULL,
- PRIMARY KEY (`message_id`)
-) ENGINE=MyISAM;
-CREATE TABLE `".$tableprefix."fanfiction_modules` (
- `id` int(11) NOT NULL auto_increment,
- `name` varchar(100) NOT NULL default 'Test Module',
- `version` varchar(10) NOT NULL default '1.0',
- PRIMARY KEY (`id`),
- KEY `name_version` (`name`,`version`)
-) ENGINE=MyISAM;
-CREATE TABLE `fanfiction_pagelinks` (
- `link_id` int(11) NOT NULL auto_increment,
- `link_name` varchar(50) NOT NULL default '',
- `link_text` varchar(100) NOT NULL default '',
- `link_url` varchar(250) NOT NULL default '',
- `link_target` char(1) NOT NULL default '0',
- `link_access` tinyint(4) NOT NULL default '0',
- PRIMARY KEY (`link_id`),
- KEY `link_text` (`link_text`),
- KEY `link_name` (`link_name`)
-) ENGINE=MyISAM;
-CREATE TABLE `fanfiction_panels` (
- `panel_id` int(11) NOT NULL auto_increment,
- `panel_name` varchar(50) NOT NULL default 'unknown',
- `panel_title` varchar(100) NOT NULL default 'Unnamed Panel',
- `panel_url` varchar(100) default NULL,
- `panel_level` tinyint(4) NOT NULL default '3',
- `panel_order` tinyint(4) NOT NULL default '0',
- `panel_hidden` tinyint(1) NOT NULL default '0',
- `panel_type` varchar(20) NOT NULL default 'A',
- PRIMARY KEY (`panel_id`),
- KEY `panel_hidden` (`panel_hidden`),
- KEY `panel_type` (`panel_type`)
-) ENGINE=MyISAM;
-CREATE TABLE `fanfiction_series` (
- `seriesid` int(11) NOT NULL auto_increment,
- `title` varchar(200) NOT NULL default '',
- `summary` text NOT NULL,
- `uid` int(11) NOT NULL default '0',
- `isopen` tinyint(4) NOT NULL default '0',
- `catid` varchar(200) NOT NULL default '0',
- `rating` tinyint(4) NOT NULL default '0',
- `classes` varchar(200) NOT NULL default '',
- `characters` varchar(250) NOT NULL default '',
- `reviews` smallint(6) NOT NULL default '0',
- `challenges` varchar(200) NOT NULL default '',
- PRIMARY KEY (`seriesid`),
- KEY `owner` (`uid`),
- KEY `catid` (`catid`),
- KEY `challenges` (`challenges`),
- KEY `characters` (`characters`),
- KEY `classes` (`classes`)
-) ENGINE=MyISAM;
-CREATE TABLE `fanfiction_stats` (
- `sitekey` varchar(50) NOT NULL default '0',
- `stories` int(11) NOT NULL default '0',
- `chapters` int(11) NOT NULL default '0',
- `series` int(11) NOT NULL default '0',
- `reviews` int(11) NOT NULL default '0',
- `wordcount` int(11) NOT NULL default '0',
- `authors` int(11) NOT NULL default '0',
- `members` int(11) NOT NULL default '0',
- `reviewers` int(11) NOT NULL default '0',
- `newestmember` int(11) NOT NULL default '0'
-) ENGINE=MyISAM;
-
--- a/docs/upgrade20_step10.sql
+++ /dev/null
@@ -1,11 +1,1 @@
-ALTER TABLE fanfiction_stories ADD `classes` VARCHAR( 200 ) NULL AFTER `catid`;
-ALTER TABLE fanfiction_series ADD `classes` VARCHAR( 200 ) NULL AFTER `catid`;
-ALTER TABLE fanfiction_series CHANGE `owner` `uid` INT( 11 ) NOT NULL DEFAULT '0'
-ALTER TABLE fanfiction_stories CHANGE `summary` `summary` TEXT NULL
-ALTER TABLE fanfiction_series CHANGE `summary` `summary` TEXT NULL
-ALTER TABLE fanfiction_stories ADD `coauthors` VARCHAR( 200 ) NULL AFTER `uid`
-ALTER TABLE fanfiction_stories ADD `count` INT( 11 ) NOT NULL DEFAULT '0' AFTER `reviews`;
-ALTER TABLE fanfiction_stories ADD `storynotes` TEXT NULL DEFAULT '' AFTER `summary`;
-ALTER TABLE fanfiction_chapters ADD `endnotes` TEXT NULL DEFAULT '' AFTER `storytext`;
-ALTER TABLE fanfiction_chapters ADD `count` INT( 11 ) NOT NULL DEFAULT '0' AFTER `uid`;
--- a/docs/upgrade20_step4.sql
+++ /dev/null
@@ -1,231 +1,1 @@
--- --------------------------------------------------------
-
---
--- Table structure for table `fanfiction_authorfields`
---
-
-CREATE TABLE `fanfiction_authorfields` (
- `field_id` int(11) NOT NULL auto_increment,
- `field_type` tinyint(4) NOT NULL default '0',
- `field_name` varchar(30) NOT NULL default ' ',
- `field_title` varchar(255) NOT NULL default ' ',
- `field_options` text,
- `field_code_in` text,
- `field_code_out` text,
- `field_on` tinyint(1) NOT NULL default '0',
- PRIMARY KEY (`field_id`)
-) ;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `fanfiction_authorinfo`
---
-
-CREATE TABLE `fanfiction_authorinfo` (
- `uid` int(11) NOT NULL default '0',
- `field` int(11) NOT NULL default '0',
- `info` varchar(255) NOT NULL default ' ',
- KEY `uid` (`uid`)
-);
-
--- --------------------------------------------------------
-
---
--- Table structure for table `fanfiction_authorprefs`
---
-
-CREATE TABLE `fanfiction_authorprefs` (
- `uid` int(11) NOT NULL default '0',
- `newreviews` tinyint(1) NOT NULL default '0',
- `newrespond` tinyint(1) NOT NULL default '0',
- `ageconsent` tinyint(1) NOT NULL default '0',
- `alertson` tinyint(1) NOT NULL default '0',
- `tinyMCE` tinyint(1) NOT NULL default '0',
- `sortby` tinyint(1) NOT NULL default '0',
- `storyindex` tinyint(1) NOT NULL default '0',
- `validated` tinyint(1) NOT NULL default '0',
- `userskin` varchar(60) NOT NULL default 'default',
- `level` tinyint(1) NOT NULL default '0',
- `categories` varchar(200) NOT NULL default '0',
- `contact` tinyint(1) NOT NULL default '0',
- PRIMARY KEY (`uid`)
-);
-
-
--- --------------------------------------------------------
-
---
--- Table structure for table `fanfiction_blocks`
---
-
-CREATE TABLE `fanfiction_blocks` (
- `block_id` int(11) NOT NULL auto_increment,
- `block_name` varchar(30) NOT NULL default '',
- `block_title` varchar(150) NOT NULL default '',
- `block_file` varchar(200) NOT NULL default '',
- `block_status` tinyint(1) NOT NULL default '0',
- `block_variables` text NOT NULL,
- PRIMARY KEY (`block_id`),
- KEY `block_name` (`block_name`)
-);
-
--- --------------------------------------------------------
-
---
--- Table structure for table `fanfiction_classes`
---
-
-CREATE TABLE `fanfiction_classes` (
- `class_id` int(11) NOT NULL auto_increment,
- `class_type` int(11) NOT NULL default '0',
- `class_name` varchar(100) NOT NULL default '',
- PRIMARY KEY (`class_id`)
-);
-
--- --------------------------------------------------------
-
---
--- Table structure for table `fanfiction_classtypes`
---
-
-CREATE TABLE `fanfiction_classtypes` (
- `classtype_id` int(11) NOT NULL auto_increment,
- `classtype_name` varchar(50) NOT NULL default '',
- `classtype_title` varchar(50) NOT NULL default '',
- PRIMARY KEY (`classtype_id`),
- KEY `classtype_title` (`classtype_title`)
-);
-
--- --------------------------------------------------------
-
---
--- Table structure for table `fanfiction_codeblocks`
---
-
-CREATE TABLE `fanfiction_codeblocks` (
- `code_id` int(11) NOT NULL auto_increment,
- `code_text` text NOT NULL,
- `code_type` varchar(20) default NULL,
- `code_module` varchar(60) default NULL,
- PRIMARY KEY (`code_id`)
-) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
-
--- --------------------------------------------------------
-
---
--- Table structure for table `fanfiction_favorites`
---
-
-CREATE TABLE `fanfiction_favorites` (
- `uid` int(11) NOT NULL default '0',
- `item` int(11) NOT NULL default '0',
- `type` char(2) NOT NULL default '',
- `comments` text NOT NULL,
- KEY `uid` (`uid`)
-);
-
-
--- --------------------------------------------------------
-
---
--- Table structure for table `fanfiction_log`
---
-
-CREATE TABLE `fanfiction_log` (
- `log_id` int(11) NOT NULL auto_increment,
- `log_action` varchar(255) default NULL,
- `log_uid` int(11) NOT NULL,
- `log_ip` int(11) default NULL,
- `log_timestamp` timestamp NOT NULL default CURRENT_TIMESTAMP on update CURRENT_TIMESTAMP,
- `log_type` varchar(2) NOT NULL,
- PRIMARY KEY (`log_id`)
-);
-
--- --------------------------------------------------------
-
---
--- Table structure for table `fanfiction_messages`
---
-
-CREATE TABLE `fanfiction_messages` (
- `message_id` int(11) NOT NULL auto_increment,
- `message_name` varchar(50) NOT NULL default '',
- `message_title` varchar(200) NOT NULL default '',
- `message_text` text NOT NULL,
- PRIMARY KEY (`message_id`)
-);
-
-
--- --------------------------------------------------------
---
--- Table structure for table `fanfiction_modules`
---
-
-CREATE TABLE `fanfiction_modules` (
- `id` int(11) NOT NULL auto_increment,
- `name` varchar(100) NOT NULL default 'Test Module',
- `version` varchar(10) NOT NULL default '1.0',
- PRIMARY KEY (`id`),
- KEY `name_version` (`name`,`version`)
-);
-
--- --------------------------------------------------------
-
---
--- Table structure for table `fanfiction_pagelinks`
---
-
-CREATE TABLE `fanfiction_pagelinks` (
- `link_id` int(11) NOT NULL auto_increment,
- `link_name` varchar(50) NOT NULL default '',
- `link_text` varchar(100) NOT NULL default '',
- `link_url` varchar(250) NOT NULL default '',
- `link_target` char(1) NOT NULL default '0',
- `link_access` tinyint(4) NOT NULL default '0',
- PRIMARY KEY (`link_id`),
- KEY `link_text` (`link_text`),
- KEY `link_name` (`link_name`)
-);
-
--- --------------------------------------------------------
-
---
--- Table structure for table `fanfiction_panels`
---
-
-CREATE TABLE `fanfiction_panels` (
- `panel_id` int(11) NOT NULL auto_increment,
- `panel_name` varchar(50) NOT NULL default 'unknown',
- `panel_title` varchar(100) NOT NULL default 'Unnamed Panel',
- `panel_url` varchar(100) default NULL,
- `panel_level` tinyint(4) NOT NULL default '3',
- `panel_order` tinyint(4) NOT NULL default '0',
- `panel_hidden` tinyint(1) NOT NULL default '0',
- `panel_type` varchar(20) NOT NULL default 'A',
- PRIMARY KEY (`panel_id`),
- KEY `panel_hidden` (`panel_hidden`),
- KEY `panel_type` (`panel_type`)
-);
-
--- --------------------------------------------------------
---
--- Table structure for table `fanfiction_stats`
---
-
-CREATE TABLE `fanfiction_stats` (
- `sitekey` varchar(50) NOT NULL default '0',
- `stories` int(11) NOT NULL default '0',
- `chapters` int(11) NOT NULL default '0',
- `series` int(11) NOT NULL default '0',
- `reviews` int(11) NOT NULL default '0',
- `wordcount` int(11) NOT NULL default '0',
- `authors` int(11) NOT NULL default '0',
- `members` int(11) NOT NULL default '0',
- `reviewers` int(11) NOT NULL default '0',
- `newestmember` int(11) NOT NULL default '0'
-) ENGINE=MyISAM;
-
-
-