Limit Size of Message Postings Module

Limits the amount of characters that a forum user is allowed to post
to their messages and replies.  Uses Javascript to count the
characters and displays remaining characters in a text box on the 
form.  Also uses PHP functions to prevent users from posting large
posts by disabling Javascript in their browsers.

Tested on Phorum v5.1.20

License:
-------
Free to use, modify, or redistribute this code.  This code comes 
with absolutly no warranty.

Installation:
------------
1. Unpack the archive.

2. Move the directory "limit_post_size" to the directory "mods" within your
   Phorum installation. Don't change the directory name!

3. Login as administrator in Phorum's administrative interface and go to the
   "Modules" section.

4. Enable the "Limit Size of Message Postings Mod" module.

5. Click "Settings" and enter in the value for the maximum number of allowed
   characters.

6. Modify your template files to include the Javascript code and textarea
   modifications.  The line numbers should get you close to where the edits
   need to go.

   /templates/YOURTEMPLATE/header.tpl:
         9   <head>
        10     {HOOK tpl_limit_post_size_javascript_hook}

    /templates/YOURTEMPLATE/posting_messageform.tpl
       112   <textarea name="body" id="phorum_textarea" {HOOK tpl_limit_post_size_form_tag_additions_hook} rows="15" cols="50" style="width: 99%">{POST->body}</textarea>

7. If you would like to modify the text displayed, the error message can be
   found in "limit_post_size/lang/english.php".  The text around the textbox
   containing the countdown block is within module code.  It can be edited
   in "limit_post_size/limit_post_size.php"

Changelog:
---------
2007/03/28 version 0.0.1 by Ken Schweigert (ken@byte-productions.com)
- Initial release
