Please keep track of any changes here. Please include your name, the date, all the files you edited, and a brief summary (one sentence should do):

9/21/05 - Tammy

- Added missing _NEWADMIN definition to en.php
- Fixed error in INSERT statement in user.php causing blank screens when member 1st signs up
- Fixed error in UPDATE statement when password is changed
- Fixed count query in member's function in admin.php
- Fixed validation problem in stories.php
- Added multiple categories note back into stories.php and search.php (went missing along the way somewhere)

9/15/05 - Rebecca

- Minor adjustments to documents, adding anchors
- Templating documents, same font/size/etc.

9/25/05 - Tammy

- Fixed language call in user.php 
- Fixed tables.sql to add missing challenges table info
- Minor correction in creating_blocks.htm in the docs folder

9/29/05 - Tammy

- Changed mysql error reporting in 2 places in admin.php
- Fixed problem in news.php keeping news from displaying
- Fixed bad calls to .tpl files in series.php
- Fixed css formating in challenges
- Fixed YIM link in viewuser.php
- Fixed missing <div> tag in categories.php
- Slight modification to challenges.tpl 
- Added 2 missing defines to en.php
- Changed func.pagemenu.php to define {sitename} and {slogan} all the time not just when the skin is missing

10/04/05 - Tammy 

- Added <div> to categories.php and categories block to clear float
- Fixed logout cookie problem that allowed admin privileges after admin logged out 
- Fixed problem with admin adding new authors
- Fixed members_list.php for lists in admin.php
- Fixed problem in stats page in user.php (if author wasn't in anyone's favorites it was returning no info from the query)
- Fixed the form in the editbio function.  If alerts were turned off, the betareader checkbox was removed along with the alerts box.

10/09/05 - Tammy

- Added error message for lost password function when mail isn't sent.
- Fixed skin problem on login page.  The user's skin choice was being overridden by the site settings.
- Found missing ! in challenges.php that had members being asked to log in even though they already were
- After discussion with Carissa I changed categories, featured, random, and recent block to allow users to use blocks within .tpl files for compatibility with 1.1 skins.  New admin.php's were added for each.
- Fixed missing define in admin.php 

10/12/05 - Tammy

- Moved charset into language file.  Changed in header.php and en.php
- Fixed image upload in user.php.  Problems with register globals off I believe.  Also changed the folder from username to userid.
- Fixed 3 column layout.
- added {output} to user.tpl in default_tpls.  Needed for favorite authors list.
- Missing $tableprefix declaration in viewuser.php fixed.
- Updated penname search.  Original would only find first author result.  New version will find all authors that match that term.  


10/13/05 - Tammy

- Fixed several problems in challenges.php
- Fixed problem with alert e-mails when new story is added by admin.
- Fixed missing global declaration in blocks function in admin.php
- Fixed typo in storyblock.php that was causing a broken link to challenges.

10/16/05 - Tammy

- Modified menu block to allow the setup of multiple menus.  No admin panel for this option as yet though.  Copy the menu line in blocks_config.php and change the title to create a new menu.
- Modified func.pagemenu.php to make pagelinks global variables instead of putting them in header.  Also added a new variable assignment "page_id".  This can be used in a container div around your pages to allow you to set different looks via CSS depending on the page. 
- Fixed paging problem in the search function.
- Fixed favorites list in viewuser.php
- Added missing information to seriesblock.php and series.php.  Genres, warnings, etc. didn't get added to the block display when I added those.
- Changed a couple of the default .tpls. See above.
- Added tos.php to display Terms of Service outside of user registration.
- Added terms of serice and submission rules links to func.pagement.php 
- Added ability in func.reviewform.php and reviews.php to edit reviews.  
- Modified how blocks are saved in the admin panel to avoid conflicts with block settings in the current skin.

10/18/05 - Tammy

- Moved where slashes are stripped from $sitename and $slogan to above the language file inclusion as $sitename is used within and needs to be slash-free.
- Modified news block and header to fix grouping problem with the SQL join
- Added a check in categories block and page and members_list.php for no value for columns being set in config.php.  If no value (or zero) it's set to 1 to avoid division by 0 errors
- Fixed a query problem in categories.php that left out the seriesid from the results.
- Modified storyblock.php to addslashes to warning text otherwise we get javascript errors if someone's used ' or " in their warning text.
- Fixed edit of warnings in admin panel.

10/19/05 - Tammy

- Fixed the bug with admins adding stories for author's the story would go in under the admin instead.
- Added nl2br to the news block and archive so new lines will show up in news stories now.
- Fixed spacing issue in stories.php

10/20/05 - Tammy

- Removed echo command from fix category counts function in admin
- Fixed block admin function was missing a parameter in calling save_blocks()
- Fixed css issue in categories function in admin.php
- Fixed issue in user.php with registration process that caused pennames and emails to not be validated.

10/22/05 - Tammy

- Added some security checks to the contact us and contact member forms to prevent injection attacks.
- Added a check in header.php to check for XXS attacks via $_GET and kill the page if one is detected.
- Added global declaration of $allowed_tags in series.php, stories.php and challenges.php where it was missing.  
- Added some security checks to reviews to strip out disallowed tags while I was at it.
- Fixed problem in step 4 of  the install script.  The 'locked' field got messed up somehow.
- Reorganized how users are logged out to hopefully prevent problems with variables staying in memory.
- Slight modifications in news block and news archive page. Changed the order from the news id to the news time. If someone deleted an item or moved their database, the order could have been messed up using the id #.
- Fixed admin editing stories.  Was trying to use admin's uid to load story not author's.
- Removed review form and options from viewstory.php and reviews.php when anonymous reviews are turned off and not loggedin
- Changed formselect.php to formselect.js in series.php and challenges.php
- Fixed edit and delete as admin problems where script was trying to call from admin's uid not author's
- Added "Edit" links to "View Submitted" page in admin.php
- Challenges were not originally going to be listed in the stories and series block information.  As such they got left out of the DB query.  Fixed now.
- Making {series} and {challenges} global TPL variables for the page links meant I needed to change those links in the storyblock and seriesblock files changed to {serieslinks} and {challengelinks} for the blocks

10/24/05

- Moved where variables.php is called in header.php to allow code to be echo'd into the header.
- Added button in categories page of the admin panel to re-generate the formselect.js.

10/26/05

- Updated the docs.  
- Fixed dates in rss.
- Slight modification to TinyMCE settings in header.php
- Fixed bug that let people submit a story with no categories selected.
- Small change to contact.php to help prevent spammers hijacking the form.
- Changed order by in build_formjs function to hopefully solve problem reported by Calic0cat.

10/27/05

- Fixed problem with category sort form.
- Tweaked the naughty words filter.
- Fixed the full-text search in the search form.
- Fixed AGAIN everything from 10/04 that hadn't already been reported again and fixed.  Must have been overwritten somewhere.
- Fixed "Add to Series" link for open series.
- For open series removed option to delete story from series except for admin's and series owner.
- Fixed reviews link on viewstory page.  Reviews weren't being displayed if you weren't logged in.

10/28/05 

- Fixed reviews and favorites links in series.
- Fixed display of favorite series in viewuser.php
- Fixed news problem in admin.php
- Modified the current list so authors and members lists don't both show up as current.
- Made the "Choose another author" link when adding stories to a series available only to the owner of the series and the admins.
- Fixed the "Choose another author" link to output list of authors.

10/29/05

- Added admin panel for the foul language censor.
- Added css classes to form elements.  Classes are: .checkbox, .radio, .button, .textbox (select, textarea, text, file inputs)
- Removed paragraph tags from around notes and story textareas in stories.php so it doesn't break TinyMCE. Thanks to West4me for tracking the error down.

10/30/05

- Separated admin.php into multiple includes in admin/ folder to make things easier in the future.
- Modified the formselect.js to keep people from selecting locked tables in stories.php.  Update to en.js because of this.  This required adding a hidden form element to stories.php, search.php, series.php, and challenges.php
- Changed columns in textarea's from 60 to 58 because TinyMCE was forcing the textareas outside the form box.  Looks okay at 58 when TinyMCE is off.

10/31/05

- Fixed issue with validation of authors.  The author was being validated even though the admin had chosen no.
- Fixed AIM status icon issues in viewuser.php and user.php.
- Fixed Yahoo status link problem in stats page in user.php
- Fixed problem with age consent not being saved when a user updates their profile.
- Fixed error with one category archives not allowing stories to be submitted.  
- Added a couple short functions to handle whether or not magic_quotes is on our off.
- Fixed viewstory for a round robin so the chapter's author appears correctly.

11/2/05 - Tammy

- Added author's notes to the printable version of viewstory.php
- Added error checking in viewstory.php on line 95.
- Fixed addslash problem in admin/news.php
- Fixed missing " in admin/genres.php
- Fixed character menu 2 in categories.php
- Modified text sizer in view stories to allow text size to be set in skins
- Modified the dirty words filter so it doesn't choke if admin removes all words from the list.
- Changed func.reviewform.php to hide the ratings note when ratings are turned off
- Added author drop down to the chapter form for admin's only.

11/3/05 - Tammy

- Fixed missing " in stories.php and modified the author drop down in the chapter form so it shows the correct author as selected at start.
- Fixed missing language defines for review emails.
- Added review response step to upgrade.php
- Fixed bug that was allowing regular users to see admin options in challenges and series.
- Fixed bug with round robins being displayed properly in viewstory.php
- Fixed admin editing a chapter bug that was putting the story in the admin's files instead of the authors.
- Fixed another bug in viewstory if storing the story text in the database it wouldn't show the story.  Thanks to Calash for tracking these down.
- Fixed 10 Most Prolific Reviewer list.  Was sorting by ASC instead of DESC.
- Modified admin/buildform_js.php to add slashes for double quotes ONLY and translate all other html entities into their character equivelents.
- Fixed bug in seriesblock.php that kept the categories from being displayed.

11/04/05

- Changed how cookies are handled to make it more secure.
- Fixed edit stories bug that was forcing reselection of author's name when admin previewed.
- Re-organized how blocks work so you don't have to set it to a specific block area of the page.
- Fixed contact author page. 
- Changed admin/build_formjs.php to slightly alter the javascript for category/character selects.  If someone selected a main category then
 went back to the top level categories it showed the first category in the list, therefore making it impossible to select that category and see its
subcategories.  Only a problem in FF.
- Fixed yes/no letter problem in admin panel and changed it so the skin doesn't show in the pop-up window.
- Fixed adding admin form so the category select works.
- Added new option to admin panel for the info block for style 2 - variables.

11/06/05

- Fixed favorites stats in user page.
- Added check in account registration to try to catch people not submitting valid email addresses.
- Further added security checks on cookie login.
- Fixed problem in rss feed caused by &, ", ', < or > in story title or summary.
- I believe I've got the problem with <br />'s and previewing figured out when TinyMCE is turned off.
- Added back in the setting for index only on blocks.  Setting a block to index only when it's only visible on the index page should improve site performance. 
Especially for larger sites. And I HIGHLY recommend you set it so if it only appears on the index page.
- Fixed respond to reviews function in user panel.
- Returned 1-5 to 1-10 in the reviews form.
- Added page_id tag to viewstory.php
- Fixed link to review a series in drop-down list on series page
- Editing a story now works.  If missing fields are found it reports it instead of just returning you to the edit form.
- Modified storyblock.php and the featured, random, and recent stories blocks to fix problems with ' and " in warning text.

11/07/05

- Fixed recent page so pagelinks appear and the stories should now be ordered by date and time instead of just date.
- Fixed advanced search page searching for ratings, genres, and warnings.  
- Reworked the viewstory page so if the visitor hasn't passed the checks on the pop-up menu they don't see the story.  Also tweaked the printable function slightly while I was at it to include author's notes.
- Fixed category paging issue.
- Links in to other user's profiles in the user stats page should now work.
- Validation and Revoke Validation links for authors should now work.
- Fixed the story count behind the author's name in the member's page and elsewhere so that non-validated stories aren't included in the count.
- Added $tableprefix to the validation check in viewstory.php
- Admin's no longer have to re-select author's name when adding new chapter.
- After an admin adds a new chapter they are returned to the edit story page so they can add another chapter if they desire.
- Admin entered stories are auto-validated now.
- Fixed admin list in admin/members.php to include level 4 admins.
- Fixed variables.php in the default_tpls to conform with the changed blocks scheme.
- Fixed charset in stories.php and viewstory.php to use define.

11/09/05

- Added a bit of CSS to the printable function to force margins on the page.
- Removed the update from edit story and edit chapter in stories.php
- Fixed pagination problem in search, challenges, and categories.
- Fixed pagination problem in authors.php that was passing the offset to pages that shouldn't have gotten it
- Fixed {reviewslink} in reviews.php
- Fixed problem in the formselect.js that was throwing errors when adding categories for an admin to oversee and only there.
- Modified the default_tpls variables.php to conform to the updated blocks format.
- Fixed the admins list in admin/admins.php and admin/members.php
- Updated the en.php language file.  Slightly modified the min/max word message so if you only set min or max the other didn't appear as "maximum of 0 words." for example
- Added template.php back into the .zip.  Got left out. :P
- Updated upgrade.php to added { } around an else that was causing errors if someone had deleted their config.php file.
- Updated install.php and moved config.php and dbconfig.php to the docs folder to prevent some of the problems we've been having with
people over-writing config files when upgrading.
- Moved where $current is set in a couple files so that it was before header.php was called.  Not really necessary, but you can do some pretty neat things with variables.php with it that way.
- Fixed at least one error in admins adding stories if they have categories that they oversee set. 

11/11/05

- Updated en.php to include _UP and _DOWN for alt/title text on the arrows.  Also added, _CATERROR and _REVIEWRATING
- Updated serveral files to fix hard coded language. stories.php, admin/stories.php, series.php, blocks.php, search.php, blocks/menu/admin.php
- Fixed problem where adminoptions were showing up for regular members in reviews.  
- Changed _RATING to _REVIEWRATING in func.reviewform.php
- Fixed missing letter in series list.
- Fixed missing WHERE in admin/members.php
- Fixed "Edit - Story" link in validate function in admin/stories.php
- Modified viewstory.php so admins and authors can view non-validated stories.  Anyone else gets kicked to an error.
- Fixed pagination in Feature Stories page in search.php
- Fixed validation bug in viewstory.php for the printable function.
- Fixed admin/ratings.php to show that "Age Consent" was checked.  Wasn't getting set to "selected" in the form when all three options were marked.
- Added a check in admin/categories.php to prevent a category being set as it's own parent.  This causes an infinite loop and breaks LOTS of things.
- Added a check in stories.php to make sure when editing a story that at least 1 category is selected for the story.  Otherwise it breaks the update of the story information and category counts.
- Removed phpinfo.php.  We'll make this available as a separate download for debugging purposes, but it's a security hazard if left on the site.

11/13/05

- Changed the login slightly so that if a story id is passed (as in warning text pop-ups) it will automatically take you back to the story once you've logged in.
- Added jump menu in reviews so you can select only a specific chapter to view.
- Changed the delete function in stories.php so if the user is deleting a chapter in a multi-chapter story it will return them to the edit story page.
- Fixed problem in manage images with deleting an image.
- Removed font-size attribute in eFiction skin that was interfering with text sizer.
- Fixed error in news that was causing problems with comments with ', ", etc. in them.
- Modified en.php to fix problem with review notifications.
- Fixed edit chapter link in admin/stories.php.
- Added "print copyright" to messages in admin/settings.php
- Admin author's list still had an issue with "WHERE"  Fixed now.
- "No letter" link in admin/stories.php still had old myopen javascript call instead of pop.
- Updated recent block so that if $numupdated is not set.  $numupdated becomes 3 to prevent SQL errors.
- Modified header.php so that a story's title and author would appear in the header when in viewstory.php
- Modified the check for admin categories in newstory.php to work correctly with multiple categories.  Admins should now get email notifications
- Modified stories.php admin check for new chapters so it checks for admin permissions correctly.

11/14/05

- Fixed bug in news archive from missing '
- Updated info block to remove hard coded text and imporve options.
- Updated user.php so after responding to a review the author is sent back to the story's reviews.
- Added chapter number to the jump menu. 
- After reviewing a story, the link now takes you to the next chapter in the story if there is one.
- Fixed the authors list in admin/members.php so the columns are correct
- Fixed the review email.
- Ditto the story alert emails and submitted queue notices.

11/16/05

- Fixed the review email.
- Ditto the story alert emails and submitted queue notices.  While I was at it I also made them all html and added title, author, and summary information.
- Added #currentletter for the current letter being displayed in the alphabet list to titles.php, challenges.php, series.php and members_list.php
- Added #currentpage <span> around current page number in categories.php, challenges.php, series.php, titles.php, search.php, reviews.php, members_list.php, and news.php
- Put a check in header.php to add http:// to the site url if not set with one and subtract any trailing /'s so all the url's will work in all the e-mails. :)
- Fixed pagination issues for "Authors Only" in authors.php and admin/members.php
- Moved variables.php call from header.php to func.pagemenu.php so variables.php can be used to assign information to the $tpl
- Created a check for extra_header.php in header.php.  If you need extra information in the header such as a javascript or special css call extra_header.php  You can  use a general one in the main folder for all skins or one specific to the skin in your skin folder.
- Modified viewstory.php's chapter drop down menu slightly to compensate for a bug in Safari.

11/23/05

- tinyMCE and the block admin panel weren't playing well together.  Changed how the block settings are saved so that apostrophes, etc are properly \'d.
- Reworked viewstory.php and the default_tpl for such so that when a chapter doesn't have author's notes the author's notes will disappear.
- Modified the upgrade script to fix problem with data insert to the chapters table.  Thanks to bsky92 for testing.  Appears to be working.
- Modified the en.php for word count failure.
- Fixed # of reviews in user stats panel in user.php
- Fixed spacing for Anonymous in reviews.php
- Re-worked the categories block so it's easier to space it as desired.
- Fixed release of authors and revokation of author's validation problems.
- Fixed mail users issues.
- Fixed update of story when new chapter added issue.
- Fixed sort function in categories.php
- Fixed pagination issues in search.php

11/25/05

- Modified login, registration, and manage images in user.php to prevent SQL injection attacks
- Modifiied viewstory.php to prevent SQL injection attacks via $_GET[sid]
- Modified storyblock.php, seriesblock.php, func.pagemenu.php, functions.php, func.reviewform.php and all the blocks to prevent error messages revealing path info.
- Modified titles.php, series.php, authors.php, and challenges.php to prevent SQL injection attack via $_GET[let]
- Modified CSS in header.php so categories block didn't interfere with categories page

11/27/05

- Modified how words are counted in stories.php to hopefully get a better word count.
- Added a cleanup function in viewstory.php to hopefully clean up MS Word smart quote issues.
- Fixed series query in viewuser.php so series genres, characters, and warnings appear in listing
- Added checks for SQL injection in challenges.php and series.php and to be really paranoid a few in stories.php too
- Removed extra ; in header.php css
- Fixed revoke problem in members_list.php and admin/members.php
- Fixed editing admin privileges in admin/members.php so you don't go to the profile first
- Fixed unclosed div tag in func.reviewform.php
- Added admin options to storyblock for the story's author.  Also added admin option in storyblock on challenge page to remove the story from the challenge
- Added admin option in series block to remove story from a challenge on a challenge page

11/29/05

- Added a little paranoia code to stories.php to prevent SQL injection
- Fixed the paranoia code in series.php
- Added one more place where smart quotes needed to be cleaned up and also added a few more character issues with smart quotes.

11/30/05

- Fixed delete chapter link on validate page in admin panel
- Tweaked viewstory.php some more to hopefully fix the last of the line break and smart quotes issues
- Change the tpl option in the info block to be a global assignment so it works in all of the blocks.
- Tweaked the security check in series.php a little more so it would allow series to be managed.
- Fixed 2 problems in upgrade.php  One caused an error message in step 2 and the other caused the chapter titles to disappear.

12/06/05

- Added a new check in viewstory.php to catch errors when no author can be found.
- Fixed header problem in mail user function.
- Fixed row problem in categories block
- Changed stories.php so that deleting a non-validated story does not lower category counts
- If when adding a chapter there's no story id, it won't be added.  An error will display instead and put them back into preview mode.
- Fixed bug in uploading in edit chapter.
- changed x.gif to X.gif in admin/members.php
- Fixed sorts in categories.php
- Fixed display of characters, etc in series.
- Fixed problem in pop-up warnings for "Register User Only" stories
- Removed duplicate entries in en.php
- Upgrade fix take 2.  Checked the chapters insert again.  It should work.
- Beefed up the spam checks in contact.php and viewuser.php

12/09/05

- Fixed the security update for image uploads.  It wasn't working quite right.
- Fixed a typo in storyblock.php that kept the override of the default featured graphic from working
- Added a line to header.php to help with W3 Compliancy.  It forces & in urls to be written as &amp; in the text of page.
- Added check for tags in email in user.php.
- Strip tags from the admin inputs.
- Fixed problem with quotation marks in previews/edits of titles in challenges, series, stories, and chapters.
- Added maxlength tags in the same ^ to prevent user's from entering content that would get truncated in the database
- Did the same for reviewers name.
- Fixed reviews so that if visitor doesn't have access to read the story they can't use the reviews page to bypass the popups.
- Fixed the mySQL error when adding chapters.  So now title, summary, characters, categories will display at the top of the page correctly
- Fixed categories so under the main categories "No results found." is no longer displayed.
- Fixed the listings.tpl in default2 skin.

12/10/05

- Removed SQL statement from rss.php