Version: 1.00, by Pseudomizer
Developer Last Online: Feb 2010
Version: 3.0.1
Rating:
Released: 05-21-2004
Last Update: 06-09-2004
Installs: 100
No support by the author.
Welcome to my first Release of
Smilie Category Hack or How-to-organize VB smilies in a nutshell
This small Hack helps you to organize your smilies in a better and easier way:
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 5 minutes and is very easy. But please remember that you need to have at least 2 categories created with your smiliemanager in your ACP.
Required actions:
- 1 template change
- 1 php file change
Please click on this install button or on the install button on the upper right corner if you wish to get support for this hack.
Update 1.01
Bug in the WYSIWYG editor fixed.
Enjoy it.
Cheers,
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
Hello this is a workarround for the Problem..
There ist a one problem you must use drag and drop bei using the smilies.
I hope of a new release ..., or help of one of the cracks
3 changes
1 file
2 templates
Edit the misc.php in your forum root
change the whole code of the this section
PHP Code:
// ############################### Popup Smilies for vbCode ################
....
with this
PHP Code:
// ############################### Popup Smilies for vbCode ################
if ($_REQUEST['do'] == 'getsmilies')
{
$editorid = $vbulletin->input->clean_gpc('r', 'editorid', TYPE_NOHTML);
$smilies = $db->query_read("
SELECT smilietext AS text, smiliepath AS path, smilie.title, smilieid,
imagecategory.title AS category
FROM " . TABLE_PREFIX . "smilie AS smilie
LEFT JOIN " . TABLE_PREFIX . "imagecategory AS imagecategory USING(imagecategoryid)
ORDER BY imagecategory.displayorder, imagecategory.title, smilie.displayorder
");
$smcache = array();
while ($smilie = $db->fetch_array($smilies))
{
$smcache["{$smilie['category']}"][] = $smilie;
}
//##### start of the hack ##################
$i = "0";
foreach ($smcache AS $category => $smilies)
{
$new_categories[$i] = $category;
$i++;
}
$popup_smiliesbits = '';
$bits = array();
exec_switch_bg();
foreach ($smcache AS $category => $smilies)
{
//#### start of added supplements to the program code ####
if ($category == $select_category)
{
//#### end of added supplements to the program code ####
if (sizeof($bits) == 1)
{
eval('$smiliecells = "' . fetch_template('smiliepopup_straggler') . '";');
eval('$smiliebits .= "' . fetch_template('smiliepopup_row') . '";');
}
This works brilliantly...just need to change the one saying in the plugin for the pulldown menu...it's in another language...but I changed it to say something like "choose a category".
Thank you BUNCHES for sending this to me! You rock! Now all my smilies work in IE and not just FF...
Psst...send me a PayPal addy in a pm and I'll send you a thank you