Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Favorite Smilies - No code changes, no db changes, very fast Details »
Favorite Smilies - No code changes, no db changes, very fast
Mod Version: 1.10, by Renmiri (Member) Renmiri is offline
Developer Last Online: May 2008 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.4 Rating: (1 vote - 4.00 average) Installs: 6
Released: 19 Sep 2007 Last Update: 22 Sep 2007 Downloads: 29
Not Supported Uses Plugins Template Edits  

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

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

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

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

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

Click image for larger version

Name:	addfield5.jpg
Views:	11
Size:	51.1 KB
ID:	70133   Click image for larger version

Name:	fav5.jpg
Views:	12
Size:	37.4 KB
ID:	70134   Click image for larger version

Name:	fav4.jpg
Views:	9
Size:	15.3 KB
ID:	70136   Click image for larger version

Name:	Fav1.jpg
Views:	11
Size:	17.7 KB
ID:	70137  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
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  
Old 20 Sep 2007, 00:58
vip-q.com's Avatar
vip-q.com vip-q.com is offline
 
Join Date: Oct 2006
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
Reply With Quote
  #3  
Old 20 Sep 2007, 08:54
FreshFroot's Avatar
FreshFroot FreshFroot is offline
 
Join Date: Aug 2005
yeah I urge you to make one for 3.6.8, since "most" people update their boards and are using 3.6+
Reply With Quote
  #4  
Old 20 Sep 2007, 11:19
Snake's Avatar
Snake Snake is offline
 
Join Date: Mar 2005
Location: Cleveland, OH
Real name: Josh
Thanks! Been waiting for something like this.
Reply With Quote
  #5  
Old 20 Sep 2007, 22:41
Renmiri Renmiri is offline
 
Join Date: Jul 2006
Yeah, upgrading it to 3.6.8 is in the plans...
Reply With Quote
  #6  
Old 22 Sep 2007, 04:27
Renmiri Renmiri is offline
 
Join Date: Jul 2006
Now with smilie images on the menu
Reply With Quote
  #7  
Old 22 Sep 2007, 17:37
Kaycee123 Kaycee123 is offline
 
Join Date: Jun 2007
There is a favorite smilie mod for 3.6 + here

http://www.vbulletin.org/forum/showt...light=database
Reply With Quote
  #8  
Old 22 Sep 2007, 22:08
Renmiri Renmiri is offline
 
Join Date: Jul 2006
Originally Posted by Kaycee123 View Post
There is a favorite smilie mod for 3.6 + here

http://www.vbulletin.org/forum/showt...light=database
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
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 17:23.

Layout Options | Width: Wide Color: