Commit | Line | Data |
---|---|---|
320f4a6d MW |
1 | <?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/maelstrom/userOption.xsd"> | |
3 | <import> | |
4 | <categories> | |
5 | <category name="profile"> | |
6 | <showorder>1</showorder> | |
7 | </category> | |
8 | ||
9 | <!-- profile --> | |
10 | <category name="profile.aboutMe"> | |
11 | <parent>profile</parent> | |
12 | </category> | |
13 | <category name="profile.personal"> | |
14 | <parent>profile</parent> | |
15 | </category> | |
16 | <category name="profile.contact"> | |
17 | <parent>profile</parent> | |
18 | </category> | |
19 | <!-- /profile --> | |
20 | ||
21 | <category name="settings"> | |
22 | <showorder>2</showorder> | |
23 | </category> | |
24 | ||
25 | <!-- settings --> | |
26 | <category name="settings.general"> | |
27 | <showorder>1</showorder> | |
28 | <parent>settings</parent> | |
29 | </category> | |
30 | <category name="settings.general.appearance"> | |
31 | <showorder>1</showorder> | |
32 | <parent>settings.general</parent> | |
33 | </category> | |
34 | <category name="settings.general.interface"> | |
35 | <showorder>2</showorder> | |
36 | <parent>settings.general</parent> | |
37 | </category> | |
38 | <category name="settings.general.date"> | |
39 | <showorder>3</showorder> | |
40 | <parent>settings.general</parent> | |
41 | </category> | |
42 | ||
43 | <category name="settings.privacy"> | |
44 | <showorder>2</showorder> | |
45 | <parent>settings</parent> | |
46 | </category> | |
47 | <category name="settings.privacy.content"> | |
48 | <parent>settings.privacy</parent> | |
49 | </category> | |
50 | <category name="settings.privacy.messaging"> | |
51 | <parent>settings.privacy</parent> | |
52 | </category> | |
53 | <!-- /settings --> | |
54 | </categories> | |
2d63c13c | 55 | |
320f4a6d MW |
56 | <options> |
57 | <!-- profile --> | |
58 | <option name="aboutMe"> | |
59 | <categoryname>profile.aboutMe</categoryname> | |
258172f6 | 60 | <optiontype>aboutMe</optiontype> |
320f4a6d MW |
61 | <outputclass>wcf\system\option\user\MessageUserOptionOutput</outputclass> |
62 | <visible>15</visible> | |
63 | <editable>3</editable> | |
8c04da7a | 64 | <messageObjectType>com.woltlab.wcf.user.aboutMe</messageObjectType> |
320f4a6d MW |
65 | </option> |
66 | <option name="birthday"> | |
67 | <categoryname>profile.personal</categoryname> | |
68 | <optiontype>birthday</optiontype> | |
69 | <outputclass>wcf\system\option\user\BirthdayUserOptionOutput</outputclass> | |
70 | <searchable>1</searchable> | |
71 | <visible>15</visible> | |
72 | <editable>3</editable> | |
73 | </option> | |
74 | <option name="birthdayShowYear"> | |
75 | <categoryname>profile.personal</categoryname> | |
76 | <optiontype>boolean</optiontype> | |
77 | <visible>0</visible> | |
78 | <editable>3</editable> | |
79 | <defaultvalue>1</defaultvalue> | |
80 | </option> | |
81 | ||
82 | <option name="gender"> | |
83 | <categoryname>profile.personal</categoryname> | |
567b90a3 | 84 | <optiontype>select</optiontype> |
320f4a6d MW |
85 | <outputclass>wcf\system\option\user\SelectOptionsUserOptionOutput</outputclass> |
86 | <selectoptions> | |
87 | <![CDATA[0:wcf.global.noDeclaration | |
88 | 1:wcf.user.gender.male | |
89 | 2:wcf.user.gender.female]]> | |
90 | </selectoptions> | |
91 | <defaultvalue>0</defaultvalue> | |
92 | <searchable>1</searchable> | |
93 | <visible>15</visible> | |
94 | <editable>3</editable> | |
95 | </option> | |
96 | <option name="location"> | |
97 | <categoryname>profile.personal</categoryname> | |
98 | <optiontype>text</optiontype> | |
99 | <searchable>1</searchable> | |
100 | <visible>15</visible> | |
101 | <editable>3</editable> | |
102 | </option> | |
103 | <option name="occupation"> | |
104 | <categoryname>profile.personal</categoryname> | |
105 | <optiontype>text</optiontype> | |
106 | <searchable>1</searchable> | |
107 | <visible>15</visible> | |
108 | <editable>3</editable> | |
109 | </option> | |
110 | <option name="hobbies"> | |
111 | <categoryname>profile.personal</categoryname> | |
112 | <optiontype>text</optiontype> | |
113 | <searchable>1</searchable> | |
114 | <visible>15</visible> | |
115 | <editable>3</editable> | |
116 | </option> | |
117 | <option name="adminComment"> | |
118 | <categoryname>profile.personal</categoryname> | |
119 | <optiontype>textarea</optiontype> | |
320f4a6d MW |
120 | <outputclass>wcf\system\option\user\NewlineToBreakUserOptionOutput</outputclass> |
121 | <visible>2</visible> | |
122 | <editable>2</editable> | |
123 | </option> | |
124 | <option name="homepage"> | |
125 | <categoryname>profile.contact</categoryname> | |
9a2e9e76 | 126 | <optiontype>URL</optiontype> |
320f4a6d MW |
127 | <outputclass>wcf\system\option\user\URLUserOptionOutput</outputclass> |
128 | <searchable>1</searchable> | |
129 | <validationpattern>^$|^https?://</validationpattern> | |
130 | <visible>15</visible> | |
131 | <editable>3</editable> | |
132 | </option> | |
133 | <option name="icq"> | |
134 | <categoryname>profile.contact</categoryname> | |
135 | <optiontype>text</optiontype> | |
136 | <searchable>1</searchable> | |
137 | <validationpattern>^$|^([0-9](-| )?)+[0-9]$</validationpattern> | |
138 | <contentpattern>^(\d{3})-(\d{3})-(\d{3})$</contentpattern> | |
139 | <visible>15</visible> | |
140 | <editable>3</editable> | |
141 | </option> | |
142 | <option name="skype"> | |
143 | <categoryname>profile.contact</categoryname> | |
144 | <optiontype>text</optiontype> | |
145 | <searchable>1</searchable> | |
146 | <visible>15</visible> | |
147 | <editable>3</editable> | |
148 | </option> | |
149 | <option name="facebook"> | |
150 | <categoryname>profile.contact</categoryname> | |
151 | <optiontype>text</optiontype> | |
152 | <outputclass>wcf\system\option\user\FacebookUserOptionOutput</outputclass> | |
153 | <validationpattern>^$|^[A-Za-z\d.]{5,}$</validationpattern> | |
154 | <contentpattern>^https?://www.facebook.com/([A-Za-z\d.]{5,})$</contentpattern> | |
155 | <searchable>1</searchable> | |
156 | <visible>15</visible> | |
157 | <editable>3</editable> | |
158 | </option> | |
159 | <option name="twitter"> | |
160 | <categoryname>profile.contact</categoryname> | |
161 | <optiontype>text</optiontype> | |
162 | <outputclass>wcf\system\option\user\TwitterUserOptionOutput</outputclass> | |
163 | <validationpattern>^$|^[A-Za-z0-9_]+$</validationpattern> | |
164 | <contentpattern>^https?://twitter.com/([A-Za-z0-9_]+)$</contentpattern> | |
165 | <searchable>1</searchable> | |
166 | <visible>15</visible> | |
167 | <editable>3</editable> | |
168 | </option> | |
169 | <option name="googlePlus"> | |
170 | <categoryname>profile.contact</categoryname> | |
171 | <optiontype>text</optiontype> | |
172 | <outputclass>wcf\system\option\user\GooglePlusUserOptionOutput</outputclass> | |
1f3d1838 | 173 | <validationpattern>^$|^\d{21}$|^\+\S[^/]+$</validationpattern> |
116f76e8 | 174 | <contentpattern>^https?://(?:plus|www).google(?:apis)?.com(?:/\w+/\w+(?:/\w)?)?/(\d{21}|\+\S[^/]+)$</contentpattern> |
320f4a6d MW |
175 | <searchable>1</searchable> |
176 | <visible>15</visible> | |
177 | <editable>3</editable> | |
178 | </option> | |
179 | <!-- /profile --> | |
180 | ||
181 | <!-- settings --> | |
b22b7eae AE |
182 | <option name="recentActivitiesFilterByFollowing"> |
183 | <categoryname>hidden</categoryname> | |
184 | <optiontype>boolean</optiontype> | |
185 | <defaultvalue>1</defaultvalue> | |
186 | </option> | |
320f4a6d MW |
187 | <option name="timezone"> |
188 | <categoryname>settings.general.date</categoryname> | |
189 | <optiontype>timezone</optiontype> | |
190 | <editable>3</editable> | |
191 | </option> | |
192 | <option name="showSignature"> | |
193 | <categoryname>settings.general.appearance</categoryname> | |
194 | <optiontype>boolean</optiontype> | |
195 | <editable>3</editable> | |
196 | <defaultvalue>1</defaultvalue> | |
197 | <options>module_user_signature</options> | |
198 | </option> | |
199 | ||
200 | <!-- settings.privacy.content --> | |
201 | <option name="canViewOnlineStatus"> | |
202 | <categoryname>settings.privacy.content</categoryname> | |
203 | <optiontype>select</optiontype> | |
204 | <editable>3</editable> | |
205 | <selectoptions><![CDATA[0:wcf.user.access.everyone | |
206 | 1:wcf.user.access.registered | |
207 | 2:wcf.user.access.following | |
208 | 3:wcf.user.access.nobody]]></selectoptions> | |
209 | <defaultvalue>0</defaultvalue> | |
210 | </option> | |
211 | <option name="canViewProfile"> | |
212 | <categoryname>settings.privacy.content</categoryname> | |
213 | <optiontype>select</optiontype> | |
214 | <editable>3</editable> | |
215 | <selectoptions><![CDATA[0:wcf.user.access.everyone | |
216 | 1:wcf.user.access.registered | |
217 | 2:wcf.user.access.following | |
218 | 3:wcf.user.access.nobody]]></selectoptions> | |
219 | <defaultvalue>0</defaultvalue> | |
220 | </option> | |
221 | ||
222 | <!-- settings.privacy.messaging --> | |
223 | <option name="canViewEmailAddress"> | |
224 | <categoryname>settings.privacy.messaging</categoryname> | |
225 | <optiontype>select</optiontype> | |
226 | <editable>3</editable> | |
227 | <selectoptions><![CDATA[0:wcf.user.access.everyone | |
228 | 1:wcf.user.access.registered | |
229 | 2:wcf.user.access.following | |
230 | 3:wcf.user.access.nobody]]></selectoptions> | |
231 | <defaultvalue>3</defaultvalue> | |
232 | </option> | |
233 | <option name="canMail"> | |
234 | <categoryname>settings.privacy.messaging</categoryname> | |
235 | <optiontype>select</optiontype> | |
236 | <editable>3</editable> | |
237 | <selectoptions><![CDATA[0:wcf.user.access.everyone | |
238 | 1:wcf.user.access.registered | |
239 | 2:wcf.user.access.following | |
240 | 3:wcf.user.access.nobody]]></selectoptions> | |
241 | <defaultvalue>1</defaultvalue> | |
242 | </option> | |
243 | <option name="adminCanMail"> | |
244 | <categoryname>settings.privacy.messaging</categoryname> | |
245 | <optiontype>boolean</optiontype> | |
246 | <editable>3</editable> | |
247 | <defaultvalue>1</defaultvalue> | |
248 | </option> | |
249 | <!-- /settings --> | |
285b1d92 MW |
250 | |
251 | <option name="canWriteProfileComments"> | |
252 | <categoryname>settings.privacy.messaging</categoryname> | |
253 | <optiontype>select</optiontype> | |
254 | <editable>3</editable> | |
b9f4bd69 MS |
255 | <selectoptions><![CDATA[0:wcf.user.access.everyone |
256 | 1:wcf.user.access.registered | |
285b1d92 MW |
257 | 2:wcf.user.access.following |
258 | 3:wcf.user.access.nobody]]></selectoptions> | |
e283a21c | 259 | <options>module_user_profile_wall</options> |
285b1d92 MW |
260 | <defaultvalue>1</defaultvalue> |
261 | </option> | |
320f4a6d MW |
262 | </options> |
263 | </import> | |
264 | </data> |