From 3a3547eb62fc45bff619a418f2ad877cf21e4b1e Mon Sep 17 00:00:00 2001 From: William Jacoby Date: Wed, 28 Oct 2026 11:09:50 -0500 Subject: [PATCH 1/2] Show each post's attachments on the print-all page The attachment list read loops.attachment, which never holds a post's attachments, so it printed an empty heading. It was then removed (#10); this puts it back, reading postrow.attachment. Co-Authored-By: Claude Opus 5.5 --- README.md | 1 + styles/prosilver/template/viewtopic_printall.html | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/README.md b/README.md index 24cd80a..6f52183 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,7 @@ Lets users who can print topics in a forum print every post in a topic on one pa - Adds a **Print all** link to the **Topic tools** menu, next to phpBB's own **Print view**. It opens in a new tab. - phpBB's print view shows one page of posts at a time. **Print all** shows every post in the topic on a single printable page. +- Each post's attachments are listed under it, which phpBB's own print view leaves out. - Uses phpBB's existing **Can print topic** forum permission. Users without it don't see the link and can't open the page. ## Screenshots diff --git a/styles/prosilver/template/viewtopic_printall.html b/styles/prosilver/template/viewtopic_printall.html index 9707641..bda8a9a 100644 --- a/styles/prosilver/template/viewtopic_printall.html +++ b/styles/prosilver/template/viewtopic_printall.html @@ -34,6 +34,16 @@

{{ postrow.POST_SUBJECT }}

{{ lang('POST_BY_AUTHOR') }} {{ postrow.POST_AUTHOR }}
{{ postrow.MESSAGE }}
+ {% if postrow.S_HAS_ATTACHMENTS %} +
+
+ {{ lang('ATTACHMENTS') }}{{ lang('COLON') }} +
+ {% for attachment in postrow.attachment %} +
{{ attachment.DISPLAY_ATTACHMENT }}
+ {% endfor %} +
+ {% endif %}
{% endfor %} From 73051b57fae5c5f966a9b3fe7d6f230044780930 Mon Sep 17 00:00:00 2001 From: William Jacoby Date: Wed, 28 Oct 2026 11:10:23 -0500 Subject: [PATCH 2/2] Bump version to 1.0.5 Co-Authored-By: Claude Opus 5.5 --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 7f2a735..8f52a81 100644 --- a/composer.json +++ b/composer.json @@ -3,8 +3,8 @@ "type": "phpbb-extension", "description": "Lets users who can print topics in a forum print every post in a topic on one page.", "homepage": "https://www.phpbbmodders.com/", - "version": "1.0.4", - "time": "2026-10-22", + "version": "1.0.5", + "time": "2026-10-28", "keywords": [ "phpbb", "extension",