vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Show Thread Enhancements - WoG - Quick Selective Quoting (https://vborg.vbsupport.ru/showthread.php?t=232048)

WoGuziczek 01-02-2010 10:00 PM

WoG - Quick Selective Quoting
 
1 Attachment(s)
WoG - Quick Selective Quoting

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 global
  • Add new line to editor after quote


Technical
  • Phrases: 8
  • Plugins: 4
  • Templates : 2
  • Images to upload: 2
  • Files to upload: 1
  • SQL Queries: 0
  • Files to edit: 0
  • Templates to edit: 0*
* - if Auto-Position enabled

Tested & working on
  • Opera 10.10
  • Mozilla Firefox 3.0.16
  • Internet Explorer 7
  • Internet Explorer 6
  • Safari 4.0.4
  • Google Chrome 3.0.195.35


Installation
1-) Import product
2-) Upload all files from directory upload to your root forum directory.
3-) Upload all images from images directory to your style directory.


Upgrade
1-) Import latest product and select Allow Overwrite
2-) If doing changes - revert template wog_qquote_button and wog_qquote_button.css
3-) Reupload all files from directory upload to your root forum directory.
4-) Reupload all files from images directory to your style directory.


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
Code:

{vb:raw wog_quick_quote_button}
to the position in which it is located the button "Quote selected text"


Versions
v1.0.3 - June 25 2011
[ Now working on 4.1.4 < | Only JS file was changed + XML version ]
Special thanks to ForumsMods

v1.0.2 - July 30 2010
- Bug fix vB Class in postbit_display_start.
[ Now working on 4.0.4 < | Only XML was changed ]

v1.0.1 - January 18 2010
- Bug fix in CSS.

v1.0.0 - January 03 2010
- First release for 4.0

ENJOY ;)

Do you like this mod? Please click Mark as Installed and Nominate for MOTM
or say "Thanks" :)


Not install = Not support :]

WoGuziczek 01-03-2010 04:03 PM

Reserved

abbasbsp 01-03-2010 04:25 PM

what vb4 is already released "Reply With Quote" ???

WoGuziczek 01-03-2010 06:48 PM

Quote:

Originally Posted by ichal_spy (Post 1946112)
what vb4 is already released "Reply With Quote" ???

Yes, but my hack allow to select partially texts from few posts.
Reply With Quote - quoting total text of one post.

Kolbi 01-03-2010 07:16 PM

Thank you!

meschiash 01-03-2010 07:27 PM

Thank you! Dziękuję :)

BlackJacket 01-03-2010 09:11 PM

Thanks. This is a very useful mod. Tagged for later.

Hornstar 01-03-2010 09:53 PM

This is very interesting. Tagged for when I upgrade.

Vaupell 01-03-2010 10:21 PM

most excelent..

know quite alot of vb boards on the web that should have this mod.. :D
especially those large gamesites like turbine, funcom and ea. cause i use them.
would have ALOT time saved with this mod..

Tx, voted and rated.

Front Range 4x4 01-04-2010 02:37 PM

Very nice, thanks & installed.

Pathor 01-04-2010 03:13 PM

Thanks! I will install this mod once I upgrade to vB4. :)

4nawadir.com 01-04-2010 03:20 PM

Very nice mod
Thanks
Installed + Notaminated + 5 Stars https://vborg.vbsupport.ru/external/2012/01/12.gif

clmazin 01-04-2010 05:39 PM

Installed. Really like the mod. However, even with the option to have the cursor advanced to a new line after the quote, my cursor is positioned just to the right of the quote (with a space separating the two).

Other than that, excellent work!

C.

WoGuziczek 01-04-2010 07:24 PM

Quote:

Originally Posted by clmazin (Post 1947077)
However, even with the option to have the cursor advanced to a new line after the quote, my cursor is positioned just to the right of the quote (with a space separating the two).

Thanks clmazin.
On which browser?

ldma 01-19-2010 09:08 PM

Having trouble getting this working....selecting text, clicking link, but nothing appearing in quick reply.

adigaorg 01-19-2010 11:40 PM

thank you
is good hack

Gene Steinberg 01-20-2010 01:46 AM

Good Mod, but a minor correction. To keep the style of the Buttons in vB 4, it has to be initial caps.

Thus "Quote selected text" should be "Quote Selected Text." I edited my installed copy, but suggest you follow suit. :)

Peace,
Gene

dieKetzer 01-20-2010 02:12 AM

bravo!
excellent bit of usability, mate.

New Joe 01-20-2010 04:52 AM

I want to add this so it shows on the right of the Report Post triangle:
Quote:

4-) In templates: postbit and postbit_legacy insert variable
Code:

{vb:raw wog_quick_quote_button}

to the position in which it is located the button "Quote selected text"
At the moment it is on the left of the icons

Sador 01-20-2010 10:51 AM

Hm, I wonder.. is it possible to multiquote with this? So if you quoted something with this, and then select another piece of text and quote it again, will both be placed in the quick reply section or will the last quote overwrite the first?

dieKetzer 01-20-2010 11:34 AM

did a quick test, and yes you can multiquote (in a sense).
when you hit the button your text is dumped into the qr editor, and the screen scrolls down to qr anchor. but you can scroll back up and repeat, and the new quote will be appended to the line in its own quote tags. possibly, if one enabled the 'use next line' option it would append the second and following quotes on separate lines.
Quote:

Originally Posted by Sador (Post 1961067)
Hm, I wonder.. is it possible to multiquote with this? So if you quoted something with this, and then select another piece of text and quote it again, will both be placed in the quick reply section or will the last quote overwrite the first?


dieKetzer 01-20-2010 01:03 PM

i am also having this same issue. i have enabled the 'next line' option, but it doesnt appear to have changed anything. browser details in sig
Quote:

Originally Posted by clmazin (Post 1947077)
Installed. Really like the mod. However, even with the option to have the cursor advanced to a new line after the quote, my cursor is positioned just to the right of the quote (with a space separating the two).

Other than that, excellent work!

C.


CHADI-AS 01-20-2010 02:05 PM

Perfect

Gene Steinberg 01-20-2010 02:07 PM

Seems to me the best alternative would be to have a preference as to whether the selective quoting button appears on the left, the default, or the right. What say you folks?

Peace,
Gene

dieKetzer 01-20-2010 02:29 PM

i have mine set to the right of 'multi-quote', because it seemed logical.
if anyone wants to do likewise, drop it here:
PHP Code:

<class="multiquote" href="{vb:raw post.replylink}" rel="nofollow" onclick="return false;" id="mq_{vb:raw post.postid}"><img id="mq_image_{vb:raw post.postid}" src="{vb:stylevar imgdir_button}/trans_40b.png" alt="{vb:rawphrase multi_quote_this_message}" />{vb:rawphrase multi_quote_this_message}</a
                    </
vb:if>{vb:raw wog_quick_quote_button}
                </
span


WoGuziczek 01-20-2010 03:29 PM

Quote:

Originally Posted by ldma (Post 1960607)
Having trouble getting this working....selecting text, clicking link, but nothing appearing in quick reply.

Any information?
Browser, forumlink?
Doesn't working just for you or all?

Quote:

Originally Posted by Gene Steinberg (Post 1960789)
Thus "Quote selected text" should be "Quote Selected Text." I edited my installed copy, but suggest you follow suit. :)

Thanks. I do it ;)

Quote:

Originally Posted by New Joe (Post 1960880)
I want to add this so it shows on the right of the Report Post triangle: At the moment it is on the left of the icons

If you want to add button on the right of the Report Post, you must turn off Auto-Position option and place {vb:raw wog_quick_quote_button} after Report code in postbit.
Example:

Code:

<vb:if condition="$show['reportlink']">
        <a class="report" href="{vb:raw post.reportlink}" rel="nofollow" title="{vb:rawphrase report_bad_post}"><!-- <img src="{vb:stylevar imgdir_button}/report-40b.png" alt="{vb:rawphrase report_bad_post}" /> -->&nbsp;</a> &nbsp;
</vb:if>
{vb:raw wog_quick_quote_button}

Quote:

Originally Posted by dieKetzer (Post 1961173)
i am also having this same issue. i have enabled the 'next line' option, but it doesnt appear to have changed anything. browser details in sig

Thanks. I will check it.

Quote:

Originally Posted by Gene Steinberg (Post 1961223)
Seems to me the best alternative would be to have a preference as to whether the selective quoting button appears on the left, the default, or the right. What say you folks?

It's good idea, but I can't do this by means of hooks in template.
We must do it manually.

Gene Steinberg 01-20-2010 03:32 PM

I'm just hoping not to have to make more template changes. Whenever there's an update in the vB software, I have to go back and double check those things because the upgrade process is so damned inefficient.

Peace,
Gene

WoGuziczek 01-20-2010 04:04 PM

Quote:

Originally Posted by Gene Steinberg (Post 1961309)
I'm just hoping not to have to make more template changes. Whenever there's an update in the vB software, I have to go back and double check those things because the upgrade process is so damned inefficient.

Peace,
Gene

Not necessarily.
If the new version has been changed template - a message appears in the admincp "Template out of date"

ldma 01-20-2010 06:54 PM

Quote:

Any information?
Browser, forumlink?
Doesn't working just for you or all?
It's just me so far, as I'm doing a test environment in LAMPP running off Ubuntu. Forum link PM'd.
Tested in Firefox 3.5 and Chrome.

ldma 01-20-2010 07:15 PM

No worries...working now...just me being a muppet and not extracting the js file properly...

New Joe 01-21-2010 04:36 AM

I have a problem, the button is out of line, see screen shot:
https://vborg.vbsupport.ru/external/2010/01/27.png

If i set it to either auto edit Template or I add it where I want to in the Template it is still out of line.

I'd like it to look the same as in the screen shot or the Mod:
https://vborg.vbsupport.ru/attachmen...1&d=1262541375
In line with everything else.

Anyone else has this problem?
And fix for it?

fayax 01-21-2010 03:28 PM

Very nice! and great utility. Thanks WoGuziczek

texasteamplayer 01-21-2010 03:38 PM

hate to have to upload files for mods. please incorporate into a single plugin import.

Sador 01-21-2010 05:04 PM

It works fine for me, except for the next line thingie, that doesn't seem to work.

Very nice mod though, thanks.

New Joe 01-22-2010 06:55 AM

Quote:

Originally Posted by Gene Steinberg (Post 1960789)
Good Mod, but a minor correction. To keep the style of the Buttons in vB 4, it has to be initial caps.

Thus "Quote selected text" should be "Quote Selected Text." I edited my installed copy, but suggest you follow suit. :)

Peace,
Gene

Where did you edit it and how?

dieKetzer 01-22-2010 10:01 AM

go to 'languages & phrases' > search in phrases then enter 'Quote selected text' to find the phrase to edit.
Quote:

Originally Posted by New Joe (Post 1963152)
Where did you edit it and how?


Dr.osamA 01-25-2010 11:02 PM

installed

thanxxx

can i translate it to Arabic lang. ??
________
Mflb warranty

New Joe 01-25-2010 11:11 PM

Quote:

Originally Posted by dieKetzer (Post 1963240)
go to 'languages & phrases' > search in phrases then enter 'Quote selected text' to find the phrase to edit.

Thanks, now how to get rid of the I?

Dr.osamA 01-30-2010 01:42 AM

1 Attachment(s)
thanxxx agen man

here is in Arabic ;)
________
AMATEUR GERMAN

Cface 02-06-2010 03:30 PM

It'd be really nice if it replaced the "Reply with Quote" button whenever you selected text instead of creating a new button.
And i also get the problem where it combines multiple lines into one.


All times are GMT. The time now is 10:21 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.02430 seconds
  • Memory Usage 1,835KB
  • 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
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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