From 24a2699b03e8730e1039bf4979850facbc94a353 Mon Sep 17 00:00:00 2001 From: Remco Date: Mon, 19 Jan 2026 22:09:11 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=86=99=20More=20fixes=20=F0=9F=86=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../database/seeders/WebsiteHelperCenterCategorySeeder.php | 4 ++-- Updated_Cms/database/seeders/WebsiteSettingsSeeder.php | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Updated_Cms/database/seeders/WebsiteHelperCenterCategorySeeder.php b/Updated_Cms/database/seeders/WebsiteHelperCenterCategorySeeder.php index db90518511..098699973a 100644 --- a/Updated_Cms/database/seeders/WebsiteHelperCenterCategorySeeder.php +++ b/Updated_Cms/database/seeders/WebsiteHelperCenterCategorySeeder.php @@ -55,7 +55,7 @@ class WebsiteHelperCenterCategorySeeder extends Seeder [ 'name' => 'Room Ads', - 'content' => 'Hey there, ' . config('habbo.site.default_name') . " friends! 🌟 Did you know that you can make your room even cooler by displaying images in it? 😮 That's right! With room background furniture, you can embed images directly into your room on the hotel! 🖼️

However, by default, you won't have the furniture access or permission to do this. But no worries, you can apply for it! 🎉 All you need to do is submit a ticket and let us know why you'd like to have these awesome room ad rights. 📝

Once you've got the permission, you'll be able to customize your room and make it truly one-of-a-kind! 🌈 So go ahead and tell us why you need those rights, and let's take your room to the next level together! 🚀", + 'content' => 'Hey there, ' . $defaultName . " friends! 🌟 Did you know that you can make your room even cooler by displaying images in it? 😮 That's right! With room background furniture, you can embed images directly into your room on the hotel! 🖼️

However, by default, you won't have the furniture access or permission to do this. But no worries, you can apply for it! 🎉 All you need to do is submit a ticket and let us know why you'd like to have these awesome room ad rights. 📝

Once you've got the permission, you'll be able to customize your room and make it truly one-of-a-kind! 🌈 So go ahead and tell us why you need those rights, and let's take your room to the next level together! 🚀", 'button_text' => 'Submit a ticket', 'button_url' => '/help-center/tickets/create', 'position' => 1, @@ -63,7 +63,7 @@ class WebsiteHelperCenterCategorySeeder extends Seeder ], [ 'name' => 'Something else?', - 'content' => "We know that sometimes you might have questions, concerns, or just need a little help that doesn't fit into any specific category. No worries, we've got you covered! 🌟

For anything else that you need assistance with, simply select the 'Other' option when submitting a ticket. 📝

Our friendly and helpful Hotel Staff will be more than happy to get in touch and provide the support you need. 🤗 So go ahead, reach out to us for any reason, big or small, and let's make your " . config('habbo.site.default_name') . ' experience the best it can be! 🚀', + 'content' => "We know that sometimes you might have questions, concerns, or just need a little help that doesn't fit into any specific category. No worries, we've got you covered! 🌟

For anything else that you need assistance with, simply select the 'Other' option when submitting a ticket. 📝

Our friendly and helpful Hotel Staff will be more than happy to get in touch and provide the support you need. 🤗 So go ahead, reach out to us for any reason, big or small, and let's make your " . $defaultName . ' experience the best it can be! 🚀', 'button_text' => 'Submit a ticket', 'button_url' => '/help-center/tickets/create', 'position' => 2, diff --git a/Updated_Cms/database/seeders/WebsiteSettingsSeeder.php b/Updated_Cms/database/seeders/WebsiteSettingsSeeder.php index 12f7e3f2c0..3de4ec7524 100644 --- a/Updated_Cms/database/seeders/WebsiteSettingsSeeder.php +++ b/Updated_Cms/database/seeders/WebsiteSettingsSeeder.php @@ -11,7 +11,8 @@ class WebsiteSettingsSeeder extends Seeder { $hotelNameSetting = setting('hotel_name'); $defaultNameConfig = config('habbo.site.default_name'); - $hotelName = is_string($hotelNameSetting) ? $hotelNameSetting : (is_string($defaultNameConfig) ? $defaultNameConfig : ''); + $defaultName = is_string($defaultNameConfig) ? $defaultNameConfig : ''; + $hotelName = $hotelNameSetting !== '' ? $hotelNameSetting : $defaultName; $settings = [ [ 'key' => 'theme',