Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons

Reply
 
Thread Tools
Quick Quote for Quick Reply Details »»
Quick Quote for Quick Reply
Version: 1.00, by RedTyger RedTyger is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: Show Thread Enhancements - Version: 3.6.7 Rating:
Released: 06-10-2007 Last Update: 06-10-2007 Installs: 23
Template Edits
Additional Files  
No support by the author.

=Quick Quote for Quick Reply=


What does it do?
I was unsatisfied with the new multiquote addition to vBulletin and was wanting a truly quick and easy quoting method, primarily one that worked with Quick Reply since the others are quite workable.

So this is what I came up with. It's used simply by highlighting a post's text with your mouse. The highlighted text is transferred to Quick Reply as a formatted quote. To clear the highlighted text, click OUTSIDE the currently highlighted area or it'll add the quote again. So if you want to quote multiple posts (especially parts of multiple posts) instead of faffing around with quote or multiquote you just go down the page highlighting each bit of text you want to quote. Much better!

I wrote it for my own forum which unfortunately isn't open yet so you can't try before you buy, but you can get an idea from the screenshot.


Instructions
Upload quickquote.js to your forum's clientscript folder.

Go to AdminCP > Style Manager > Edit Templates and...
Open the SHOWTHREAD template:
FIND:
Code:
</head>
ADD ABOVE:
Code:
<script type="text/javascript" src="clientscript/quickquote.js"></script>


Open the POSTBIT template:
FIND:
Code:
<div id="post_message_$post[postid]">
$post[message]
</div>
REPLACE WITH:
Code:
<div id="post_message_$post[postid]" onmouseup="quickquote('$post[musername]', '$post[postid]');">
$post[message]
</div>
That's it!


Notes:
- Does NOT work with the WYSIWYG quick reply editor. Same problem I had with another modification, I still can't for the life of me work out how to get text to transfer to it. Offers of a solution most welcome.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 06-11-2007, 11:42 AM
alessai alessai is offline
 
Join Date: Feb 2006
Posts: 153
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hmmmmm, so if we highlighted any text while reading the thred it will quote it automaticalley ?
Reply With Quote
  #3  
Old 06-11-2007, 11:59 AM
Sofia Sofia is offline
 
Join Date: Oct 2006
Location: France
Posts: 725
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for this hack, i will test it
Reply With Quote
  #4  
Old 06-11-2007, 12:03 PM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by alessai View Post
hmmmmm, so if we highlighted any text while reading the thred it will quote it automaticalley ?
That would be correct, yes.
Reply With Quote
  #5  
Old 06-11-2007, 12:23 PM
TheBlackPoet's Avatar
TheBlackPoet TheBlackPoet is offline
 
Join Date: May 2006
Location: Pasadena, Texas, USA
Posts: 577
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

it sounds like a good one.. a really cool one..., but its didnt work for me... but i will be watching for this one....
Reply With Quote
  #6  
Old 06-11-2007, 12:25 PM
RedTyger's Avatar
RedTyger RedTyger is offline
 
Join Date: Nov 2006
Location: UK
Posts: 1,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TheBlackPoet View Post
it sounds like a good one.. a really cool one..., but its didnt work for me... but i will be watching for this one....
Are you using the WYSIWYG editor? It won't work with that, but it will work with the other types.
Reply With Quote
  #7  
Old 06-11-2007, 12:39 PM
Milad's Avatar
Milad Milad is offline
 
Join Date: Apr 2005
Location: Syro
Posts: 663
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think it's better to add a click-able link per post, on clicking that link the highlighted text will be quoted.
Reply With Quote
  #8  
Old 06-11-2007, 01:06 PM
subnet_rx subnet_rx is offline
 
Join Date: Mar 2005
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Milad View Post
I think it's better to add a click-able link per post, on clicking that link the highlighted text will be quoted.
I agree, and you've got to get it working in a WYSIWYG. Then this would be a great hack to have. I constantly find myself having to highlight parts of a huge post or deleting large chunks to reply to what I'd like to discuss.
Reply With Quote
  #9  
Old 06-11-2007, 07:29 PM
aggiefan aggiefan is offline
 
Join Date: Apr 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i agree... we use wysiwyg and would like to have this hack....
Reply With Quote
  #10  
Old 06-11-2007, 11:02 PM
aveon's Avatar
aveon aveon is offline
 
Join Date: May 2006
Posts: 410
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i didnt eve get what this is for can u give lil bit more detail
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:07 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.04305 seconds
  • Memory Usage 2,290KB
  • Queries Executed 23 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete