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)

Darat 08-08-2006 09:36 AM

I've installed this on a 3.6 forum and it works fine.

nix 08-09-2006 01:10 AM

Quote:

Originally Posted by Darat
I've installed this on a 3.6 forum and it works fine.

Great news. Going to try it on mine.

Ascor 08-23-2006 06:30 AM

installed on 3.6, works fine, thank you :)

outlaw621 08-24-2006 01:55 AM

Installed on 3.6 and working.

UncoderMom 08-24-2006 12:55 PM

I love this hack!! but I also have my smilies moved from the side to underneath. Is there any way to display this in the QR or where it says "more"?? My users cant find them. My some of my members have been thre for 2 months and are like.."where are the smilies?" lol.

This would be the GREATest in QR or "more"!!! Any ideas? I tryed toying with it but im not a coder and it wasnt enough to just place the
$new_smilies conditional [/noob]

Darat 08-24-2006 01:14 PM

Quote:

Originally Posted by UncoderMom
I love this hack!! but I also have my smilies moved from the side to underneath. Is there any way to display this in the QR or where it says "more"?? My users cant find them. My some of my members have been thre for 2 months and are like.."where are the smilies?" lol.

This would be the GREATest in QR or "more"!!! Any ideas? I tryed toying with it but im not a coder and it wasnt enough to just place the
$new_smilies conditional [/noob]


I just added a button to the quickreply toolbar, I don't know if I found it on here or what but this is it:

Code:


Find:


<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td>
                <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>

Add:
<if condition="$show['editor_toolbar']">
<td><a href="#" onclick="vB_Editor['$editorid'].open_smilie_window(smiliewindow_x, smiliewindow_y); return false"><img src="http://forums.randi.org/images/smilies/randi.gif" alt="Smilies" border="0" /></a></td>
</if>

Replace the "http://forums.randi.org/images/smilies/randi.gif" with the location of the button image you want to display.

UncoderMom 08-24-2006 01:26 PM

Quote:

Originally Posted by Darat
I just added a button to the quickreply toolbar, I don't know if I found it on here or what but this is it:

Code:


Find:


<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="$stylevar[imgdir_editor]/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td>
                <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>

Add:
<if condition="$show['editor_toolbar']">
<td><a href="#" onclick="vB_Editor['$editorid'].open_smilie_window(smiliewindow_x, smiliewindow_y); return false"><img src="http://forums.randi.org/images/smilies/randi.gif" alt="Smilies" border="0" /></a></td>
</if>

Replace the "http://forums.randi.org/images/smilies/randi.gif" with the location of the button image you want to display.

Will this display the catagory bar for this hack...or just the default vb catagories?

Darat 08-24-2006 01:34 PM

It just pops up the smilie category window that clicking on "more" normally does.

UncoderMom 08-25-2006 01:38 AM

Thanks Darat! This is WAY better then nothing ;) I made my button red..they shouldnt miss it now hehe!

tobybird 09-05-2006 11:29 AM

Quote:

Originally Posted by Karri
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.


Karri, Thanks for that! I just noticed the error this morn and that fixed it! :up:


All times are GMT. The time now is 10:57 AM.

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.01184 seconds
  • Memory Usage 1,748KB
  • 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
  • (1)bbcode_php_printable
  • (4)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