What is it? / What does it do?
This is a small modification, which adds the possibility of selective quoting.
Highlight the text of your choice, click the appropriate button and the "Quick Reply" you receive the text to quote.
Features
Quick Reply Enabled = Mod Enabled
Including username and postid to quote
Support WYSIWYG & Standard Editor
Auto & Manual Position
Turn off the hack for specified usergroups
Technical
Phrases: 7
Plugins: 4
Templates : 1
Images to upload: 1
Files to upload: 0
SQL Queries: 0
Files to edit: 0
Templates to edit: 0*
* - if Auto-Position enabled
Tested & working on
Opera 9.62
Mozilla Firefox 3.0.4
Internet Explorer 7
Safari 3.2.1
Google Chrome 1.0.154.36
Installation
1-) Upload image quickquote.gif to your style directory. (example in attachment)
2-) Import product
Upgrade
1-) Import latest product and select Allow Overwrite
2-) If doing changes - revert template wog_quick_quote_button
You don't want Auto-Position?
1-) Log in to AdminCP
2-) vBulletin Options -> vBulletin Options -> WoG - Quick Selective Quoting
3-) Auto-Position -> Select No
4-) In templates: postbit and postbit_legacy insert variable $wog_qquote_button
to the position in which it is located the button "Quick Quote"
Versions v1.2.1 - January 12 2009
- Mod tested & working on vBulletin 3.8
- Changed URL to modification thread.
v1.2.0 - December 20 2008
- FiX Bug - $template_hook[postbit_controls]. Thanks for RaidenDAWG2
- FiX Bug - not parsed phrase $vbphrase[wog_qquote_no].
- Add options Turn off the hack for specified usergroups.
- Renewal of the source code (support more browsers)
v1.1.0 - November 09 2008
- Add Auto & Manual Position
- Quick Reply Enabled = Mod Enabled (revised)
I have installed this. However, the code does not execute for me. even when I insert it manually, the script is not in the source code on the resulting page.
I have installed this. However, the code does not execute for me. even when I insert it manually, the script is not in the source code on the resulting page.
tidefans, hmmm... probably does not work automatically insert code ... Make sure your template "showthread" found
Code:
<!-- quick reply -->
If you do not have - add
Quote:
Originally Posted by ejbreeze
I have a code that I used on an old board. I can give it to you if it would help with placement.
<img src="$skin_icon_url/quote.gif" title="Copy highlighted text to new message" alt="Copy highlighted text to new message" border="0" height="16" onMouseDown="copy_selection('$message->{author}','<#date $message->{time} format "$L{LONGDATE}"#>','#POST$message->{number}')" onMouseOver="javascript:if (style) style.cursor = 'pointer';">
and this was in the skin:
PHP Code:
function copy_selection(message_author,post_date,link_post,author_profile) {
if (document.getSelection) {
//for Netscape
var str = document.getSelection();
document.userpass.message.value+="\\quote_with_link{"+message_author+","+post_date+","+link_post+","+message_author+","+str+"}";
document.userpass.message.focus();
} else if (document.selection) {
//for Internet Explorer
var str = document.selection.createRange().text;
document.userpass.message.value+="\\quote_with_link{"+message_author+","+post_date+","+link_post+","+message_author+","+str+"}";
document.userpass.message.focus();
var rng = document.userpass.message.createTextRange();
rng.collapse(false);
rng.select();
} else {
//display message if browser does not support above methods.
window.alert("Your browser does not support this feature");
return;
}
}
Hi
when i make quick quoting for example 3 rows (lines) its make it one line !!
& if i make quick quoting for some large and colored words it make it small and no colored words !!
can you fix that ?