vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Member Archives (https://vborg.vbsupport.ru/forumdisplay.php?f=202)
-   -   smilies w/ quick reply (https://vborg.vbsupport.ru/showthread.php?t=51807)

ub3x 04-19-2003 03:17 AM

smilies w/ quick reply
 
I've been working for about 20 minutes, trying to figure out how to integrate smilies into firefly's quick reply, here's what I've done.

First, I opened up the newreply template, which is under the "new posting templates" set. So that I could see how the template is being referenced and everything. Inside there I found this block of code:

Code:

<td bgcolor="#1C5780" valign="top" nowrap><normalfont><b>Your Reply:</b></normalfont>
        <p><smallfont>
        See Forum Rules (below) for<br>
        more information about what<br>
        codes you are allowed to use<br>
        in your posts.</smallfont></p>
        $vbcode_smilies</td>
        <td bgcolor="#1C5780">

So I copied the part that says $vbcode_smilies asuming this is what is used to call the smilies template to the page.

After that, I went to the showthread_replybox template, which is inside the custom templates category, and inserted a new column like so:

Code:

<tr valign="center"" align="center">

<td align="center" valign="center"> $vbcode_smilies </td>

                        <td align="center"><textarea name="message" rows="7" cols="$textareacols" wrap="virtual" tabindex="1"
onmouseover="this.style.background='#FFFFFF'" onmouseout="this.style.background='#1C5780'"></textarea>

For some reason, this result is not being printed into threadview, where the quick reply is.

Does anybody have any idea on how I can fix this? or have any idea on how this can be accomplished? Thanks

Dean C 04-19-2003 11:23 AM

There is no way of doing this without hacking. Go here ;):

https://vborg.vbsupport.ru/showthrea...326#post279326

Remember to add $clickysmilies to the showthread_replybox template where you want them to be displayed :)

Regards

- miSt

ub3x 04-19-2003 06:23 PM

thanks alot buddy!

Dean C 04-19-2003 07:34 PM

Your Welcome :)

- miSt

Jitway 04-19-2003 11:39 PM

Ya thanks there Mist I too was searching too add this but that thread was way too long.

Dean C 04-20-2003 10:54 AM

No problem - nice avie btw ;)

- miSt

Jitway 04-20-2003 01:45 PM

Quote:

Today at 06:54 AM Mist said this in Post #6
No problem - nice avie btw ;)

- miSt

Thanks. I got a lot of skull and evil looking ones but this is the best for a avatar.

gmarik 05-18-2003 02:59 PM

And where was the random smiley firefly hack?

Dean C 05-19-2003 02:32 PM

Marcos - why are you bumping an old thread again?

Please don't keep doing it :)

Thanks


All times are GMT. The time now is 01:54 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.01088 seconds
  • Memory Usage 1,726KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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