Quoting a quote - Script bug Quick quote? Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
2 posters

    Quoting a quote - Script bug Quick quote?

    avatar
    Guest
    Guest


    In progress Quoting a quote - Script bug Quick quote?

    Post by Guest December 2nd 2016, 11:30 pm

    Technical Details


    Forum version : #phpBB3
    Position : Founder
    Concerned browser(s) : Google Chrome
    Screenshot of problem : https://i.servimg.com/u/f37/18/65/11/87/112210.png
    Who the problem concerns : All members
    When the problem appeared : When installing the Quick Quote script
    Forum link : http://faqts.do-talk.com/

    Description of problem

    Hello,

    When quoting a quote the username transforms into extra text, see image.
    This happens when using the Quick Quote script from here https://help.forumotion.com/t134813-quick-quote

    Did I do something wrong? Is it a combination bug with the Tagging script?

    The original script
    Code:
    $(function(){
      var forum_version = 1,
      new_button = false,
      quote_image = 'http://i39.servimg.com/u/f39/18/21/60/73/quick10.png';
     
      if (forum_version == 0) n = [".postbody div",".name strong a"];
      if (forum_version == 1) n = [".postbody .content div",".postprofile dl dt strong a"];
      if (forum_version == 2) n = [".entry-content div",".username a"];
      if (forum_version == 3) n = [".post-entry div",".postprofile-details dt a + br + a"];
      if (new_button == true) { q = ".quickquote"; $(forum_version==1?"li:has(.i_icon_quote)":"a:has(.i_icon_quote)").after($('<li style="display:inline-block;list-style:none;"><a href="#quick_reply"><img src="'+quote_image+'" class="quickquote" alt="Quick quote" title="Quick quote" /></a></li>')) }
      if (new_button == false) { q = "a:has(.i_icon_quote)"; $("a:has(.i_icon_quote)").attr("href", "#quick_reply"); $(".i_icon_quote").attr("title", "Reply with quote") }
     
      $(document).on('mouseup',n[0],function(e){
        qtext = $(this).parents(".post");
        if (window.getSelection) theSelection = window.getSelection().toString();
        else if (document.getSelection) theSelection = document.getSelection();
        else if (document.selection) theSelection = document.selection.createRange().text;
      }); 
     
      $(q).click(function () {
        if (typeof qtext == 'undefined') return;
        uname = qtext.find(n[1]).text();
        $("div.sceditor-toolbar + iframe").contents().find("body").append('<blockquote><cite>' + uname + '</cite>' + theSelection + '</blockquote> <br />');
        $('.sceditor-container textarea')[0].value += '[quote="' + uname + '"]' + theSelection + '[/quote]'
      });
      var n,q;
    });
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: Quoting a quote - Script bug Quick quote?

    Post by SLGray December 3rd 2016, 9:25 pm

    Did you have a section where guests can post? If yes, please post a link to it.



    Quoting a quote - Script bug Quick quote? Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    Guest
    Guest


    In progress Re: Quoting a quote - Script bug Quick quote?

    Post by Guest December 3rd 2016, 9:45 pm

    It seems guests are not able to use the quote button, I send you a pm with a test account and link
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: Quoting a quote - Script bug Quick quote?

    Post by SLGray December 4th 2016, 11:27 am

    I have used it and saw the issue. 

    Try this:  remove the tutorial and redo it.



    Quoting a quote - Script bug Quick quote? Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    Guest
    Guest


    In progress Re: Quoting a quote - Script bug Quick quote?

    Post by Guest December 4th 2016, 11:37 am

    The issue was never there, only with the Quick Quote script added this happens, when it is turned off all is fine.
    SLGray
    SLGray
    Administrator
    Administrator


    Male Posts : 51554
    Reputation : 3523
    Language : English
    Location : United States

    In progress Re: Quoting a quote - Script bug Quick quote?

    Post by SLGray December 4th 2016, 11:40 am

    I know.  Remove it and redo it.



    Quoting a quote - Script bug Quick quote? Slgray10

    When your topic has been solved, ensure you mark the topic solved.
    Never post your email in public.
    avatar
    Guest
    Guest


    In progress Re: Quoting a quote - Script bug Quick quote?

    Post by Guest December 4th 2016, 12:02 pm

    Now the Quick quote doesn't work at all anymore, as normal quote button Shocked

    It does work when selecting text, and then it also displays more correct, not double anymore. But it does not generate quotes inside quotes.
    avatar
    Guest
    Guest


    In progress Re: Quoting a quote - Script bug Quick quote?

    Post by Guest December 7th 2016, 2:56 pm

    new addition to the problem, which I think is related to not displaying quotes inside quotes.

    It also does not display our smileys, they just get removed
    avatar
    Guest
    Guest


    In progress Re: Quoting a quote - Script bug Quick quote?

    Post by Guest December 19th 2016, 5:06 pm

    bump
    avatar
    Guest
    Guest


    In progress Re: Quoting a quote - Script bug Quick quote?

    Post by Guest December 24th 2016, 3:06 pm

    Bump, and Happy Holidays
    avatar
    Guest
    Guest


    In progress Re: Quoting a quote - Script bug Quick quote?

    Post by Guest December 31st 2016, 5:23 pm

    Bump
    avatar
    Guest
    Guest


    In progress Re: Quoting a quote - Script bug Quick quote?

    Post by Guest January 6th 2017, 8:47 pm

    Bump
    avatar
    Guest
    Guest


    In progress Re: Quoting a quote - Script bug Quick quote?

    Post by Guest January 21st 2017, 4:21 am

    Well no help here, just close it down then Hello
    Ape
    Ape
    Administrator
    Administrator


    Male Posts : 19432
    Reputation : 2010
    Language : fluent in dork / mumbojumbo & English haha

    In progress Re: Quoting a quote - Script bug Quick quote?

    Post by Ape January 21st 2017, 4:05 pm

    We are sorry this has took a long time but the maker of that code is no longer coming in the forum so we can't really help as we are not all coders.

    I will lock this as you have asked for but if you want more help it maybe a good move to PM the member @Ange Tuteur that made the code you never know he may get back to you

    Topic moved to the garbage.
    Please read our forum rules: ESF General Rules



    Quoting a quote - Script bug Quick quote? Left1212Quoting a quote - Script bug Quick quote? Center11Quoting a quote - Script bug Quick quote? Right112
    Quoting a quote - Script bug Quick quote? Ape_b110
    Quoting a quote - Script bug Quick quote? Ape1010