vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - Smilie Category (https://vborg.vbsupport.ru/showthread.php?t=107196)

dknelson 09-05-2006 06:50 PM

Would somebody please explain this? Are we supposed to add the code to the product.xml file?

Karri 09-05-2006 07:10 PM

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.

noonespecial 10-01-2006 10:01 PM

Does this work on 3.6?

DiverTree 10-02-2006 10:53 PM

Thank you!!! :) 1300+ smilies neatly organized. :cool:

FunaGuy 10-10-2006 06:09 AM

its working perfect with 3.6

Ev!L ErN!E 10-27-2006 07:16 AM

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.

snowlion 12-09-2006 05:46 AM

its working perfect with 3.6.4
thanks

CoreIssue 12-09-2006 11:08 PM

Never mind. :confused:

Cyricx 02-14-2007 06:12 PM

Quote:

Originally Posted by rwoelich (Post 924072)
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 (Post 972313)
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!! :)

Wolfegar 02-19-2007 11:38 AM

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. :rolleyes:

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?


All times are GMT. The time now is 03:55 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01355 seconds
  • Memory Usage 1,751KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (3)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete