Version: 1.0.6, by Darwinist
Developer Last Online: May 2009
Category: End-User Options -
Version: 3.7.3
Rating:
Released: 09-28-2008
Last Update: Never
Installs: 157
Uses Plugins Template Edits
Code Changes Additional Files
No support by the author.
This add-on will allow members to create their own favorite smilies list, which can be useful on boards with lots of smilies. If a member creates a list, it will be displayed in place of the normal smilie box.
Maximum number of smilies is based on the 'Smilie Menu Total Smilies' option in 'Message Posting Interface Options'.
Features:
Edit List in UserCP
Javascript Enforced Limit
Ignore Certain Smilie Categories
Allow/Disallow usage based on usergroup
Admin CP Help
Installation Overview:
Files to Modify: 1
Templates to Modify: 1
Files to Upload: 2
Product:
-Plug-Ins: 6
-Templates: 5
-vB Options: 4
-Phrases: 29
Version History:
1.0.6 - Compatible with vB version 3.7.3.
1.0.5 - Fixed vulnerability.
1.0.4 - Added smilie selection count under smilie selection menu. One less template to edit.
1.0.3 - Added option to hide smilie titles on the selection menu (for boards with a very large number of smilies). Icon link to edit the list on the editor toolbar. Admin CP help text. Improved integration with the UserCP. One less file to edit. Fixed some text that wasn't phrased.
1.0.2 - Added option to limit who can use the Favorite Smilies listed based on usergroup permissions. Changed smilie selection page to include category names. Fixed Missing 'More' link in Smilie dropdown menu.
1.0.1 - Fixed problem with missing table prefixes.
1.0.0 - Initial release.
A version for 3.5 can be found Here
A version for 3.6 can be found Here
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
- In the AdminCP, go to 'Usergroup' -> 'Usergroup Manager' and click 'Go' to edit any of the usergroups (saving is not necessary, going to the page is all that's required).
- Confirm and set (if necessary) some extra options in 'vBulletin Options' -> 'Message Posting Interface Options'.
I hope this can help you.
Thank you, I had forgotten to do this the first time.
I think for me it had to do with how the functions_editor.php file was saved. I really don't know how to explain it, but I ran into the problem again while I was messing around and once I re-installed the first edited file it was working again.
No matter what I do, I can't get the selected smilies to show up in my smilies box. I see the yellow star...I get the list of smilies to chose from (and can make and save my selections)...BUT nothing changes in my smilies box. When I click on the yellow star again, the selctions are still marked as saved...but nothing changes in my smilies box (just the same old ones showing as before) .
I have redone the steps over and over again and can't get it to work. I have even tried disabling all other modifications to see if one of other mods were interfering with it...and nothing! Please help!
I had to figure it out once again, this time I can pass it on to you all! LOL I know I sounded like a nut telling you (Pamela) that the file sizes were different. They were because it was an older version of the edits that I was using and that's what made it work.
I used the older version edits of function_editor.php that can be found here. Make only the following edits to your current function_editor.php file and it will work. At least it corrected the problem for me and it's now working on 3.8.2. You may still need to go to the membergroups and click on go.
Quote:
In includes/functions_editor.php
FIND:
// query smilies
$smilies = $vbulletin->db->query_read_slave("
SELECT smilieid, smilietext, smiliepath, smilie.title,
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
");
// get total number of smilies
$totalsmilies = $vbulletin->db->num_rows($smilies);
REPLACE WITH:
// query smilies
############### FAVORITE SMILIES #################
if (($vbulletin->userinfo['favsmilies']) AND ($vbulletin->options['favsmiliesactive'])) {
$favsmilies = str_replace(" ", ", ", $vbulletin->userinfo['favsmilies']);
$smilies = $vbulletin->db->query_read("
SELECT smilieid, smilietext, smiliepath, smilie.title,
imagecategory.title AS category
FROM " . TABLE_PREFIX . "smilie AS smilie
LEFT JOIN " . TABLE_PREFIX . "imagecategory AS imagecategory USING(imagecategoryid)
WHERE smilieid IN ($favsmilies)
ORDER BY imagecategory.displayorder, imagecategory.title, smilie.displayorder
");
$favsmtotal = $vbulletin->db->num_rows($smilies);
$smilietotal = $vbulletin->db->query_first("SELECT COUNT(*) as total FROM " . TABLE_PREFIX . "smilie");
$totalsmilies = $smilietotal['total'];
}
else {
$smilies = $vbulletin->db->query_read("
SELECT smilieid, smilietext, smiliepath, smilie.title,
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
");
$totalsmilies = $vbulletin->db->num_rows($smilies);
}
############### /FAVORITE SMILIES ################
I had to figure it out once again, this time I can pass it on to you all! LOL I know I sounded like a nut telling you (Pamela) that the file sizes were different. They were because it was an older version of the edits that I was using and that's what made it work.
I used the older version edits of function_editor.php that can be found here. Make only the following edits to your current function_editor.php file and it will work. At least it corrected the problem for me and it's now working on 3.8.2. You may still need to go to the membergroups and click on go.
AWESOME...that worked perfectly! Thank you so very, very much! I greatly appreciate your help!!!
I used the older version edits of function_editor.php that can be found here. Make only the following edits to your current function_editor.php file and it will work. At least it corrected the problem for me and it's now working on 3.8.2. You may still need to go to the membergroups and click on go.
I had to figure it out once again, this time I can pass it on to you all! LOL I know I sounded like a nut telling you (Pamela) that the file sizes were different. They were because it was an older version of the edits that I was using and that's what made it work.
I used the older version edits of function_editor.php that can be found here. Make only the following edits to your current function_editor.php file and it will work. At least it corrected the problem for me and it's now working on 3.8.2. You may still need to go to the membergroups and click on go.
Well this is working great except for one thing and I have done the edits to function_editor etc it doesnt show up in mu UserCP .. it does on Post reply and it works fine and you can set it up but can anyone tell me what I might have missed for it to not show in usercp please
Doesn't work. I rebuilt the bitfields, reinstalled the product chose and resaved the favorite smilies and nothing. BTW, the favorites do show but not the ones I chose.