-
☆ A M B ☆
- 70 Posts
Hi Guido,
you could simply use FormIt with a custom hook and Quip I guess… something like this:
- use FormIt for general form validation and processing
- write a custom FormIt hook that stores the submitted comment as a QuipComment xpdo object (with the active/approved flag to false) and set the hashed comment id as a FormIt field
- in the same hook send out a email with a link (including hashed comment id) to a fixed resource that would run a snippet
- that snippet would update the approval flag of the comment (based on the hashed id)
…that should do the trick! Things you might pay attention to is that the hash is secure so nobody can guess the activation link and you might realize that everybody could also use a "throw away email" (see throwawaymail.com), so this activation doesn't make it magically secure…
I got something very similar with custom DB objects, but it should work the same with Quip…
Regards,
Chris