vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=192)
-   -   Mini Mods - GTQuickreply Smilies Popup (https://vborg.vbsupport.ru/showthread.php?t=161690)

princeedward 03-05-2008 02:32 PM

Quote:

Originally Posted by Princeton (Post 1457584)
hmmm, never noticed it
try (replace plugin):

:up: now works like a magic...thanks a bunch boss...

KURTZ 03-05-2008 02:51 PM

Quote:

Originally Posted by Princeton (Post 1457584)
hmmm, never noticed it

try (replace plugin):
PHP Code:

if ($vbulletin->templatecache['showthread_quickreply'])
{
  
$vbulletin->templatecache['showthread_quickreply'] = str_replace
    array(
    
'<td width=\"100%\">&nbsp;</td>',
    ),
    array(
    
'<td><img src=\"$stylevar[imgdir_editor]/separator.gif\" width=\"6\" height=\"20\" alt=\"\" /></td>
    <td><div class=\"imagebutton\" id=\"vB_Editor_QR_cmd_smilie\">
    <img src=\"$stylevar[imgdir_editor]/smilie.gif\" alt=\"Smilies\" border=\"0\" onclick=\"vB_Editor[\'$editorid\'].open_smilie_window(smiliewindow_x, smiliewindow_y); return false\" /></div></td>
    <td width=\"100%\">&nbsp;</td>'
,
    ),
    
$vbulletin->templatecache['showthread_quickreply'
  );



Joe i don't understand where i should put this code?

princeedward 03-05-2008 06:05 PM

Quote:

Originally Posted by KURTZ (Post 1457671)
Joe i don't understand where i should put this code?


ACP > Plugins & Products > Plugin Manager > Product : GTQuickreply Smilies Popup > Print Smilie Button On Quickreply > Edit

...copy princeton code and paste it...save...done....

best regards...
:p :up:

KURTZ 03-06-2008 09:53 AM

thx Prince :)

smokeyvol 03-23-2008 05:19 PM

Can you please add a drop down that includes the forums top 5 smilies? However with or without the drop dowm the mod is still a great addition!

Twin_Turbo 03-25-2008 04:54 PM

I'd like to do this to the edit box also. Anyone know how to do that? The drop down list would be awesome also IMO.

Twin_Turbo 03-25-2008 10:49 PM

I added this to quick edit but I can not get the hover over state to change like the other ones do.

Here's my code

PHP Code:

                           <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
                           <
td><div class="imagebutton" id="vB_Editor_QR_cmd_smilie"><img src="$stylevar[imgdir_editor]/smilie.gif"  onclick="vB_Editor['$editorid'].open_smilie_window(smiliewindow_x, smiliewindow_y); return false" /></div></td

I also tried it with the rollout like in the reply box and can't get the contents of the box 9the smilies) to show, even after adding
PHP Code:

$vBeditTemplate[clientscript

to the top

Can anyone help?

drsli 04-20-2008 10:20 AM

Thank you very much for this nice enhancement! :)

goddess_dix 05-03-2008 09:08 PM

Quote:

Originally Posted by Twin_Turbo (Post 1474587)
I added this to quick edit but I can not get the hover over state to change like the other ones do.

snip

Can anyone help?

did you look at the two or three posts before yours, where the discuss the blue hover state and how to fix that? https://vborg.vbsupport.ru/showthrea...71#post1457671

transparent 06-04-2008 05:26 AM

Works perfect on 3.7.1. Thank you!


All times are GMT. The time now is 02:12 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.01103 seconds
  • Memory Usage 1,747KB
  • 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
  • (3)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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