SMF2.0:News and newsletters

The News and Newsletters section is located at Admin > Main > News and Newsletters. Administrators can permit other to access these features via the.

News
This feature enables you to display short news items in a prominent position on your forum. You can use to format these messages. When SMF is first installed, there will be one news item: "SMF - Just Installed". Type your own message in this box and then click the Save button. To add further news items, use the link Click here to add another item. A news item can be removed by selecting the checkbox next to it, followed by clicking on the Remove selected button.

It is possible to configure how and where the news items are displayed on your forum. This configuration has to be done in the for each theme that you have installed. The following options are available:


 * Enable random news line in the forum header - When this option is enabled, a news item is shown randomly in the each time you refresh the page or navigate through the forum.


 * Show news fader on board index - This displays a collapsible news box at the top of the . News items are shown here one at a time with a fading effect between each one.


 * Fading delay between items for the news fader - This sets how long each news item is displayed before the next item is shown in the news fader. The time is set in milliseconds.

Newsletters
If you need to contact some, or all, members of the forum this feature can be used to send a simple e-mail (newsletter).

Membergroup Selection
First of all, check the boxes next to the membergroups that you would like to e-mail. If you would like to send a newsletter to users in a particular, you need to enable permissions for post count groups in Admin > Permissions > Settings > Enable permissions for post count based groups.

Advanced
Clicking on the Advanced link underneath the membergroup listing gives you access to the following options:


 * E-mail Addresses - In this box you can add any additional e-mail addresses that you would like the newsletter to be sent to.


 * Members - This enables you to add the usernames of any additional members that you would like to receive the newsletter.


 * Excluded Groups - Here you can select groups that absolutely cannot receive the newsletter under any condition, even if they have the same group selected under the included membergroups at the top of the page, or a member belongs to one of the included groups. As long as the member belongs to any groups checked here, they will not receive the newsletter. This includes primary and secondary membergroups.


 * Excluded Members - This works in a similar way to the above option. You can add the usernames of members that you do not want to receive the newsletter, no matter which membergroup(s) they belong to.


 * Override Notification Settings - You can select this so that the the e-mail is also sent to members even if they have opted not to receive announcements by e-mail in their profile (Profile > Modify Profile > ). It is not recommended to force members to receive announcements, unless it is really important.

Composing a Newsletter
After completing the steps above, you have to click on Next, which takes you to the screen for composing the actual content of the newsletter.


 * Subject - The default subject is "Site name: Subject".


 * Message box - You can enter almost anything you want in the message box, including HTML. Most e-mail clients support HTML, but not all of them do. If you want to use HTML in the newsletter, you must select the option Send in HTML format (see below).


 * Send this to these groups using personal messages - Newsletters can be sent in the form of a, instead of an email.


 * Send in HTML format - This must be checked if you want to use HTML tags in the e-mail.

s and &amp;nbsp;s to this message.''' - This is enabled by default to ensure that the line breaks and spaces are shown correctly in the email. However, if you select the option to send in HTML format, you can uncheck this option.
 * '''Add

Certain variables can be used in the email:
 * - The URL to your forum.
 * - The current time.
 * - The current member's email.


 * - The current member's link.
 * - The current member's ID.
 * - The current member's name.


 * - The most recently registered member's link.
 * - The most recently registered member's id.
 * - The most recently registered member's name.

Settings
The Settings page of the News and newsletters section of the Administration Center allows an administrator to configure a few settings pertaining to forum news items and newsletters.


 * Groups allowed to edit news items - Select the groups that you wish to allow the ability to add and edit news items.
 * Groups allowed to send out forum newsletters - Select the groups that you wish to allow the ability to send newsletters.


 * Enable XML/RSS news - Allows people to link to the RSS feeds of recent posts made on your forum and other similar data. For details see the page.


 * Maximum message length - Here you can specify the maximum amount of characters to show for each RSS feed item. It is also recommended that you limit the size of recent posts and news because in some clients the amount of RSS data that is displayed is expected to be truncated.