This page in: English - Deutsch - Español - Français - Italiano - Lietuvių - Nederlands - Norsk - Polski - Русский - Svenska - Tiếng Việt - عربي - 日本語 简体中文
This page is relative to OLD versions of FMS. Look here for newer versions.
Forum Made Simple needs to work (at minimum) FrontEndUsers module (version 1.1.1 or newer).
Install followed modules with Module Manager or downloading them from FORGE, uncompress in modules folder and install from Extensions > Modules.
Optionally, if you want private forums, install CustomContent module.
Optionally, if you want that your users have the opportunity to self register to the forum, install SelfRegistration module.
In this mini-howto I want private forums and self register. I use CMSMS 1.2.4 and this modules:
- FrontEndUsers 1.4.2
- CustomContent 1.5
- SelfRegistration 1.1.6
- ForumMadeSimple 0.9.0
Users CMS or backend users (Users & Groups > Users) and FEU users or frontend users (Users & Groups > Frontends User Management > Users) are two completely different things: as you can see, now you are registered but you aren't registered in FEU.
Here speak only FEU users, and then avoid ending up in the wrong page :)
Install your modules and in (Users & Groups > Group Permissions > Admin group) enable:
Manage Registering Users Modify Forum Modify FrontEndUser Properties
In Users & Groups > Frontend User Management:
- User Properties > Add Property: username and password are builtin to the FrontEndUsers module, but we need to create at least one third, typically the email. Fill the fields with "Name": email, "Prompt" is the name that appears on the site: Email and, in this case, set the "Type" as "Email Address" Next and Submit Add other properties (ex: Name and Surname) if you want - Groups > Add Group: create 2 groups: users and moderators and remember to assign the properties created as Required in "Field Status". Fill the fields with "Name" and "Description": users, select Required in "Field Status" and Submit. Again for create moderators - Users > Add User: Fill the fields for your account and remember of select moderators "Groups", Next, insert your Email and Submit. - Preferences: "Default Group for new users:" select users (for SelfRegistration) and Submit
In Extensions > Forum Made Simple: remember the types of permissions:
Users can post messages and delete / modify their
Moderator addition to the above may delete / edit discussions (sticky and closed) and messages of users
- List Forums > New forum: Fill the fields with "Forum name": First Forum, "Forum description": My First Forum and Create forum - Settings: Select "Members" with users, select "Moderators" with moderators and Save
Now we have finished modules configurations.
Create a new template for private forum.
In Layout > Templates use "Copy" icon of your template (that you want use) in new private/forum template.
I copy default "Left simple navigation + 1 column" in "New Template Name": forum and Submit
Make private forum.
By default, if the Captcha module is installed, validation of a captcha image will be required for FrontEndUsers and SelfRegistration module. For disable, use param nocaptcha='1'
READ help of modules for other info/usefull params.
Edit new template "forum" and substitute:
{content} <br />
with:
{if $ccuser->loggedin() && ($ccuser->memberof('users') || $ccuser->memberof('moderators'))} {cms_module module='FrontEndUsers' form='logout'} {content} <br /> {else} LOGIN REQUIRED FOR THIS FORUM! <br /><br /><br /> {cms_module module='FrontEndUsers' only_groups='users,moderators'} <br /> {cms_module module='SelfRegistration' group='users'} <br /> {/if}
Now attach CSS style to new template: use "Attach Stylesheets" css icon of forum template, select Forum_Made_Simple and "Add a Stylesheet". Edit this stylesheet for graphics style.
Create a new page for private forum.
In Content > Pages, Add New Content for create a new page with forums.
- Main tab: "Title" and "Menu Text": Forum, "Template": forum, "Content": {cms_module module="Forum"} - Option tab: uncheck "Cachable"
Alby
This page in:
English -
Deutsch -
Español -
Français -
Italiano -
Lietuvių -
Nederlands -
Norsk -
Polski -
Česky -
Русский -
Svenska -
Tiếng Việt -
عربي -
日本語
简体中文