Nice! I was about to make one of these but upon finding this one there's no need.
This is just personal preference, but the dropdown looks a little neater if you place it into your table header. An image is attached so you can see what I mean. So instead of adding the $new_smilies before the <form action="misc.php" method="get"> when you do the template edit, try this instead...
Find:
Code:
<td class="tcat" colspan="4">
$vbphrase[smilie_list]
<div class="smallfont">$vbphrase[click_a_smilie_to_insert_it_into_your_message]</div>
And replace it with:
Code:
<td class="tcat" align="center" width="25%">$new_smilies</td>
<td class="tcat" colspan="3">
$vbphrase[smilie_list]
<div class="smallfont">$vbphrase[click_a_smilie_to_insert_it_into_your_message]</div>
Also, it appears that by default all the smilies show when you first load the smilie popup. The reason I was looking for this mod was so the smilies could be displayed by category and the popup wouldn't take forever to load because we have nearly 1000 smilies installed. If you want to set one single category to show when the smilie popup is first loaded (then the user can use the dropdown to pick another category), you can edit the plugin that was installed...
Find this bit of code in the plugin from your Plugin Manager:
PHP Code:
if (!$_REQUEST['select_category'])
{
$select_category = $new_categories[0];
}
...and replace it with:
PHP Code:
if (!$_REQUEST['select_category'])
{
$select_category = 'categoryname';
}
...where
categoryname is the name of the category you want to load by default.