1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 smilie overloading

Discussion in 'Troubleshooting and Problems' started by briansol, May 30, 2014.

  1. briansol

    briansol Active Member

    I have 2 smilies,

    one is
    the other is
    pop never works, I get psmilieOP:

    is there a way to make both of these work without changing : p ?
  2. AndyB

    AndyB Well-Known Member

    What I did to overcome this situation is to rename :p to something else.
  3. briansol

    briansol Active Member

    yeah, i'd like to keep it though. I have many others like : D , : P : J etc that basically kill half the alphabet.

    it's almost like the regular expression match needs a $ end check too
  4. Mike

    Mike XenForo Developer Staff Member

    I can't reproduce this. It should always look for the longest match first. If you remove the :p smiley, can you confirm that :pop: works as expected?
  5. briansol

    briansol Active Member

    Further testing, it seems to fail only on one that has numbers in it. I used pop here only has a quick example.

    :ph34r: is one we use... and it won't come out right. but :popcorn: does indeed render proper
  6. Mike

    Mike XenForo Developer Staff Member

    Sorry, I still can't reproduce this and I don't see any reason for the numbers to make a difference.
  7. briansol

    briansol Active Member

    I finally figured this out... apparently it doesn't work well when you have two :codes: on one line.

    hitting enter between them enabled it. :X

Share This Page