Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm using uCommentsy as a contact form, and ideally each comment would be deleted once its been emailed out. Is that possible?
You could avoid rendering out the partial that displays the comments. Or comment out the part of the code that lists out the comments.
Hi Nicholas - sorry I wasn't clear, I was just trying to avoid clogging up the database. They aren't being displayed anywhere. Thanks
You could create a scheduled task that deletes the comments periodically: http://our.umbraco.org/wiki/install-and-setup/scheduled-tasks
A scheduled task in Umbraco is just a URL that Umbraco periodically visits. WHen you create that page, you can have the code look for all comment nodes and delete them (uComments creates comments as Umbraco content nodes).
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Contact Form
I'm using uCommentsy as a contact form, and ideally each comment would be deleted once its been emailed out. Is that possible?
You could avoid rendering out the partial that displays the comments. Or comment out the part of the code that lists out the comments.
Hi Nicholas - sorry I wasn't clear, I was just trying to avoid clogging up the database. They aren't being displayed anywhere. Thanks
You could create a scheduled task that deletes the comments periodically: http://our.umbraco.org/wiki/install-and-setup/scheduled-tasks
A scheduled task in Umbraco is just a URL that Umbraco periodically visits. WHen you create that page, you can have the code look for all comment nodes and delete them (uComments creates comments as Umbraco content nodes).
is working on a reply...