1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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)

Discussion in 'Tips and Guides [Archive]' started by Rudy, Apr 7, 2011.

  1. Rudy

    Rudy 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
     
    vkams likes this.
  2. Onimua

    Onimua Well-Known Member

    You can also use [plain] tags if you want to void smiley usage. :)
     
  3. Rudy

    Rudy Well-Known Member

    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: [​IMG]

    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.
     

Share This Page