We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28215
    • 4,149 Posts
    This is an auto-generated topic for Quip 1.0.0-rc1 by splittingred.

    Brief Description:

    A simple commenting system for MODx Revolution, complete with a backend management interface, threading support, moderation, notifications, and more.
    Users who have overridden the default chunks in their installs may need to update those chunks to include a few new hidden fields, including reCaptcha support and threading support.You will also need to add a call to the QuipReply snippet to show the reply form.
    Note that upgrading to 1.0.0 changes the markup a bit; comments are now in ol/li tags rather than just divs. If you want to revert back to the old style, set &useMargins=`1` in your Quip call.
    New in 1.0.0:

    • Emails for moderators now have direct moderation links within them to approve/reject a comment
    • Comments are now threaded properly with ol/li tags
    • Added disableRecaptchaWhenLoggedIn property to QuipReply that defaults to true which skips recaptcha for logged in users
    • Added dontModerateManagerUsers property to QuipReply that defaults to true which skips moderation for users logged into mgr
    • Snippet properties are now i18n compat

    New in 0.5.1:

    • Added Russian translation
    • Fixed bug where double quotes broke commenting
    • Added "Latest Comments" tab to mgr ui
    • Replaces MODx tags with entities in comments
    • Properly format improperly submitted website field

    Note: After installing, you will need to "Flush All Sessions" (Security - Flush All Sessions) to reload the new Access Policy for the manager interface.See official documentation here: http://svn.modxcms.com/docs/display/ADDON/Quip
      shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
      • 6902
      • 126 Posts
      Has anyone tried making this work with AJAX (using jQuery)? I’m trying to add Quip to a blog feed, and I have the following jQuery/JavaScript attached to the page:

      $("#blog form").live("submit", function(e) {
      	e.preventDefault();
      	$('#blog .loading').css('display','block').animate({opacity: '1'}, fadeSpeed);
      	var link = $(this).attr("action");
      	var val = $(this).serialize();
      	$.ajax({
      		type: "POST",
      		url: link,
      		data: val,
      		success: function(data) {
      			$('#blog .content').html(data);
      			$('#blog .loading').animate({opacity: '0'}, fadeSpeed).css('display','none');
      		}
      	});
      });
      


      I’m not exactly sure what is going on here... when I disable the script and let it send to the actual blog page, I can see the preview just fine. BUT with the script activated, it’s like the POST data is getting lost. I can add some dummy text into the data insertion so I know it’s loading the data correctly, but I just can’t get it to actually preview and post.

      Any ideas out there?