Skip to content

Show forum-list feed links through the new template event - #8

Merged
bonelifer merged 2 commits into
mainfrom
varma/forumlist-event
Nov 11, 2026
Merged

bonelifer merged 2 commits into
mainfrom
varma/forumlist-event

Conversation

@bonelifer

Copy link
Copy Markdown
Contributor

Uses the new forum-list template event for the feed links, and keeps development files out of the ZIP.

Forum-list links through forumlist_body_forum_desc_after. phpBB 3.3.20 and 4.0 add this template event (PHPBB-17748, phpbb/phpbb#7095 and #7096), requested for this extension. Until now the links were appended to FORUM_DESC, which put markup inside a value styles treat as description text.

  • When the forum list template of the user's style (or the parent style it inherits it from) has the event, the links go in their own forumrow.FEEDLINKS_FORUMLIST_LINKS variable, shown by a new forumlist_body_forum_desc_after.html template.
  • Styles without it, including phpBB 3.3.19's Prosilver and older custom styles, keep the old behavior, so no style loses its links.
  • The style is looked up once per request.
  • docs/events/ records that the event request was merged.

Packaging: docs/ and .editorconfig are now export-ignored. The ZIP carried docs/events/ and .editorconfig.

Testing. Claude ran, on this branch:

  • The PHPUnit suite on phpBB 3.3.x and master: 47 tests, including new cases for a style with the event, a child style that inherits it, and a child style that overrides the template without it.
  • phpbb-release-tools' new Feed Links feature check through db-matrix.sh on phpBB 3.3.19 and 4.0.0-a3-dev with SQLite, MySQL, MariaDB, PostgreSQL and MSSQL. On 3.3.19 the links were appended to the description, and on 4.0 they came through the event. The check also covers the forum page, a valid RSS 2.0 feed, and no links for forums set to none, plus a disable/purge/enable round trip.
  • EPV on both branches, phpBB's code sniffer on both rulesets, php -l --strict on PHP 8.1 and 8.4, and the template accessibility check: no findings.

🤖 Generated with Claude Code


Investigated and written by Claude on behalf of William Jacoby (bonelifer).

bonelifer and others added 2 commits November 10, 2026 18:07
phpBB 3.3.20 and 4.0 add forumlist_body_forum_desc_after (PHPBB-17748),
requested for this extension. When the user's style has the event in its
forumlist_body.html (directly or from a parent style), the links go in
their own forumrow variable shown by that event instead of being appended
to FORUM_DESC. Styles without it, including phpBB 3.3.19's Prosilver,
keep the old behavior. The event request doc records the merge.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bonelifer
bonelifer merged commit 1719486 into main Nov 11, 2026
53 checks passed
@bonelifer
bonelifer deleted the varma/forumlist-event branch November 11, 2026 00:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant