[Mod] Community Digest

Started by Deaks, Nov 20, 2026, 05:08 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Deaks

Community Digest v1.1.7
Personalised forum roundups for SMF 2.1.x
By BoredSkull · ISC Licence

Community Digest helps members catch up on conversations they might otherwise miss. A member who follows a support board might see a question waiting for its first reply, while someone who regularly joins a discussion can jump straight to its first new post. Each recommendation explains why it was picked.

Members can read their digest on the forum, receive it by email or use both. Forum delivery is the default, and email is opt-in. Community Digest runs independently and uses SMF integration hooks without requiring core or theme edits.

SMF Customisation Site · Community Digest (awaiting approval)



What's New in v1.1.7?

  • Personalised picks now reach both destinations. Members who choose dashboard and email delivery now receive their recommendations in the email too. Previously, the email could contain only events, new members and statistics, or be skipped as empty.
  • Dashboard sidebar — Fixed the "Undefined array key" warnings the sidebar could add to the SMF error log.
  • Upcoming events — Event titles now use the forum's word-censor settings.
  • Admin test delivery — Searching for a member now works when their name contains an apostrophe or ampersand.
  • Installation and credits — Default settings take effect immediately after installation, and the credits line now shows the installed version number.
  • Upgrading — One upgrade path covers every version from v1.0.0 through v1.1.6. It keeps member preferences, recommendation history, delivery logs and queued emails without changing the database structure.



What Goes Into a Digest?

Recommendations draw on boards a member selects or follows through SMF notifications, topics they follow or have contributed to, interest keywords, buddies and recent forum activity. A card might say "New in Off-Topic, which you follow", so the member can see why it appeared.

Administrators choose which sections the forum offers. Members then choose which of those sections they want in their own digest.

  • Picked for You highlights topics that match the member's interests. From People You Follow brings together activity from SMF buddies and, when available, members followed through Activity Stream.
  • Waiting for a Reply surfaces discussions that could use a response. Popular Discussions highlights active conversations, while Polls to Vote In shows eligible polls the member has yet to vote in.
  • Upcoming Events, New Members and Community at a Glance round out the digest with calendar entries, recent registrations and forum statistics.

Optional BoredSkull Integrations

  • Questions & Answers adds Popular Questions with Open and Solved indicators.
  • Clubs adds Club Updates for clubs the member belongs to, subject to board permissions.
  • Profile Wall adds Your Profile Wall with a count of new comments.
  • Ranked Polls identifies ranked-choice polls with a badge.

Admins can check availability and switch each integration on or off. Developers can add sections through the [tt]integrate_community_digest_sections[/tt] hook.

Delivery and the Member Dashboard

Members can choose a daily, weekly or monthly digest, or turn it off. Delivery preferences include the channel, preferred weekday and hour, using the member's own time zone.

Open ?action=digest on your forum to read the latest digest. Members can browse topic excerpts, mark one or all recommendations as read, refresh their picks, preview their email and change their preferences. Opening a recommendation marks it as read and takes the member to the first new post.

A standard SMF alert lets members know when their on-forum digest is ready. They can disable this alert in their profile. Each subscription email also includes an unsubscribe link that works without signing in. A confirmation step prevents automated email scanners from cancelling a subscription just by opening the link.

Visibility and Content Filters

  • Access checks run when the digest is generated and again when dashboard content is displayed. They respect board visibility, denied membergroups and board-manager access. Polls, events and member information also require the relevant SMF permissions.
  • Member preferences filter out ignored boards and members, explicitly unwatched topics and discussions already read to the end. Previously recommended topics can return when there is fresh activity, subject to the forum's repeat limits.
  • Moderation filters exclude unapproved topics, redirects, recycle-bin content, topics with open reports and topics started by banned or unactivated accounts. Admins can exclude boards, skip locked topics or set a minimum post count for topic starters. Authorised moderators can exclude individual topics.



Installation and Administration

For a fresh installation, go to Admin → Packages → Download Packages → Upload Package, upload the package and select Install Now. For an existing installation, back up your forum database and use the Package Manager's Upgrade action.

Configure the mod under Admin → Configuration → Community Digest.

  • Content and preferences — Set delivery defaults, available frequencies, sections and integrations. Adjust recommendation weights, excerpt length, repeat limits and the maximum number of picks per section or digest.
  • Scheduled delivery — An hourly task processes due digests in configurable batches. Email uses SMF's mail system, including its queue and throttling when enabled. Admins can set a daily email cap. Delayed or failed sends are queued separately and retried with increasing delays, up to eight attempts, so dashboard delivery can continue.
  • Testing and diagnostics — Preview a member's digest or send a test delivery. The admin dashboard shows how many members have digests enabled, how many use email, how many digests are due, emails sent today and recent failures. The delivery log records successful, skipped and failed deliveries, with configurable retention and a failures-only filter.

To check the hourly task, go to Admin → Maintenance → Scheduled Tasks → Community Digest.

Uninstallation

Uninstalling disables the scheduled task. Select Remove all data associated with this modification only if you also want to delete the digest tables, configuration, alerts and alert preferences.



Previous Releases

  • v1.1.6 — Integration detection and visibility. Detection now checks companion source files as well as database tables. Disabled or unavailable sections disappear immediately from settings, preferences and saved dashboard cards. Calendar, member-list and poll sections follow the relevant access permissions. SMF buddies continue to power the Following section when Activity Stream is unavailable. Added direct upgrades from v1.1.4 and v1.1.5.
  • v1.1.5 — Member preferences. Unavailable companion sections were hidden from preferences and cleared when members saved their choices.
  • v1.1.4 — Activity Stream compatibility. Improved detection of supported follow tables and prevented invalid queries when an unfamiliar table structure was found.
  • v1.1.3 — Installation reliability. Fixed an installation error caused by the length of the scheduled task's callback name. Retrying installation preserves existing data and avoids duplicate tasks.
  • v1.1.2 — Permissions and digest accuracy. Improved board and poll eligibility checks, reporting-period caching, queued email selection and handling of empty digests.
  • v1.1.1 — Email subscriptions. Delayed emails retain their original reporting period. Admin test deliveries no longer create subscriptions for the recipients.
  • v1.1.0 — Delivery and moderation. Introduced the email retry queue, improved moderation permissions, club visibility and output escaping, and corrected test delivery and preference saving.

Support and Suggestions

For help or bug reports, please use the Support board. Include your SMF and Community Digest versions. For a delivery issue, let us know whether the member selected dashboard, email or both, and what appeared in each place. Ideas for new digest sections or integrations are welcome on the Requests board.
  • 0 reactions

    Members who reacted


Oldiesmann

Nice. I may throw this on the Seniors forum as an experiment. I think some of the members there might enjoy this.
  • 👍 2 · ❤️ 1

    Members who reacted


Old Mellow

Something like this may also help move people from social media to forums. :)
  • 0 reactions

    Members who reacted


Deaks

Fixes in 1.1.7
  • Fixed: members on both on-forum and email delivery now get their picks in the email too. Before, the email arrived with only events, new members and stats, or was skipped as empty.
  • Fixed: the dashboard sidebar no longer adds "Undefined array key" warnings to the error log.
  • Fixed: upcoming event titles now use the forum's word censoring.
  • Fixed: admin test delivery now finds members whose names contain apostrophes or ampersands.
  • Fixed: the credits line now shows the version number.
  • Fixed: new default settings take effect straight after installing.
  • Upgrading: one upgrade path now covers every version from 1.0.0 to 1.1.6. Preferences, recommendation history, logs and queued emails are kept, with no database changes.
  • 0 reactions

    Members who reacted