![]() |
Random Smilies v1
What does this do then?
It's nice having those smilies on the side of the editor, but after a while you get sick of looking at the same ones each time you post, so this changes the display to a random one. The Hack In includes/functions_editor.php find: Code:
$smilies = $DB_site->query(" Code:
$smilies = $DB_site->query(" *Important Extra Configuration bit* Do you have large smilies you'd rather weren't in the random selection? well make sure they are all stored in their own categories and then find: Code:
LEFT JOIN " . TABLE_PREFIX . "imagecategory AS imagecategory USING(imagecategoryid) Code:
WHERE imagecategory.imagecategoryid NOT IN (1,2) ================================================== ===== and now you are all done, no template edits are required and of course the screenshot, but it'll be different on yours as it'll include your smilies so you need to use a bit of imagination on this one ;) Thanks for looking at (and hopefully installing) a BluPhoenix vB Hack :tired: |
if you don't order them doesn't it show them randomized anyway?
|
Noit as far as I'm aware.. if you set them all to one it'll just shown the first 16 or whatever you have set..
|
sabret00the is right, they are if u don't order them.....thanks anyway:)
|
Good enough for me.
Thank you. :) |
thanks
|
thanks just what i needed
|
Nice just what I was looking for. Installed and clicked :squareeyed:
|
can you get it workin for vb 3.0.7?
|
just set them all to number 1 in the smiley manager, does the same thing.
|
All times are GMT. The time now is 12:35 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|