The original poster has dissappeared so I did not post the solution.
Since you want it, here you go.
In ./includes/functions_bbcodeparse.php, find:
PHP Code:
if (!$dohtml)
{
$smilie_find[] = htmlspecialchars_uni(trim($smilie['smilietext']));
}
else
{
$smilie_find[] = trim($smilie['smilietext']);
}
Replace with:
PHP Code:
if (!$dohtml)
{
$smilie_find[] = " ".htmlspecialchars_uni(trim($smilie['smilietext']))." ";
}
else
{
$smilie_find[] = " ".trim($smilie['smilietext'])." ";
}
P.S. I would suggest that Jelsoft adds this into his next vBulletin release....