Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
 public void CommentPosted(CommentPostedEventArgs e)
 {
     if (OnCommentPosted != null)
     {
         OnCommentPosted(e);
     }
 }
Exemplo n.º 3
0
 bool Gig_CommentPosted(CommentPostedEventArgs e)
 {
     return true;
 }
Exemplo n.º 4
0
 bool Network_CommentPosted(CommentPostedEventArgs e)
 {
     return true;
 }
Exemplo n.º 5
0
 bool Musician_CommentPosted(CommentPostedEventArgs e)
 {
     return true;
 }
Exemplo n.º 6
0
 public void CommentPosted(CommentPostedEventArgs e)
 {
 }
Exemplo n.º 7
0
        bool Event_CommentPosted(CommentPostedEventArgs e)
        {
            if (Owner is User)
            {
                core.CallingApplication.QueueNotifications(core, e.Comment.ItemKey, "notifyEventComment");
            }

            return true;
        }
Exemplo n.º 8
0
 bool UserGroup_CommentPosted(CommentPostedEventArgs e)
 {
     return true;
 }
Exemplo n.º 9
0
 bool Article_CommentPosted(CommentPostedEventArgs e)
 {
     return true;
 }
Exemplo n.º 10
0
 bool Task_CommentPosted(CommentPostedEventArgs e)
 {
     return true;
 }
Exemplo n.º 11
0
 bool Release_CommentPosted(CommentPostedEventArgs e)
 {
     return true;
 }
Exemplo n.º 12
0
        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;
        }
Exemplo n.º 13
0
 bool ApplicationEntry_CommentPosted(CommentPostedEventArgs e)
 {
     return true;
 }