Post Reply 
Capital Letters
27-Aug-2010, 09:00 PM
Post: #1
Capital Letters
A nice feature might be to check whether there is a high percentage of capital letters in the comment and provide a few options such as reject, approve and ban if there is. This will stop people from SHOUTING which can be annoying.

http://www.mail-archive.com/php-general@...65861.html

Have you completed the interview?
Find all posts by this user
Quote this message in a reply
27-Aug-2010, 09:23 PM
Post: #2
RE: Capital Letters
Don't forget a decapitalize option Smile
Just looked at the method in the link. It won't work for non [A-Z] characters, aka Unicode.

I'm giving you three guesses...
Find all posts by this user
Quote this message in a reply
27-Aug-2010, 11:12 PM
Post: #3
RE: Capital Letters
Yeah you're right. It will need to be wrapped with a Unicode check.

Have you completed the interview?
Find all posts by this user
Quote this message in a reply
27-Aug-2010, 11:14 PM
Post: #4
RE: Capital Letters
Do you think the percentage should be editable in the admin panel?

Have you completed the interview?
Find all posts by this user
Quote this message in a reply
28-Aug-2010, 01:12 AM
Post: #5
RE: Capital Letters
Yes, I think it should.
What do you think should be done about the Unicode? Add a range of characters to check for each alphabet, or have users contribute to that themselves?

I'm giving you three guesses...
Find all posts by this user
Quote this message in a reply
28-Aug-2010, 01:03 PM
Post: #6
RE: Capital Letters
What would be the advantage of storing the characters of each alphabet? What's wrong with the current method?

Have you completed the interview?
Find all posts by this user
Quote this message in a reply
28-Aug-2010, 03:58 PM
Post: #7
RE: Capital Letters
The capital letter feature is now complete.

Have you completed the interview?
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)