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.2-pl by splittingred.

    Brief Description:

    A simple commenting system for MODx Revolution, complete with a backend management interface, threading support, moderation, notifications, and more.
    Note: Users who have overridden the default chunks in their installs may need to update those chunks to match the default behavior. The form tag in the &tplComment tpl was removed as of 1.0.1. You will also need to add a call to the QuipReply snippet to show the reply form.
    Note that upgrading to 1.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.2

    • Fixed bug with allowRemove parameter
    • Fixed bug with ago filter in QuipLatestComments snippet
    • Fixed bug where pre-existing request parameters werent persisting on links in quip comments
    • Fixed issue where thread was not retrieved before form processing
    • Fixed issue with GET params in approved request
    • Restructured elements in package, cleaned up old files


    New in 1.0.1:

    • Properly redid ol/li support to properly nest tags
    • Removed form tag in comment tpl



    Note: After installing, you may 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
      • 21767
      • 44 Posts
      I have implemented a small addition to snippet QuipLatestComments on my modx because I distingish between different kinds of comments.
      (Modification of case ’thread’)

          
      case 'family':
              if (empty($scriptProperties['family'])) return '';
              $c = $modx->newQuery('quipComment');
              $c->where(array(
                  'quipComment.thread:LIKE' => $scriptProperties['family'],
              ));
              break;
      


      call it with a SQL-’LIKE’-String: % = any count of chars, _ = one char

      [[!QuipLatestComments? type=`family` &family=`blog%`]]


      That’s all to do.

      This works with known examples:

      [[!Quip? &thread=`blogPostItem[[*id]]`]]
      
      [[!QuipReply? &thread=`blogPostItem[[*id]]`]]