Additional Info
Type
Package ID
HoverClub:NewsLetter
First Created
January 30, 2012, 01:01:26 PM
Last Updated
March 30, 2022, 03:31:51 PM

Automatic Newsletter for SMF2 v2.04

Newsletter News Letter
Compatible With 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.9, 2.0.15, 2.0.19
Latest version v2.04
Downloads 3,904
Reviews 0
Rating 0/5
Subscribers 38
License (View License)
Author(s)
Screenshots
Description
Allows anyone (including guests) to subscribe to an automatically generated weekly, fortnightly or monthly email newsletter.  Guests need to enter their email address, registered members don't.  The subscription options shows above the board index and (optionally) during forum registration.

The Newsletter can optionally contain forum stats, the latest news item, recent topics list, upcoming events from the calendar, video links (included in posts), and recent picture from SMF Gallery or SMFhacks Multimedia Gallery (if either are installed) - the newsletter email always includes an unsubscribe link as required by law.

Features:
  • Newsletter can be subscribed to during initial forum registration or at any time
  • Newsletter frequency can be selected by the user when subscribing (weekly, fortnightly or monthly)
  • Frequency timer starts from when the user subscribes (to reduce server email load).
  • Subscriber can unsubscribe on the forum OR by clicking an "unsubscribe" link in the Newsletter.
  • Newsletter sub/unsubscribe options show above OR below forum list.
  • Newsletter is HTML formatted (includes plain text version) using forum name and logo image (styling can be edited).
  • Example Portal PHP block code included (to allow newletter subscription options to appear on any portal page (using a custom portal PHP block)

Admin Settings:
  • Allow guest to subscribe to the newsletter.
  • Use guest permissions when selecting topics, videos and pictures to include.
  • Choose position of Subscribe/Unsubscribe buttons (top or bottom of forum listing)
  • Chose whether subscription option is shown during forum registration
  • Number of recent topic titles/links to include in the newsletter (set to 0 to exclude topics from the newsletter)
  • Select which boards to exclude when selecting topics
  • Number of recent videos to include (set to 0 to exclude videos from the newsletter)
  • Select which boards to exclude videos from
  • Include SMF Gallery pictures
  • Gallery categories to ignore
  • Include basic forum stats
  • Include the latest news item (the SMF newsfader doesn't have to be enabled)
  • Include basic forum stats
  • Include calendar events
  • Manual subscribtion removal by email address - allows admin deletion of invalid or bounced emails
  • Newsletter CSS styling can be edited in the SMF Language Editor
  • Newsletter can be previewed before activating.
  • If a users account is deleted any newsletter subscription they may have will also be deleted

Note that version 2.02 onwards uses functionality from the StopSpammer mod to check if a guest email isn't a spammer.  You MUST install StopSpammer and enable it before installing Newsletter.  Earlier versions of Newsletter can be used without StopSpammer being installed.


Note also that unless you have selected guest permissions OR exclude some board(s) then the titles of (and links to) new topics that appear in ALL boards will be included in the newsletter even if the recipient does not have permission to read the topic post itself.  This can be used as a way to encourage forum or group membership by showing topic titles but not allowing access to the content.

To change the CSS styling of the newsletter:
Admin->Configuration->Languages->Edit Languages->(your language name)->edit Languages Entries -> select "Modifications"
... find and edit the CSS string "newsltr_email_style"


Requirements:
PHP version 5.5 or higher
SMF version 2.0 or higher
StopSpammer mod installed and enabled

Note:
On some web hosts you may need to disable compression in SMF (if the newsletter preview shows a blank page):
Admin->Configuration->Server Settings->General and clear enable compressed output option

Adding Newsletter Subscription to an SMF Portal block
You can add the newsletter subscription options on any portal page (if it supports custom PHP code blocks - EzPortal, SimplePortal, etc.)  After installing this mod, create a new custom PHP block in your portal (see portal instructions) and paste the code from the file portal_block.php, included in this zip package into the new block.

Updates:
v2.04
Optimised and updated the YoutTube video URL search functions
v2.03
fixed bug in mod to BoardIndex.template - remove redundant <table> tag
v2.02
uses StopSpammer mod (if installed) function to check if email from guest is a spammer
v2.01
added auto newsletter unsubscribe to user delete function
fixed various mini-bugs
v2.00
now supports SMFpacks Multimedia Gallery images in addition to SMF Gallery
v1.27
fixed youtube video URL to detect https//
v1.26
added missing picture gallery exclude cats to database
v1.25
added subscribe on register feature
v1.23
fixed portal_block.php syntax error
added more robust check for SMF Gallery
v1.22
fixed bug in video inclusion code (shows in error log)
added sample portal PHP block code
v1.21
fixed SMF_Gallery detection bug in admin settings
v1.20
Cleaned up HTML format improving email client compatibility
Newsletter can include SMF Gallery pictures and YouTube videos (from posts)
v1.14
Now works properly on forums with unsupported languages (reverts to english)
v1.13
moved newsletter CSS style to languages - can now be edited by an admin
....

NewsSubscribe204.zip
18.86 KB v2.04 2.0.19
Manual installation info
You have to register or login to be able to leave a review
There are currently no reviews on this customization
Advertisement: