using Nop.Core.Configuration; namespace Nop.Core.Domain.Forums; /// /// Forum settings /// public partial class ForumSettings : ISettings { /// /// Gets or sets a value indicating whether forums are enabled /// public bool ForumsEnabled { get; set; } /// /// Gets or sets a value indicating whether relative date and time formatting is enabled (e.g. 2 hours ago, a month ago) /// public bool RelativeDateTimeFormattingEnabled { get; set; } /// /// Gets or sets a value indicating whether customers are allowed to edit posts that they created /// public bool AllowCustomersToEditPosts { get; set; } /// /// Gets or sets a value indicating whether customers are allowed to manage their subscriptions /// public bool AllowCustomersToManageSubscriptions { get; set; } /// /// Gets or sets a value indicating whether guests are allowed to create posts /// public bool AllowGuestsToCreatePosts { get; set; } /// /// Gets or sets a value indicating whether guests are allowed to create topics /// public bool AllowGuestsToCreateTopics { get; set; } /// /// Gets or sets a value indicating whether customers are allowed to delete posts that they created /// public bool AllowCustomersToDeletePosts { get; set; } /// /// Gets or sets the whether users can vote for posts /// public bool AllowPostVoting { get; set; } /// /// Gets or sets the maximum number of votes for user per day /// public int MaxVotesPerDay { get; set; } /// /// Gets or sets maximum length of topic subject /// public int TopicSubjectMaxLength { get; set; } /// /// Gets or sets the maximum length for stripped forum topic names /// public int StrippedTopicMaxLength { get; set; } /// /// Gets or sets maximum length of post /// public int PostMaxLength { get; set; } /// /// Gets or sets the page size for topics in forums /// public int TopicsPageSize { get; set; } /// /// Gets or sets the page size for posts in topics /// public int PostsPageSize { get; set; } /// /// Gets or sets the page size for search result /// public int SearchResultsPageSize { get; set; } /// /// Gets or sets the page size for the Active Discussions page /// public int ActiveDiscussionsPageSize { get; set; } /// /// Gets or sets the page size for latest customer posts /// public int LatestCustomerPostsPageSize { get; set; } /// /// Gets or sets a value indicating whether to show customers forum post count /// public bool ShowCustomersPostCount { get; set; } /// /// Gets or sets a forum editor type /// public EditorType ForumEditor { get; set; } /// /// Gets or sets a value indicating whether customers are allowed to specify a signature /// public bool SignaturesEnabled { get; set; } /// /// Gets or sets a value indicating whether private messages are allowed /// public bool AllowPrivateMessages { get; set; } /// /// Gets or sets a value indicating whether an alert should be shown for new private messages /// public bool ShowAlertForPM { get; set; } /// /// Gets or sets the page size for private messages /// public int PrivateMessagesPageSize { get; set; } /// /// Gets or sets the page size for (My Account) Forum Subscriptions /// public int ForumSubscriptionsPageSize { get; set; } /// /// Gets or sets a value indicating whether a customer should be notified about new private messages /// public bool NotifyAboutPrivateMessages { get; set; } /// /// Gets or sets maximum length of pm subject /// public int PMSubjectMaxLength { get; set; } /// /// Gets or sets maximum length of pm message /// public int PMTextMaxLength { get; set; } /// /// Gets or sets the number of items to display for Active Discussions on forums home page /// public int HomepageActiveDiscussionsTopicCount { get; set; } /// /// Gets or sets the number of items to display for Active Discussions RSS Feed /// public int ActiveDiscussionsFeedCount { get; set; } /// /// Gets or sets the whether the Active Discussions RSS Feed is enabled /// public bool ActiveDiscussionsFeedEnabled { get; set; } /// /// Gets or sets the whether Forums have an RSS Feed enabled /// public bool ForumFeedsEnabled { get; set; } /// /// Gets or sets the number of items to display for Forum RSS Feed /// public int ForumFeedCount { get; set; } /// /// Gets or sets the minimum length for search term /// public int ForumSearchTermMinimumLength { get; set; } }