It was going to be "Son of Smilie Search" or "Smilie Search Reloaded" or "Smilie Search 2: The System Strikes Back". But hey, I work by instinct.
The "minor" outstanding tweaks to the smilie search feature are being discussed in
PHP programming: smilie search.
This thread is going to focus on the
additional-keywords feature, because there are some more complex implications.
Summary
We need to allow more keywords to be stored for each smilie, so that
could be found on a search for any of "happy nod yes smile" etc, without having to pack all those into the title, which is that tooltip displayed when you hover over it with the mouse. That needs to stay as the fundamental meaning of the smilie.
In a nutshell: we'll add an extra field 'keywords' to the
smilies table in the vb database.
Minimal extra coding in the smilie popup code - just add the 'keywords' field to the searched text (the haystack).
No extra work or training for the user, just better results.
However, quite a load of extra work for
the tribune. She'll love it, but only if there is a way to enter the data.
Programming lesson (there has to be one): a design is no use if the raw data cannot be input, edited and managed.
Editing the keywords
The current interface is the
admin control panel (admincp). There are a bunch of templates that allow admins to upload smilies, edit the titles and the categories, and change the display order. I say "a bunch" because you can access them in various different ways, e.g. all smilies at once, by category, single new smilie, etc. And we need to support 'keywords' entry for all of them.
First question, for Livius and viscousmemories ... while I go off and see just how many templates and php functions are involved ... can you think of any good ways to add & edit the keywords, as admins, other than expanding those tables? Mayeb there's something easy I've missed.
(One idea I floated way back was allowing users to update the keywords, but we're not working on that yet.
)
joe