Ektron CMS400.NET API Documentation
|
The ThreadedDiscussion class allows you to work with threaded discussion by adding and removing discussion boards, forums, and topics. It also allows you to subscribe or unsubscribe to a board, forum or topic. In addition, you can retrieve a specific topic or search a topic's replies.
The Threaded Discussion feature provides a discussion board where a forum can be created and topics can be discussed on your Web site. A site or membership user with Add Topic permission creates a topic and posts a starter question. Other site visitors can then reply to the topic.
public class ThreadedDiscussion : Content;
Public Class ThreadedDiscussion Inherits Content
ThreadedDiscussion.vb
Name |
Description |
The methods of the ThreadedDiscussion class are listed here. |
|
Name |
Description |
|
Adds a discussion board to a given folder. Accepts name, title, and other parameters. Returns numeric ID of new discussion board. | |
|
Adds a discussion forum to a given board. Accepts name, description, and other parameters. Category ID must be valid for the board ID. Returns numeric ID of new discussion forum as Long. See Also: The Example section. | |
|
This is the overview for the AddReply method overload. | |
|
This is the overview for the AddTopic method overload. | |
|
Deletes a board with a given ID. This deletes the board as well as all forums, topics and posts under it. BoardID must be greater than 0. | |
|
Deletes a forum with a given ID. This deletes the forum as well as all topics and posts under it. forumID must be greater than 0 (zero). | |
|
Deletes a topic by topicID. This method deletes all posts associated with the topic as well. Returns boolean value. | |
|
This is the overview for the GetActiveTopics method overload. | |
|
Gets Most active topics for a forum. Activity is measured by number of posts on the topic. | |
|
Gets Most active topics for a board. Activity is measured by number of posts on the topic. | |
|
Method to get the Categories for a board by ID. Returns either zero length or populated array. See DiscussionCategory class for more information. | |
|
Method to get the Forums for a board by ID. Returns either zero length or populated array. See DiscussionForum class for more information. | |
|
This is the overview for the GetDiscussionBoard method overload. | |
|
Method to get the rendered view of a discussion board by ID. Returns a string of the output based upon the input parameters. Display of the board can be controlled by using cascading style sheets (CSS). | |
|
Method to obtain a particular forum by ID. Returns a discussion board with a 1 length Discussion Forum array. If the forum does not exist, then a DiscussionBoard with a zero length Forums property will be returned. See Also: The Example section. | |
|
Method returns a list of replies for a given forum ID.
| |
|
Method to obtain a particular Topic by ID. Returns a discussion board with a 1 length Discussion Forum array containing a 1 length DiscussionTopic array. If the topic does not exist, then a DiscussionBoard with a 1 length Forums property containing a zero length Topics property will be returned. | |
|
Method to obtain an array of topic replies matching search criteria. Returns an instance of EkTasks, which is effectively an array of EkTask objects. If no results are returned, then a zero length EkTasks will be returned. | |
|
Subscribe a user to a board by providing the ID of the board, the user's ID and the type of subscription. | |
|
Subscribe a user to a forum by providing the ID of the forum, the user's ID and the type of subscription. | |
|
Subscribe a user to a topic by providing the ID of the topic, the user's ID and the type of subscription. | |
|
Unsubscribe a user from a discussion board by providing the discussion board's ID and user ID. | |
|
Unsubscribe a user from a forum by providing the topic ID and user ID. | |
|
Unsubscribe a user from a topic by providing the topic ID and user ID. |
Copyright (c) 2008. All rights reserved.
|
What do you think about this topic? Send feedback!
|