Settings of Forum component are placed in configuration element <forum>.
Note: Read to ensure you configured Forum system correct.
|
Attribute/Sub-section name |
Description |
Required |
|---|---|---|
| topicsPageSize | Number of topics to be displayed per page in the grid for listing topics. The default value is 10. | No |
| postsPageSize | Number of posts to be displayed per page in the grid for listing posts. The default value is 10. | No |
| searchResultsPageSize | Number of results to be displayed per page in the grid for listing search results. The default value is 10. | No |
| minimumSearchDateValue | Minimum date from which is allowed searching for posts in the forums. The default value is 01/01/0001. | No |
| enableFullTextSearch | Flag whether component to use full-text search when searching for posts. The default value is false. | No |
| userPhotoAllowedExtensions | Comma separated images extensions. These are all allowed extensions for photos of forum users.The default value is ".JPG". | No |
| userPhotoMaxSize | Maximum allowed size for forum users photos. It is in KB. The dafault value is 1024 KB. | No |
| <daabProvider/> | Specifies the database provider which will be used by the Forum component. The component provides several providers from assembly Melon.Components.ApplicationBlocks.Data: Melon.Components.ApplicationBlocks.Data.SqlServer Melon.Components.ApplicationBlocks.Data.OleDb Melon.Components.ApplicationBlocks.Data.Odbc | Yes |
| <connectionString/> | In this sub-section should be specified the name of connection string from connectionStrings section used to connect to the database where Forum's database entities are installed. | Yes |
| <forumUserProvider/> | In this sub-section should be specified the assembly and the class which implement Melon.Components.Forum.ForumUserProvider abstract class. This provider is the interface between the web site users and the Forum users. | Yes |
| licenseKey | Component needs license key if it is used in a web site, which is accessed with DNS different than localhost (or 127.0.0.1 IP). | No |