Not signed in (Sign In)

Categories

Vanilla 1.1.4 is a product of Lussumo. More Information: Documentation, Community Support.

Help keep Vanilla free:
Welcome Guest!
Want to take part in these discussions? If you have an account, sign in now.
If you don't have an account, apply for one now.
    •  
      CommentAuthorBergamot
    • CommentTimeApr 10th 2006
     # 1
    This extension adds a "quote" button to the upper right corner of each comment. When clicked on, javascript transfers the contents of that post to the comment field at the bottom of the page.

    The extension also includes a stylesheet that styles the blockquote and cite elements inside a comment.

    By default, this extension outputs HTML markup, but it now includes a script for outputting BBCode markup instead.

    It is recommended that you use the Better BBCode Extension with this extension, rather than the original BBCode Extension, as the original extension has problems with nested tags.
    • CommentAuthordhdesign
    • CommentTimeMar 27th 2007 edited
     # 2
    Why does this show the version number in the addons repository as 1.5, but default.php shows the version number as 1.6? It's causing the "Check for Updates" to come back and tell me that there's a new version to download:

    Quotations 1.6
    Version 1.5 is available. Download
    • CommentAuthorStarMatt
    • CommentTimeApr 17th 2007
     # 3
    Hi, when I make a quote with your addon, I see in the quote all "ForcedBBcode" addon's items of the quoted post.
    Exemple : [b]text[b], [p]text[p]...
    What can I do ?

    Thanks.
    •  
      CommentAuthorØ
    • CommentTimeApr 18th 2007
     # 4
    Well if you have ForcedBBCode enlabed, you shouldn't see any BBCode tag once your comment is posted.
    • CommentAuthorStarMatt
    • CommentTimeApr 18th 2007 edited
     # 5
    •  
      CommentAuthorØ
    • CommentTimeApr 18th 2007
     # 6
    That's because div and span are HTML tags. They can't be used as BBCode tags. Now the problem is to know why there are HTML tags here if you don't use a HTML formatter...

    Maybe you should try AjaxQuote and see if you have the same problem with this extension.
    • CommentAuthorStarMatt
    • CommentTimeApr 18th 2007
     # 7
    This extension is perfect, thank you a lot.

    See you.
    • CommentAuthorshokk
    • CommentTimeApr 21st 2007
     # 8
    Where do we get version 1.6?
    • CommentAuthorAhYap.com
    • CommentTimeApr 22nd 2007 edited
     # 9
    The Quotations extension will quote the Signature as well if you use the Signature extension.
    (Signature Extension)

    Add this 2 lines in quote.js

    var pattern = /<span class=\"CommentSignature\">.*<\/span>/;
    commentText = commentText.replace(pattern, "");


    after

    commentText = dumpCodeTree(document.getElementById("CommentBody_" + commentId));
    •  
      CommentAuthorblizeH
    • CommentTimeApr 22nd 2007
     # 10
    Does this extension support multiple pages yet out of interest?
  1.  # 11
    Additionally - this extension does not work if the user's handle has an apostrophe. Please advise.
    • CommentAuthormbirth
    • CommentTimeApr 30th 2007
     # 12
    Could you make this Extension work with the TinyMCE addon? You should check for TinyMCE and call tinyMCE.triggerSave() before adding the Quotation-code and tinyMCE.updateContent('Body') afterwards.
  2.  # 13
    somewhere on this forum there is code to do that.
    i think.let me know if u can't find it
  3.  # 14
    It's not easy to find. Can you please advise.
  4.  # 15
    u guys should use Ajaxquote instead
    Dinobof has the changes to make it work with Tinymce
    http://lussumo.com/community/?CommentID=47064
    • CommentAuthorscherem
    • CommentTimeMay 31st 2007
     # 16
    I'm finding every time I use this, the code is grabbing the [p] html tags (even though I'm using bbcode). So all quotes come out looking like:

    [p]this is a quote[/p]

    instead of:
    this is a quote.

    Suggestions?
    • CommentAuthorInsannino
    • CommentTimeJun 4th 2007
     # 17
    Doesn't seem to be working when FCKeditor has already been installed.

    Do you have any ideas what lines of code I need to change.

    Thanks a lot in advance.
    •  
      CommentAuthorVaz
    • CommentTimeJun 4th 2007 edited
     # 18
    edit--
    • CommentAuthorscherem
    • CommentTimeJun 4th 2007
     # 19
    @AhYap.com I've made your alterations and its not working for me--- is it possible because I'm using bbcode and not html?
    • CommentAuthorretoid
    • CommentTimeJun 16th 2007 edited
     # 20
    Hmm for some reason this is not working properly for me.
    I renamed the quote.js to quote-html.js and then renamed the quote-bb.js to quote.js
    and I am using the Forced BBCode 0.1.0 extension as well. But still the quote is trying to use html commands. <quote><cite></cite></quote>

    Any ideas what I might be doing wrong?

    Also tried this with BetterBBCode extension. It still chooses to use html

    EDIT: Fixed. Please note that just renaming the quote.js file to quote-html.js and renaming quote-bbcode.js to quote.js wont work. You must also remove quote-html.js from the extensions/quotations/ folder.
    • CommentAuthortabs
    • CommentTimeJul 6th 2007
     # 21
    can anybody help? when i quote a message with vanillacons, the vanillacons are all in errors...how can i fix this? since vanillacons are using ::filename:: it seems that quotations doesnt understand it...
  5.  # 22
    As a side note, if you get PHP errors with this plugin, it's the casing. There's an instance of CommentGrid that is incorrectly cased as commentgrid.
    • CommentAuthorSasquatch
    • CommentTimeJul 19th 2007
     # 23
    I haven't tested yet but the previous Quotations was causing problems in ie6. Any thoughts. It would make posts run together and mess with layout and background color.
    • CommentAuthorbbaker
    • CommentTimeJul 24th 2007
     # 24
    I'm having the same problem as "tabs".....vanillacons are not getting quoted properly. Has anyone made a fix for this? I'm going to attempt it myself, but I'm not that handy with js.
    •  
      CommentAuthorWanderer
    • CommentTimeJul 24th 2007 edited
     # 25
    Sorry, ignore this, I miss-read the comment above.
    (I wish there was a delete comment feature) pic

    Posted: Wednesday, 25 July 2007 at 11:43AM

    • CommentAuthorbbaker
    • CommentTimeJul 25th 2007
     # 26
    may not be the best javascript coding, but this worked for me:

    just above the line: if(tagName != "")

    add:

    if (tagName == "img") {
    for (var j = 0; j < children[i].attributes.length; j++)
    {
    attributeName = children[i].attributes[j].name;
    attributeValue = children[i].attributes[j].value;
    if (children[i].attributes[j].value.match(/^:[a-z]*:$/m) && children[i].attributes[j].name == "title")
    {
    outputText += " "+attributeValue;
    tagName = "";
    }
    }
    }
    •  
      CommentAuthorconradslater
    • CommentTimeNov 9th 2007 edited
     # 27
    is there any to exclude images (using either html or attachments extention) and videos (or anything using the jqmedia plugin) in the same way as you excluded the signitures.

    would this kind of thing work?


    var pattern = /<span class=\"image\">.*<\/span>/;
    var pattern = /<span class=\"Attachments\">.*<\/span>/;
    var pattern = /<span class=\"media youtube\">.*<\/span>/;
    commentText = commentText.replace(pattern, "");
    •  
      CommentAuthorspode
    • CommentTimeJan 8th 2008
     # 28
    Just wanted to add my fix for the BBCode version, using the inline images modification for attachments.

    var pattern = /\[div.*.class=Attachments\]\[ul\]\[div\].*.\[\/div\]\[\/ul\]\[\/div\]/gi;
  6.  # 29
    I've got a small problem that occurs when I quote something that's formatted with HTML. If I quote this:

    puppies look good covered in fur!

    the output of the quote is this:

    puppies lookgoodcovered infur!

    Something is messing up the spaces in between HTML-formatted text. What do you suggest?
  7.  # 30
    Sorry to bump, but does anyone have any suggestions for my problem above?
    •  
      CommentAuthorspode
    • CommentTimeFeb 3rd 2008
     # 31
    I seem to remember noticing it too, but only around BBCode tags. So the problem could be related to your BBCode parser. What does the source look like?
  8.  # 32
    Source of original text:

    <div class="CommentBody" id="CommentBody_111">puppies look <font color="green" >good</font> covered in <font color="red" ><b >fur!</b></font></div>

    Source of quoted text:

    <div class="CommentBody" id="CommentBody_112"><blockquote ><cite >Posted by Dylan</cite>puppies look<font color="green" >good</font>covered in<font color="red" ><b >fur!</b></font></blockquote>this is a reply</div>
    •  
      CommentAuthorspode
    • CommentTimeFeb 4th 2008
     # 33
    Well, that points the blame at the javascript.

    //strip whitespace

    nodeValue = nodeValue.replace(/^\s*|\s*$/g,'');

    You could try commenting out that line to see if it helps, but I imagine it's there for a reason. The method used to pull out the data may leave extra spaces. Which is more of a concern for you - extra spaces, or less spaces :P
    •  
      CommentAuthorApreche
    • CommentTimeMar 8th 2008
     # 34
    My forum users recently discovered that they can change their display names. One of them chose a name that contained a single quote. When someone quoted one of the user's posts using this extension, the single quote in the authorName destroyed the page. Here is a fix I have implemented.

    Insert the following code at line 18 in quote.js

    authorName = authorName.replace( /'/g, "&#39;" );

    This will replace single quotes in the authorName with the html element that will not break the page rendering.
    • CommentAuthorSCHIZO
    • CommentTimeJun 6th 2008
     # 35
    Please use $Context->SetDefenition instead $Context->Dictionary

    I need edit your code every time after update, and you can change some strings once! It's simple and fast way for you and other non english vanilla users.

    P.S.
    Multiply all edit time for change your wrong coding style with quaintly of all non-english of extension users and understand how much time of life you steal from peoples. It's theft of life on planet.

    Be better - use $Context->SetDefenition
    • CommentAuthordubLeE
    • CommentTimeJul 22nd 2008 edited
     # 36
    I can't seem to get this to work out correctly.

    I click quote and it copies the text that needs to be copied but it shows everything as HTML.

    Example:

    Post:
    Hi there!

    Quoted Post:
    <blockquote><cite>dubLeE</cite>Hi There!</blockquote>I'm trying to quote!

    not sure how to fix this at all!
    I've even tried formatting the post and the commented post as text, html, and bbcode!
Add your comments
    Username Password
  • Format comments as