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
  #32  
Old 08-22-2006, 02:18 PM
Maagic's Avatar
Maagic Maagic is offline
 
Join Date: Mar 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and working however the [More] link in the smilies window does not appear now. Is there any way to get that back?
Reply With Quote
  #33  
Old 08-22-2006, 03:31 PM
Darwinist Darwinist is offline
 
Join Date: Apr 2002
Location: Richmond, Virginia
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Maagic
Installed and working however the [More] link in the smilies window does not appear now. Is there any way to get that back?
Sounds like you skipped the second part of step #1, editting the 'includes/functions_editor.php' file. It's a change to the '$show['moresmilieslink']' variable.
Reply With Quote
  #34  
Old 08-22-2006, 11:36 PM
Maagic's Avatar
Maagic Maagic is offline
 
Join Date: Mar 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Darwinist
Sounds like you skipped the second part of step #1, editting the 'includes/functions_editor.php' file. It's a change to the '$show['moresmilieslink']' variable.
No I did edit that file, but I may have done it incorrectly. Me go check now... TY!


(cool mod btw... my users love it!)
Reply With Quote
  #35  
Old 08-23-2006, 12:39 AM
Maagic's Avatar
Maagic Maagic is offline
 
Join Date: Mar 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmm I re-checked my functions_editor.php file and I DID make the proper edit, yet I still don't see the [More] part. This is in Firefox btw... I checked it in IE and it shows [] just like in Firefox but I can click on the ] and get the smilies window. Weird.
Reply With Quote
  #36  
Old 08-23-2006, 03:50 AM
Darwinist Darwinist is offline
 
Join Date: Apr 2002
Location: Richmond, Virginia
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Double check that you have the changes to the 'editor_smiliebox' template exactly as they should be.

If you don't mind, can you post a link to your forum so I can check out the problem?
Reply With Quote
  #37  
Old 08-23-2006, 12:59 PM
Maagic's Avatar
Maagic Maagic is offline
 
Join Date: Mar 2002
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Darwinist
Double check that you have the changes to the 'editor_smiliebox' template exactly as they should be.

Ahh that was it... I left out one of these

<

Apparently they're quite necessary to the code
Reply With Quote
  #38  
Old 08-23-2006, 01:25 PM
Darwinist Darwinist is offline
 
Join Date: Apr 2002
Location: Richmond, Virginia
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

:up:
Reply With Quote
  #39  
Old 08-27-2006, 01:05 AM
scoles15's Avatar
scoles15 scoles15 is offline
 
Join Date: Aug 2005
Location: Apex, NC
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I'm lost. Everything is installed and everything has been double checked.

It all seems to work. Only one small problem. The smilie box is not the ones chosen. It is my sites' standard set of smilies. I've checked the DB and the new fields are there with my selected smilies in the correct field. So I am at a loss.

The only Thing I've noticed is that in the code and templates, whether or not the custom set is shown, depends on whether or not the value of $vbulletin->userinfo['favsmilies'] is set. I can't find in the code where it is set to the value in the DB and when I display the value in a template, it is null.
Reply With Quote
  #40  
Old 08-27-2006, 01:46 PM
scoles15's Avatar
scoles15 scoles15 is offline
 
Join Date: Aug 2005
Location: Apex, NC
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by scoles15
Ok, I'm lost. Everything is installed and everything has been double checked.
NEVER MIND! I re-did all the manual edits and now all is working. Wonderful hack!!!

But I still don't understand How it works. Where does value of $vbulletin->userinfo['favsmilies'] get set. As far as I know simply adding a new field to the user table does not get the value automatically loaded into the userinfo array
Reply With Quote
  #41  
Old 08-27-2006, 05:07 PM
Darwinist Darwinist is offline
 
Join Date: Apr 2002
Location: Richmond, Virginia
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any field you add to the user table is loaded into the userinfo cache.
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 05:31 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.05547 seconds
  • Memory Usage 2,307KB
  • 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
  • (4)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
  • (4)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