From a4e2d89e037dbbcb349777113f4a6f6142d5ddb6 Mon Sep 17 00:00:00 2001 From: Zoddo Date: Sun, 29 Jul 2018 22:30:15 +0200 Subject: [PATCH 1/4] [ticket/15735] Add posting_preview_content_after template event Needed for extensions who adds information at the end of the message (such as moderator messages). PHPBB3-15735 --- phpBB/docs/events.md | 7 +++++++ phpBB/styles/prosilver/template/posting_preview.html | 2 ++ 2 files changed, 9 insertions(+) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index f2b87ce7f1..42dea6b360 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -1707,6 +1707,13 @@ posting_poll_body_options_after * Since: 3.1.4-RC1 * Purpose: Add content after the poll options on creating a poll +posting_preview_content_after +=== +* Locations: + + styles/prosilver/template/posting_preview.html +* Since: 3.2.4-RC1 +* Purpose: Add content after the message content preview + posting_preview_poll_after === * Locations: diff --git a/phpBB/styles/prosilver/template/posting_preview.html b/phpBB/styles/prosilver/template/posting_preview.html index aac117c090..781d0de06b 100644 --- a/phpBB/styles/prosilver/template/posting_preview.html +++ b/phpBB/styles/prosilver/template/posting_preview.html @@ -31,6 +31,8 @@
{PREVIEW_MESSAGE}
+ +
{L_ATTACHMENTS}
From 614e10888cb77cfb03cf18cbe8fdfeaa25485499 Mon Sep 17 00:00:00 2001 From: Zoddo Date: Sun, 29 Jul 2018 23:22:05 +0200 Subject: [PATCH 2/4] [ticket/15735] Add posting_topic_review_row_content_after template event Needed for extensions who adds information at the end of the message (such as moderator messages). PHPBB3-15735 --- phpBB/docs/events.md | 7 +++++++ phpBB/styles/prosilver/template/posting_topic_review.html | 2 ++ 2 files changed, 9 insertions(+) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 42dea6b360..469af2759f 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -1721,6 +1721,13 @@ posting_preview_poll_after * Since: 3.1.7-RC1 * Purpose: Add content after the poll preview block +posting_topic_review_row_content_after +=== +* Locations: + + styles/prosilver/template/posting_topic_review.html +* Since: 3.2.4-RC1 +* Purpose: Add content after the message content in topic review + posting_topic_review_row_post_details_after === * Locations: diff --git a/phpBB/styles/prosilver/template/posting_topic_review.html b/phpBB/styles/prosilver/template/posting_topic_review.html index 55739070ae..93c4484ff8 100644 --- a/phpBB/styles/prosilver/template/posting_topic_review.html +++ b/phpBB/styles/prosilver/template/posting_topic_review.html @@ -60,6 +60,8 @@
{topic_review_row.MESSAGE}
+ +
{L_ATTACHMENTS}
From 5304b7d0b31caa3913fbdfae0957b1493e56753e Mon Sep 17 00:00:00 2001 From: Zoddo Date: Sun, 29 Jul 2018 23:57:57 +0200 Subject: [PATCH 3/4] [ticket/15735] Add search_results_content_after template event Needed for extensions who adds information at the end of the message (such as moderator messages). PHPBB3-15735 --- phpBB/docs/events.md | 7 +++++++ phpBB/styles/prosilver/template/search_results.html | 1 + 2 files changed, 8 insertions(+) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 469af2759f..2f4c47e6d8 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -1889,6 +1889,13 @@ search_body_search_query_prepend * Since: 3.1.7-RC1 * Purpose: Put content at the top of the search query fields set +search_results_content_after +=== +* Locations: + + styles/prosilver/template/search_results.html +* Since: 3.2.4-RC1 +* Purpose: Add content after the message content in search results + search_results_header_after === * Locations: diff --git a/phpBB/styles/prosilver/template/search_results.html b/phpBB/styles/prosilver/template/search_results.html index 6bc5c72a87..b6755e3d4a 100644 --- a/phpBB/styles/prosilver/template/search_results.html +++ b/phpBB/styles/prosilver/template/search_results.html @@ -194,6 +194,7 @@

{searchresults.POST_SUBJECT}

{searchresults.MESSAGE}
+
From 6cce62c0ca0fdbe73ec203e9590b4eebebb2a4ed Mon Sep 17 00:00:00 2001 From: Zoddo Date: Mon, 30 Jul 2018 00:24:56 +0200 Subject: [PATCH 4/4] [ticket/15735] Add viewtopic_body_postrow_content_after template event Needed for extensions who adds information at the end of the message (such as moderator messages). PHPBB3-15735 --- phpBB/docs/events.md | 7 +++++++ phpBB/styles/prosilver/template/viewtopic_body.html | 2 ++ 2 files changed, 9 insertions(+) diff --git a/phpBB/docs/events.md b/phpBB/docs/events.md index 2f4c47e6d8..6672353296 100644 --- a/phpBB/docs/events.md +++ b/phpBB/docs/events.md @@ -2674,6 +2674,13 @@ viewtopic_body_postrow_back2top_prepend * Since: 3.1.8-RC1 * Purpose: Add content to the post's bottom directly before the back to top link +viewtopic_body_postrow_content_after +=== +* Locations: + + styles/prosilver/template/viewtopic_body.html +* Since: 3.2.4-RC1 +* Purpose: Add content after the message content in topics views + viewtopic_body_postrow_custom_fields_after === * Locations: diff --git a/phpBB/styles/prosilver/template/viewtopic_body.html b/phpBB/styles/prosilver/template/viewtopic_body.html index a9136e1810..8d7e26f099 100644 --- a/phpBB/styles/prosilver/template/viewtopic_body.html +++ b/phpBB/styles/prosilver/template/viewtopic_body.html @@ -326,6 +326,8 @@
{postrow.MESSAGE}
+ +