Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Favorite Smilies Details »»
Favorite Smilies
Version: 1.0.5, by Darwinist Darwinist is offline
Developer Last Online: May 2009 Show Printable Version Email this Page

Category: End-User Options - Version: 3.6.8 Rating:
Released: 08-04-2006 Last Update: 07-23-2007 Installs: 393
Uses Plugins Template Edits
Code Changes Additional Files  
No support by the author.

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
  • Allow/Disallow usage based on usergroup
  • Admin CP Help
Installation Overview:
Files to Modify: 1
Templates to Modify: 1
Files to Upload: 2
Product:
-Plug-Ins: 6
-Templates: 5
-vB Options: 4
-Phrases: 29

NOTICE: If you're upgrading to version 1.0.4 from a previous version, please read the 'Upgrade.htm' file. Otherwise, read the 'Install_3.6.0.htm' for vBulletin 3.6.0 installations or 'Install_3.6.1.htm' file for vBulletin 3.6.1 or newer installations for the installation procedure.

Version History:
1.0.5 - Fixed vulnerability.
1.0.4 - Added smilie selection count under smilie selection menu. One less template to edit.
1.0.3 - Added option to hide smilie titles on the selection menu (for boards with a very large number of smilies). Icon link to edit the list on the editor toolbar. Admin CP help text. Improved integration with the UserCP. One less file to edit. Fixed some text that wasn't phrased.
1.0.2 - Added option to limit who can use the Favorite Smilies listed based on usergroup permissions. Changed smilie selection page to include category names. Fixed Missing 'More' link in Smilie dropdown menu.
1.0.1 - Fixed problem with missing table prefixes.
1.0.0 - Initial release.

A version for 3.5 can be found Here
A version for 3.7 can be found Here

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #382  
Old 09-11-2008, 09:20 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upgraded to 3.7.3 PL1 from 3.7.2 and just had to remake the edits in the functions_editor.php file again, everything else worked after that.
Reply With Quote
  #383  
Old 09-15-2008, 05:59 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by griffinzx10 View Post
??? My PM as in my private msgs?? NOTHING... What else are you referring to
Oh. I was referring to Darwinist.
Reply With Quote
  #384  
Old 09-17-2008, 07:11 PM
legionofangels's Avatar
legionofangels legionofangels is offline
 
Join Date: Mar 2007
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This modification is not compatible with this one:

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

I'm guessing only one or the other will work, because I've noticed both want to go in the same location under the Smilie icon of the editor and My Favorite Smilies aren't showing up, it just says my smilies, which is annoying because what if I want My Smilies to be some of the defaults?

Might be recommended to add that to the front page of your mod.
Reply With Quote
  #385  
Old 09-18-2008, 05:41 PM
Pamela Pamela is offline
 
Join Date: Apr 2004
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can anyone please help me? I'm almost there!

No matter what I do, I can't get the smilies to save!

I see the yellow star, I have the link in the User CP, I get the list of smilies to chose from, but when I click on "save", the selections won't hold. I have redone steps over and over again (with the instructions in post #329 and the security token fix as well) and can't get it to work to save my own life.

Please help if you can because I'm at a total loss here. Thank you!!!
Reply With Quote
  #386  
Old 09-25-2008, 05:41 PM
legionofangels's Avatar
legionofangels legionofangels is offline
 
Join Date: Mar 2007
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Darwinist View Post
In the very first part of step 1 of the installation instructions, look at the 'replace with' code. In this part:
PHP Code:
            else {
                
$smilies $vbulletin->db->query_read_slave("
                    SELECT smilieid, smilietext, smiliepath, smilie.title,
                        imagecategory.title AS category
                    FROM " 
TABLE_PREFIX "smilie AS smilie
                    LEFT JOIN " 
TABLE_PREFIX "imagecategory AS imagecategory USING(imagecategoryid)
                    ORDER BY imagecategory.displayorder, imagecategory.title, smilie.displayorder
                "
);
                
$totalsmilies $vbulletin->db->num_rows($smilies);
            } 
You would replace the...
PHP Code:
ORDER BY imagecategory.displayorderimagecategory.titlesmilie.displayorder 
line with...
PHP Code:
ORDER BY rand() 
The result would be random smilies in the smilie box when the user has not selected a favorite smilies list.
Darwinist,

Does your above changes make my Smilies Cloud remain random and not show the fave smilies?


Our goal: we have the fave smilies show in the drop down menu of the Smilies button on the editor, and we want the Smilies cloud to remain random and not show the faved smilies there.

If the above change does not work, please advise on how to make the Smilies Cloud remain random.
Reply With Quote
  #387  
Old 09-29-2008, 01:44 AM
Darwinist Darwinist is offline
 
Join Date: Apr 2002
Location: Richmond, Virginia
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for the delay... I've uploaded a version for 3.7 Here.
Reply With Quote
  #388  
Old 10-02-2008, 08:47 PM
legionofangels's Avatar
legionofangels legionofangels is offline
 
Join Date: Mar 2007
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Darwinist View Post
Sorry for the delay... I've uploaded a version for 3.7 Here.
I'm sorry, can I get an answer to my question?
Reply With Quote
  #389  
Old 10-13-2008, 09:27 PM
legionofangels's Avatar
legionofangels legionofangels is offline
 
Join Date: Mar 2007
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

* bump *
Reply With Quote
  #390  
Old 10-15-2008, 04:18 PM
legionofangels's Avatar
legionofangels legionofangels is offline
 
Join Date: Mar 2007
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

* bump *
Reply With Quote
  #391  
Old 10-17-2008, 07:40 PM
legionofangels's Avatar
legionofangels legionofangels is offline
 
Join Date: Mar 2007
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Darwinist View Post
In the very first part of step 1 of the installation instructions, look at the 'replace with' code. In this part:
PHP Code:
            else {
                
$smilies $vbulletin->db->query_read_slave("
                    SELECT smilieid, smilietext, smiliepath, smilie.title,
                        imagecategory.title AS category
                    FROM " 
TABLE_PREFIX "smilie AS smilie
                    LEFT JOIN " 
TABLE_PREFIX "imagecategory AS imagecategory USING(imagecategoryid)
                    ORDER BY imagecategory.displayorder, imagecategory.title, smilie.displayorder
                "
);
                
$totalsmilies $vbulletin->db->num_rows($smilies);
            } 
You would replace the...
PHP Code:
ORDER BY imagecategory.displayorderimagecategory.titlesmilie.displayorder 
line with...
PHP Code:
ORDER BY rand() 
The result would be random smilies in the smilie box when the user has not selected a favorite smilies list.
Quote:
Originally Posted by legionofangels View Post
Darwinist,

Does your above changes make my Smilies Cloud remain random and not show the fave smilies?


Our goal: we have the fave smilies show in the drop down menu of the Smilies button on the editor, and we want the Smilies cloud to remain random and not show the faved smilies there.

If the above change does not work, please advise on how to make the Smilies Cloud remain random.
Hello? Just wondering if that will work.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 07:14 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05038 seconds
  • Memory Usage 2,334KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_php
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete