Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Smilie Category Details »»
Smilie Category
Version: 1.01, by beebi beebi is offline
Developer Last Online: Jan 2009 Show Printable Version Email this Page

Category: Mini Mods - Version: 3.5.3 Rating:
Released: 02-04-2006 Last Update: 02-04-2006 Installs: 195
Uses Plugins Template Edits
 
No support by the author.

Smilie Category

This is a port of this hack, posted with the original author permission

Description
This small Hack helps you to organize your smilies in a better and easier way:
Hack Ported by: beebi

How does this work ?
You have to have to create multiple Smilie Categories with your ACP Smilie Manager. This hack will offer you a form select screen in your smilie popup window. So you can now easily choose from different categories.
The integration should take about 2 minutes and is very easy. But please remember that you need to have at least 2 categories created with your smiliemanager in your ACP.

Details
1 Plugin XML
1 Template Edit

Installation
1.Import The Plugin .
2- In Template smiliepopup

FIND
Code:
<form action="misc.php" method="get">
ABOVE that ADD
Code:
$new_smilies
Do you like it?
So click install

Show Your Support

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

Comments
  #32  
Old 03-24-2006, 02:17 AM
Nathan2006's Avatar
Nathan2006 Nathan2006 is offline
 
Join Date: Feb 2006
Location: UK
Posts: 862
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is great!

Thank you beebi

This will make things a lot faster now loads of smiles - Lot less time to load

Install
Reply With Quote
  #33  
Old 03-26-2006, 07:19 AM
ForeverForums ForeverForums is offline
 
Join Date: Aug 2005
Location: Indianapolis, IN
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

id love to have something like this for post icons.
Reply With Quote
  #34  
Old 04-08-2006, 09:13 PM
sinaluna sinaluna is offline
 
Join Date: Feb 2005
Posts: 93
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rwoelich
Also, it appears that by default all the smilies show when you first load the smilie popup. The reason I was looking for this mod was so the smilies could be displayed by category and the popup wouldn't take forever to load because we have nearly 1000 smilies installed. If you want to set one single category to show when the smilie popup is first loaded (then the user can use the dropdown to pick another category), you can edit the plugin that was installed...

Find this bit of code in the plugin from your Plugin Manager:
PHP Code:
if (!$_REQUEST['select_category'])
        {
                
$select_category $new_categories[0];
        } 
...and replace it with:
PHP Code:
if (!$_REQUEST['select_category'])
        {
                
$select_category 'categoryname';
        } 
...where categoryname is the name of the category you want to load by default.

Beautiful! This was my only problem with the hack. Thanks so much!
Reply With Quote
  #35  
Old 04-10-2006, 07:07 PM
blacklancer's Avatar
blacklancer blacklancer is offline
 
Join Date: Jan 2006
Location: so cal
Posts: 84
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i am getting the following error:

Parse error: syntax error, unexpected '<' in ......\Forum\misc.php(488) : eval()'d code on line 1

any ideas??
Reply With Quote
  #36  
Old 04-10-2006, 09:08 PM
akanevsky akanevsky is offline
 
Join Date: Apr 2005
Posts: 3,972
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I believe vBulletin 3.5.x has Smilie Categories by default?
Reply With Quote
  #37  
Old 04-12-2006, 10:06 PM
Stoebi Stoebi is offline
 
Join Date: Apr 2006
Location: Germany, Berlin
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Psionic Vision
I believe vBulletin 3.5.x has Smilie Categories by default?
Yes, but i like to select a certain smilie category via popup and select the smilie i need.
Hate to scroll down (2000 Smilies). ;-)

Can i select which smilie category should be visible for certain forums? I miss it so much.


Regards, Stoebi
Reply With Quote
  #38  
Old 05-11-2006, 06:53 PM
Karri's Avatar
Karri Karri is offline
 
Join Date: Feb 2002
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack seems to have a small bug. It only shows even numbers of smilies per category. It looks like the bit
PHP Code:
else
       {
           
//do nothing
       
}
    }
    if (
sizeof($bits) == 1)
    {
        eval(
'$smiliecells = "' fetch_template('smiliepopup_straggler') . '";');
        eval(
'$smiliebits .= "' fetch_template('smiliepopup_row') . '";');
    } 
from the original hack that this was ported from was left out. I replaced the last } in the plugin with that bit of code and now I have odd number of smiles showing again.
Reply With Quote
  #39  
Old 05-15-2006, 08:36 AM
Stop Stop is offline
 
Join Date: Oct 2005
Location: Riyadh
Posts: 114
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and works fine.
Thanks beebi.
Reply With Quote
  #40  
Old 07-10-2006, 09:19 PM
emtee emtee is offline
 
Join Date: Aug 2004
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a lot beebi for this hack!

There are 2 minor bug in this hack though:

1) If the category name has apostrophy ('), the category won't be shown.
2) If the category has odd number of smilies, the last smilie won't be shown.

Karri,

Can you upload your plugin with the changes so odd number of smilies will be shown also? I tried to make the changes you mention but it won't work. I don't know why???
Reply With Quote
  #41  
Old 07-10-2006, 11:42 PM
Karri's Avatar
Karri Karri is offline
 
Join Date: Feb 2002
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try this, it has the odd numbers showing on my board.
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 08:45 AM.


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.05428 seconds
  • Memory Usage 2,316KB
  • 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
  • (2)bbcode_code
  • (3)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)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