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
  #12  
Old 08-06-2006, 04:05 AM
43082448 43082448 is offline
 
Join Date: Jan 2006
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

$vbulletin->db->query("ALTER TABLE user ADD favsmilies TEXT NOT NULL");

==>

$vbulletin->db->query("ALTER TABLE " . TABLE_PREFIX . "user ADD favsmilies TEXT NOT NULL");
Reply With Quote
  #13  
Old 08-06-2006, 05:20 AM
Darwinist Darwinist is offline
 
Join Date: Apr 2002
Location: Richmond, Virginia
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sooner95
welp, ok.. pretty pissed here.

Hack didnt work..ok NP. Yes, when i remove the steps, now my BBS is hosed. I understand that in the title it days 3.6, but would be nice if it Stated that it worked in ONLY 3.6
When the description states 3.6, best bet is to assume it's for 3.6 only unless told otherwise. You could've asked...

Quote:
Originally Posted by Sooner95
error



for those that care. I am continuing to find a fix for this, as my board is crap now.
You didn't revert the code in 'functions_editor.php'. Change 'query_read_slave' to 'query_read'.

I've posted a version that will work in 3.5 Here.

Quote:
Originally Posted by webwench
When I try to install this, I get a database error:

The table of course should be vb_user, but I don't know what to change to make this install. Can anyone help?
Install code fixed.
Reply With Quote
  #14  
Old 08-06-2006, 11:14 AM
webwench webwench is offline
 
Join Date: Dec 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by 43082448
$vbulletin->db->query("ALTER TABLE user ADD favsmilies TEXT NOT NULL");

==>

$vbulletin->db->query("ALTER TABLE " . TABLE_PREFIX . "user ADD favsmilies TEXT NOT NULL");
And if so, could you please explain? Thanks
Reply With Quote
  #15  
Old 08-06-2006, 02:08 PM
Darwinist Darwinist is offline
 
Join Date: Apr 2002
Location: Richmond, Virginia
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by webwench
And if so, could you please explain? Thanks
Just download the updated files and reinstall... in contains the fixes.
Reply With Quote
  #16  
Old 08-06-2006, 04:09 PM
kvnband kvnband is offline
 
Join Date: Feb 2004
Location: AR
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Weird. I installed but when I try to set my favorite smilies, I get this error

Code:
Database error in vBulletin 3.6.0:

Invalid SQL:
UPDATE user SET favsmilies='212' WHERE userid='1';

MySQL Error  : Unknown column 'favsmilies' in 'field list'
Error Number : 1054
Date         : Sunday, August 6th 2006 @ 12:07:17 PM
Script       : http://www.secondwivesclub.com/portal/forum/misc.php
Referrer     : http://www.secondwivesclub.com/portal/forum/misc.php?do=editfavsmilies
IP Address   : 70.173.100.38
Username     : admin
Classname    : vB_Database
I checked in phpmyadmin and the column does indeed exist. Any idea what the deal is?
Reply With Quote
  #17  
Old 08-06-2006, 04:40 PM
kvnband kvnband is offline
 
Join Date: Feb 2004
Location: AR
Posts: 48
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You have problems in the product.

Line 143 should be changed from

Code:
$db->query("UPDATE user SET favsmilies='$favsmilies' WHERE userid='" . $vbulletin->userinfo['userid'] . "'");
to
Code:
$db->query("UPDATE " . TABLE_PREFIX . "user SET favsmilies='$favsmilies' WHERE userid='" . $vbulletin->userinfo['userid'] . "'");
and line 126 should be changed from
Code:
$db->query("UPDATE user SET favsmilies='' WHERE userid='" . $vbulletin->userinfo['userid'] . "'");
to
Code:
$db->query("UPDATE " . TABLE_PREFIX . "user SET favsmilies='' WHERE userid='" . $vbulletin->userinfo['userid'] . "'");
Kevin
Reply With Quote
  #18  
Old 08-06-2006, 05:47 PM
Darwinist Darwinist is offline
 
Join Date: Apr 2002
Location: Richmond, Virginia
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I fixed it this morning... download the script again and reinstall.
Reply With Quote
  #19  
Old 08-06-2006, 06:32 PM
webwench webwench is offline
 
Join Date: Dec 2005
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks very much!
Reply With Quote
  #20  
Old 08-08-2006, 06:20 AM
GoNz00 GoNz00 is offline
 
Join Date: Jan 2005
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i think i found a bug related, i removed this and deleted bitfield_user_smiley.xml from the xml folder, now i can save usergroups without the following error.

is this related to your product ?

Code:
Database error in vBulletin 3.6.0:
Invalid SQL:
UPDATE vb3_usergroup SET
### UPDATE QUERY GENERATED BY fetch_query_sql() ###
 `title` = '(COPPA) Users Awaiting Moderation',
 `description` = '',
 `usertitle` = '',
 `opentag` = '',
 `closetag` = '',
 `passwordexpires` = '0',
 `passwordhistory` = '0',
 `forumpermissions` = '131072',
 `attachlimit` = '0',
 `pmquota` = '50',
 `pmpermissions` = '0',
 `pmsendmax` = '0',
 `calendarpermissions` = '32',
 `wolpermissions` = '0',
 `adminpermissions` = '0',
 `genericpermissions` = '0',
 `genericoptions` = '48',
 `profilepicmaxwidth` = '100',
 `profilepicmaxheight` = '100',
 `profilepicmaxsize` = '65535',
 `avatarmaxwidth` = '80',
 `avatarmaxheight` = '80',
 `avatarmaxsize` = '20000',
 `signaturepermissions` = '139263',
 `sigpicmaxwidth` = '500',
 `sigpicmaxheight` = '100',
 `sigpicmaxsize` = '20000',
 `sigmaxrawchars` = '4000',
 `sigmaxchars` = '2000',
 `sigmaxlines` = '0',
 `sigmaxsizebbcode` = '7',
 `sigmaximages` = '30',
 `usmilie_permissions` = '0'
WHERE usergroupid=4;
MySQL Error  : Unknown column 'usmilie_permissions' in 'field list'
Error Number : 1054
Date         : Tuesday, August 8th 2006 @ 09:08:37 AM
Script       : http://www.clandesertrats.co.uk/foru....php?do=update
Referrer     : http://www.clandesertrats.co.uk/foru...&usergroupid=4
IP Address   : 62.253.128.14
Username     : GoNz0
Classname    : vb_database
i tried your updated version as well to no joy
Reply With Quote
  #21  
Old 08-09-2006, 09:15 AM
GoNz00 GoNz00 is offline
 
Join Date: Jan 2005
Posts: 158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bump?
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 01:07 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.08217 seconds
  • Memory Usage 2,319KB
  • 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_code
  • (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