Version: 1.00, by Kentaurus
Developer Last Online: Jul 2014
Category: Major Additions -
Version: 3.6.8
Rating:
Released: 01-01-2007
Last Update: 01-04-2007
Installs: 141
DB Changes Uses Plugins Template Edits
Additional Files
No support by the author.
Tested with vb 3.6.8
This hack puts the control of the smilies on the users. It lets any user (that you give permission to) upload or modify the smilies that he can use.
These are not the smilies that vb uses, these are user-customized smilies. The smilies that you already have in place are preserved and are still used. But users may upload their own smilies for their use, and they are kept separate from the forum smilies.
For users:
Users can keep a library of smilies (they can upload them from their computer or web)
Users enter their replacement text, for example, :iamhappy: would be changed for his user-happy smilie
The custom smilies are parsed in any post, signature, or pm
If they have enabled the WYSIWYG editor, smilies are shown there
For administrators:
Usergroup control of who may upload custom smilies
Usergroup control of the size (width, height, size in bytes) of the smilie
Smilie quota, both for max number of smilies and max number of bytes or hard disk space
The administrator can choose where to save the smilies (the directory, default: mysmiliesvb)
Installation instructions
See the included readme.txt
Info for hackers:
You may modify, improve, upgrade, redistribute this hack, include it
in another hack or yours or translate it provided you do it free of
charge and you distribute it in www.vbulletin.org at least, there is no
need to pm me asking for permission
Some portions of the code are (c) Jelsoft Enterprises Ltd.
Show Your Support
This modification may not be copied, reproduced or published elsewhere without author's permission.
No, but you can always create a usergroup and add that only user to it
Quote:
When the user inputs a new keyword will all posts with that keyword use their smilie? or does the new smilie only show in the users posts? Is the new smilie parsed so it will not interfere with current keywords? (if not might I suggest AJAX to make this check on-the-fly?
Depends on how you configure the hack. The default behavior is that if the user enters a new smilie, the smilie is only used in the new posts for that user.
You can configure the hack in such way that every time a user adds a new smilie then the cache is cleared (and, all his posts are updated the next time someone views them), but this is somehow server intensive and is disabled by default.
Please keep in mind that the smilie is only available for the user that uploaded it. Anyone else using that keyword will not get the smilie. When a user adds a smilie it is checked against his smilies (no duplicated keywords allowed) and against the forum smilies (cannot override forum smilies).
Quote:
Are there restrictions on type of images? Can you add an option to limit file types?
You can restrict size and dimensions. Any image type is allowed (gif, jpg, png)
Quote:
Are there instructions for adding the MySmilies dropdown for the Quick Reply box too?
I don't think that's default in vbulletin? Quick reply doesn't have a smilie dropdown. Since the hack extends the current smilies behavior I suppose if standard smilies were added to the quickreply custom smilies would appear, too.
Quote:
edit...I would like to recommend adding a blank index.html to the zip for the mysmiliesvb directory for security
Hmm..... I've just installed this and I'm trying to upload a smiley to test .. getting the error Imageinfo Failed:
That seems to be an imagemagick error (vbulletin can use either gd or imagemagick), are you uploading an smilie inside the allowed dimensions (60X60 is the default), otherwise vbulletin will try to resize the image to fit.