Quote:
Originally Posted by Lynne
Take a look at includes/functions_editor.php at the query around line 588 (it says // query smilies there) and compare the file from your old version and the new version. See how the ORDER part has changed.
|
thank you very much!
--------------- Added [DATE]1233949123[/DATE] at [TIME]1233949123[/TIME] ---------------
Quote:
Originally Posted by Lynne
Take a look at includes/functions_editor.php at the query around line 588 (it says // query smilies there) and compare the file from your old version and the new version. See how the ORDER part has changed.
|
it says:
// query smilies
$smilies = $vbulletin->db->query_read_slave("
SELECT smilieid, smilietext, smiliepath, smilie.title,
imagecategory.title AS category
FROM " . TABLE_PREFIX . "smilie AS smilie
LEFT JOIN " . TABLE_PREFIX . "imagecategory AS imagecategory USING(imagecategoryid)
ORDER BY imagecategory.displayorder, imagecategory.title, smilie.displayorder
");
I think I overwrote the original file. Does this look right? Thanks again!
--------------- Added [DATE]1233949279[/DATE] at [TIME]1233949279[/TIME] ---------------
Since it's happening in the clickable smilie area below the quick reply bar, I wonder if this is the area I should be looking at?
// clickable smilie box
if ($vbulletin->options['smtotal'])
{
$vbulletin->db->data_seek($smilies, 0);
$i = 0;
$bits = array();
while ($smilie = $vbulletin->db->fetch_array($smilies) AND $i++ < $vbulletin->options['smtotal'])
{
$smiliehtml = "<img src=\"$smilie[smiliepath]\" id=\"{$editorid}_smilie_$smilie[smilieid]\" alt=\"" . htmlspecialchars_uni($smilie['smilietext']) . "\" title=\"" . htmlspecialchars_uni($smilie['title']) . "\" border=\"0\" class=\"inlineimg\" />";
eval('$bits[] = "' . fetch_template('editor_smilie') . '";');
if (sizeof($bits) == $vbulletin->options['smcolumns'])
{
$smiliecells = implode('', $bits);
eval('$smiliebits .= "' . fetch_template('editor_smiliebox_row') . '";');
$bits = array();
}
}