Installing MediaWiz Forums
A friendly guide to getting your forums up and running
This guide walks you through installing the MediaWiz Forums package in your Umbraco project. You’ll go from “fresh install” to “forum is live at /forums” in just a few steps.
Getting Started
Install Nuget Package:
You can install the package using either the .NET CLI or the NuGet Package Manager.
.NET CLIdotnet add package MediaWiz.Forums.14 --version 17.0.0Package Manager Console
Install-Package MediaWiz.Forums.14 -Version 17.0.0Configure AppSettings:
"MediaWizOptions": { "MemberTypeAlias": "", "ForumDoctypes": "", "MaxFileSize": 8, "AllowedFiles": [], "UniqueFilenames": false },
see Options belowConfigure Email SMTP:
The forums require a working SMTP server for member registration emails. Make sure your Umbraco installation has valid SMTP settings.Register TagHelpers:
Open your project's_ViewImports.cshtmland add:
@using MediaWiz.Forums.TagHelpers ... @addTagHelper *, MediaWiz.ForumsSet Master template:
In Umbraco:Go to Settings → Templates
Select
forumMasterAssign your main site’s layout file
Add the MediaWiz sections to your layout file as per instructions in
forumMaster
Login to Umbraco:
Navigate to/umbracoand login with the your admin credentials.Publish the Forums Page:
In the Content section:Publish the Forums holder page
Make sure to include all unpublished children
Initialise Dictionary Items:
Go to the Translation section and save at least one dictionary item. This step initializes the forum’s translation system.View Your Site:
Your forums should now be available at/forumsURL
The following options are available, in appsettings.json:
Options
Property | Type | Description |
|---|---|---|
MemberTypeAlias |
| Defaults to "forumMember" if not set |
ForumDoctypes |
| If your site already contains any Document Types using the same aliases as the forum, set a prefix to avoid conflicts. |
MaxFileSize |
| Maximum file size in MB. |
AllowedFiles |
| A list of file extensions that can be uploaded in a post. If left blank, no files will be allowed. |
UniqueFilenames |
| When uploading, if true a random guid is used for all filenames, default uses the name of uploaded file. |