• This forum has been archived. New threads and replies may not be made. All add-ons/resources that are active should be migrated to the Resource Manager. See this thread for more information.

Smiley Fix (stupid tip of the day, part one)

Wildcat Media

Well-known member
For years on phpBB2, any time someone would write in a set of numbers in parentheses that ended in the number 8, it would trigger one of our smileys. The 8 and ) characters together made our "cool" smiley, with sunglasses. This bit me on a forum today as I had entered a catalog number as (80058) and got the little dude wearing the shades.

In XF, I found I could fix this easily. Since most smileys are separated by spaces (or should be), I simply entered the smiley code as " 8)" in the smiley database, putting a space before the eight. I think phpBB trimmed any whitespace before or after the smiley code, so it never worked. Fortunately it works here! It fixes something that has bugged us for, what, nine years now? :D
 
For one isolated smiley, it's not worth it. ;)

vBulletin always pulled a trick on us. We had a "popcorn" smiley for when things got....interesting in a thread:
popcornsmiley.gif


The code for it was :popcorn:, but vB was greedy with the interpretation and made a smiley out of the :p portion of the code...so you'd have the smiley followed by the letters "opcorn". :D We ended up changing the code to something different.
 
Top Bottom