Skip to content
This repository was archived by the owner on Nov 22, 2025. It is now read-only.

Commit c735c28

Browse files
committed
compatibility update for WSC 5.4
1 parent 69749b7 commit c735c28

File tree

6 files changed

+20
-14
lines changed

6 files changed

+20
-14
lines changed

eventListener.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/eventListener.xsd">
2+
<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/5.4/eventListener.xsd">
33
<import>
44

55
<eventlistener name="welcomeThreadEventListener">

files/lib/system/event/listener/WelcomeThreadEventListener.class.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?php
22

33
namespace wbb\system\event\listener;
4-
use wcf\system\event\listener\IParameterizedEventListener;
54

5+
use wcf\system\event\listener\IParameterizedEventListener;
66
use wcf\system\WCF;
77
use wcf\system\language\LanguageFactory;
88
use wcf\system\html\input\HtmlInputProcessor;
@@ -38,7 +38,7 @@ protected function saved()
3838
if (!isset($newUser->userID)) {
3939
return;
4040
}
41-
41+
4242
// destination forum can not be empty
4343
$boardID = WELCOME_THREAD_DESTINATION;
4444
if (empty($boardID)) {
@@ -101,4 +101,4 @@ protected function saved()
101101
$boardEditor->updateLastPost();
102102
}
103103

104-
}
104+
}

language/de.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<language xmlns="https://www.woltlab.com" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.woltlab.com https://www.woltlab.com/XSD/tornado/language.xsd" languagecode="de" languagename="Deutsch" countrycode="de">
2+
<language xmlns="https://www.woltlab.com" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.woltlab.com https://www.woltlab.com/XSD/5.4/language.xsd" languagecode="de" languagename="Deutsch" countrycode="de">
33

44
<category name="wcf.acp.option">
55
<item name="wcf.acp.option.category.user.welcome_thread"><![CDATA[Willkommensthemen]]></item>

language/en.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<language xmlns="https://www.woltlab.com" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.woltlab.com https://www.woltlab.com/XSD/tornado/language.xsd" languagecode="en" languagename="English" countrycode="gb">
2+
<language xmlns="https://www.woltlab.com" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.woltlab.com https://www.woltlab.com/XSD/5.4/language.xsd" languagecode="en" languagename="English" countrycode="gb">
33

44
<category name="wcf.acp.option">
55
<item name="wcf.acp.option.category.user.welcome_thread"><![CDATA[Welcome Thread]]></item>

option.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/tornado/option.xsd">
2+
<data xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com https://www.woltlab.com/XSD/5.4/option.xsd">
33
<import>
44

55
<categories>

package.xml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<package xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com http://www.woltlab.com/XSD/2019/package.xsd" name="dev.dmedia.WelcomeThread">
2+
<package xmlns="http://www.woltlab.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.woltlab.com https://www.woltlab.com/XSD/5.4/package.xsd" name="dev.dmedia.WelcomeThread">
33
<packageinformation>
4-
<!-- dev.dmedia.WelcomeThread -->
54
<packagename><![CDATA[WoltLab Suite Forum: Welcome Thread]]></packagename>
65
<packagename language="de"><![CDATA[WoltLab Suite Forum: Willkommensthemen]]></packagename>
76
<packagedescription><![CDATA[This plugin creates a welcome thread for your new members.]]></packagedescription>
87
<packagedescription language="de"><![CDATA[Dieses Plugin erstellt ein Willkommensthema für Ihre neuen Mitglieder.]]></packagedescription>
9-
<version>1.0.1</version>
10-
<date>2021-05-20</date>
8+
<version>5.4.0</version>
9+
<date>2021-08-27</date>
1110
</packageinformation>
1211

1312
<authorinformation>
@@ -16,12 +15,12 @@
1615
</authorinformation>
1716

1817
<requiredpackages>
19-
<requiredpackage minversion="5.2.0">com.woltlab.wcf</requiredpackage>
20-
<requiredpackage minversion="5.2.0">com.woltlab.wbb</requiredpackage>
18+
<requiredpackage minversion="5.4.0">com.woltlab.wcf</requiredpackage>
19+
<requiredpackage minversion="5.4.0">com.woltlab.wbb</requiredpackage>
2120
</requiredpackages>
2221

2322
<excludedpackages>
24-
<excludedpackage version="5.4.0">com.woltlab.wcf</excludedpackage>
23+
<excludedpackage version="5.5.0 Alpha 1">com.woltlab.wcf</excludedpackage>
2524
</excludedpackages>
2625

2726
<instructions type="install">
@@ -34,4 +33,11 @@
3433
<instructions type="update" fromversion="1.0.0">
3534
<instruction type="file" application="wbb" />
3635
</instructions>
36+
37+
<instructions type="update" fromversion="1.0.1">
38+
<instruction type="file" application="wbb" />
39+
<instruction type="language"/>
40+
<instruction type="option" />
41+
<instruction type="eventListener" />
42+
</instructions>
3743
</package>

0 commit comments

Comments
 (0)