From 039f32872c0d1abd5cfb2a432f2396b15712cefd Mon Sep 17 00:00:00 2001 From: Benjamin Date: Tue, 16 Jun 2026 16:21:43 +0200 Subject: [PATCH] A lot of things --- style_properties.less | 1 + style_properties/_metadata.json | 3 + style_properties/publicLogoUrl.json | 17 + templates/_metadata.json | 22 +- templates/public/PAGE_CONTAINER.html | 29 +- templates/public/extra.less | 2170 +++++++++++++++++- templates/public/misc_preferences_popup.html | 55 + templates/public/romhackplaza_css.html | 3 + templates/public/romhackplaza_js.html | 6 + templates/public/topbar_actions.html | 25 +- 10 files changed, 2286 insertions(+), 45 deletions(-) create mode 100644 style_properties/publicLogoUrl.json create mode 100644 templates/public/misc_preferences_popup.html diff --git a/style_properties.less b/style_properties.less index 503f54b..5bcd5a9 100644 --- a/style_properties.less +++ b/style_properties.less @@ -44,6 +44,7 @@ @xf-paletteNeutral1: #f1f1f1; @xf-paletteNeutral2: #a1a1aa; @xf-paletteNeutral3: #111111; +@xf-publicLogoUrl: ~'data/assets/logo_default/plaza-logo-wide.webp'; @xf-selectedItemBgColor: @xf-paletteAccent1; @xf-selectedItemColor: @xf-paletteAccent3; @xf-styleType: dark; diff --git a/style_properties/_metadata.json b/style_properties/_metadata.json index d2c836b..ecb9028 100644 --- a/style_properties/_metadata.json +++ b/style_properties/_metadata.json @@ -131,6 +131,9 @@ "paletteNeutral3.json": { "hash": "1ec2ef5d3d83ad10b6b7232aaa08c440" }, + "publicLogoUrl.json": { + "hash": "aabe78e8cf804421f6dfa2a20b5028da" + }, "selectedItemBgColor.json": { "hash": "1b6dcccfb12810ca097e9609b6190590" }, diff --git a/style_properties/publicLogoUrl.json b/style_properties/publicLogoUrl.json new file mode 100644 index 0000000..a47fc2b --- /dev/null +++ b/style_properties/publicLogoUrl.json @@ -0,0 +1,17 @@ +{ + "group_name": "basic", + "title": "Logo URL", + "description": "The path from your XenForo root directory to your logo. If you specify alternate variations, they should be the same size. If you specify an SVG, you should set Emails > Email logo URL to a PNG, or similar, for better compatibility.", + "property_type": "value", + "css_components": [], + "value_type": "string", + "value_parameters": "asset=logo", + "has_variations": true, + "depends_on": "", + "value_group": "logo", + "property_value": { + "default": "data/assets/logo_default/plaza-logo-wide.webp", + "alternate": "data/assets/logo_alternate/plaza-logo-wide.webp" + }, + "display_order": 101 +} \ No newline at end of file diff --git a/templates/_metadata.json b/templates/_metadata.json index 30df93d..84af3b4 100644 --- a/templates/_metadata.json +++ b/templates/_metadata.json @@ -3,7 +3,7 @@ "addon_id": "XF", "version_id": 2031070, "version_string": "2.3.10", - "hash": "122ec8228c6c2b8046c4d75aa413e316" + "hash": "a857862c1389c9a7592865e46a440848" }, "public/account_alerts_popup.html": { "addon_id": "XF", @@ -11,6 +11,12 @@ "version_string": "2.3.10", "hash": "625739bb3c29b990a3dfc58e44fd24e8" }, + "public/account_preferences_popup.html": { + "addon_id": "RomhackPlaza/Master", + "version_id": 1000000, + "version_string": "1.0.0", + "hash": "5de44b0169e7c63fb664aefc04832ba3" + }, "public/alert_macros.html": { "addon_id": "XF", "version_id": 2031070, @@ -27,7 +33,7 @@ "addon_id": "XF", "version_id": 2031070, "version_string": "2.3.10", - "hash": "e5bc61bbe761757ea341047fe034fc40" + "hash": "3944286126e45dbc6af560fd1618744e" }, "public/member_tooltip.html": { "addon_id": "XF", @@ -41,22 +47,28 @@ "version_string": "2.3.10", "hash": "5a95069e23fb2a8c740d3d380a0feb34" }, + "public/misc_preferences_popup.html": { + "addon_id": "RomhackPlaza/Master", + "version_id": 1000000, + "version_string": "1.0.0", + "hash": "35f51014f2dfed0104697930d0eff39e" + }, "public/romhackplaza_css.html": { "addon_id": "", "version_id": 0, "version_string": "", - "hash": "9f45a4c55e49ec4481f9e58b20038717" + "hash": "7ef3afe6786ee66da180c97f23f17fcd" }, "public/romhackplaza_js.html": { "addon_id": "", "version_id": 0, "version_string": "", - "hash": "30324ecf51ac365509fce5ef1db2ecd1" + "hash": "211bbfb5f0c06de1d7c6a662d8580604" }, "public/topbar_actions.html": { "addon_id": "RomhackPlaza/Master", "version_id": 1000000, "version_string": "1.0.0", - "hash": "883175f080ec2926eca33fb50f0def1e" + "hash": "c69a27c5c117caf5625183e0e627c89d" } } \ No newline at end of file diff --git a/templates/public/PAGE_CONTAINER.html b/templates/public/PAGE_CONTAINER.html index c5c9617..39299d3 100644 --- a/templates/public/PAGE_CONTAINER.html +++ b/templates/public/PAGE_CONTAINER.html @@ -85,26 +85,28 @@