vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - Smilies Popup Box in Quick Reply (https://vborg.vbsupport.ru/showthread.php?t=232686)

eSe7en 01-09-2010 10:00 PM

Smilies Popup Box in Quick Reply
 
1 Attachment(s)
Purpose:
Add Smilies Button in the toolbar of the quick reply box.

How to mod:
1. In the file 'includes/functions_editor.php', locate these lines (Line No. 545-550 in vB 4.0.0):

PHP Code:

    if ($editor_type == 'qr' OR $editor_type == 'qr_small')
    {
        
// no smilies
    
}
    else if (
$allowsmilie AND $show['editor_toolbar'])
    { 

2. Uncomment the first conditional part by including it between '/* ...... */' or replace as the following:

PHP Code:

/*    if ($editor_type == 'qr' OR $editor_type == 'qr_small')
    {
        // no smilies
    }
    else */
if ($allowsmilie AND $show['editor_toolbar'])
    { 

3.Open the template 'showthread_quickreply' and locate the following lines:

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>

and add the following lines after them:

Code:

<!- BEGIN: eSe7en - Smilies at quick reply -->
                <li class="popupmenu menubutton smilies imagemenu nomouseover nohovermenu" id="{vb:raw editorid}_popup_smilie"><div class="popupctrl"><img src="{vb:stylevar imgdir_editor}/smilie.png" alt="{vb:rawphrase smilies}" width="20" height="20" /></div>
<ul class="editorpopupbody popupbody popuphover">
                        <li style="display:none">&nbsp;</li>
                        {vb:raw smiliepopup}
                        <vb:if condition="$show['moresmilies']"><li class="category" id="moresmilies"><div>{vb:rawphrase show_all_smilies}</div></li></vb:if>
                    </ul>


</li>
<!- END: eSe7en - Smilies at quick reply -->

That's it Folcks :D

Kolbi 01-10-2010 09:30 AM

Thank you!

Used this also in 3.x and I think it´s a very nice feature.

eSe7en 01-10-2010 09:41 AM

Quote:

Originally Posted by Kolbi (Post 1951792)
Thank you!

Used this also in 3.x and I think it?s a very nice feature.

Good News :D

Ur welcome

Sador 01-10-2010 10:07 AM

Installed, had this in vBulletin 3 as well. Thank you.

akee 01-10-2010 10:45 AM

Nice :)

Can you upgrade this mod, like this: https://vborg.vbsupport.ru/showthread.php?t=180330

Thanks

silverfox_uw 01-10-2010 11:02 AM

Thank you

Sador 01-10-2010 11:04 AM

Quote:

Originally Posted by akee (Post 1951836)
Nice :)

Can you upgrade this mod, like this: https://vborg.vbsupport.ru/showthread.php?t=180330

Thanks

I'm really in favor of that, thread management and so on from quick reply is very useful.

Hope someone will upgrade that one at least.

I.am 01-10-2010 11:28 AM

Thank you useful mod, installed.

eSe7en 01-10-2010 12:18 PM

Quote:

Originally Posted by akee (Post 1951836)
Nice :)

Can you upgrade this mod, like this: https://vborg.vbsupport.ru/showthread.php?t=180330

Thanks

Did you ask the original developer?

princeedward 01-10-2010 12:21 PM

installed...thanks ;)

akee 01-10-2010 01:10 PM

@eSe7en

yes, I ask, but no response

zonaenlinea 01-10-2010 01:35 PM

Thank you prefect

MARCO1 01-10-2010 04:45 PM

Quote:

Originally Posted by akee (Post 1951836)
Nice :)

Can you upgrade this mod, like this: https://vborg.vbsupport.ru/showthread.php?t=180330

Thanks

I will do this :), Just let me back to you in 2 days to complete the coding :up:

abbasbsp 01-10-2010 04:54 PM

if you want more complete https://vborg.vbsupport.ru/showthread.php?t=231212

Sador 01-10-2010 05:12 PM

Quote:

Originally Posted by MARCO1 (Post 1952080)
I will do this :), Just let me back to you in 2 days to complete the coding :up:

You're great. :)

baghdad4ever 01-12-2010 09:23 AM

thanks i use this code

PHP Code:

 //if ($editor_type == 'qr' OR $editor_type == 'qr_small') 
    

        
// no smilies 
    

   
// else if ($allowsmilie AND $show['editor_toolbar']) 
    



installed

Reed_HCT 01-13-2010 06:35 AM

thank you, installed

shofolofo 01-16-2010 07:34 PM

seven ... I can't un-install it .. our webmaster is stupid and can't remove it :p

eSe7en 01-16-2010 07:43 PM

:D
I know you're not talking about me :o

Aclikyano 01-31-2010 06:15 PM

please let us know how to make it so it shows random smilies each time!
thanks :)

eSe7en 02-01-2010 12:49 PM

Well, there is an issue that should be determined first;
Do you want a random set of smiles across all the categories or from a specific category?

As vBulletin displays the category title befor smilies

409industries 02-09-2010 08:41 PM

Quote:

Originally Posted by Kolbi (Post 1951792)
Used this also in 3.x and I think it?s a very nice feature.

Quote:

Originally Posted by Sador (Post 1951818)
Installed, had this in vBulletin 3 as well. Thank you.

Did you guys use this exact code edit in 3.X and it worked, or was there another version? I can't find it. I would like to use this mod in my forums running on 3.8.4.

A link would be greatly appreciated to the 3.X version. Thank you!

Kolbi 02-10-2010 01:35 PM

Try this: https://vborg.vbsupport.ru/showthread.php?t=215447

409industries 02-10-2010 03:53 PM

Quote:

Originally Posted by Kolbi (Post 1979114)

Thank you sir... this is exactly what i was looking for! Sorry i took this slightly off topic.

This thread has been bookmarked for when we eventually migrate to vB4! Thank you!

aouni_tahech 02-21-2010 04:42 PM

For some reason, whenever I click on the smilies icon in the QR, a black narrow rectangle appears. Smilies are not showing off though I followed your instructions. Vb Version 4.0.2

Thanks.

eSe7en 02-21-2010 06:03 PM

I haven't tried it in vB4.0.2 yet ... But Intend to do this soon

Meanwhile, you can use Marco's hack here

Kingdombuilder 02-23-2010 04:08 AM

Worked well for me right off the bat, thank you for sharing...

shyguy82 02-23-2010 04:20 PM

Installed,

GREAT!

Fungsten 02-23-2010 07:10 PM

Quote:

Originally Posted by aouni_tahech (Post 1988169)
For some reason, whenever I click on the smilies icon in the QR, a black narrow rectangle appears. Smilies are not showing off though I followed your instructions. Vb Version 4.0.2

Thanks.

Same here.

Reed_HCT 02-24-2010 05:14 PM

Quote:

Originally Posted by Fungsten (Post 1989856)
Same here.

The same for me

vicelover 03-21-2010 06:17 AM

1 Attachment(s)
Quote:

Originally Posted by Reed_HCT (Post 1990545)
The same for me

Have you saved the functions_editor.php file after editing ?

Do you mean this? (pls see the below image.)
Attachment 114471

I just encountered and captured it before I saved the functions_editor.php.

After saving, it works fine.

raulin 03-25-2010 07:54 AM

Thank you

Paladin32 03-30-2010 07:55 AM

Hi,
i have the same problem like showen in your image. The admin could see the smilies, but other users didn´t. I also add a new user and give him admin privilegs, but couldn´t see the smilies. There are some rights i have to activate? Smilies are on for everyone.

thanks for help
Alex

I use vb4.0.2

afed 07-31-2010 12:19 PM

installed works like a charm. The only one point after every update operation with file needs to be redone, any chance to make it as *.xml plugin ?

TwinsForMe 08-12-2011 07:06 PM

This is no longer working for 4.1.5. The includes/functions_editor.php code is different now. Does anyone have a fix for me, please?


All times are GMT. The time now is 11:24 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.07684 seconds
  • Memory Usage 1,790KB
  • 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
  • (3)bbcode_php_printable
  • (11)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (35)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