PDA

View Full Version : Random Smilies


Xelation
01-23-2002, 09:39 PM
I noticed the vbulletin.org has random smilies... is there a hack for this, and if so... can someone direct me to the thread please?

Scott MacVicar
01-24-2002, 06:04 AM
its too small to be a hack :P

open /admin/functions.php

look for
$smilies = $DB_site->query("SELECT title, smilietext, smiliepath FROM smilie");

change to

$smilies = $DB_site->query("SELECT title, smilietext, smiliepath FROM smilie ORDER BY RAND()");

Admin
01-24-2002, 01:07 PM
Someone actually released this hack. :)

Scott MacVicar
01-24-2002, 01:50 PM
wow it must have taken the author ages to make :D

Admin
01-24-2002, 02:32 PM
It's my code, he just posted it for me. :)

JTMON
04-18-2002, 08:55 PM
yes it was ME!!!! I just released it so others could find it cause people were asking, and I wanted to be able to have it in my list of installed hacks here which I use everytime I upgrade. Thanks again Chen!! Hmm, I wonder if I should make it vbHacker compatible. :D