Quote:
Would be great if it could work with random smilies hack.
|
ya
@kie & @lordofgun
PHP Code:
if($bbuserinfo[smilie] ==''){
$smilies=$DB_site->query("SELECT smilieid,smilietext,title,smiliepath FROM smilie");
}else{
$nabn = explode(" ", $bbuserinfo['smilie']);
$smilies=$DB_site->query("SELECT smilieid,smilietext,title,smiliepath FROM smilie WHERE smilieid IN (" . implode(",", $nabn) . ")");
eval ("\$vbcode_smilies_editfav = \"".gettemplate("vbcode_smilies_editfav")."\";");
}
Replace it with:
PHP Code:
if($bbuserinfo[smilie] ==''){
$smilies=$DB_site->query("SELECT smilieid,smilietext,title,smiliepath FROM smilie ORDER BY RAND()");
}else{
$nabn = explode(" ", $bbuserinfo['smilie']);
$smilies=$DB_site->query("SELECT smilieid,smilietext,title,smiliepath FROM smilie WHERE smilieid IN (" . implode(",", $nabn) . ")ORDER BY RAND()");
eval ("\$vbcode_smilies_editfav = \"".gettemplate("vbcode_smilies_editfav")."\";");
}