PDA

View Full Version : Favorite Smilies


Darwinist
08-05-2006, 10:00 PM
This add-on will allow members to create their own favorite smilies list, which can be useful on boards with lots of smilies. If a member creates a list, it will be displayed in place of the normal smilie box.

Maximum number of smilies is based on the 'Smilie Menu Total Smilies' option in 'Message Posting Interface Options'.

Features:

Edit List in UserCP
Javascript Enforced Limit
Ignore Certain Smilie Categories


Installation Overview:
Files to Modify: 2
Templates to Modify: 2
Product:
-Plug-Ins: 2
-Templates: 4
-vB Options: 3
-Phrases: 12

Version History:
1.0.1 - Fixed problem with missing table prefixes.
1.0.0 - Initial release.

*Screenshots below are from the 3.6 version, but they both look the same.

A version for 3.6 can be found Here (https://vborg.vbsupport.ru/showthread.php?t=123116).

Snake
08-06-2006, 07:15 AM
Thanks for the 3.6 version! :)

apdcanari
08-06-2006, 10:06 AM
ERROR

XML File > Ligne 126

$db->query("UPDATE user SET favsmilies='' WHERE userid='" . $vbulletin->userinfo['userid'] . "'");

Replace with :

$db->query("UPDATE " . TABLE_PREFIX . "user SET favsmilies='' WHERE userid='" . $vbulletin->userinfo['userid'] . "'");

XML File > Ligne 143

$db->query("UPDATE user SET favsmilies='$favsmilies' WHERE userid='" . $vbulletin->userinfo['userid'] . "'");

Replace with :

$db->query("UPDATE " . TABLE_PREFIX . "user SET favsmilies='$favsmilies' WHERE userid='" . $vbulletin->userinfo['userid'] . "'");

C?dric ;)

Darwinist
08-06-2006, 05:45 PM
Fixed, thanks.

Harley D
08-11-2006, 11:31 PM
Thank You!
Works fine so far.

Been looking all over for this.

phovanxua
10-02-2006, 08:39 PM
Hi Darwinist ,

Some how my smillies box does not show my Favorite Smilies , I did choose the one I liked , but when I open new threat , the Favorite Smilies doesn't show .

Can you help ? I used VB 3.5.4.

Thanks ,

Darwinist
10-03-2006, 12:46 AM
After saving your favorites list, if you click on 'edit favorite smilies' in your UserCP, do your favorites appear selected?

phovanxua
10-03-2006, 05:25 AM
After saving your favorites list, if you click on 'edit favorite smilies' in your UserCP, do your favorites appear selected?

Yes it's does show the one I selected .

I though it will show on the smillies box when I open the new threat or post new reply .Inmy smillies box it's still show randomly ...instead favorites list .

Edit = I just found the problem and fix it ,I forgot to replace the script in STEP 1:
In includes/functions_editor.php .

Thanks for your help .

I enjoy this MOD now .

PinkDaisy
10-03-2006, 04:50 PM
Installed and my members LOVE it!

Baldy
10-07-2006, 06:08 AM
Installed and my members LOVE it!+1

https://vborg.vbsupport.ru/external/2006/10/12.gif

ragtek
05-01-2007, 07:18 AM
hmm is here something without a fileedit available?:D

ArchangelX
08-18-2007, 06:23 AM
I love this too...but is it possible to split the smileys into pages? I have over 500 smilies on my board...and some users simply don't have the video memory to display them all. Thanks!

Renmiri
09-19-2007, 11:01 PM
I just did a simpler one, which requires no code changes

https://vborg.vbsupport.ru/showthread.php?t=158244