Migration complete

This commit is contained in:
2026-06-23 19:24:37 +02:00
parent 0436a99a7c
commit 39adc2171c
25 changed files with 517 additions and 25 deletions

View File

@@ -22,5 +22,14 @@
},
"public/rhpz_forum_overview_wrapper_search_button.json": {
"hash": "af109f16aca8a12c4f8496fc4431f4b8"
},
"public/rhpz_member_macros_member_stat_pairs_entry_count.json": {
"hash": "3d744e57f81abeb7f2d8291404f1e5b3"
},
"public/rhpz_member_view_add_entry_tab.json": {
"hash": "35151043dca0be7987a72ee8b1cffc6f"
},
"public/rhpz_member_view_add_entry_tabpanel.json": {
"hash": "5fcc29178d06fc924bdb604734cc9c59"
}
}

View File

@@ -0,0 +1,9 @@
{
"template": "member_macros",
"description": "Add RHPZ Entry count on member profile page",
"execution_order": 10,
"enabled": true,
"action": "str_replace",
"find": "<!--[XF:stat_pairs:above_reactions]-->",
"replace": "<dl class=\"pairs pairs--rows pairs--rows--centered\">\n\t<dt>{{ phrase('entries') }}</dt>\n\t<dd>\n\t\t{$user.rhpz_entry_count|number}\n\t</dd>\n</dl>"
}

View File

@@ -0,0 +1,9 @@
{
"template": "member_view",
"description": "Add entry tab on members page",
"execution_order": 10,
"enabled": true,
"action": "str_replace",
"find": "<!--[XF:tabs:after_recent_content]-->",
"replace": "<a href=\"{{ $xf.options.homePageUrl }}/database?userId={$user.user_id}\"\n class=\"tabs-tab\"\n id=\"entries\">{{ phrase('entries') }}</a>\n$0"
}

View File

@@ -0,0 +1,9 @@
{
"template": "member_view",
"description": "Add Entry tab panel",
"execution_order": 10,
"enabled": true,
"action": "str_replace",
"find": "<!--[XF:tab_panes:after_recent_content]-->",
"replace": "<li role=\"tabpanel\" aria-labelledby=\"entries\">\n\t<a href=\"{{$xf.options.homePageUrl}}/database?userId={$user.user_id}\" class=\"button\">Go to this page</a>\n</li>\n$0"
}