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-28-2002 10:00 PM

Here's an easy one, it barely took 4 minutes to do. :china:
This hack will add a quick replying box at the bottom of all threads, only if the user has permission to reply, so when you need to reply to something real quickly you don't need to click the Post Reply button and wait for the page to load.

Instructions are in the attached .txt file, and if you want a demo... just look below. :D

NOTE: For the vB 2.3.2 version please see this post.

Extras:
  • If you want users who have the Use Email Notification option ON, to automatically subscribe to threads they reply to with this hack, see this post.
  • If you want to add an option for each user to turn this feature on and off, please see this post.
  • If you want smilies in your quick reply box please see this post.

Lesane 01-29-2002 01:31 PM

cool :cool:

Its kinda similiar to this one though:
https://vborg.vbsupport.ru/showthrea...ighlight=quick

Admin 01-29-2002 01:33 PM

Sorry, I didn't know this already exists.
Still mine only shows up for users that can reply to the thread, not to all users. :)

Mark Hensler 01-29-2002 01:40 PM

How about throwing a switch in the User CP so the user can toggle it on/off?

Steve Machol 01-29-2002 01:52 PM

Nice job! It would be great to see this in vB 3.0. :cool:

Martyjp 01-29-2002 01:53 PM

Seems to be a hit with my members

*clicks on install*

Jawelin 01-29-2002 02:03 PM

Very cool, Chen!

I'm planning to install it with a small variation: as I don't like that textbox at the end of the thread, I'll put a button or a link near the existing [Post Reply], something like [Quick Reply], and will open a javascript page with the textbox as you proposed.

What do you think about ? :)

Thanks a lot for sharing your work.

P.S.: what about closed threads ? Are they managed ?
Thnx

fresh_froot 01-29-2002 02:08 PM

Great addition :) A quick install, painless and easy.

Im posting using it right now!

Admin 01-29-2002 02:22 PM

Thanks. :pleased:

Mark - I don't really think that's necessary.

Jawelin - That would pretty much ruin the whole idea of a quick reply box, because if you open it in a new window you have to load all the global, sessions, etc. stuff just like on the regular new reply, so I don't think it would be much faster, if at all.

Neopiper 01-29-2002 02:33 PM

does it work on 2.2.1? i tried to install it and the box didnt show up :p

squawell 01-29-2002 02:35 PM

FireFly did u think add some smile icons in that function~~

and nice job :up:

Steve Machol 01-29-2002 02:37 PM

Quote:

Originally posted by Neopiper
does it work on 2.2.1?
Well since it's running here and this forum is running 2.2.1, the answer would be yes! ;)

Neopiper 01-29-2002 02:43 PM

hmm yeah, the box just didnt show up :)

cihangir 01-29-2002 02:43 PM

Quote:

1. In showthread.php find this bit of code:
if (!$getperms['canviewothers'] and $thread...
this code appears at 2 places. the first one is at line ~55 and the 2. one at 230. after which one must i add the changes to it?

Lionhead 01-29-2002 02:45 PM

Very useful hack

Thx a ton :)

Neopiper 01-29-2002 02:50 PM

never mind, i forgot to upload showthread.php :) duh hahahahahaha

Admin 01-29-2002 02:53 PM

cihangir - thanks, I fixed the text file in the first post.
Neopiper - that's probably why the hack didn't work for you, try again now.

Neopiper 01-29-2002 02:56 PM

it works great, thx firefly :)

JTMON 01-29-2002 03:11 PM

This looks great Chen! How would I add the smilie box to the left of it though as my members love their smilies:D

Timber Wolf 01-29-2002 04:06 PM

Great will be installing this one for sure.

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

-=dm=- 01-29-2002 06:44 PM

FireFly thanx again for cool hack:) working fine.
for the smillies
Quote:

$clickysmilies
where should I add this, can u please explain?

thanx

Gutspiller 01-29-2002 07:22 PM

FireFly a few of my users would like quote buttons on it. How exactly would I make two quote buttons under the message field? I was thinking even just two text buttons under the message field right next to the "[check message length]" button. All they need to do is one put the [ quote] tag in and the other put the [ /quote] tag in. Unless you can do something fancier, this is all I require. Can you please add this to it?

Thanks for any help you can provide. I love the hack, It would be nice to have colaspable tables that users could contract or expand that had icons and that saved their settings, but that would take more than 4 minutes. :D

Psychdrone 01-29-2002 11:19 PM

hmmmm this is pretty neat indeed!

Yet are there any other people out there with me, that think this will increase spam, as how easy it is to reply?

thats probaly why I wouldn't install it, but none the less great hack chen!

Martin CX 01-29-2002 11:46 PM

Very nice twist on the original hack (which really wasn't anything but a template edit), Firefly! I've installed it w/o any problems, but I've added a preview button. "Preview is good... preview is ...good". :D

epi 01-29-2002 11:55 PM

if you want to add the smiles do what firefly said and then find
this in quick reply templete
Your Reply:</b></normalfont></td>

--------------------------------------------------------------------------------change to
Your Reply:</b></normalfont><p>$clickysmilies</td>

Twig Deez 01-30-2002 12:18 AM

excellent. :D

Jakeman 01-30-2002 01:19 AM

ugh! i may have to install this one. i didn't want to butcher my forums any more... :mad: ;)

fonzerelli_79 01-30-2002 01:33 AM

this is a very quick reply

fonzerelli_79 01-30-2002 02:02 AM

for anyone who added the smilies to the side of the replybox
i found that changing the number or rows in the textarea from 7 to 15 makes it look a lot better

also, the right is crying for the most popular vbcode options ie quote, img etc

Parker Clack 01-30-2002 02:31 AM

Another great hack!

Parker


All times are GMT. The time now is 05:22 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.02077 seconds
  • Memory Usage 1,792KB
  • 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
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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