I have Quip working great. But I personally dislike the preview feature for what i’m trying to do. I was wondering if I could just one click post.
I changed the QuipReply &tplAddComment and added the post button <button type="submit" name="quip-post" value="1">[[%quip.post]]</button>
Then it gives me some weird error The User ID’s Don’t Match: Fraud Attempt....
If someone could point me in the right direction that would be awesome.
[[+preview]]
<span class="quip-success" id="quip-success-[[+idprefix]]">[[+successMsg]]</span>
<form id="quip-add-comment-[[+idprefix]]" action="[[+url]]#quip-comment-preview-box-[[+idprefix]]" method="post">
<input type="hidden" name="nospam" value="" />
<input type="hidden" name="thread" value="[[+thread]]" />
<input type="hidden" name="parent" value="[[+parent]]" />
<input type="hidden" name="name" value="[[+modx.user.username]]" />
<input type="hidden" name="email" value="[[UserEmail]]" />
<div class="quip-comment quip-add-comment">
<span class="quip-error">[[+error]]</span>
<div class="quip-fld">
<label for="quip-comment-notify">[[%quip.notify_me]]: </label>
<input type="checkbox" value="1" name="notify" id="quip-comment-notify-[[+idprefix]]" [[+notify:if=`[[+notify]]`:eq=`1`:then=`checked="checked"`]] />
<br />
</div>
<div class="quip-fld recaptcha">
[[+quip.recaptcha_html]]
</div>
<p><span class="quip-allowed-tags">[[%quip.allowed_tags? &tags=`[[++quip.allowed_tags:htmlent]]`]]</span>[[%quip.comment_add_new]] </p>
<textarea name="comment" id="quip-comment-box-[[+idprefix]]" rows="5">[[+comment]]</textarea>
<button type="submit" name="quip-post" value="1">[[%quip.post]]</button>
<br class="clear" />
</div>
</form>