Warning: Can't synchronize with repository "(default)" (Unsupported version control system "svn": No module named svn). Look in the Trac log for more information.

current development version

1.1.0.3

  • Added the ability to set the access level required to edit messages per message board.
  • If user's access level is below the edit access level they are no longer permitted to delete messages.


current release version

1.1.0.2

  • added a forced exit after user access security check failures.
  • fixed a bug where the page would not display for a user when posting messages which have a quote in the title when using title url strings.
  • added some additional debugging.


previous releases

1.1.0.1

  • added framework for policy administration.
  • it seems I forgot to actually code the message board macro filter.
  • added system_policy_map which if set is applied right before the template set is selected.
  • had an undocumented "p" macro switch which evaluated users post count. with the addition of polcies, and since I never implimented the "m" macro switch for messages pending moderation, I am changing and documenting the "m" macro conditon which checks the number of messages a user has posted, and adding the "p" macro switch for policy. the previous "p" macro switch for which checked if a user had private messages waiting, was never coded and has been removed. of course if you did use the previously undocument macro switch, you'll have to update your templates. confused yet? I am.
  • added %%policy,"policyname"%% macro to give you yet another way to apply a policy.
  • cleaned up some of the documentation.
  • added documentation for policies.
  • added %%userid%% macro.
  • an alternate template can now be specified when using the message to change the way the users message list is displayed. note that when you specify this the message list is no longer embeded in the form template. I'll likely change this, since it was just a hack to allow rss feeds of a users messages.
  • cleaned up old code references to the stupid uncacher thing I had to hack into thcnet to fix a bad browser bug.
  • cleaned up the old url session hack to work around browsers who had their cookies disabled.
  • added an ajax based policy editor under the system admin.
  • added policy caching to prevent policies from being tested multiple times.

1.1.0.0

  • added tables for policy maps.
  • added underscores for configuration variables to make the configuration more readable.
  • changed config groups for site_lock, quoting_mode, and preview_mode.
  • fixed a bug where sig_percent to limit the display of large signatures was not working.
  • in the displayarticles function the threading_mode_last variable was being set as a configuration variable when it should have been treated as a flag.

1.0.0.26

  • moved updating the session/user lastaction from the displaypagetemplate function into the session class where it should be performed. we're also recording this information earlier so mysql queries which build data based on current information such as the count of users online, and if a thread should be displayed or not, are now operating on fresher data, so we're displaying better information to the user.
  • corrected the code in the displayarticles function we were recording some information in the session variable which wasn't session related.
  • commented out the code in the login function where we were recording something in session that was never being used.
  • fixed the bug that if you edited the first post in a thread and changed the title, it would try to return to a thread with the previous title.
  • fixed the bug that when posting a new thread, you change the title in a post from preview mode it would try to return to a thread with the previous title.
  • fixed a bug where if you clicked cancel from preview on a new thread it would try to return to a thread with the canceled post title.
  • fixed a bug which broke the display of the archive.

1.0.0.25

  • fixed a bug which would display that the anonymous user logged out if a user refreshed the page after logging out.
  • password function no longer uses the relatively insecure crypt function to hash the password, which prevented the use of passwords longer than eight characters.
  • cleaned up the buildurl function for #new article links.
  • fixed a bug where only the first personal info field was editable.
  • added a %%setflag%% and %%clearflag%% macro which modifies the flags specified in the quoted macro option text.
  • fixed a bug where when editing user information it doesn't immediately read in the edited user information.
  • optimized thread reply count and last date calculation. also added checks to the reply count and last date when deleting and purging messages.
  • we now can correctly handle the location stack when someone opens thcnet in a second browser window.
  • updated the displayarticles function to use a mysql_fetch_assoc to make maintaining that function just a bit easier.
  • added the macro %%newdatetime%% which displays the newest article's date time in a thread, for example if you wanted to use the templates to create a google sitemap with the last modified time.

1.0.0.24

  • fixed a bug where the javascript for the new ajax based article rating system could be included multiple times.
  • updated the stats include scripts to disable the javascript for the article rating system.
  • added config item basedir to fix problems with cookies being set under /articles/
  • fixed a bug in the article title numbering which would cause it to be run twice, thus marking every title as non-unique.
  • Sort archive base selector and post select box for message boards.
  • Fixed problem with moderation not working with register globals turned off.
  • removed old search code from displayarticles.
  • Fixed linking on <more> tags.
  • You can now correctly cancel a previewed message which doesn't have a title or message body.
  • Historical Archive now returns the first paragraph of a post when displaying the list of articles.
  • Added the "i" macro switch to check the user number of the current item's context.
  • Updated the distribution thcnetarticles.template to include a link to each article for easier linking.
  • Updated fixmessagecounts function to be a hell of a lot more efficient. Three queries total, instead of two queries for each user on the system.
  • normalized the message text so newline characters are just stored as a single \n instead of a \r\n.
  • add some database cleanup routines.
  • cleanup in the user object.
  • enhanced the template system, to allow for user selectable themes. Template Definition under the system admin now actually does something. There is also a new macro %%inputtemplate%% for use in the user template.
  • added %%parentid%% macro.
  • fixed bug in displaying "previous post" links.
  • updated display syslog function to include an ID on the syslog paragraph block.

1.0.0.23

  • moved some code from the login function to the session function.
  • fixed a bug in the new object based session code.
  • fixed a bug where the header wasn't get set correctly with threadurl mode turned on.
  • added an error handler to spell checking function to not die if PHP is not compiled with the aspell library, and to display a warning to the admin user that spell checking is disabled.
  • fixed the last remaining code so register_globals is no longer required to be turned on.
  • added the config variable liburl which can be set if required to force the location of the lib/ directory if needed. THCNET is generally pretty good about figuring this out, but you can run into problems depending on how you are using url rewrite.
  • added the ability for users to rate/score articles.

1.0.0.22

  • fixed a problem using the new text links to threads with a dash in the title.
  • fixed a problem with #new tags not being displayed correctly for the main page display.
  • fixed a non-security related display bug where edit and delete links would show for anonymous users on anonymous posts.
  • added in routine to purge old syslog items.
  • converted the session code into an object.
  • added the "t" macro switch to check if a user is a search engine robot. For example use %%articlemenu,!t,|n%% in the articl template to prevent reply links from being shown to search engine spiders, but still display the link on the main page to view the thread.
  • updated the user template so it no longer uses tables.
  • fixed a bug on boolean NOT macro switchs with parameters.
  • added the ability for users to have multiple signatures.
  • added the a new template and macros for working with editing signatures in the userinfo section. See UPGRADING for more info.

1.0.0.21

  • fixed bug with displaying list of online users.
  • added php4 and php5 classes.
  • working on commenting macro functions.
  • fixed filename references in addon modules.
  • fixed input validation on user edit.
  • integrated macro documentation in macro function comments. added class tags for input tags.
  • updated displaysyslog function (%%info%%) to only display when there is information.
  • rewrote spell check function to use the PHP pspell functions.
    • note: PHP must be compiled with the pspell libraries for the new spell check to work correctly.
  • added the ability to set a default security level for new users.
  • text input fields now take care of html special characters.
  • added the ability to display text title in URL links to threads
  • instead of the article id number.
  • added the ability to work with mod_rewrite for URL masking the thread links. (see url masking in README)
  • removed next and prev macros as they were unused.
  • changed the security so a user cannot delete a message if there are replies to the message.
  • added "n" macro switch to check against current function paramaters.

1.0.0.20

  • fixed urls so & is displayed as &amp; per W3CDTD HTML 4.01 Transitional requirements.
  • converted config variables to an object class.
  • converted user variables to an object class.
  • fixed filename includes to reference current working directory. updated templates to use additional css for layout and page optimization.
  • renamed "update last read" to "mark viewed messages read."
  • renamed "reset last read" to "mark all messages read."
  • added some additional input checking on user edit form.
  • added admin comments to users.
  • added user access flags to users.
  • added macro check for current user flag settings, and item user flag settings.
  • added config variable navdefaultcount to adjust size of multi-page selector.
  • updated the way messages are stored, so trailing html break is not added to messagetext block.
  • removed insertion of several html breaks in the code.
  • updated message editor to use configurable open/close quote tags.
  • fixed a bug where user message counters were not being updated correctly.
  • added %%baseurl%%, %%version%% and %%pagetime%% macros.
  • included templates for RSS page generation.
  • included "random article" plugin.
  • included "rumor" plugin.
  • added site locking support.

1.0.0.19

  • added browser tracking in sessions.
  • fixed users online count to display unique visitors by IP,Browser, and UserID.
  • added ability to specify an alternate date time format on the datetime macro.
  • added preliminary support for disabling globals in php (using $_GET, $_PUT)
  • added mysql table locking for messagetext to fix problems when running with mysql >= 4.1.x.

1.0.0.18

  • added sticky logins.

1.0.0.17

  • added ability to change the time display offset from the server time.
  • added the 'ap' macro flag to check display based on post access.
  • useful to turn off the article menu if the user does not have the ability to post messages.

1.0.0.16

  • added ability to change main page threading sort order.
  • started working on initial code to relink the articles to greatly increase the speed of thcnet on long message threads.

1.0.0.15

  • added the 'e' macro flag to check if you are running in SSL mode.
  • added 'uncacher' variable to url while logged in to FORCE mozilla based web browsers not to cache, since they ignore the FOUR DIFFERENT HEADER STATEMENTS TELLING THE BROWSER NOT TO BLOODY CACHE. Ok, I'm a little annoyed at this.
  • nonav now turns off *New* flags as well.
  • No longer will allow usernames with non-alphanumeric characters.
  • Fixed msgbase preselection not being carried over in the new msgpost form.
  • added tracking of IP addresses in the session and in the articles.
  • added the macro %%ip%% to display the IP address that an article was posted from.

1.0.0.14

  • fixed bug with new message flag.
  • added a link to the top level in a thread when displaying messages starting from a reply within a thread.
  • fixed bug where if an administrator edited a users messages it would cause a new message to be posted by the administrator.
  • modified tables and moved Title from articles into the messagetext table to allow for full text indexing.
  • added a full text index to the message text and title.
  • finished updating the message post template to allow admins to set the user and datetime of a message.
  • reworked the boolean search to includes support for ranking of search relevance, and the full use of AND, OR, and NOT. The shorthand operators ' ' AND, ',' OR, '-' NOT, also work. thanks go to David Altherr for writing this function.
  • fixed a bug where the basefilter was set to always on, breaking the ability to view items within bases not covered by the default filter fixed a bug where it would allow users to use a name beginning or ending with a space. This was a problem as users could "appear" to be logging in as an existing user, when in fact they were not. When deleting a user, the messages posted as the user are no flagged as having been posted anonymously.
  • There is an option to delete the messages posted by a user when deleting a user.
  • added ip logging to the syslog.
  • Now returns back to the message form if you forget to enter a title or message body, instead of erroring to the main screen.

1.0.0.13

  • added table devs for polls (voting booths).
  • fixed purge message function to only call table maint if specified.
  • fixed bug with message base filter not being set correctly.
  • fixed bug with using filters and userlists.
  • changed users online listing to only display one item for anonymous connections.
  • added usercount macro for use in the user listing to display total number connections if greater than 1.
  • altered the display form function so you can now use templates on the post message screen.
  • fixed a bug which would prevent template files from being displayed if thcnet was running in a subdirectory.
  • fixed a bug in the apply as a new user fuction which would cause the user to be added, but an error message reported that the user existed already.
  • fixed minor sql errors with the installation script.
  • fixed the apply as user function.
  • removed the feature where it would display the SQL setup screen if a database error occured.
  • if a database error occurs durring installation, the SQL setup screen will be redisplayed.
  • updated strings for threading mode under admin.
  • reset default threading mode to 'nested', and all users to 'system default'.
  • fixed display of section macro on message form.
  • added section title definition for message preview.
  • fixed bug in messagelist macro.
  • fixed bug in #new1 tag being incorrectly displayed for all article links.
  • fixed bug in some users not being able to edit their info, yet again.

1.0.0.12

  • added the section macro for display of the current section.
  • added a system configuration section to customize the section description strings.
  • alterer the users table in preparation for future stats addition.
  • altered the macro function to parse $funct to eliminate having to do multiple substring checks.
  • added "s" macro switch to check against current section.
  • fixed a couple occurrences where combinations of ! and | would not work within the macro conditionals.
  • added configuration item for posttemplate, and added the file thcnetpost.template.
  • removed the unused function displayuserinfomenu.
  • exported functions into individual files for ease of development
  • trimmed about 25Kb off the macro function in redundant code.
  • switched macro multiple elseif code to switch:case code.
  • added cleanup function for threadlastread on deletion of users.
  • fixed a security exploit with the edit user function.
  • added fix so messages posted under a different message base within a thread (i.e. Private) are not counted in the message counts.

1.0.0.11

  • added in a threaded -vs- nested mode for viewing articles (in progress)
  • added a security fix to prevent unauthorized access to the config file.
  • fixed a problem in 1.0.0.10 where nothing would be displayed immediately after login.
  • fixed a problem with multiple bases being filtered out in the admin.
  • finished login/apply code on new message form.
  • added the setenv macro to allow for on the fly environment variable changes.
  • added the navigation macro to allow for moving the default location of the navigation links.
  • changed to an output buffering method on all data.
  • added the "r" macro switch for basing output based on recursion level.
  • added the replycount macro, which returns the number of replies.
  • added the articlemenureply macro, which returns the url for replies.
  • added the ability to set the default selected message base when posting by setting the msgbase variable via the standard methods.
  • added navigation macro to allow customizing the position of the page navigator.
  • converted all functions to queue output until page is built to allow
  • for the placement of the navigation text before the content text.
  • added currentuser macro to display current username.
  • fixed navigator on search results.
  • set archive to default to outputting a limited display.
  • added default limit for user lists unless displaying online users.
  • added baseselector macro, which allows changing the default msgbase filter for whatever is currently being displayed.
  • finally fixed expiration of new flags on unread threads.
  • added the ability for admin to edit the user and datetime of posts.

1.0.0.10

  • added %%include%% macro to include a template file within another template.
  • added %%includephp%% macro to include 3rd party PHP scripts.
  • moved %%content%% macro into the primary macro function.
  • added the ability to specify a function for the %%content%% macro. depreciated %%menupicks%% as with the integration of all the macros and the addition of the %%include%% function, the function called by the menupicks macro no longer did anything useful.
  • depreciated %%calendar%% due to the addition of the %%include%% function.
  • added in a very primitive instant messaging system. don't worry it's nothing like what I have planned, it was more to test a suspected bug with the %%info%% macro.
  • re-fixed shelper so it doesn't mangle html links.
  • updated the htmlpreprocessor function toggles to allow for optionally disabling line break codes and html link conversion.
  • added config value of onlinetime for idle time in seconds user is still considered to be online.
  • rewrote next / prev function.
  • added url variable template= to specify an alternate template.
  • added url variable sort= to specify an alternate sort field.
  • added url variable filter= to specify an additional filter criteria.
  • added the ability to override the baseurl when including thcnet in a container php script.
  • fixed the preview mode when msgbase filter is set.
  • added the ability to adjust the amount of space replies are indented. added url variable altpagetemplate= to specify an alternate page template.
  • reworked the login code in preparation for allowing login name and passwords from the message post form.
  • fixed bug with message lists missing the record selector.
  • fixed security bug with being allowed to include files not located within document root.
  • removed redundant login code.
  • fixed bug where syslog would not be written to for message posts if preview mode was used.

1.0.0.9

  • rewrote template processing to no longer cause errors if multiple macro functions are on the same line if order of macros are changed. fixed bug with shelper library where the last word on a line would
  • not get correctly marked as being misspelled.
  • added ability to track number of logins.
  • fixed ability to track number of messages posted.
  • in a bout of inspiration completed a major re-write of the template and macro processing code so that all macro functions are handled by a single function.
  • wrote standardized macro api and updated templates to reflect the new macro system.
  • added functions in upgrade script to scan articles and system log to populate the number of messages and logins for each user.
  • fixed user override on preview mode when system is set to not preview by default.
  • added the ability to configure the display name for anonymous users.
  • made an interim fix for the problem where [ next ## ] wouldn't be always displayed for limited lists.
  • messagelist for users is now displayed in the form template.
  • moderate message now uses the form template.
  • search results now use defaultcount to limit display.

1.0.0.8

  • updated sys-logging feature so that it now handles and properly
  • reports user login/logoffs, posts and replies.
  • fixed bug where all search result messages are displayed with *new* tag.
  • fixed bug where deleted messages security was set to sysop level but the option to get the link to display the deleted messages was at admin level.
  • justified changelog to 80 columns.
  • added a more link when more link when more syslog items follow in the info window.
  • fixed bug where some syslog messages would not be displayed correctly.
  • added a previous post link on "max recursion level changes" to aid in navigation of large posts with lots of replies.
  • removed articlenewcolor config item.
  • created a new CSS class called menunew, to replace articlenewcolor.
  • changed the main page and first new links on the article display to use the menu CSS class.
  • added additional error checking during the install process, as well as more informative messages.
  • added CSS classes P sysinfo, B syserror.
  • updated functions to return an error level.
  • updated displaypagetemplate to display error messages if function error has been returned.
  • added admin configurable acceptable html/macro definition.
  • modified the writesyslog function to send the output thru the html pre-processor.
  • rewrote the lastlocation stack routine.
  • stripped the old non working preview code and rewrote the function from scratch.
  • incorporated voltaic's shelper function to add spell checking to the preview screen.
  • added configurable base image tags, aka slashdot.
  • added %%articleimage%% tag to article template.
  • added system config to force preview mode by default.
  • added user config to toggle preview mode.
  • added %%userpreviewmode%% tag to user template.
  • change the %%articlebase%% tag to include a url to change the filtering mode to just display that base.
  • added a title css class for the %%articlebase%% url link.
  • updated the shelper library to not grunge html code that happens to contain a misspelled word.
  • updated the shelper library to link to dictionary.com.
  • updated the shelper library to use personal dictionarys.
  • updated the articles table to keep track of the ThreadID, eliminating the need to do recursive queries to find the ThreadID when displaying a message when viewing replies.
  • added a check in the revcontrol to remove duplicate config items.
  • added a check in the revcontrol to check for orphaned messages when re-indexing the articles.
  • added %%articleuser%% to give the url to the users info page as an alternate to using %%articleemail%% when displaying the username in articles.
  • masked the users email address using ' at dot ' notation in the users information screen.
  • added %%useronline%% tag for user listing and user info templates.
  • added %%usersonline%% tag for the side menu function to display a count of users currently logged in.
  • added system configurable variable maxmessagedays which will limit the display of unread threads marked as new past a certain number of days.
  • added a user configurable variable %%usermaxdays%% in the user info template to override the above.

1.0.0.7

  • added framework for sys-logging facility.
  • added buffering of user information messages to syslog.
  • added %%info%% section in pagetemplate to display syslog messages.
  • added maxsyslogdisplay to limit number of syslog messages displayed at once.
  • updated display deleted messages to use form template.
  • added %%updatelastread%% data function in usertemplate.
  • added %%updatelastread%% data function in menutemplate.
  • functionally the same as logging out and back in.
  • added %%resetlastread%% data function in usertemplate.
  • dumps lastread data and rebuilds a new lastread index setting everything as current.
  • added %%dumplastread%% data function in usertemplate.
  • dumps all lastread data for user.

1.0.0.6

  • setting maxreplyindent to 0 now correctly turns feature off.
  • added maxreplyindentwrap to turn off resenting indent depth to zero on wrap.
  • added dateformat to change the way datetimes are displayed globally.
  • added base filtering capability via defaultbase config option and msgbase url string.
  • fixed a number of hard coded font tags and other internal strings.
  • fixed problem with lastlogin date not being displayed correctly under user info.
  • added mailto link on email addresses in user listing.

1.0.0.5

  • changed msgboards table field names.
  • added msgboard admin page.
  • started restructuring logic section of code to allow for better readability and more flexibility with future additions.
  • rewrote security to use read, post, moderated and moderator access levels from msgboards.
  • simplified reply indentation code to allow for better html.
  • added table start and end tags in article.template file for above fix.
  • added article #location html tags.
  • changed *New* flag to a link to the next new article.
  • added new config option to change color of *New* links.
  • updated threadlastread table to better track sessions and new messages during a session.
  • lots more updates to the *.template files.
  • fixed several minor html errors and overall simplified and fixed how all the page is displayed.
  • now strips users signature from reply text.
  • added SQL Configuration admin page.
  • depreciated baseurl config option.
  • added in revision control system to automate the install and database upgrades.
  • first user added is now automatically given sysadmin rights.

1.0.0.4

  • added flag to turn off user signatures for posts to the main page added user listing template.
  • updated default userinfo template to include URL and Home Page description for personal info 1 and 2 fields.
  • cosmetic bugfix with anonymous bastard.
  • added option to limit multiple Re:'s in replies.
  • added cancel option on posts.
  • moved configuration data into mysql database.
  • fixed bug that caused messages to incorrectly be displayed as new.

1.0.0.3

  • fixed problem where editing admin level user would change that users admin to 0.
  • added user signatures. (thanks volt)
  • code cleanup in several areas. (thanks volt)
  • system now displays a message when a post is waiting for moderation. added in <more> tag in message text.
  • added ability to limit number of items listed in historical archive and message listing.
  • enhanced html preprocessor so that it changes  http:// references into links.
  • fixed an error where variable check was done before system config.
  • file of was being included that had the variables to be checked.
  • fixed sql files that came with distro to fix a problem with setup.

1.0.0.2

  • many more changes.. see version1.txt for information.
  • added purge deleted message function and made accessing deleted messages easier.
  • users may see only a count of their deleted messages, but not the messages themselves.
  • admins can get in and restore deleted messages or purge all deleted messages. (which also removes any replies to those messages, cleans the thread indexes, etc..)

1.0.0.1

  • many changes.

0.07.032

  • ack.. shipped 31 with the wrong SQL files..

0.07.031

  • security fixes on user admin screens.

0.07.03

  • added subpage template.
  • changed thcnet scheme (default layouts) templates for better table handling.
  • added in some CSS to the thcnet scheme.
  • changed quoting mode to use italics on quoted text.

0.07.02

  • changed version numbering system.
  • added login form to side-bar menu.
  • moved post button on message form.
  • minor performance tweaking.

0.07b

  • added min number of messages and min number of days to keep.
  • messages on the main page.
  • added personal info fields to users table.
  • added message counter field to users table.
  • added min message number fields to users table.
  • added user info screen.
  • added admin functions to user info screen.
  • reworked session tracking to fix a bug with the way Internet Explorer handles cookies. In some cases info from one site was being read on another which broke the persistent session tracking.
  • added message listing for user function.
  • added ability to view deleted messages.
  • added user listing.

0.06b

  • login and apply now use form template.
  • login and apply now remember login name and e-mail when redisplaying form due to login password errors or incomplete apply information.
  • added in threaded message listing mode.
  • added in link to previous message on replies.

0.05b

  • reworked session location tracking return code to be a less less "intrusive" Now only does so after user input screens.
  • updated users sql table to include fields for lastread,
  • added quoting mode and threading mode to database fields.
  • quoting defaults to off.
  • adding article template macro %%articlenew%%.
  • fixed bug after hitting post button on message form.
  • added new message since last login flag.

0.04b

  • finished location tracking.
  • added return to last page after user input.
  • fixed bug where after apply it did not show logged in.
  • minor cosmetics.

0.03b

  • finished template code.
  • moved config variables to separate file.
  • added display of deleted messages counts.
  • various code cleanups.

0.02b

  • started work on template code.
  • several bug fixes.

0.01b

  • initial release.