![]() |
|
Mod Options |
![]() |
|||||||||||||||||||
Favorite Smilies - No code changes, no db changes, very fast
![]() Developer Last Online: May 2008 ![]() ![]() ![]() This modification is in the archives.
I will be upgrading this to 3.6 next month or so, but for now I have it ready for 3.5.4 users
![]() I love smilies so I have over 1,000 of them in my forum. Obviously no one can remember them all, even myself, so I did this little hack to allow each user to have 10 (or more) personal favorite smilies on the edit box, in addition to the forum wide default smilies. ========================================== Using it: a)User Setup Under User CP, Profile Options, each user can set their list of favorite smilie bbcodes. If they don't set the field nothing bad happens, they just get a default collection of smilies. ![]() c)Using the favorite smilies on a post On the bottom of the quick edit or the full edit screen there will be an extra line. ![]() Full Edit Menu If any user clicks on it, it will cause a screen to drop down under the edit bar, with the smilies. If the user has no favorite smilies set he still sees the drop down, but with a set of default smilies, ![]() Click on the smilies and their bbcode goes to the edit box The drop down screen can be hidden again and used again as many times as wanted. ============================================== Known issues: 1) You can use more or less than 10 favorites but you would have to edit the smile_menu template to add or delete relevant lines. It is pretty straight forward. 2) I have no special screen for users to chose the codes, because users can just go to any "Reply" skin and select the smilies they like from the full list, click on them in the order they want and they get the list of bbcodes on the edit window. Tell them to copy that then paste it on their user CP field ![]() http://ffproject.net/forumwiki/image...800px-Fav5.jpg New on this version 1) Using only ONE User Profile field instead of 5 (one per smilie) 2) Adding smilie images to edit bar, without affecting performance I'm Working on: 1) Porting it to 3.6 Fixed Bugs: n/a Credit This plugin was done using part of the code for RPG Dice by Cédric Claerhout . ======================================================== Installing To get this to work all you need is 2 plugins (conveniently packed in the XML file attached) and 1 new template with the contents of the txt file attached. You will also need to add 1 User Profile field Steps: 0) Backup your database As with all hacks, be sure TO BACK UR DATABASES UP before installing this!!!! This mod doesn't change anything - it only adds 2 plugins and a template - but just to keep this healthy habit going do a backup anyway. 1) Download and install the smiliefav_v11.xml plugin 2) Add a new template smile_menu with the content that is in smile_menu_v11.txt: 3) Add 1 User Profile field: Go to the Admin CP, on the User Profile Field menu, select Add New User Profile Field , Chose Single-line Text Box, then follow the prompts using the following: Max length 250, display size 40, display order 5001, not required, editable, not private, not searchable, not on members list, blank on regular expression Display page = options: Other Write down the new field number (for example: 29) 4) Modify the smilie plugin on Hook Location : editor_toolbar_end: Find
Replace field25 new number you got on step 3 (field29 in my example) Replace the default smilies string with your own 10 smilies bbcode, separated by spaces (this will be the default for users who don't set it up) ***Note, you can put more than 10 default smilies but you will need to edit the smile_menu template to add them there too or they won't show up. You can also put less than 10 bbcodes but then you MUST erase the extra smilies from the smilie_menu template or the screen will have gibberish for the missing smilies. Changing the template is pretty straight forward. All Done! ===================================================== Upgrading from version 1 0) Backup your database 1) Delete or deactivate the old plugins a) At Hook Location : editor_toolbar_end delete or deactivate smilie template variable b) At Hook Location : parse_templates delete or deactivate smilie menu in editor 2) Edit template smile_menu, replace contents with the content that is in smile_menu_v11.txt: 3) Delete 4 User Profile fields: Go to the Admin CP, on the User Profile Field menu, select User Profile Field Manager , delete four of the 5 user fields you added on last install. You will only need one now and custom fields seem to make the forum slower. Write down the field number of the field you kept (for example: 29) 4) Download and install the smiliefav_v11.xml plugin 5) Modify the smilie plugin on Hook Location : editor_toolbar_end: Find
Replace field25 new number you got on step 3 (field29 in my example) Replace the default smilies string with your own 10 smilies bbcode, separated by spaces (this will be the default for users who don't set it up) Download Now Only licensed members can download files, Click Here for more information. Supporters / CoAuthors Screenshots Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
End-User Options Favorite Smilies | Darwinist | vBulletin 3.7 Add-ons | 128 | 19 Dec 2015 15:00 |
End-User Options Favorite Smilies | Darwinist | vBulletin 3.6 Add-ons | 393 | 09 Sep 2012 14:49 |
Favorite Smilies | Darwinist | vBulletin 3.5 Add-ons | 12 | 20 Sep 2007 00:01 |
Comments |
#2
|
||||
|
||||
I don't use 3.5.4
![]() I use 3.6.8 ![]() it's good mod we hope to see it in 3.6.8 thanks No members have liked this post.
|
#3
|
||||
|
||||
yeah I urge you to make one for 3.6.8, since "most" people update their boards and are using 3.6+
No members have liked this post.
|
#4
|
||||
|
||||
Thanks! Been waiting for something like this.
No members have liked this post.
|
#5
|
|||
|
|||
Yeah, upgrading it to 3.6.8 is in the plans...
No members have liked this post.
|
#6
|
|||
|
|||
Now with smilie images on the menu
![]() No members have liked this post.
|
#7
|
|||
|
|||
No members have liked this post.
|
#8
|
|||
|
|||
Yeah, but that one requires code changes and database changes. It is a lot fancier than mine, with permissions for users and such, but I want to stay clear of code changes, hence I did this one
![]() No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 02:38.