We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14162
    • 67 Posts
    I have Quip 2.0.4 installed on Revolution 2.1.3pl. I am using Quip Latestcomments on several pages and all comments require approval.

    Where I use latestcomments without a type, only approved comments are displayed. However, where i use type=`family`, the comments displayed include unapproved ones.

    Does anyone have any idea why this is?

    Thanks
      • 14162
      • 67 Posts
      I've worked it out. If you use the type function, the check to see if comments are approved is ignored. The code in snippet QuipLatestComments (lines 97-99) needs to be amended to:
      $c->where(array(
          'quipComment.deleted' => false,
      //new line here to check approval	
      'quipComment.approved' => true,
      ));

      I will add this as a bug in Github
        • 28215
        • 4,149 Posts
        Good catch! Can you file that here: http://bugs.modx.com/projects/Quip ? Thanks!
          shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com