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 Quote! (https://vborg.vbsupport.ru/showthread.php?t=54759)

Sam FT 06-26-2003 07:15 PM

Quote:

Today at 05:27 AM corsacrazy said this in Post #5
would it be possible to click the quick quote button and the text automatically goes into my existin quick reply box at the bottom ?
I too like to see this happen.

Skyline_GT 06-26-2003 08:12 PM

Quote:

Today at 12:15 PM Mist said this in Post #6
Nice work - this is really what i want on my forums but i'd like it to work with the quick reply hack so when you click the quick quote button or whatever that its automatically quoted in the quick reply box. Any chance you could write an addon for the hack in this thread plz :)?

- miSt

Wow if that's possible, it would be great.

EvilLS1 06-26-2003 08:22 PM

Quote:

Today at 09:04 PM iggy123 said this in Post #20
when i try it now - it sort of works but the quote only shows the first character of the first word and that is it.
Hmmm.. Weird. Anyone else having this problem?

What version of VB are you using?

EvilLS1 06-26-2003 11:19 PM

Quote Selected Add-On for FireFly's Quick Reply hack:

{Edit} Not to be confused with my "Quick Quote II" hack for Quick Reply which can be found here:
https://vborg.vbsupport.ru/showthrea...&postid=414625
These are two completely different modifications so be sure to check out Quick Quote II aswell and decide which one you want (or you can install both of them).


Note: This is a completely separate add-on and works independantly from the Quick Quote hack posted in this thread. Infact, no hacking is necessary for this add-on.. Its all done with javascript. This can be used in addition to the Quick Quote hack, or separately.

To use this add-on you must have FireFly's "Quick Reply" hack already installed.

How it works: Once you've installed this add-on you will see an extra button below your Quick Reply form that says "Quote Selected".

Simply hold down your left mouse button and highlight some text within a thread, then scroll down to your quick reply box and click the "Quote Selected" button.. The text that you highlighted will be inserted into the quick reply box with quote tags around it..

See Screenshot.

You can quote an entire post, or just certain parts of multiple posts within the thread.

Credits: I addapted this to work with vBulletin from a phpBB hack by RustyDragon.

Known issues: Doesn't work with Mozilla browsers. It works fine with internet explorer and variants. Haven't tested on Opera.

Note: If you have clickable smilies with your Quick Reply you will need to find and replace ALL occurrences of "vbform" with "post" in the following places:

vbcode.js
newreply template
newthread template
vbcode_popup_smilies template
priv_sendprivmsg template
priv_sendtobuddies template
calendar_enterevent template
editpost template

Download Quote Selected Add-On for Quick Reply:

gwhooooey 06-26-2003 11:42 PM

Any chance you could get that to work like you have for FireFly's quick reply...for this one as well?

EvilLS1 06-26-2003 11:45 PM

Quote:

Today at 01:42 AM gwhooooey said this in Post #25
Any chance you could get that to work like you have for FireFly's quick reply...for this one as well?

It should work with that one aswell.. Just apply those same changes in the showthread template.

Erwin 06-26-2003 11:51 PM

Great ideas! Well done!

Velocd 06-27-2003 02:33 AM

Nice, the "select text" and quote concept is great.
;)

[high]* Velocd installs[/high]

Velocd 06-27-2003 03:13 AM

I have Teck's quick reply hack installed, but there shouldn't be too much variation from Firefly's version.

Yet, I'm receiving a javascript error when I click "Quote selected."

The error is originating in this error of the code:
Code:

        function emoticon(text) {
                if (document.post.message.createTextRange && document.post.message.caretPos) {
                        var caretPos = document.post.message.caretPos;
                        caretPos.text = caretPos.text.charAt(caretPos.text.length - 1) == ' ' ? text + ' ' : text;
                        document.post.message.focus();
                } else {
                        document.post.message.value  += text;
                        document.post.message.focus();
                }
        }

I've renamed the <form> to "post," and did the installation exactly, yet it doesn't seem to function.

EvilLS1 06-27-2003 03:16 AM

Thanks fellas..

Velocd,
What browser are you using? Can you post or pm me the entire contents of your showthread_replybox template?

Edit: Ignore this attachment.. Its for another post.


All times are GMT. The time now is 01:12 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.01350 seconds
  • Memory Usage 1,746KB
  • 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
  • (1)bbcode_code_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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