11
this is happening on my site as well. Shoutbox works but every other location on my site just shows the smilies code for that smilie. I have smilies enabled, xoopscode enabled, html enabled. I am running XOOPS version 2.
I am not finding anything while running in debug mode that looks strange and no error codes. I am still VERRRY new to this but learning as fast as I can.
the code i found that looked related was found in xoopscodes.php in my root directory. here it is:
echo "
\n";
//Hack smilies move for bold, italic ...
$areacontent = isset( $GLOBALS[$textarea_id] ) ? $GLOBALS[$textarea_id] : '';
echo "
\n";
//Fin du hack
}
/*
* Displays smilie image buttons used to insert smilie codes to a target textarea in a form
* $textarea_id is a unique of the target textarea
*/
function xoopsSmilies($textarea_id)
{
$myts =& MyTextSanitizer::getInstance();
$smiles =& $myts->getSmileys();
if (empty($smileys)) {
$db =& Database::getInstance();
if ($result = $db->query('SELECT * FROM '.$db->prefix('smiles').' WHERE display=1')) {
while ($smiles = $db->fetchArray($result)) {
//hack smilies move for the smilies !!
echo "
";
//fin du hack
}
}
} else {
$count = count($smiles);
for ($i = 0; $i < $count; $i++) {
if ($smiles[$i]['display'] == 1) {
//hack bis
echo "
";
//fin du hack
}
}
}
//hack for more
echo " [
"._MORE."]";
} //fin du hack
?>