Quote:
Originally Posted by noonespecial
PHP Code:
$icons = $vbulletin->db->query_read_slave("
SELECT iconid, iconpath, title, imagecategoryid
FROM " . TABLE_PREFIX . "icon AS icon
WHERE imagecategoryid NOT IN (0$badcategories)
ORDER BY title
");
if (!$vbulletin->db->num_rows($icons))
{
return false;
}
$show['posticons'] = false;
while ($icon = $vbulletin->db->fetch_array($icons))
{
$show['posticons'] = true;
eval('$posticonbits .="' . fetch_template('topicbits') . '";');
}
That's how I did it with a plugin on forumdisplay_start
|
Also, how would I implement this? I am not understanding the instructions.