🆙 More fixes 🆙

This commit is contained in:
Remco
2026-01-19 22:09:11 +01:00
parent ffb5dc79fa
commit 24a2699b03
2 changed files with 4 additions and 3 deletions
@@ -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! 🖼️<br/><br/>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. 📝<br/><br/>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! 🖼️<br/><br/>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. 📝<br/><br/>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! 🌟<br/><br/>For anything else that you need assistance with, simply select the 'Other' option when submitting a ticket. 📝<br/><br/>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! 🌟<br/><br/>For anything else that you need assistance with, simply select the 'Other' option when submitting a ticket. 📝<br/><br/>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,
@@ -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',