I would really like a simple extension that catches posts that are in all upper case and makes them lower case. I have a few forum users that have a habit of abusing the caps lock button, and i know I cant be the only one :) I did a search on the add ons site for "caps" but it turned up nothing.
it works on a caps-to-lowercase-letters ratio which you can set in default.php. you can also define the minimum comment length to be checked for caps abuse.
example: if you set your minimum comment length to 8 and your caps ratio to 50%, "AAAAA" will pass, "aaaaAAAA" will pass, but "aaaAAAAA" will fail.
the user receives a confirmation box if caps abuse is detected, which gives them the option to correct the comment themselves, or else have it automatically converted to sentence case and submitted.
ithcy - I'm lookign at what you've made right now, and sorry for this most likely stupid question but in your default.php it says "You should cut & paste this language definition into your conf/your_language.php file (replace "your_language" with your chosen language, of course)". Could you clarify what you mean? Im used to uploading things to the extensions folder, checking off the box in settings and calling it a day. Thanks!
eh, you can ignore that. that's for translators. that text is actually left over from the old vanilla 0.9.2 extensions that used to be packaged with the forum - i still use an empty one of them as a template when i make a new add-on. so i blame Mark for your confusion.
WHAT'S, WRONG, WITH, USING, ALL, CAPS, ISN'T, THAT, CAPS PROFILING ? I suppose if someone abuses the comma, , , , , , , ,they will be targeted next, just kidding ;-)
I have never seen such serious abuse maybe a few words with all CAPS but I really don't see how it can offend people, they call it SHOUTING but its nothing you can not possibly hear anything geez man virtual communities need to get a life,
I just had a weird thought. With the appropriate extensions (or plugins in the WP world), whatever the user enters can be changed to whatever we want. Filtering user input does scare me although the user can certainly review what he (or she) said to make sure it's accurate.
3stripe: it's not that clever. it just works on the ratio of caps to lowercase in the message, after a certain message length. it will hopefully achieve the same effect that way.
jimw: yes, but as soon as people figure out that you're altering their input, you won't get many repeat visitors.
response: '<div class="Error"> the file could not be opened. please make sure that PHP has write access to the www/sffixed/Vanilla.merge/conf/extensions.pho file. </div>
ok. this is not a problem with my extensions, really... do you have any other extensions running? you need to check the permissions on your conf/extensions.php file and make sure it's writeable (666)
yeah. my point is that it's easier this way and there's no need to avoid javascript since you pretty much need to have it enabled to use vanilla at all.