Ok, this works for me
Find (2 instances):
PHP Code:
$text = preg_replace_callback('/(?<!&|"|<|>|©|&#[0-9]{1}|&#[0-9]{2}|&#[0-9]{3}|&#[0-9]{4}|&#[0-9]{5})(' . implode('|', $quoted) . ')/s', array(&$this, 'replace_smilies'), $text);
Replace with:
PHP Code:
$text = preg_replace_callback('/(?<!&|"|<|>|©|&#[0-9]{1}|&#[0-9]{2}|&#[0-9]{3}|&#[0-9]{4}|&#[0-9]{5})(' . implode('|', $quoted) . ')/is', array(&$this, 'replace_smilies'), $text);
Find (2 instances):
PHP Code:
$find = htmlspecialchars_uni(trim($smilie['smilietext']));
Replace with:
PHP Code:
$find = strtolower(htmlspecialchars_uni(trim($smilie['smilietext'])));
Find (2 instances):
PHP Code:
$find = trim($smilie['smilietext']);
Replace with:
PHP Code:
$find = strtolower(trim($smilie['smilietext']));
Find:
PHP Code:
return $this->local_smilies["$matches[0]"];
Add this above that:
PHP Code:
$matches[0] = strtolower($matches[0]);