The DiscussionBase type exposes the following members.

Constructors

  Name Description
Public method DiscussionBase
Constructor.

Methods

  Name Description
Public method BindData
Binds data in the part.
Protected method DiscussionSanitize(String)
Protected method DiscussionSanitize(String, Boolean, Boolean)
Public method Static member GenerateBoardDefaultUrl
Generates discussion board default url.
Public method Static member GenerateBoardUrl(SnDiscussionBoardEntity)
Generates discussion board url.
Public method Static member GenerateBoardUrl(SnDiscussionTopicEntity, Int32, String)
Generates discussion board url.
Public method Static member GenerateBoardUrl(SnDiscussionTopicEntity, Int32, String, String%, String%)
Generates discussion board url.
Public method Static member GenerateEditMessageUrl
Generates discussion edit message url.
Public method Static member GenerateMessageDefaultUrl
Generates discussion message default url.
Public method Static member GenerateMessageUrl(Guid, SnDiscussionMessageEntity, String%)
Generates discussion message url.
Public method Static member GenerateMessageUrl(Guid, SnDiscussionMessageEntity, Int32, String)
Generates discussion message url.
Public method Static member GenerateTopicDefaultUrl
Generates discussion topic default url.
Public method Static member GenerateTopicUrl
Generates discussion topic url.
Public method GetBackToBoardListNavigateUrl
Produces a board list URL.
Protected method GetDateDisplayText
Gets the date time display text.
Public method GetRssChannel
Gets the rss channel.
Public method Static member GetTopicFilterUrl
Get topic filter url.
Public method Static member GetTopicTagFilterUrl
Get topic tag filter url.
Protected method GetUserRoleIds
Get user role ids.
Protected method IsCurrentUserGroupAdmin
Returns a value indicating whether current user is group admin.
Protected method IsCurrentUserGroupMember
Returns the flag if current user is group member.
Protected method IsDiscussionEditableByUser
Is discussion editable by the current user.
Protected method OnInit
Overriden OnInit: support for RSS Engine.
(Overrides BasePart..::..OnInit(EventArgs).)
Protected method OnPreRender
Overriden OnPreRender.

Note: Support for Discussion daily report.

Note: Support for the Role access security.

(Overrides BasePart..::..OnPreRender(EventArgs).)

Fields

  Name Description
Protected field _rssChannel

Properties

  Name Description
Public property ContainerMessage
Gets or sets discussion container notification message.
Public property DateFormatString
Gets or sets date format string.
Public property EnableAnsweredTopicAutoClose
Gets or sets a value indicating whether answered topic is automatically closed.
Public property EnableAnswering
Gets or sets a flag if answering should be enabled.
Public property EnableAutoSubscription
Gets or sets a flag if discussion should enable auto subscription option.

Note: If auto subscription is enabled then auto subscribe checkbox will then prefer true as default value.

Public property EnableBoardMembership
Gets or sets a flag if discussion board should enable membership security (Role security).
Public property EnableContentSharing
Gets or sets a flag if content sharing should be enabled.
Public property EnableHtmlEditor
Gets or sets a flag if discussion board should use Html editor for message posts.
Public property EnableOwnerDeleteOperation
Gets or sets a value indicating whether owner is allowed to delete the topic or message.
Public property EnablePinItems
Gets or sets a flag if pin items are enabled.
Public property EnablePrettyDateFormat
Gets or sets if pretty date format is enabled.

Note: Example of pretty date format '2 days ago'.

Public property EnablePrettyPhoto
Uses Pretty Photo functionality instead of redirecting to a file preview page.
Public property EnableSubscription
Gets or sets a flag if discussion board should enable subscription.
Public property EnableSyntaxHighlighter
Gets or sets a flag if syntax highlighter should be enabled.
Public property EnableXSSSecurityParser
Gets or sets a value that indicates whether XSS security parser is enabled.

Note: Removes any potentially dangerous XSS HTML tags using a whitelist approach.

Public property GravatarRenderType
Type of the avatar to be rendered - if not set, the web.config settings are used.
Public property GroupId
Gets or sets group id.
Public property InfoCaptionLength
Gets or sets the number of characters shown by the information caption.

e.g. Last topic information, Last post information etc.

Public property IsEditMode
Gets if control is in edit mode.
Public property PagerQueryStringFiles
Gets or sets Pager query string name for files.
Public property PagerTemplateNameFiles
Gets or sets pager template name for files.
Public property PageSize
Gets or sets Pager page size.
Public property PageSizeFiles
Gets or sets Pager (files) page size.
Public property PagingEnabledFiles
Indicates if paging is enabled in the files module
Public property RatingHistoryTemplatePath
Gets or sets the rating history template path.
Public property RatingSkin
Gets or sets Rating default skin name.
Public property RatingTemplatePath
Gets or sets the rating template path.
Public property RssEnabled
Gets or sets if Rss Engine should use this web part RSS channels.
Public property UserReputationAnswerScore
Gets or sets how much score user gets for providing an answer.
Public property UserReputationHamReportScore
Gets or sets how much score user gets for ham report.
Public property UserReputationNewFileScore
Gets or sets how much score user gets for new file submission.
Public property UserReputationNewMessageScore
Gets or sets how much score user gets for new message submission.
Public property UserReputationNewTopicScore
Gets or sets how much score user gets for new topic submission.
Public property UserReputationSpamReportScore
Gets or sets how much score user gets for spam report.

See Also