Happy Atheist Forum

Getting To Know You => Ask HAF => Topic started by: mcm on January 08, 2010, 07:46:59 AM

Title: Emoticon needs some work.
Post by: mcm on January 08, 2010, 07:46:59 AM
I wander why phpBB converts the first three letters of the word lollies to an emoticon like this lollies. I would have thought it would only do it if lol began and ended with a word boundary (i.e. \b in regex (https://developer.mozilla.org/en/Core_JavaScript_1.5_Reference/Objects/RegExp)) not when it's part of a word.

Just thought I would mention it although it's easy to work around like ticking "Disable smilies" under options for the post or making it italic like above.
Title: Re: Emoticon needs some work.
Post by: kenh on January 08, 2010, 02:45:07 PM
I think its how the smilies are set up, it doesn't do it on a phpBB board I'm associated with.  
How often does one use the word "lollies" anyway?   lol
Title: Re: Emoticon needs some work.
Post by: Whitney on January 08, 2010, 07:33:23 PM
The only way I can fix it from my end is to make it so lol never becomes a smilely and change it to :lol:

Do enough words start with lol to worry with it?
Title: Re: Emoticon needs some work.
Post by: Tanker on January 09, 2010, 01:16:02 AM
I actually dislike using emoticons and get anoyed when it changes my l o ls into a smiley. I deal with it because it's not that big a deal. Just my 2 cents.
Title: Re: Emoticon needs some work.
Post by: mcm on January 09, 2010, 12:27:50 PM
Oh I see, I wasn't sure how it was setup and if it used something like a regular expression in which case the fix would be easy. But it sounds like that part is taken care of by phpBB in which case you can't really fix it. So I wouldn't worry about it myself.