vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Link to Smilies in Quick Reply (https://vborg.vbsupport.ru/showthread.php?t=93544)

mrsbuzzy 08-27-2005 12:26 AM

Yes, it works for me now, I just put this:

<if condition="$show['editor_toolbar']">

Before the "Add After" section code.

Valter 08-27-2005 02:05 AM

Hi amykhar

Your hack works fine for me, thanks ;)

amykhar 08-27-2005 02:06 AM

Glad you enjoy it :)

glorify 08-30-2005 03:31 AM

Quote:

Originally Posted by BrentWilson
This is how I have mine:

https://vborg.vbsupport.ru/attachmen...chmentid=33020

To have it this way:

Find:

Code:

<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>
Add after:

Code:

<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>

<td><a href="#" onclick="vB_Editor['$editorid'].open_smilie_window(smiliewindow_x, smiliewindow_y); return false"><img src="http://www.mustangevolution.com/forum/images/smilies/smile.gif" alt="Smilies" border="0" /></a></td>
</if>

Make sure you replace http://www.mustangevolution.com/foru...lies/smile.gif with the smilie you want to appear there :)


You can also add it in the postbit_quickedit if you want the smile box on your quick edit template.

Brandon Sheley 09-19-2005 06:26 PM

worked fine for me on rc3 :) thank you
[high]* Brandon Sheley installs[/high]

Wayne Luke 09-19-2005 07:22 PM

Installed this but used Brent's version. Same concept but more aesthetically pleasing in my opinion.

Oblivion Knight 09-22-2005 05:26 AM

Quote:

Originally Posted by Wayne Luke
Installed this but used Brent's version. Same concept but more aesthetically pleasing in my opinion.

You could of course go one step further and make it look like a real vB editor button.. ;)

Here's my code:
HTML Code:

                <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
                <td><div class="imagebutton" id="{$editorid}_cmd_smilies"><a onclick="vB_Editor['$editorid'].open_smilie_window(smiliewindow_x, smiliewindow_y); return false"><img src="$stylevar[imgdir_editor]/smilie.gif" width="21" height="20" alt="$vbphrase[display_smilies]" border="0" /></a></div></td>


Boofo 09-22-2005 05:39 AM

Quote:

Originally Posted by Oblivion Knight
You could of course go one step further and make it look like a real vB editor button.. ;)

Here's my code:
HTML Code:

                <td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
                <td><div class="imagebutton" id="{$editorid}_cmd_smilies"><a onclick="vB_Editor['$editorid'].open_smilie_window(smiliewindow_x, smiliewindow_y); return false"><img src="$stylevar[imgdir_editor]/smilie.gif" width="21" height="20" alt="$vbphrase[display_smilies]" border="0" /></a></div></td>


And what would this look like then?

Oblivion Knight 09-22-2005 06:10 AM

Quote:

Originally Posted by Boofo
And what would this look like then?

Attached a screenshot, just for you.. ;)

Boofo 09-22-2005 06:15 AM

Quote:

Originally Posted by Oblivion Knight
Attached a screenshot, just for you.. ;)

Now I can die a happy man. ;)


All times are GMT. The time now is 07:59 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.01075 seconds
  • Memory Usage 1,744KB
  • 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
  • (2)bbcode_html_printable
  • (5)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