MySmilies VB (v3.7.0)

Empty2002

New member
Hack Support

I will not be providing any support at all to people who have not clicked Mark as Installed.

I will provide support and respond to feature requests for this hack in this thread only.

Please do NOT PM me for support/feature requests unless I have specifically asked you to do so,
as I will more than likely ignore and delete the PM without a response.



vBulletin Version Compatibility

This hack can only be used with vBulletin v3.7.x.


NOTE 1:
This is the official port of Kentaurus's for v3.6.x (version 1.03) to work with vBulletin v3.7.0.

Kentaurus has indicated that he will be helping me provide support - see in his thread for confirmation. He has been added as a CoAuthor for this hack. Permission for me to port his hack is granted at the bottom of the 1st post in his thread. Consequently I also grant the same permission to other coders.

NOTE 2:
Because I did not write the original hack (this version of the hack was originally only ever meant to be an interim version before Kentaurus released his version), hacks that I have written myself will always take priority over this one, and as a consequence, this hack only tends to get worked on whenever I feel the urge to look at it, so development on this will probably always be pretty slow.

People are free to install or un-install this whenever they want.

If people want this developed faster, then they are more than welcome to take over the hack as I have marked this as re-usable code, I don't mind either way.


So Whats New?
  • Now has CSRF (cross-site request forgery) Protection (introduced in vBulletin v3.6.10 and v3.7.0 RC 4)
  • 9 new plugins (cached all uncached templates, WOL sorted)
  • Now fully phrased
  • Auto-template injection (no template edits should now be needed)
  • Smilie Links now only appear if the member has permission to use MySmiles
  • Prettied up a couple of the templates
  • Template edits, if needed, now use only a single variable in each case
  • Signature custom smilie support added
  • Fixed attachments showing when posted inline within the same post (this only affects a very small amount of installations to start with, which is why it took so long to replicate, and I can not replicate this with every installation)


What Does This Hack Do?

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 standard forum smilies.

For users:
  • Users can keep a library of their own smilies (they can upload them from their computer or web)
  • Users enter their replacement text, for example, :iamhappy: would be changed to their own user happy smilie
  • The custom smilies are parsed in any post, signature, or pm (does not include the new social network fuctionality that was added with v3.7.0 yet, it is on my to-do list)
  • 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)
  • Auto-template Injection - if the appropriate template hooks are available, you will not need to make any template edits at all, if edits needed you only need to paste a single variable where you need it
Installation Instructions

See the included Installation Instructions.txt file in the ms_mysmiliesvb.zip zip file.

ADDITIONAL NOTE:
A limitation exists with the fix that rectifies the problem of attachments showing when also posting them inline within the same post; when applied, all attachments will need to be displayed inline, if they have not been, then the ones that have not been posted inline will be hidden along with the ones that have been posted inline. Read for more information on this.



To Do List

Features will be done in the order that they appear on the list, and when I feel the urge to work on this hack.
So, that means that there is no set time-frame for updates, they will get done when they get done.
  1. Signature custom smilie support
  2. Fully phrase the hack
  3. Usergroup Permissions - disabled by default
  4. Profile Comments custom smilie support
  5. Album Comments custom smilie support
  6. Social Group Comments custom smilie support
  7. Admin Control Panel utility to view/delete one, some or all custom smilies
  8. vB Blog custom smilie support

Version History

v3.7.005 - Wednesday 1st October 2008
-- Fixed: Workaround for people having issues with uploading smilies from a url
-- Added: AdminCP Option to allow for which upload option shows for the end user
-- Added: Phrase for navbits - this hack is now fully phrased
-- Changed: mysmiliesvb.php file
-- Changed: MYSMILIES_MAIN template
-- Changed: Usergroup permissions - Can use custom smilies? now set to No by default

v3.7.004 - Thursday 7th August 2008
-- Fixed: Attachments were showing when the attachment was shown inline in the same post
-- Added: AdminCP Option to turn this fix On or Off

v3.7.003 - Wednesday 16th July 2008
-- Fixed: Cached templates
-- Changed: mysmilies_delete template
-- Added: Signature custom smilie support
---- thread/post creation
---- thread/post preview
---- postbit (including postbit_legacy)
---- edit signature
---- signature preview
---- user profile

v3.7.002 - Thursday 29th May 2008
-- Fixed: SQL Error problems some people upgrading from the v3.6.x version of this hack were having

v3.7.001 - Wednesday 14th May 2008
-- Initial v3.7.0 release


Thanks

My thanks go out to Kentaurus (who originally created this fantastic hack I have updated), and also to Paul M who gave me permission to use some of his install code.


Permission For Other 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 at least, there is no
need to pm me asking for permission
Some portions of the code are (c) Jelsoft Enterprises Ltd.


Show Your Appreciation

Although not required, if you have enjoyed the benefits of this hack, and would like show your appreciation for my efforts, then please feel free to click on the Support Developer link and donate any amount you feel is appropriate.





 
Back
Top