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)

amykhar 08-02-2005 10:00 PM

Link to Smilies in Quick Reply
 
This is an easy one that makes a lot of sense to be there by default.

I didn't want a smilie box next to my QR. To me, QR is supposed to be lean and mean. But, I did want my users to be able to pop up the smilies and click on them when using QR.

hotrod1 08-03-2005 08:50 PM

Hmm the window doesn't popup

amykhar 08-03-2005 11:36 PM

It does for me. I don't think anything I installed for my smilie category hack would affect this either. Can somebody else confirm the problem?

Amy

hotrod1 08-03-2005 11:47 PM

All it does for me is go to the top of the page.

EasyTarget 08-03-2005 11:49 PM

how about the smilie pull down menu? I'd like to have that in my quick reply box.

amykhar 08-04-2005 12:03 AM

Quote:

Originally Posted by EasyTarget
how about the smilie pull down menu? I'd like to have that in my quick reply box.

I won't be doing that because I don't want the extra overhead. I'm sure the person who wrote the heavier smilie in quick reply hack with oblige.

Hotrod, I'll see what I can figure out.

Amy

amykhar 08-04-2005 12:14 AM

Hotrod, I just thought of something. Do you have javascript enabled? Regardless, I need to see what I can do for non-javascript people.

Boofo 08-04-2005 01:09 AM

That must be it, Amy. It comes up just fine for me.

amykhar 08-04-2005 01:19 AM

I'm stuck at work and can't turn javascript off on this machine - damn IT managers :angry:

So, I can't see how the regular more smilies link works if javascript is off. I didn't see an alternative in the code when I looked a few minutes ago.

amykhar 08-04-2005 04:51 PM

OK. Now that I am home and am master of my own browser, I did some checking. If javascript is off, the window does not pop up. But, this is the same exact behavior of the more smilies link if javascript is off.

If you really want it to pop up for non-javascript users, you can use this code:
Code:

<div>[<a href="misc.php?do=getsmilies" target="new" onclick="vB_Editor['$editorid'].open_smilie_window(smiliewindow_x, smiliewindow_y); return false">Smilies</a>]</div>
BUT, clicking the smilies won't work for them anyway. All they would have would be a list of smilies and what to type in to use them.

Amy

monstergamer 08-04-2005 08:23 PM

thanx for this...i like the speed as well and this is the best way to keep that and still have smilies

BamaStangGuy 08-07-2005 05:00 AM

This is how I have mine:

https://vborg.vbsupport.ru/external/...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 :)

Boofo 08-07-2005 09:03 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>
Replace with:

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 :)

Don't you mean to ADD after the code and not replace it? ;)

BamaStangGuy 08-07-2005 02:29 PM

^ Good call :)

Oblivion Knight 08-09-2005 07:28 PM

Brent, wouldn't it be easier to just link to $stylevar[imgdir_editor]/smilie.gif ?

;)

Boofo 08-09-2005 07:40 PM

Quote:

Originally Posted by Oblivion Knight
Brent, wouldn't it be easier to just link to $stylevar[imgdir_editor]/smilie.gif ?

;)

If you want to put smilie.gif in the editor directory, it would. ;)

Oblivion Knight 08-09-2005 07:51 PM

Quote:

Originally Posted by Boofo
If you want to put smilie.gif in the editor directory, it would. ;)

smilie.gif already exists in the editor directory from the WYSIWIG toolbar.. :p

Boofo 08-09-2005 08:20 PM

Quote:

Originally Posted by Oblivion Knight
smilie.gif already exists in the editor directory from the WYSIWIG toolbar.. :p

I guess I made a boo-boo, huh? I forgot about that. ;)

Gizmo5h1t3 08-09-2005 10:03 PM

works a treat on RC2

mrsbuzzy 08-27-2005 12:19 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 :)

I like this, but when I do what you say, I get this:

Message:
http://www.parent-2-parent.com/forum...moveformat.gifhttps://vborg.vbsupport.ru/external/2005/08/1.gifhttps://vborg.vbsupport.ru/external/2005/08/2.gifhttps://vborg.vbsupport.ru/external/2005/08/3.gifhttps://vborg.vbsupport.ru/external/2005/08/4.gifhttps://vborg.vbsupport.ru/external/2005/08/1.gifhttps://vborg.vbsupport.ru/external/2005/08/5.gifhttps://vborg.vbsupport.ru/external/2005/08/6.gifhttps://vborg.vbsupport.ru/external/2005/08/1.gifhttps://vborg.vbsupport.ru/external/2005/08/7.gifhttps://vborg.vbsupport.ru/external/2005/08/8.gifhttps://vborg.vbsupport.ru/external/2005/08/1.gifhttps://vborg.vbsupport.ru/external/2005/08/9.gifhttps://vborg.vbsupport.ru/external/2005/08/1.gifhttps://vborg.vbsupport.ru/external/2005/08/10.gif https://vborg.vbsupport.ru/external/2005/08/1.gifhttps://vborg.vbsupport.ru/external/2005/08/11.gifhttps://vborg.vbsupport.ru/external/2005/08/12.gifhttps://vborg.vbsupport.ru/external/2005/08/13.gifhttps://vborg.vbsupport.ru/external/2005/08/1.gifhttps://vborg.vbsupport.ru/external/2005/08/14.gif
= 'vB_Editor_QR'; //-->
OptionsShow your signature
Quote message in reply?


It seems to me it's missing some kind of code that starts with: <if condition=

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. ;)

lylah 09-26-2005 09:14 PM

Nice...

thanx :)

Mr Chad 09-26-2005 11:55 PM

Nice i fixed it up a lil, just use a image to represent the "[Smilie]" thing so it looks normal.

Allan 10-05-2005 02:11 PM

Thanks for this hack Amykhar :)

Click Install

Riotblade 10-14-2005 01:12 AM

Thanks, works great for me!

lefthome 10-19-2005 08:22 PM

*installed*

twitch 10-19-2005 09:22 PM

Thanks!

Mirrorball 10-28-2005 12:53 PM

Here is my code:

HTML Code:

<td><div class="imagebutton" id="{$editorid}_cmd_smilies"><a href="misc.php?do=showsmilies" target="new" onclick="if(qr_active) { 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[show_all_smilies]" border="0" /></a></div></td>
If quick reply isn't active, the popup window doesn't open.

klaattu 11-11-2005 12:23 AM

Quote:

Originally Posted by Mirrorball
Here is my code:

HTML Code:

<td><div class="imagebutton" id="{$editorid}_cmd_smilies"><a href="misc.php?do=showsmilies" target="new" onclick="if(qr_active) { 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[show_all_smilies]" border="0" /></a></div></td>
If quick reply isn't active, the popup window doesn't open.

Anyone? does this QR smilies work with 3.5.1. I dont want to screw up my template.

Thanks

twitch 11-11-2005 04:28 PM

works for me :)

dreamer81 11-23-2005 09:06 AM

This doesn't work for my 3.5.1

First of all in 3.5.1 there is no advanced quickreply... so it doesn't show nada of all that stuff above. Only a lil textbox...

what to do?


All times are GMT. The time now is 04:46 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.01401 seconds
  • Memory Usage 1,847KB
  • 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
  • (9)bbcode_code_printable
  • (4)bbcode_html_printable
  • (12)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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