Firefox PHP

Limit Size of Message Postings Module

Posted by schwing 
All files from this thread

File Name File Size   Posted by Date  
limit_post_size-0.0.1.tar.gz 2.4 KB open | download schwing 03/28/2007 Read message
Limit Size of Message Postings Module
March 28, 2007 12:12PM
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.

Written mainly to prevent users from copy-n-pasting multiple page documents and posting them to the forum.

Installation should be a simple extraction of the mod and two small template changes. More in the README file.

This should consider this beta code. It works for me, but your mileage may vary.

This is my first module released to the community. I have written a couple others so I am in no way a seasoned mod writer. I would appreciate feedback in how the module was written and ways to improve future releases.

open | download - limit_post_size-0.0.1.tar.gz (2.4 KB)
Re: Limit Size of Message Postings Module
April 11, 2007 12:42PM
Hello ken

Great mod.
You have some text in your mod that isn't in lang file.
It will be better to put all text in lang file. ;)

Thank you for your mod.
Sorry, only registered users may post in this forum.

Click here to login