Advertisement:

Author Topic: dQuoteSelection  (Read 13784 times)

Offline lovearat

  • Charter Member
  • Full Member
  • *
  • Posts: 447
  • Gender: Female
    • Lovearat.us  Rat Terrier Forum
Re: dQuoteSelection
« Reply #20 on: September 14, 2009, 12:45:38 PM »
I've got it going now.  :)  And I love it!! Thanks for this mod. Great job!!
<span style="font-size: 12px; color: red;">Do Not Pm Me For Support. Please use the appropriate board</span>

Offline Sysgen

  • Semi-Newbie
  • *
  • Posts: 10
Re: dQuoteSelection
« Reply #21 on: November 05, 2009, 04:38:03 PM »
Would it be possible to modify this Mod to use the Normal reply insead of the quick reply? I've got quick reply disabled beause my forum is used mainly by elderly's and I've turned off every bells and whisles in order to not confuse them.

Thanks for letting me know.

Offline digger

  • Full Member
  • ***
  • Posts: 470
  • Gender: Male
    • SamaraLan Forum
Re: dQuoteSelection
« Reply #22 on: November 06, 2009, 02:20:20 AM »
Would it be possible to modify this Mod to use the Normal reply insead of the quick reply? I've got quick reply disabled beause my forum is used mainly by elderly's and I've turned off every bells and whisles in order to not confuse them.

Thanks for letting me know.

It's not easy to send selected text into normal reply page.

Offline poolhall

  • Jr. Member
  • **
  • Posts: 316
Re: dQuoteSelection
« Reply #23 on: November 23, 2009, 11:45:46 PM »
This is one of the most useful modifications out there. Thanks a lot for updating!

Offline saosangmo

  • Jr. Member
  • **
  • Posts: 157
    • Bien quang cao
Re: dQuoteSelection
« Reply #24 on: January 03, 2010, 03:48:14 AM »
Thank digger for your nice mod.

When users don't select any text, the function of this mod will quote the whole of post?

thanks!
-saosangmo
bien quang cao sua chua dieu hoa
crane and lifting vehicles in Vietnam

Offline digger

  • Full Member
  • ***
  • Posts: 470
  • Gender: Male
    • SamaraLan Forum
Re: dQuoteSelection
« Reply #25 on: January 06, 2010, 03:25:52 AM »
When users don't select any text, the function of this mod will quote the whole of post?

Yes

Offline Enders

  • Jr. Member
  • **
  • Posts: 151
Re: dQuoteSelection
« Reply #26 on: January 24, 2010, 02:24:46 AM »
You should be able to select the text in the full reply and quote them also.... not just on post view

Offline luismanson

  • Jr. Member
  • **
  • Posts: 168
Re: dQuoteSelection
« Reply #27 on: January 29, 2010, 05:02:50 PM »
thanks for this mod!:

Spanish:
Code: [Select]
$txt['dQuoteSelection_txt'] = 'Quote (selección)';

Offline tripl3r

  • Semi-Newbie
  • *
  • Posts: 63
Re: dQuoteSelection
« Reply #28 on: February 01, 2010, 06:46:03 AM »
I agree excellent mod!, if only we could get it to work in normal reply also then I'd be so happy!!

Offline Zmey

  • Semi-Newbie
  • *
  • Posts: 13
Re: dQuoteSelection
« Reply #29 on: March 04, 2010, 06:20:08 PM »
When using WYSIWYG quick reply mod on SMF 2 RC2 the text is not quoted if WYSIWYG mode is enabled in editor.

The fix:
in Themes/default/scripts/topic.js in quote_selection function change
Code: [Select]
      document.postmodify.message.value += '[quote author=' + cAuthor + ' link=' + quote_link + ' date=' + cDate + ']' + TextSelection.replace(/(^\s+)|(\s+$)/g, "") + '[/quote]\n';
to:
Code: [Select]
      oEditorHandle_message.insertText('[quote author=' + cAuthor + ' link=' + quote_link + ' date=' + cDate + ']' + TextSelection.replace(/(^\s+)|(\s+$)/g, "") + '[/quote]\n', false, true);

If using SMF 2 RC1 use "editorHandlemessage" instead of "oEditorHandle_message".

Offline steve51184

  • Sr. Member
  • ****
  • Posts: 772
Re: dQuoteSelection
« Reply #30 on: March 04, 2010, 06:37:19 PM »
any chance of a fix for rc2? :-*

Offline Zmey

  • Semi-Newbie
  • *
  • Posts: 13
Re: dQuoteSelection
« Reply #31 on: March 05, 2010, 07:51:22 AM »
any chance of a fix for rc2? :-*

This fix is for RC2. :)

Offline steve51184

  • Sr. Member
  • ****
  • Posts: 772
Re: dQuoteSelection
« Reply #32 on: March 09, 2010, 07:36:17 PM »
rc3 update?

Offline digger

  • Full Member
  • ***
  • Posts: 470
  • Gender: Male
    • SamaraLan Forum
Re: dQuoteSelection
« Reply #33 on: March 09, 2010, 07:43:00 PM »

Offline steve51184

  • Sr. Member
  • ****
  • Posts: 772
Re: dQuoteSelection
« Reply #34 on: March 09, 2010, 07:52:25 PM »
thank you very much :)

Offline sremick

  • Jr. Member
  • **
  • Posts: 376
  • I run yet another gaming forum, but it's on SMF!
    • NinStation Game & Tech Forums
Re: dQuoteSelection
« Reply #35 on: March 10, 2010, 05:14:07 PM »
It doesn't make sense to change the text of the [Quote] button to "[Quote] (Selected)" since it won't quote the selected text unless using quickreply. You should just leave the button text alone.
NinStation Game & Tech Forums: http://www.ninstation.com/

Offline steve51184

  • Sr. Member
  • ****
  • Posts: 772
Re: dQuoteSelection
« Reply #36 on: March 14, 2010, 12:45:37 AM »

Offline steve51184

  • Sr. Member
  • ****
  • Posts: 772
Re: dQuoteSelection
« Reply #37 on: March 15, 2010, 05:44:55 PM »
When using WYSIWYG quick reply mod on SMF 2 RC2 the text is not quoted if WYSIWYG mode is enabled in editor.

The fix:
in Themes/default/scripts/topic.js in quote_selection function change
Code: [Select]
      document.postmodify.message.value += '[quote author=' + cAuthor + ' link=' + quote_link + ' date=' + cDate + ']' + TextSelection.replace(/(^\s+)|(\s+$)/g, "") + '[/quote]\n';
to:
Code: [Select]
      oEditorHandle_message.insertText('[quote author=' + cAuthor + ' link=' + quote_link + ' date=' + cDate + ']' + TextSelection.replace(/(^\s+)|(\s+$)/g, "") + '[/quote]\n', false, true);

If using SMF 2 RC1 use "editorHandlemessage" instead of "oEditorHandle_message".


i've done that fix but when i select some text and click quote it goes to the quick reply box but there's nothing there

normal quotes work fine though and it also works with wysiwyg turned off on the quick reply box

Offline kfiasche

  • Semi-Newbie
  • *
  • Posts: 11
Re: dQuoteSelection
« Reply #38 on: March 17, 2010, 12:17:06 PM »
attach italian language

Offline atfosan

  • Semi-Newbie
  • *
  • Posts: 42
  • Gender: Male
  • Drupal liker
Re: dQuoteSelection
« Reply #39 on: March 28, 2010, 12:58:54 AM »
Ну что, когда ждать новую версию и ждать ли вообще?
my SMF project - school site: forum with PortaMx and SimpleSEF mods