We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37984
    • 215 Posts
    Using Quip to allow comments in a secure proofing area for my agency, and would like to be able to display the commenter phone # next to their name in the comments. As far as I can tell, Quip is not able to output this very easily.

    In the core chunk that Quip uses to format comments, the name line is written like so:

    <span class="quip-comment-author">[[+authorName]]</span>


    What I've tried so far is to append this line so that it looks like this:

    <span class="quip-comment-author">[[+authorName]] [[!Profile? &user=`[[+authorName]]` &prefix=`user.`]][[+user.phone]]</span>


    This code is outputting not the commenter's phone number, but the user who is currently logged in. Any thoughts? [ed. note: designcouch last edited this post 14 years, 8 months ago.]
      Jesse Couch
      MODX Aficionado, Front-End Designer & Developer
      http://www.designcouch.com
      • 37984
      • 215 Posts
      Alright folks - I'm an idiot. Decided to call the Profile field cached instead of uncached, and that fixed it. The working code looks like this:

      <span class="quip-comment-author">[[+authorName]] [[Profile? &user=`[[+authorName]]` &prefix=`user.`]][[+user.phone]]</span>


        Jesse Couch
        MODX Aficionado, Front-End Designer & Developer
        http://www.designcouch.com