More in this section

Forums / Developing with Sitefinity / Hiding a thread or post in the forums

Hiding a thread or post in the forums

2 posts, 0 answered
  1. Brandon
    Brandon avatar
    16 posts
    23 Oct 2008
    07 Jul 2010
    Link to this post
      How would I go about hiding a thread or post in the forums?  Would I need to override the ForumProvider class?  I saw the example in the documentation, but it only had a few of the required functions listed.    I already have custom SingleThread and SingleForum controls (to control who can post). 

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    07 Jul 2010
    Link to this post
    Hello Brandon,

    To hide a thread - you should subscribe for GridView RowCreated - allThreads.RowCreated and hide the thread you want.

    To hide a post - you should subscribe for Repeater ItemDataBound event - allPosts.ItemDataBound and hide a given data item.

    You might find this post useful - forum, redirect login and restrict access

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered