• Resolved silfver

    (@silfver)


    I have a really strange problem. My smilies work almost perfectly. Only, if I put two of the same after each other, they’re not displayed! See for yourself.

    This is how my var.php looks like:

    ':)'	=> 'smile.gif',
    ':('	=> 'frown.gif',

    And this is how I add them:
    🙂 🙂 🙂 🙂

    If I add a space before the 🙂 and 🙁 it doesn’t work at all.

    How do I solve this bug?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter silfver

    (@silfver)

    I would really appreciate som help. 🙂

    Thread Starter silfver

    (@silfver)

    Solved it.

    I replaced this code:
    $wp_smiliessearch[] = '/(\s|^)'.preg_quote($smiley, '/').'(\s|$)/';

    With this code:
    $wp_smiliessearch[] = '/'.preg_quote($smiley, '/').'/';

    Thanks for all the help, lol.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Same smilie twice doesn’t work’ is closed to new replies.