Adding a space from ACP won't help as the parse function will remove it.
Try this instead:
In functions_bbcodeparse FIND
PHP Code:
if (!$dohtml)
{
$smilie_find[] = htmlspecialchars_uni(trim($smilie['smilietext']));
}
else
{
$smilie_find[] = trim($smilie['smilietext']);
}
// if you change this HTML tag, make sure you change the smilie remover in code/php/html tag handlers!
if ($iswysiwyg)
{
$smilie_replace[] = "<img src=\"$smilie[smiliepath]\" border=\"0\" alt=\"\" title=\"$smilie[title]\" smilieid=\"$smilie[smilieid]\" />";
}
else
{
$smilie_replace[] = "<img src=\"$smilie[smiliepath]\" border=\"0\" alt=\"\" title=\"$smilie[title]\" />";
}
REPLACE that with
PHP Code:
if (!$dohtml)
{
$smilie_find[] = htmlspecialchars_uni(' ' . trim($smilie['smilietext']));
}
else
{
$smilie_find[] = ' ' . trim($smilie['smilietext']);
}
// if you change this HTML tag, make sure you change the smilie remover in code/php/html tag handlers!
if ($iswysiwyg)
{
$smilie_replace[] = " <img src=\"$smilie[smiliepath]\" border=\"0\" alt=\"\" title=\"$smilie[title]\" smilieid=\"$smilie[smilieid]\" />";
}
else
{
$smilie_replace[] = " <img src=\"$smilie[smiliepath]\" border=\"0\" alt=\"\" title=\"$smilie[title]\" />";
}
Please note that this code-block appears twice. Both instances must be changed.