Visitar URL original
[ticket/17748] Add template event forumlist_body_forum_desc_after by bonelifer · Pull Request #7095 · phpbb/phpbb · GitHub
Skip to content

[ticket/17748] Add template event forumlist_body_forum_desc_after - #7095

Open
bonelifer wants to merge 1 commit into
phpbb:3.3.xfrom
bonelifer:ticket/17748
Open

bonelifer wants to merge 1 commit into
phpbb:3.3.xfrom
bonelifer:ticket/17748

Conversation

@bonelifer

Copy link
Copy Markdown
Member

Checklist:

  • Correct branch: master for new features; 3.3.x for fixes
  • Tests pass
  • Code follows coding guidelines: master and 3.3.x
  • Commit follows commit message format

Tracker ticket:

https://tracker.phpbb.com/browse/PHPBB-17748

Adds {% EVENT forumlist_body_forum_desc_after %} to forumlist_body.html, right after the forum description and before the moderators line, with its entry in docs/events.md. Extensions can then add a line under the description of every forum row, whether or not the forum has a description, moderators or subforums. None of the existing events in the row are in that place.

The use case is phpbbmodders/feedlinks, which shows a forum's Atom and RSS feed links below its description, as phpBB.com does by hand in its forum descriptions.

On master the same line holds <span class="forum-desc">. If the merge into master conflicts, a separate PR against master will follow.

Claude ran tests/event/md_exporter_test.php (219 tests pass), which checks docs/events.md against the template events.


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

🤖 Generated with Claude Code

Lets extensions add a line below a forum's description on the forum
list, for every forum row, whether or not the forum has a description,
moderators or subforums. None of the existing events in the row sit
there: the forum image events come before the forum name, the subforums
events only fire with subforums, and forumlist_body_forum_row_append is
outside the forum's cell.

PHPBB-17748
@github-actions

Copy link
Copy Markdown

The attempt to merge branch 3.3.x into master has completed after considering the changes in this PR.

  • Merge result: Conflict ❌

A separate PR will be needed to merge 3.3.x into master.

bonelifer added a commit to bonelifer/phpbb that referenced this pull request Oct 20, 2026
Master version of phpbb#7095. Lets extensions add a line below a forum's
description on the forum list, for every forum row. On master the
description is in a span.forum-desc; the event follows it.

PHPBB-17748
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