+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / How to view all my Sitefinity forum posts

How to view all my Sitefinity forum posts

4 posts, 0 answered
  1. James@Nw
    James@Nw avatar
    265 posts
    Registered:
    05 May 2009
    26 Jun 2009
    Link to this post
    Hi Guys,

    How can I view all my forum posts that I have posted at Sitefinity?

    Thanks,
    James
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    26 Jun 2009
    Link to this post
    Hi James,

    You need to implement custom logic that uses GetPostsByAuthor method to return the posts created by a given author.

     // create new instance of ForumManager 
    ForumManager forumManager = new ForumManager(); 
    // get the list of all posts for a given author 
    IList listOfPosts = forumManager.GetPostsByAuthor("Author Name"); 
    if (listOfPosts.Count > 0) 
       foreach (IPost postItem in listOfPosts) 
           Response.Write(postItem.Content + "<br />"); 
    }  


    Regards,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  3. James@Nw
    James@Nw avatar
    265 posts
    Registered:
    05 May 2009
    26 Jun 2009
    Link to this post
    Hi Ivan,

    That's great, but I think you're talking about using a forum supplied by Telerik on my own site?

    What I meant was that I want to see all the posts "I" have posted on THIS website. The Sitefinity.com website :o)

    Thanks for your help.
    James
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    26 Jun 2009
    Link to this post
    Hi James,

    Currently the forum does not support this option. We will consider this implementation. Meanwhile you can use the search option by typing your name or nick name.

    Greetings,
    Ivan Dimitrov
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Register for webinar
4 posts, 0 answered