[Mod} Board Downloads

Started by Deaks, Nov 22, 2026, 09:01 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Deaks

Board Downloads v1.3.2
Turn forum topics into a download catalogue, or build a standalone library with versioned releases.

By BoredSkull
SMF 2.1.x | ISC Licence



What's new in v1.3.2?

  • Download first. The download is now at the top of every listing. In Board mode, the title and date line include a Download · file size button, along with the Discussion and Manage buttons. The page then shows the full list of available downloads, followed by screenshots, the description and related topics. Members can start a download as soon as the page loads, and the description is still below for anyone who wants to read it.
  • Latest release button. In Traditional mode, each listing has a Download (version) · size button at the top for the latest approved release. A second button jumps to the release history.
  • Fixed: Dates such as "Today" showed raw [tt]<strong>[/tt] tags as text. Dates now display correctly on listing pages, on the "Updated" line of the browse cards and on Traditional mode release dates.

You can upgrade directly from any version from v1.1.0 to v1.3.1 through the SMF Package Manager. Your settings, permissions and catalogue content are kept.



Choose how your catalogue works

Board mode is the default and suits forums that already share files in topics. Select your source boards and each becomes a catalogue category. Eligible topics supply the description, author, screenshots, files and discussion link. There is no need to create a second listing or upload the same file twice.

  • Browse by board, search by topic title and sort the results.
  • Show approved attachments from the opening post and replies. New eligible attachments can be picked up automatically.
  • Use Choose downloads on a listing to select the files to offer and set the primary download. The primary download gets the button at the top of the page.
  • Show attached images as screenshot previews by default and link readers back to the original discussion.
  • Keep SMF's board visibility, attachment permissions and native download counts.

Traditional mode, introduced in v1.3.0, lets you manage downloads independently of forum topics. Organise listings into nested categories, set access by membergroup and keep successive releases together on one page.

  • Release history. Publish version numbers, alpha/beta/RC/stable labels, changelogs and SMF or PHP compatibility details. The latest approved release is always one click away at the top of the listing.
  • Member submissions. Members with permission can save drafts and submit listings for approval. Administrators can review pending submissions, schedule publication in UTC, feature downloads and restore listings from the recycle bin.
  • Private storage. Serve uploaded files from outside the web root. Set allowed extensions and upload size limits. Each upload receives a SHA-256 checksum, and duplicate files are detected within the same listing.
  • Search, favourites and ratings. Search titles, descriptions and tags, filter by category or sort the results. Signed-in members can save favourites and rate downloads.
  • Download counts. Public downloads count when a transfer starts. Authorised previews of draft or pending files do not increase the count.

You can switch modes in the settings. Both catalogues retain their content, and switching does not move entries between them. Both use responsive layouts and SMF's native membergroup permissions. The mod uses hooks and requires no edits to SMF core or theme files.



Installation and setup

  • Open Admin → Packages → Download Packages → Upload Package and upload the ZIP. Choose Install for a new installation or Upgrade Package if you are running v1.1.0 to v1.3.1.
  • Open Admin → Configuration → Modification Settings → Board Downloads and choose your catalogue mode.
  • For Board mode, select the boards that contain your downloadable attachments. For Traditional mode, enter the absolute path to a writable storage directory outside the web root, then create your categories and set their membergroup access.
  • Review the allowed file extensions and save your settings. Supported types include ZIP, 7Z, RAR, TAR, GZ, PDF, TXT, DOCX, ODT, ODS, XLSX, PPTX, MP3 and MP4.
  • Under Admin → Members → Permissions, allow View Downloads catalogue for each group that should have access. In Traditional mode, grant Submit traditional downloads to members who should be able to submit listings.

Allowing guests to download files

First, grant View Downloads catalogue to Guests. Then check the settings for your chosen mode.

  • Board mode. The source board must be selected in Board Downloads and visible to guests. Guests also need SMF's View attachments permission on that board to download its files.
  • Traditional mode. The category must allow guest access and the listing must be published. A blank category access list restricts the category to administrators.

Test by opening the catalogue in a private browser window and downloading a file while logged out.



Optional integrations

Board Downloads works on its own. If you use other BoredSkull modifications, the following integrations are available.

  • Activity Stream, Community Insights and Community Digest can show Board mode activity, report download-topic statistics and include eligible new downloads in digests.
  • Topic Tags & Prefixes, Knowledge Base and Event Manager can show existing topic labels, related published articles and linked events on Board mode listings.
  • Clubs boards can be selected as source boards. Their existing access rules apply.
  • GitHub Integration 1.0.1 lets administrators refresh the latest release tag and changelog for a Traditional mode listing from a repository configured in the companion mod.
  • For developers, Traditional mode provides [tt]BoredBoardDownloads::traditionalInfo($entryId)[/tt] to retrieve published listing details the current viewer can access. Read-only integration support is also available for future BoredChat extensions.



Earlier releases

  • v1.3.1 replaced the internal language key [tt]cannot_bd_view[/tt] with a proper "You do not have permission to view the Downloads catalogue." message for members
  • 👍 1

    Members who reacted


Deaks

Board Downloads 1.3.0

  • New Traditional mode. Build a standalone downloads catalogue with nested categories, tags and member-owned listings. Administrators can set which membergroups can access each category.
  • Switch between two catalogue modes. Board mode remains the default for existing forums and keeps your topics and selected attachments. Switching modes preserves both catalogues and keeps their content separate.
  • Versioned releases. Each listing can hold multiple releases with version numbers, alpha/beta/RC/stable labels, SMF and PHP compatibility details, changelogs and release history.
  • Submission and moderation tools. Members with permission can save drafts and submit downloads for approval. Administrators can filter the dashboard to pending submissions, schedule publication in UTC, feature downloads and restore deleted listings from the recycle bin.
  • Private file storage. Traditional mode serves files from a directory outside the web root. Administrators can set allowed extensions and upload size limits. Each upload receives a SHA-256 checksum, and duplicate files are detected within the same listing.
  • Catalogue browsing. Visitors can search by title, description or tag, filter by category and sort results. Members can save favourites and rate downloads. Searches in both modes now handle literal characters such as % and _ correctly.
  • Download counters. Counters track public downloads when a transfer starts. Authors with submission permission and administrators can inspect accessible draft or pending files without increasing the count.
  • Optional GitHub integration. With GitHub Integration 1.0.1 enabled, administrators can refresh the latest release tag and changelog from a repository configured in the companion mod.
  • Companion mod support. Existing Board mode hooks remain available in Board mode. Traditional mode adds [tt]BoredBoardDownloads::traditionalInfo($entryId)[/tt] so companion mods can retrieve published listing details subject to the viewer's permissions.
  • Administration and upgrades. Settings are now under Admin → Configuration → Modification Settings → Board Downloads. The previous settings link redirects there. Uninstalling preserves catalogue records and privately stored files.
  • 0 reactions

    Members who reacted


Deaks

thanks to @lurkalot for accidently finding a bug 1.3.1 has been released,  an error message showed to groups who did not have accesss, instead of a warning.
  • 0 reactions

    Members who reacted


Deaks

1.3.2 released
  • 0 reactions

    Members who reacted