Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.7 > vBulletin 3.7 Add-ons

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

Category: End-User Options - Version: 3.7.3 Rating:
Released: 09-28-2008 Last Update: Never Installs: 157
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

Version History:
1.0.6 - Compatible with vB version 3.7.3.
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.6 can be found Here

Show Your Support

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

Comments
  #42  
Old 02-22-2009, 08:15 PM
boatswife boatswife is offline
 
Join Date: Sep 2004
Location: Kingsland, GA
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Leo Brazil View Post
Guys, have you try this after installation?

- In the AdminCP, go to 'Usergroup' -> 'Usergroup Manager' and click 'Go' to edit any of the usergroups (saving is not necessary, going to the page is all that's required).

- Confirm and set (if necessary) some extra options in 'vBulletin Options' -> 'Message Posting Interface Options'.

I hope this can help you.

Thank you, I had forgotten to do this the first time.

I think for me it had to do with how the functions_editor.php file was saved. I really don't know how to explain it, but I ran into the problem again while I was messing around and once I re-installed the first edited file it was working again.
Reply With Quote
  #43  
Old 03-07-2009, 08:06 PM
Turkisa Turkisa is offline
 
Join Date: Dec 2008
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pamela View Post
I just tried that and it still doesn't work. Thank you for trying to help though.

If you ever remember what you did (or if anyone else can help!), I'd sure appreciate it if you could let me know. Thanks!

Have you found the problem?
I have the same problem, and have tryed to delete it all and install again but still it wont work!
Reply With Quote
  #44  
Old 04-26-2009, 12:25 AM
boatswife boatswife is offline
 
Join Date: Sep 2004
Location: Kingsland, GA
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Pamela View Post
Can anyone please help me? I'm almost there!

No matter what I do, I can't get the selected smilies to show up in my smilies box. I see the yellow star...I get the list of smilies to chose from (and can make and save my selections)...BUT nothing changes in my smilies box. When I click on the yellow star again, the selctions are still marked as saved...but nothing changes in my smilies box (just the same old ones showing as before) .

I have redone the steps over and over again and can't get it to work. I have even tried disabling all other modifications to see if one of other mods were interfering with it...and nothing! Please help!
I had to figure it out once again, this time I can pass it on to you all! LOL I know I sounded like a nut telling you (Pamela) that the file sizes were different. They were because it was an older version of the edits that I was using and that's what made it work.

I used the older version edits of function_editor.php that can be found here. Make only the following edits to your current function_editor.php file and it will work. At least it corrected the problem for me and it's now working on 3.8.2. You may still need to go to the membergroups and click on go.

Quote:
In includes/functions_editor.php
FIND:
// query smilies
$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
");

// get total number of smilies
$totalsmilies = $vbulletin->db->num_rows($smilies);

REPLACE WITH:
// query smilies
############### FAVORITE SMILIES #################
if (($vbulletin->userinfo['favsmilies']) AND ($vbulletin->options['favsmiliesactive'])) {
$favsmilies = str_replace(" ", ", ", $vbulletin->userinfo['favsmilies']);
$smilies = $vbulletin->db->query_read("
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)
WHERE smilieid IN ($favsmilies)
ORDER BY imagecategory.displayorder, imagecategory.title, smilie.displayorder
");
$favsmtotal = $vbulletin->db->num_rows($smilies);
$smilietotal = $vbulletin->db->query_first("SELECT COUNT(*) as total FROM " . TABLE_PREFIX . "smilie");
$totalsmilies = $smilietotal['total'];
}
else {
$smilies = $vbulletin->db->query_read("
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);
}
############### /FAVORITE SMILIES ################

FIND:
$show['moresmilieslink'] = iif ($totalsmilies > $vbulletin->options['smtotal'], true, false);

REPLACE WITH:
$show['moresmilieslink'] = iif ($totalsmilies > $vbulletin->options['smtotal'], true, iif ($vbulletin->userinfo['favsmilies'], true, false));

Save and upload.
Reply With Quote
  #45  
Old 04-26-2009, 04:26 AM
Pamela Pamela is offline
 
Join Date: Apr 2004
Posts: 221
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by boatswife View Post
I had to figure it out once again, this time I can pass it on to you all! LOL I know I sounded like a nut telling you (Pamela) that the file sizes were different. They were because it was an older version of the edits that I was using and that's what made it work.

I used the older version edits of function_editor.php that can be found here. Make only the following edits to your current function_editor.php file and it will work. At least it corrected the problem for me and it's now working on 3.8.2. You may still need to go to the membergroups and click on go.
AWESOME...that worked perfectly! Thank you so very, very much! I greatly appreciate your help!!!
Reply With Quote
  #46  
Old 04-29-2009, 09:44 PM
Suliman Mashat Suliman Mashat is offline
 
Join Date: Dec 2008
Posts: 10
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

my version is 3,8 and I need it
can help me =(
Reply With Quote
  #47  
Old 05-10-2009, 02:12 PM
trotskid trotskid is offline
 
Join Date: Feb 2009
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by boatswife View Post
I used the older version edits of function_editor.php that can be found here. Make only the following edits to your current function_editor.php file and it will work. At least it corrected the problem for me and it's now working on 3.8.2. You may still need to go to the membergroups and click on go.
Thank you :up::up::up:

Installed on 3.8.2!
Reply With Quote
  #48  
Old 05-19-2009, 05:52 PM
davit1979 davit1979 is offline
 
Join Date: Jan 2009
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by boatswife View Post
I had to figure it out once again, this time I can pass it on to you all! LOL I know I sounded like a nut telling you (Pamela) that the file sizes were different. They were because it was an older version of the edits that I was using and that's what made it work.

I used the older version edits of function_editor.php that can be found here. Make only the following edits to your current function_editor.php file and it will work. At least it corrected the problem for me and it's now working on 3.8.2. You may still need to go to the membergroups and click on go.
Confirmed works in 3.8.1
Thank you!
Reply With Quote
  #49  
Old 06-01-2009, 11:04 AM
Kimberley Kimberley is offline
 
Join Date: Oct 2008
Posts: 70
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well this is working great except for one thing and I have done the edits to function_editor etc it doesnt show up in mu UserCP .. it does on Post reply and it works fine and you can set it up but can anyone tell me what I might have missed for it to not show in usercp please
Reply With Quote
  #50  
Old 06-10-2009, 05:58 AM
trotskid trotskid is offline
 
Join Date: Feb 2009
Posts: 204
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I´m a bit lost. It´s possible to hide or disable the icon on the editor toolbar? (not to eliminate it because it appears the icon target).

Thanks
Reply With Quote
  #51  
Old 06-13-2009, 04:53 PM
Fungsten's Avatar
Fungsten Fungsten is offline
 
Join Date: Jul 2006
Posts: 1,131
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Didn't work in 3.8.3.

On Edit:

Doesn't work. I rebuilt the bitfields, reinstalled the product chose and resaved the favorite smilies and nothing. BTW, the favorites do show but not the ones I chose.
Reply With Quote
Reply

Thread Tools

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 06:32 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.06287 seconds
  • Memory Usage 2,315KB
  • 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
  • (7)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
  • (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