MojoPortal: Adding a Forum
Written by Ian McIntosh Monday, 12 September 2011
This article follows on from the previous article in the series.
Today, I am going to use the inbuilt Forum feature to allow customers to provide feedback on my site. I will use the Feed Manager feature to display selected posts on the home page. I will also set the email settings in user.config to enable the email functionality of the Forum.
I start by signing in as administrator and editing the page that I will use for the forum. I chose the testimonials page.
I select the forums module, give it a name, press Create, and then view the page.
I select Add Forum
I enter a title and short description, select to allow RSS at forum level, and also select to allow anonymous posts. Allowing anonymous posts does increase your risk of getting spam posts, but using the default spam protection should stop most of it.
I then go to my home page and add the Feed Manager module and view the page.
I select to add a new feed
I open up a second window of my forum site and click on the RSS symbol
I can the copy the address from my web browser to enter the feed URL in feed manager, give my feed a name and press Save.
I want to make a few changes, so I click on Settings
I do not want to show the feeds icon on my home page, so I disable those. I also choose to enable scrolling.
A bit further down, I choose Selective Publishing and tick the options for that
I also go into the security settings and allow external images. This allows emoticons to be used.
I want any posts in this forum to get published by default, so I go into Add/Edit Feeds
I then click the edit icon next to my feed
And select Publish By Default
I can still choose which of the posts I want appearing on my home page by navigating to the feed manager module on the home page. The plus sign indicates an item that is not published, and a tick indicates an item that is published. Just click on these icons to toggle.
(note: feed content is cached – if you find that there is too much delay before your posts are displayed on the feed manager, you may need to change the cache settings)
The forum module sends emails using the mail settings in web.config or user.config. I set this in user.config so that I can update web.config when upgrading MojoPortal and not lose these settings.
My settings are along these lines: