Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
MySmilies vB (v4.x) Details »
MySmilies vB (v4.x)
Mod Version: 4.0.002, by Eric (Coder/Designer) Eric is offline
Developer Last Online: Oct 2018 I like it Show Printable Version Email this Page

vB Version: 4.1.4 Rating: (15 votes - 4.87 average) Installs: 68
Released: 26 May 2011 Last Update: 05 Jul 2011 Downloads: 280
Supported DB Changes Uses Plugins Auto-Template Additional Files Re-usable Code Translations Is in Beta Stage  

Please click Mark as Installed if you are using this hack, and Nominate For MOTM or Support Developer if you enjoy this hack and would like to support it's development.


Please read the entire thread before posting your problem, chances are it's been fixed.

Those who have "Mark As Installed" will receive priority support

Also, NOTE - this is in BETA.



NOTE: I have marked this hack as Re-usable Code - This means that code from this hack may be used in other hacks, which can ONLY be released on official vB sites that use Jelsoft's verification system to verify your vBulletin license status, and as long as Kentaurus, Mosh, and I (SecondV) are credited in your hack.

This is a port of MySmilies vB for v3.8x which was a port of Mosh's MySmilies VB for v3.7.x.
Mosh's was a port of Kentaurus's MySmilies VB for v3.6.x (version 1.03) to work with vBulletin v3.7.0.



vBulletin Version Compatibility & Permission Info

This hack was tested on vB 4.1.4 - and will only work with this version and later versions

Permission for me to port his hack is granted here:
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.
And here:
NOTE: I have marked this hack as Re-usable Code - This means that code from this hack may be used in other hacks, which can ONLY be released on official vB sites that use Jelsoft's verification system to verify your vBulletin license status, and as long as Kentaurus and I are credited in your hack.


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
  • 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 sv_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 Post #106 for more information on this. -- I'm working on this




Uninstall Instructions
  1. Delete mysmiliesvb.php from your forum's root directory.
  2. Delete the mysmiliesvb directory from your forum's root directory.
  3. Delete class_dm_mysmiliesvb.php from your forum's /includes directory.
  4. Delete bitfield_mysmiliesvb.xml from your forum's /includes/xml directory.
  5. Delete delete.gif from your forum's /images/misc directory (if more than one style remember to delete it from all misc directories).
  6. Optional Step: This step is only if the auto template injection does not work, and you did the optional template edits.

    In the USERCP_SHELL template, find and delete:

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

    In the navbar template, find and delete:

    Block Disabled:      (Update License Status)  
    Suspended or Unlicensed Members Cannot View Code.

  7. Uninstall the product in vB using the AdminCP Product Manager.



To Do List

Features are being done in the order that they appear on the list.
  1. Admin Control Panel utility to view/delete one, some or all custom smilies
  2. Add custom user smilies to the misc.php?do=showsmilies page and to the "More Smilies" popup.



Version History
v4.0.002 - July 5th, 2011
-- Fixed: Error in delete template, incomplete vB parser tag.
-- Changed: Now requires users to enter a unique replacement text.
-- Added: Option to pull all user smilies for the editor or just the current user id's smilies.
-- Removed: eval() calls when throwing an error (standard_error / fetch_error)

v4.0.001 - May 26th, 2011
-- Updated for vB4

v3.8.004 - January 15th, 2010
-- Changed: query() calls were being used instead of query_read()
-- Changed: Smilies are now built and added to datastore cache
-- Changed: Since smilies are stored in the datastore, smilies are no longer queried/parsed by userid.
-- Fixed: Custom smilies not parsed when quoted by other users.
-- Added: /includes/functions_mysmiliesvb.php - build_mysmilies_datastore() function.

v3.8.003 - August 5th, 2009
-- Fixed: Ok, should finally be fixed on upgrade - no more parse errors.
-- Fixed: Those upgrading from Mosh's version should be fine now.

v3.8.002 - August 4th, 2009
-- Fixed: errors when upgrading from previous versions of MySMilies should be fixed.

v3.8.001 - August 4th, 2009
-- Initial v3.8.0 release - mod taken over by Eric Sizemore (SecondV)
-- Fixed: standard_error calls were not using eval() as they should be
-- Fixed: Some queries were not using TABLE_PREFIX
-- Fixed: Even though phrases were in place, some parts of the mod used hardcoded langauge strings.
-- Fixed: Some errors in templates, missing ending tags, etc.
-- Fixed: Upload - the upload source didn't appear to be detected properly.
-- Changed: "maxversion" in the product XML increased.
-- Changed: "hard delete" option no longer on by default.
-- Changed: The "mysmiliesvb" table was altered to have KEY's on the "userid" and "dateline" columns. Hopefully this will increase performance/smilie lookups.



Thanks

My thanks go out to Kentaurus (who originally created this fantastic hack), Mosh who updated the hack to v3.7, and Paul M who gave permission to use some of his install code.



Show Your Appreciation

Although not required, if you have enjoyed the benefits of this hack, and would like to 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. This would go a long way in encouraging me to continue to develop this project, as I'm currently unemployed.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	admincp_options.jpg
Views:	433
Size:	146.7 KB
ID:	129486   Click image for larger version

Name:	admincp_ug_perms.jpg
Views:	337
Size:	42.6 KB
ID:	129487   Click image for larger version

Name:	mysmilies_usercp.jpg
Views:	518
Size:	61.3 KB
ID:	129488   Click image for larger version

Name:	mysmilies_usercp2.jpg
Views:	974
Size:	73.4 KB
ID:	129489  

Click image for larger version

Name:	navbar.jpg
Views:	717
Size:	80.6 KB
ID:	129490   Click image for larger version

Name:	newthread_newpost.png
Views:	1150
Size:	9.6 KB
ID:	129491   Click image for larger version

Name:	newthread_newpost2.jpg
Views:	901
Size:	59.7 KB
ID:	129492  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Major Additions MySmilies vB (v3.8.0) Eric vBulletin 3.8 Add-ons 188 19 Oct 2012 17:29
Major Additions MySmilies VB Kentaurus vBulletin 3.6 Add-ons 167 12 Jun 2010 04:41
Major Additions MySmilies VB (v3.7.0) Mosh vBulletin 3.7 Add-ons 160 11 May 2010 20:01
MySmilies VB for v3.5.x Mosh vBulletin 3.5 Add-ons 4 08 May 2007 21:33

  #46  
Old 25 Nov 2011, 17:24
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Real name: Adam H.
1/2 working on 4.1.8

On the "My Smilies Page" if I upload a new smile, I see it there. But If I leave that page and return... I don't see anything there. So I can't delete or update my smile.

Everything else in the modification works, but I did have to add the template code manually.
Reply With Quote
  #47  
Old 24 Dec 2011, 00:10
Replicators's Avatar
Replicators Replicators is offline
 
Join Date: Jul 2005
For the dev's information, this mod conflicts with vbtube pro version when encoding video's, i have notified both dev's, so i am doing my part on the confliction.
Reply With Quote
  #48  
Old 04 Jan 2012, 02:32
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Real name: Adam H.
Working without issue in

4.1.10 Alpha 1 and Alpha 2
Reply With Quote
  #49  
Old 15 Jan 2012, 21:15
spillage spillage is offline
 
Join Date: Mar 2009
Real name: Bryan
Installed on 4.1.10 update release... working straight out of the box... beautiful.
__________________
Bryan
vB 4.2.4
Reply With Quote
  #50  
Old 18 Mar 2012, 18:36
hakkuo23 hakkuo23 is offline
 
Join Date: Dec 2010
How can I make it so people MUST have 2 colons in every smiley they create? So I don't have lamers making a smiley for every popular word :P
Reply With Quote
  #51  
Old 23 Mar 2012, 23:15
kylek kylek is offline
 
Join Date: Oct 2003
Real name: Kyle
Had to disable this as this issue has popped back up with vb4.1.11 for us again, was working fine on 4.1.0. The fix at least for us is not working.

"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. Which is why this fix can be turned On or Off, it will mess up installations that do not have the problem to start with, so this fix is switched Off as default, and will need to be turn On if needed."
Reply With Quote
  #52  
Old 02 Jul 2012, 01:09
nrms®'s Avatar
nrms® nrms® is offline
 
Join Date: Dec 2008
Real name: Nelson
Work on 4.1.12, but... Should be private to each user does not ...? Which one to create a new post, even without smilies, the text is replaced by smilies to other users ...?

This is so complex and confusing to manage ...
__________________
http://i42.tinypic.com/5k0sqe.jpg
Reply With Quote
  #53  
Old 11 Aug 2012, 03:56
Brew's Avatar
Brew Brew is offline
 
Join Date: Sep 2002
Has anyone gotten this to work with vB4.2.+ ?

Thanks!
__________________
The Ultimate Chiller
¨˜”°º•BREW•º°”˜¨
www.politicalforums.net
www.oldhouseforums.com
Reply With Quote
  #54  
Old 11 Aug 2012, 18:31
aberg aberg is offline
 
Join Date: Jul 2004
No, I have try it but it don't work with 4.2
Reply With Quote
  #55  
Old 14 Sep 2012, 04:07
spillage spillage is offline
 
Join Date: Mar 2009
Real name: Bryan
Eric, any plans to get this working on 4.2?
__________________
Bryan
vB 4.2.4
Reply With Quote
  #56  
Old 11 Nov 2012, 19:30
spillage spillage is offline
 
Join Date: Mar 2009
Real name: Bryan
Confirmed working on 4.2.0 PL3
__________________
Bryan
vB 4.2.4
Reply With Quote
  #57  
Old 24 Nov 2012, 07:17
fnrtop fnrtop is offline
 
Join Date: Mar 2007
Real name: Fady Falah
Originally Posted by Eric View Post
v4.0.002 - July 5th, 2011
-- Fixed: Error in delete template, incomplete vB parser tag.
-- Changed: Now requires users to enter a unique replacement text.
-- Added: Option to pull all user smilies for the editor or just the current user id's smilies.
-- Removed: eval() calls when throwing an error (standard_error / fetch_error)

dude you are amazing !! this hack is the best thing i have ever installed

working perfect !
Reply With Quote
  #58  
Old 24 Nov 2012, 09:05
fnrtop fnrtop is offline
 
Join Date: Mar 2007
Real name: Fady Falah
really looking forward to this
Add custom user smilies to the misc.php?do=showsmilies page and to the "More Smilies" popup.
users can see only 9 smilies out of 13 that they created
Reply With Quote
  #59  
Old 25 Nov 2012, 15:28
fnrtop fnrtop is offline
 
Join Date: Mar 2007
Real name: Fady Falah
Originally Posted by hakkuo23 View Post
How can I make it so people MUST have 2 colons in every smiley they create? So I don't have lamers making a smiley for every popular word :P


am having this problem too. please developer, help?
Reply With Quote
  #60  
Old 26 Aug 2013, 17:19
Will Watts Will Watts is offline
 
Join Date: Nov 2012
We're currently having issues getting this mod to work with a custom datastore prefix. It works fine when there is no prefix, but as soon as one is added the mod breaks.

We're currently having other site issues that require us to use the datastore prefix.

Edit: The mod sometimes works with a datastore prefix - not sure what the issue is.

The issue we were originally having was very slow loading of user profiles. This issue *appears* to be being caused by this plugin - when the mod is in it's broken state, profiles loaded fine. As soon as the plugin is working properly again, we get slow user profiles.

Last edited by Will Watts; 26 Aug 2013 at 19:43.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 08:45.

Layout Options | Width: Wide Color: