Log in

View Full Version : Randomize smilie order?


Gary King
01-21-2005, 11:57 PM
How do I randomize smilie order in the smilie box, in the 'new post/thread' views? and also, anywhere else you can enter smilies

Andreas
01-22-2005, 12:03 AM
In functions_editor.php FIND

ORDER BY imagecategory.displayorder, smilie.displayorder


REPLACE that with

ORDER BY imagecategory.displayorder, RAND()

Zachery
01-22-2005, 12:28 AM
In functions_editor.php FIND

ORDER BY imagecategory.displayorder, smilie.displayorder


REPLACE that with

ORDER BY imagecategory.displayorder, RAND()

or just set all the smilies to the same displayid

Andreas
01-22-2005, 12:40 AM
I don't think that this would randomize the results - it would result in the order they are in the table.

Gary King
01-22-2005, 01:18 AM
thanks, all done

Murphinator
01-28-2005, 03:01 AM
how do i make it only show one group. but that group be randomized?