vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Add-On Releases - Smilies on Quick Reply/Quick Edit (https://vborg.vbsupport.ru/showthread.php?t=246807)

Lairston 07-17-2010 10:00 PM

Smilies on Quick Reply/Quick Edit
 
1 Attachment(s)
After some tinkering I was able to get the smilies on the Quick edit/reply on my dev site with just two template modifications.

If you would like smilies on the quick edit open the postbit_quickedit template

Find the following code
Code:

<vb:if condition="$show['quote_bbcode']">
<li>
<img src="{vb:stylevar imgdir_editor}/quote.png" class="imagebutton" id="{vb:raw editorid}_cmd_wrap0_quote" width="21" height="20" alt="{vb:rawphrase wrap_quote_tags}" />
</li>
</vb:if>

Paste after that code the following
Code:

<li>
            <a href="javascript://" onclick="vB_Editor['{vb:raw editorid}'].open_smilie_window(smiliewindow_x, smiliewindow_y); return false"><img src="{vb:stylevar imgdir_editor}/smilie.png" alt="Smilies" border="0" /></a>
</li>

If you would like the smilies on the quick reply on threads page, open the showthread_quickreply template

Find the following code
Code:

<vb:if condition="$show['quote_bbcode']">
<li class="editor_control_group_item">
  <img src="{vb:stylevar imgdir_editor}/quote.png" class="imagebutton" id="{vb:raw editorid}_cmd_wrap0_quote" width="20" height="20" alt="{vb:rawphrase wrap_quote_tags}" />
</li>
</vb:if>

Paste the following after that code:
Code:

<li class="editor_control_group_item">
 <a href="javascript://" onclick="vB_Editor['{vb:raw editorid}'].open_smilie_window(smiliewindow_x, smiliewindow_y); return false"><img src="{vb:stylevar imgdir_editor}/smilie.png" alt="Smilies" border="0" /></a>
</li>

https://vborg.vbsupport.ru/attachmen...1&d=1279414644

dwkmi 07-18-2010 01:40 AM

You ROCK!!! 5 Stars!!

GaRanT 07-18-2010 01:44 AM

Nice one , thank you !

sulasno 07-18-2010 02:14 AM

tagged and thanks

Juggernaut 07-18-2010 03:32 AM

This works great in vB 4.0.5 :D

Lairston 07-18-2010 01:56 PM

You're welcome! Glad you like :D

sisterhood 07-18-2010 06:02 PM

4.05 excellent!

TANKSALOT 07-18-2010 06:37 PM

Thanks!

This was very easy to do!

It was also my 1st attempt to rewrite any of the code.
My forum has been up for about 5 days and I have a LOT to learn.

Steve

MacHack 07-25-2010 12:22 PM

Thanks for this, working on 4.05 here.

BadgerDog 08-07-2010 12:52 PM

Installed ... :)

Thank you very much... worked great ... :up:

Regards,
Badger

SouthEastSxS 08-09-2010 12:48 AM

Thanks, worked like a charm and easy to do. Great!

phamvinh 09-19-2010 06:00 AM

Installed. Good, Thank you very much

Vanion 09-20-2010 01:39 PM

Worked perfectly in 4.0.7!

Thanks man!

vbbforfree 09-21-2010 04:41 AM

Nice one , thank you !

Laughingbird 09-21-2010 03:27 PM

Love it. Nice detective work! Very happy with this mod...

Vikingant 11-01-2010 08:37 AM

This is awesome. I have wanted something like this for a while.

Is there a (relatively) easy way to incorporate the alert BBC mod?

adeel80 11-04-2010 06:50 PM

does it work on 4.0.8?

dandanch 11-05-2010 12:06 AM

doesn't work for me on 4.0.8

barakuda 12-06-2010 10:19 PM

installed and thanks

huskermax 12-06-2010 10:52 PM

I like it have it in 4.0.8.

Is there away to add the drop down menu function other then the pop up box? Some of my members have the pop up's blocked.

Habsy 12-14-2010 05:32 PM

Awesome, thanks!

Blackbeard02 12-24-2010 10:18 AM

Thank you

Micha66 12-25-2010 11:00 PM

where do i find postbit_quickedit and showthread_quickreply?

Palehorse74480 01-07-2011 03:41 PM

Dont work for me 4.1.0 PL2

MAdotcom 01-10-2011 10:22 PM

Awesome thank you!:up:

juanrimore 01-30-2011 11:09 PM

good!

obmob 03-24-2011 08:08 PM

Wonder why is it so hard for vB guys to add this from default? :D

thanks

sulasno 03-25-2011 01:26 PM

can anyone confirm that this mod is working for vB 4.1.2 ?

Rofo 03-28-2011 12:55 AM

Installed and working on 4.1.1

Thanks alot, I didn't like not having this option in vb4.

Rofo 03-28-2011 12:56 AM

Quote:

Originally Posted by Micha66 (Post 2139043)
where do i find postbit_quickedit and showthread_quickreply?

Styles and language > Style Manager > Edit Templates

otectom 03-31-2011 12:12 AM

Installed and working on VB 4.1.2 Thank you kindly!!

sulasno 04-03-2011 01:27 AM

vB should incorporate this feature in future versions

doctorsexy 04-09-2011 02:53 PM

Very nice ..thanks

Habsterix 04-15-2011 04:41 PM

Thank you!

kryap 06-03-2011 01:06 PM

Thanks!

otectom 07-31-2011 03:33 PM

Just installed on my second theme, it works perfectly! Thanks again for a great mod!

BarelyHangingOn 08-05-2011 12:36 AM

When I am in quick reply and my members hit the smilie icon it brings up the first 10 or whatever I have in my settings but not a "more" link to get to the rest of the smilies.

Is there a way to do that?

Thanks!

cbiweb 05-12-2012 07:19 PM

Works perfectly on 4.1.3. :D


Quote:

Originally Posted by BarelyHangingOn (Post 2229474)
When I am in quick reply and my members hit the smilie icon it brings up the first 10 or whatever I have in my settings but not a "more" link to get to the rest of the smilies.

That's odd. It should be bringing up a new window with all the smilies you have; no "more" link necessary.

I realize I'm replying to a 9-month old post, so hopefully you've resolved it by now. :)

Racecar 12-18-2013 11:06 PM

All done and works great :D


All times are GMT. The time now is 06:11 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.01169 seconds
  • Memory Usage 1,774KB
  • 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
  • (4)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (39)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete