Version: 1.0.5, by Darwinist
Developer Last Online: May 2009
Category: End-User Options -
Version: 3.6.8
Rating:
Released: 08-04-2006
Last Update: 07-23-2007
Installs: 393
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
NOTICE: If you're upgrading to version 1.0.4 from a previous version, please read the 'Upgrade.htm' file. Otherwise, read the 'Install_3.6.0.htm' for vBulletin 3.6.0 installations or 'Install_3.6.1.htm' file for vBulletin 3.6.1 or newer installations for the installation procedure.
Version History:
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.7 can be found Here
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
I'm guessing only one or the other will work, because I've noticed both want to go in the same location under the Smilie icon of the editor and My Favorite Smilies aren't showing up, it just says my smilies, which is annoying because what if I want My Smilies to be some of the defaults?
Might be recommended to add that to the front page of your mod.
No matter what I do, I can't get the smilies to save!
I see the yellow star, I have the link in the User CP, I get the list of smilies to chose from, but when I click on "save", the selections won't hold. I have redone steps over and over again (with the instructions in post #329 and the security token fix as well) and can't get it to work to save my own life.
Please help if you can because I'm at a total loss here. Thank you!!!
In the very first part of step 1 of the installation instructions, look at the 'replace with' code. In this part:
PHP Code:
else {
$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
");
$totalsmilies = $vbulletin->db->num_rows($smilies);
}
You would replace the...
PHP Code:
ORDER BY imagecategory.displayorder, imagecategory.title, smilie.displayorder
line with...
PHP Code:
ORDER BY rand()
The result would be random smilies in the smilie box when the user has not selected a favorite smilies list.
Darwinist,
Does your above changes make my Smilies Cloud remain random and not show the fave smilies?
Our goal: we have the fave smilies show in the drop down menu of the Smilies button on the editor, and we want the Smilies cloud to remain random and not show the faved smilies there.
If the above change does not work, please advise on how to make the Smilies Cloud remain random.
In the very first part of step 1 of the installation instructions, look at the 'replace with' code. In this part:
PHP Code:
else { $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 "); $totalsmilies = $vbulletin->db->num_rows($smilies); }
You would replace the...
PHP Code:
ORDER BY imagecategory.displayorder, imagecategory.title, smilie.displayorder
line with...
PHP Code:
ORDER BY rand()
The result would be random smilies in the smilie box when the user has not selected a favorite smilies list.
Quote:
Originally Posted by legionofangels
Darwinist,
Does your above changes make my Smilies Cloud remain random and not show the fave smilies?
Our goal: we have the fave smilies show in the drop down menu of the Smilies button on the editor, and we want the Smilies cloud to remain random and not show the faved smilies there.
If the above change does not work, please advise on how to make the Smilies Cloud remain random.