Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

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
  #62  
Old 09-05-2006, 06:50 PM
dknelson dknelson is offline
 
Join Date: Oct 2004
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Would somebody please explain this? Are we supposed to add the code to the product.xml file?
Reply With Quote
  #63  
Old 09-05-2006, 07:10 PM
Karri's Avatar
Karri Karri is offline
 
Join Date: Feb 2002
Posts: 98
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try my version of the plug in from https://vborg.vbsupport.ru/showpost....7&postcount=41 , it already has the change to get the odd numbers to show.
Reply With Quote
  #64  
Old 10-01-2006, 10:01 PM
noonespecial noonespecial is offline
 
Join Date: Nov 2002
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does this work on 3.6?
Reply With Quote
  #65  
Old 10-02-2006, 10:53 PM
DiverTree's Avatar
DiverTree DiverTree is offline
 
Join Date: Jun 2006
Location: Coastal Louisiana
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you!!! 1300+ smilies neatly organized.
Reply With Quote
  #66  
Old 10-10-2006, 06:09 AM
FunaGuy's Avatar
FunaGuy FunaGuy is offline
 
Join Date: Dec 2005
Posts: 132
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its working perfect with 3.6
Reply With Quote
  #67  
Old 10-27-2006, 07:16 AM
Ev!L ErN!E Ev!L ErN!E is offline
 
Join Date: Feb 2006
Location: Michigan
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

INSTALLED!

seems to be working well on 3.6.2

only problem I'm seeing is a delay if you move a smilie from one catigory to another.
Reply With Quote
  #68  
Old 12-09-2006, 05:46 AM
snowlion snowlion is offline
 
Join Date: Mar 2005
Location: STY
Posts: 183
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

its working perfect with 3.6.4
thanks
Reply With Quote
  #69  
Old 12-09-2006, 11:08 PM
CoreIssue CoreIssue is offline
 
Join Date: Jan 2006
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Never mind.
Reply With Quote
  #70  
Old 02-14-2007, 06:12 PM
Cyricx Cyricx is offline
 
Join Date: Aug 2002
Location: Missouri
Posts: 1,144
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by rwoelich View Post
Nice! I was about to make one of these but upon finding this one there's no need.

This is just personal preference, but the dropdown looks a little neater if you place it into your table header. An image is attached so you can see what I mean. So instead of adding the $new_smilies before the <form action="misc.php" method="get"> when you do the template edit, try this instead...

Find:
Code:
    <td class="tcat" colspan="4">
        $vbphrase[smilie_list]
        <div class="smallfont">$vbphrase[click_a_smilie_to_insert_it_into_your_message]</div>
And replace it with:
Code:
    <td class="tcat" align="center" width="25%">$new_smilies</td>
    <td class="tcat" colspan="3">
        $vbphrase[smilie_list]
        <div class="smallfont">$vbphrase[click_a_smilie_to_insert_it_into_your_message]</div>
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.

Quote:
Originally Posted by Karri View Post
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.

With these two changes, this works great!!
Reply With Quote
  #71  
Old 02-19-2007, 11:38 AM
Wolfegar Wolfegar is offline
 
Join Date: Nov 2005
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this installed and it's working great. There's just a few questions I have, which may or may not actually be related to this mod, but I'd like to know anyway.

1. The smilies page that opens up after clicking on "more" is very small. What do I have to edit to make that window wider? Let's say, two or three times as wide.

2. Is there a way to get one or two of the categories to only display one column of smilies intead of the double columns?

3. Will there be a supported version of this modification for 3.6.4 that is supported?
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 05:08 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.04856 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
  • (4)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