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 would like to add post author as a subscriber on comments.
I ahve been modifying my solutions so every member can create a post. Thats why.
Where is the list with subscribers being created?
Any Idears to solution?
Thanks in advance
Meta data about the subscribers is in the comment container under the posts.
You can add an event hook for comment publish which will crawl up the tree to the post, then grab the author id.
Thanks for answering. I am not sure how to do it. How can I add event on btnSubmit (contact.ascx) ?
Using:
Umbraco 4.11.x with uBlogsy 2.1.1.2
The comment container is not created before first comment. Right?
Hi Anders
The comment container is created as soon as the 1st comment is.
Events are pretty straightforward...
http://our.umbraco.org/documentation/Reference/Events/application-startup
Here's how i do it in ublogsy:
https://bitbucket.org/anthonydotnet/ublogsy/src/e8dbdcc696fcda28367b708ad145a100240d9a29/uBlogsy/uBlogsy.BusinessLogic/EventHandlers/UmbracoEventHandlers.cs?at=default
There is a static helper in ublogsy for sending emails:
https://bitbucket.org/anthonydotnet/ublogsy/src/e8dbdcc696fcda28367b708ad145a100240d9a29/uBlogsy/uBlogsy.Common/Helpers/EmailHelper.cs?at=default
Just use this method:
Send(string emailBody, string subject, string senderAddress, string recipientAddresses, Dictionary<string, string> dictionary, bool asych)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Post author gets mail regarding comments ?
I would like to add post author as a subscriber on comments.
I ahve been modifying my solutions so every member can create a post. Thats why.
Where is the list with subscribers being created?
Any Idears to solution?
Thanks in advance
Meta data about the subscribers is in the comment container under the posts.
You can add an event hook for comment publish which will crawl up the tree to the post, then grab the author id.
Thanks for answering. I am not sure how to do it. How can I add event on btnSubmit (contact.ascx) ?
Using:
Umbraco 4.11.x with uBlogsy 2.1.1.2
The comment container is not created before first comment. Right?
Hi Anders
The comment container is created as soon as the 1st comment is.
Events are pretty straightforward...
http://our.umbraco.org/documentation/Reference/Events/application-startup
Here's how i do it in ublogsy:
https://bitbucket.org/anthonydotnet/ublogsy/src/e8dbdcc696fcda28367b708ad145a100240d9a29/uBlogsy/uBlogsy.BusinessLogic/EventHandlers/UmbracoEventHandlers.cs?at=default
There is a static helper in ublogsy for sending emails:
https://bitbucket.org/anthonydotnet/ublogsy/src/e8dbdcc696fcda28367b708ad145a100240d9a29/uBlogsy/uBlogsy.Common/Helpers/EmailHelper.cs?at=default
Just use this method:
is working on a reply...