vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Quick Reply Box (https://vborg.vbsupport.ru/showthread.php?t=34597)

Admin 01-29-2002 04:59 PM

JTMON - Add this line:
Code:

        $clickysmilies = getclickysmilies();
to showthread.php right after this:
Code:

        $textareacols = gettextareawidth();
then use $clickysmilies in the showthread_quickreply template to add the box with the smilies in it, but you will also need to add these two lines:
Code:

<script language="Javascript" src="vbcode.js"></script>
<script language="Javascript" src="vbcode_language.js"></script>

to the template right after the <form> tag. That should work. :)

Wow this is even handier than I thought... :D

SWFans.net 01-29-2002 05:18 PM

Pretty cool hack but I have one question.

Is there a way to not have it show within closed threads?

Admin 01-29-2002 05:29 PM

It won't show up in closed threads for your users, but it does show up for you because you (as an admin) can still post, even in closed threads.

SWFans.net 01-29-2002 05:33 PM

Cool!!! I didn't test as a regular user. Thanks for clearing that up for me. :D

EDIT: Yeah, I just checked as a regular user and it does display in closed threads.

Admin 01-29-2002 05:35 PM

Wait... I think you are right. :o Let me check it, k? :)

Dade 01-29-2002 05:41 PM

Pretty sweet Chen

nafae 01-29-2002 06:09 PM

yes and fun to use!

SWFans.net 01-29-2002 06:15 PM

It does display to regular users in closed threads. =/

Need to try and make it dumb user friendly, becuase we have plenty of those @_@ dumb users.

Rose 01-29-2002 06:19 PM

:D I love it!!! I haven't added the smilie box yet, though. I think I'll leave it as is, if they want smilies they can click 'reply'. :D Good work, Firefly!!!

Mark Hensler 01-29-2002 06:20 PM

How about putting a preview button on the form and have it submit to the newreply.php page with the preview shown? :)


All times are GMT. The time now is 10:10 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.01981 seconds
  • Memory Usage 1,731KB
  • 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
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (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