Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
MySmilies VB (v3.7.0) Details »
MySmilies VB (v3.7.0)
Mod Version: 3.7.005, by Mosh (Coder) Mosh is offline
Developer Last Online: Jun 2013 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.7.x Rating: (12 votes - 4.67 average) Installs: 205
Released: 13 May 2008 Last Update: 01 Oct 2008 Downloads: 1152
Not Supported DB Changes Uses Plugins Auto-Template Additional Files Re-usable Code Translations  

Hack Support

This hack is now discontinued - this means that while it will remain available for download and use, there will be no further updates, nor will support be provided as the thread is no longer monitored.

Please click Mark as Installed if you are using this hack.

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.


vBulletin Version Compatibility

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


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

Kentaurus has indicated that he would be helping me provide support - see this post 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.

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 tended to get worked on whenever I felt the urge to look at it. I do not feel the urge anymore so have discontinued the hack.

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

If anyone wants to continue the development of this hack, then they are more than welcome to take over, 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 Post #106 for more information 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, and when I feel the urge to work on this hack. And as I have now completely lost the urge, it means that the rest of the requests will never be added.
  1. Signature custom smilie support - DONE
  2. Fully phrase the hack - DONE
  3. Usergroup Permissions - disabled by default - DONE
  4. Profile Comments custom smilie support - Will never be done
  5. Album Comments custom smilie support - Will never be done
  6. Social Group Comments custom smilie support - Will never be done
  7. Admin Control Panel utility to view/delete one, some or all custom smilies - Will never be done
  8. vB Blog custom smilie support - Will never be done


Version History

v3.7.005 - Wednesday 1st October 2008
-- Final Release
-- 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.


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.

Download Now

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

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	snapshot1.jpg
Views:	625
Size:	44.8 KB
ID:	84147   Click image for larger version

Name:	snapshot2.png
Views:	599
Size:	20.1 KB
ID:	84148   Click image for larger version

Name:	snapshot3.jpg
Views:	355
Size:	25.8 KB
ID:	84149   Click image for larger version

Name:	snapshot4.jpg
Views:	765
Size:	22.7 KB
ID:	84150  

Click image for larger version

Name:	snapshot5.png
Views:	555
Size:	41.5 KB
ID:	84151   Click image for larger version

Name:	snapshot6.jpg
Views:	563
Size:	56.3 KB
ID:	84152   Click image for larger version

Name:	snapshot8.jpg
Views:	1015
Size:	39.6 KB
ID:	84154   Click image for larger version

Name:	snapshot9.jpg
Views:	1165
Size:	41.3 KB
ID:	84155  

Click image for larger version

Name:	snapshot7.png
Views:	216
Size:	128.2 KB
ID:	87540  

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 Kentaurus vBulletin 3.6 Add-ons 167 12 Jun 2010 03:41
MySmilies VB for v3.5.x Mosh vBulletin 3.5 Add-ons 4 08 May 2007 20:33

Comments
  #2  
Old 14 May 2008, 03:09
RvG2's Avatar
RvG2 RvG2 is offline
 
Join Date: Jan 2007
Many Thanks!
Reply With Quote
  #3  
Old 14 May 2008, 04:24
meraia meraia is offline
 
Join Date: Aug 2007
Thanks
Reply With Quote
  #4  
Old 14 May 2008, 06:07
lolo² lolo² is offline
 
Join Date: Jun 2005
Thanks i try this
Reply With Quote
  #5  
Old 14 May 2008, 07:27
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Real name: Mosh Shigdar
Originally Posted by RvG2 View Post
Many Thanks!
Originally Posted by meraia View Post
Thanks
If you are using this, then please click Mark as Installed, as I noticed that you have both downloaded this hack.
__________________
-- The WS Spiders List is still downloadable from vBulletin.com.
-- As of Monday 1st July 2013, I will no longer be supporting my hacks as I am leaving the vBulletin community due to medical and life-style reasons.
Reply With Quote
  #6  
Old 14 May 2008, 07:32
Betablocker Betablocker is offline
 
Join Date: Oct 2004
Thanks for this update.

I have this problem when i import the xml file.


Database error in vBulletin 3.7.0:

Invalid SQL:

CREATE TABLE `DTP_mysmiliesvb` (
`mysmiliesvbid` int(10) unsigned NOT NULL auto_increment,
`userid` int(10) unsigned NOT NULL default '0',
`dateline` int(10) unsigned NOT NULL default '0',
`filename` varchar(100) NOT NULL default '',
`filesize` int(10) unsigned NOT NULL default '0',
`width` smallint(5) unsigned NOT NULL default '0',
`height` smallint(5) unsigned NOT NULL default '0',
`smilietext` varchar(20) NOT NULL,
`smilietext_parsed` varchar(60) NOT NULL,
PRIMARY KEY (`mysmiliesvbid`)
);

MySQL Error : Table 'DTP_mysmiliesvb' already exists
Error Number : 1050

MySQL Version : 5.0.27

Now i did have the other version installed still....

I did try it after a uninstall also and got the same problem.


I have been up all night so.....good chance it is my fault

Any help would be great.

Cheers Beta.
Reply With Quote
  #7  
Old 14 May 2008, 08:18
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Real name: Mosh Shigdar
Originally Posted by Betablocker View Post
Thanks for this update.

I have this problem when i import the xml file.


Database error in vBulletin 3.7.0:

Invalid SQL:

CREATE TABLE `DTP_mysmiliesvb` (
`mysmiliesvbid` int(10) unsigned NOT NULL auto_increment,
`userid` int(10) unsigned NOT NULL default '0',
`dateline` int(10) unsigned NOT NULL default '0',
`filename` varchar(100) NOT NULL default '',
`filesize` int(10) unsigned NOT NULL default '0',
`width` smallint(5) unsigned NOT NULL default '0',
`height` smallint(5) unsigned NOT NULL default '0',
`smilietext` varchar(20) NOT NULL,
`smilietext_parsed` varchar(60) NOT NULL,
PRIMARY KEY (`mysmiliesvbid`)
);

MySQL Error : Table 'DTP_mysmiliesvb' already exists
Error Number : 1050

MySQL Version : 5.0.27

Now i did have the other version installed still....

I did try it after a uninstall also and got the same problem.


I have been up all night so.....good chance it is my fault

Any help would be great.

Cheers Beta.
In your AdminCP:

Click Maintenance -> Execute SQL Query

In the Manual Query box, type the following:

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


Then click Continue.

That should drop the table. You can then install my hack

You may need to run the following manual queries (run each query individually) if you are still having problems:


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


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


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


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


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


If anyone else is having problems then they can try the above queries.

NOTE: You will need to replace DTP_ with your Table Prefix if they have one, if you do not use them, then delete the DTP_ bits altogether before running each query.
__________________
-- The WS Spiders List is still downloadable from vBulletin.com.
-- As of Monday 1st July 2013, I will no longer be supporting my hacks as I am leaving the vBulletin community due to medical and life-style reasons.
Reply With Quote
  #8  
Old 14 May 2008, 08:44
TheProphet TheProphet is offline
 
Join Date: Apr 2004
Thx for the port...
Reply With Quote
  #9  
Old 14 May 2008, 09:45
KURTZ KURTZ is offline
 
Join Date: Nov 2006
Real name: Christian
just tagged ... keep the good job Mosh
Reply With Quote
  #10  
Old 14 May 2008, 17:03
lolo² lolo² is offline
 
Join Date: Jun 2005
i have one question
it's possible to make compatible with mgc shoutbox ?
Reply With Quote
  #11  
Old 14 May 2008, 17:58
Kentaurus's Avatar
Kentaurus Kentaurus is offline
 
Join Date: Dec 2001
oh nice I'll leave it to you then, Mosh No need for me rereleasing it
__________________
Try MySmilies Mod - User-based, custom smilies for each user

CemZoo.com - Anime Community
CemZoo Forums - Anime Forums
Reply With Quote
  #12  
Old 14 May 2008, 18:52
hilfe-forum hilfe-forum is offline
 
Join Date: Oct 2005
Location: http://www.alpha-board.eu
Real name: http://www.alpha-board.eu


Install & MOTM Nomination
__________________
Alpha-Board
Reply With Quote
  #13  
Old 14 May 2008, 20:10
Betablocker Betablocker is offline
 
Join Date: Oct 2004
Ok Mosh thanks for getting back so quick

Done that and now i get this when i try to install

Database error in vBulletin 3.7.0:

Invalid SQL:
ALTER TABLE DTP_usergroup ADD mysmiliesvb_permissions INT DEFAULT 1 NOT NULL;

MySQL Error : Duplicate column name 'mysmiliesvb_permissions'
Error Number : 1060

I have also got GTSmiliebox - Move Smilies Below Editor
And Smilies in Quickreply

Maybe they dont like each other or maybe they are out of date also and i need to remove them all and restart my add ons.

Cheers
Reply With Quote
  #14  
Old 14 May 2008, 23:17
Big Boss's Avatar
Big Boss Big Boss is offline
 
Join Date: Jan 2008
Real name: Josh
Thanks a lot for this! I'll be checking this out like real soon.
__________________
Metal Gear Forums - Discussion on the popular series of computer and console stealth-based games.

My Mods: Coming Soon | My Tutorials: Coming Soon
Reply With Quote
  #15  
Old 15 May 2008, 01:24
Mosh's Avatar
Mosh Mosh is offline
 
Join Date: Aug 2004
Location: Melbourne, Australia
Real name: Mosh Shigdar
Originally Posted by Kentaurus View Post
oh nice I'll leave it to you then, Mosh No need for me rereleasing it
Hey Rigel,

I was just releasing an interim release while you got yours ready, but if you are not going to bother with your release, I will then take over where you left off

But you may get the odd PM here and there asking about parts of your code, when I get stuck

And if you want to help with support, then I would more than welcome it

Cheers,

Mosh
__________________
-- The WS Spiders List is still downloadable from vBulletin.com.
-- As of Monday 1st July 2013, I will no longer be supporting my hacks as I am leaving the vBulletin community due to medical and life-style reasons.

Last edited by Mosh; 15 May 2008 at 01:44. Reason: Added a couple of things
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 18:48.

Layout Options | Width: Wide Color: