Version: 1.01, by beebi
Developer Last Online: Jan 2009
Category: Mini Mods -
Version: 3.5.3
Rating:
Released: 02-04-2006
Last Update: 02-04-2006
Installs: 195
Uses Plugins Template Edits
No support by the author.
Smilie Category
This is a port of this hack, posted with the original author permission
Description
This small Hack helps you to organize your smilies in a better and easier way:
Hack Ported by: beebi
How does this work ?
You have to have to create multiple Smilie Categories with your ACP Smilie Manager. This hack will offer you a form select screen in your smilie popup window. So you can now easily choose from different categories.
The integration should take about 2 minutes and is very easy. But please remember that you need to have at least 2 categories created with your smiliemanager in your ACP.
Details
1 Plugin XML
1 Template Edit
Installation
1.Import The Plugin .
2- In Template smiliepopup
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...
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.
Quote:
Originally Posted by Karri
This hack seems to have a small bug. It only shows even numbers of smilies per category. It looks like the bit
from the original hack that this was ported from was left out. I replaced the last } in the plugin with that bit of code and now I have odd number of smiles showing again.
I have this installed and it's working great. There's just a few questions I have, which may or may not actually be related to this mod, but I'd like to know anyway.
1. The smilies page that opens up after clicking on "more" is very small. What do I have to edit to make that window wider? Let's say, two or three times as wide.
2. Is there a way to get one or two of the categories to only display one column of smilies intead of the double columns?
3. Will there be a supported version of this modification for 3.6.4 that is supported?