bool BlogEntry_CommentPosted(CommentPostedEventArgs e) { if (Owner is User) { core.CallingApplication.QueueNotifications(core, e.Comment.ItemKey, "notifyBlogComment"); /*core.CallingApplication.SendNotification(core, (User)Owner, e.Comment.ItemKey, string.Format("[user]{0}[/user] commented on your blog.", e.Poster.Id), string.Format("[quote=\"[iurl={0}]{1}[/iurl]\"]{2}[/quote]", e.Comment.BuildUri(this), e.Poster.DisplayName, e.Comment.Body));*/ } return true; }
public void CommentPosted(CommentPostedEventArgs e) { if (OnCommentPosted != null) { OnCommentPosted(e); } }
bool Gig_CommentPosted(CommentPostedEventArgs e) { return true; }
bool Network_CommentPosted(CommentPostedEventArgs e) { return true; }
bool Musician_CommentPosted(CommentPostedEventArgs e) { return true; }
public void CommentPosted(CommentPostedEventArgs e) { }
bool Event_CommentPosted(CommentPostedEventArgs e) { if (Owner is User) { core.CallingApplication.QueueNotifications(core, e.Comment.ItemKey, "notifyEventComment"); } return true; }
bool UserGroup_CommentPosted(CommentPostedEventArgs e) { return true; }
bool Article_CommentPosted(CommentPostedEventArgs e) { return true; }
bool Task_CommentPosted(CommentPostedEventArgs e) { return true; }
bool Release_CommentPosted(CommentPostedEventArgs e) { return true; }
bool User_CommentPosted(CommentPostedEventArgs e) { ApplicationEntry ae = core.GetApplication("GuestBook"); /*ae.SendNotification(core, this, e.Comment.ItemKey, string.Format("[user]{0}[/user] commented on your guest book.", e.Poster.Id), string.Format("[quote=\"[iurl={0}]{1}[/iurl]\"]{2}[/quote]", e.Comment.BuildUri(this), e.Poster.DisplayName, e.Comment.Body));*/ ae.QueueNotifications(core, e.Comment.ItemKey, "notifyUserComment"); return true; }
bool ApplicationEntry_CommentPosted(CommentPostedEventArgs e) { return true; }