Add a word counter to the editor
With this tutorial for all forum versions, you will learn how to set a minimum number of words required before the message can be sent. You can also set the number of letters each word must have.
You have to reply to this topic to see the code (avoid Flood)
General InformationsCode creator: Turbodief - Spanish support forumCode tested on: All forum versionsChecked by: NikoExtra infos: In the code, we can modify the variables:
- var MinNumberOfWords:
is the minimum number of words necessary to post a message. Default is 5.
- var LetterCountPerWord:
is the minimum word length. Default is 3.
- var ico_compl:
is the image that appears when you can send the message (the message exceeded the minimum number of words), you can change it by setting the link of the image you want.
- var ico_incompl:
is the image that appears when you can not send the message (the message has not yet reached the minimum number of words), you can change it by setting the link of the image you want.
Codes last updated on 3rd March 2014 by Niko