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 | 85 | <outputclass>wcf\system\option\user\SelectOptionsUserOptionOutput</outputclass> |
18290128 | 86 | <selectoptions>0:wcf.global.noDeclaration |
320f4a6d | 87 | 1:wcf.user.gender.male |
18290128 | 88 | 2:wcf.user.gender.female</selectoptions> |
320f4a6d MW |
89 | <defaultvalue>0</defaultvalue> |
90 | <searchable>1</searchable> | |
91 | <visible>15</visible> | |
92 | <editable>3</editable> | |
93 | </option> | |
94 | <option name="location"> | |
95 | <categoryname>profile.personal</categoryname> | |
96 | <optiontype>text</optiontype> | |
97 | <searchable>1</searchable> | |
98 | <visible>15</visible> | |
99 | <editable>3</editable> | |
100 | </option> | |
101 | <option name="occupation"> | |
102 | <categoryname>profile.personal</categoryname> | |
103 | <optiontype>text</optiontype> | |
104 | <searchable>1</searchable> | |
105 | <visible>15</visible> | |
106 | <editable>3</editable> | |
107 | </option> | |
108 | <option name="hobbies"> | |
109 | <categoryname>profile.personal</categoryname> | |
110 | <optiontype>text</optiontype> | |
111 | <searchable>1</searchable> | |
112 | <visible>15</visible> | |
113 | <editable>3</editable> | |
114 | </option> | |
115 | <option name="adminComment"> | |
116 | <categoryname>profile.personal</categoryname> | |
117 | <optiontype>textarea</optiontype> | |
320f4a6d MW |
118 | <outputclass>wcf\system\option\user\NewlineToBreakUserOptionOutput</outputclass> |
119 | <visible>2</visible> | |
120 | <editable>2</editable> | |
121 | </option> | |
122 | <option name="homepage"> | |
123 | <categoryname>profile.contact</categoryname> | |
9a2e9e76 | 124 | <optiontype>URL</optiontype> |
320f4a6d MW |
125 | <outputclass>wcf\system\option\user\URLUserOptionOutput</outputclass> |
126 | <searchable>1</searchable> | |
127 | <validationpattern>^$|^https?://</validationpattern> | |
128 | <visible>15</visible> | |
129 | <editable>3</editable> | |
130 | </option> | |
131 | <option name="icq"> | |
132 | <categoryname>profile.contact</categoryname> | |
133 | <optiontype>text</optiontype> | |
134 | <searchable>1</searchable> | |
135 | <validationpattern>^$|^([0-9](-| )?)+[0-9]$</validationpattern> | |
136 | <contentpattern>^(\d{3})-(\d{3})-(\d{3})$</contentpattern> | |
137 | <visible>15</visible> | |
138 | <editable>3</editable> | |
139 | </option> | |
140 | <option name="skype"> | |
141 | <categoryname>profile.contact</categoryname> | |
142 | <optiontype>text</optiontype> | |
143 | <searchable>1</searchable> | |
144 | <visible>15</visible> | |
145 | <editable>3</editable> | |
146 | </option> | |
147 | <option name="facebook"> | |
148 | <categoryname>profile.contact</categoryname> | |
149 | <optiontype>text</optiontype> | |
150 | <outputclass>wcf\system\option\user\FacebookUserOptionOutput</outputclass> | |
151 | <validationpattern>^$|^[A-Za-z\d.]{5,}$</validationpattern> | |
152 | <contentpattern>^https?://www.facebook.com/([A-Za-z\d.]{5,})$</contentpattern> | |
153 | <searchable>1</searchable> | |
154 | <visible>15</visible> | |
155 | <editable>3</editable> | |
156 | </option> | |
157 | <option name="twitter"> | |
158 | <categoryname>profile.contact</categoryname> | |
159 | <optiontype>text</optiontype> | |
160 | <outputclass>wcf\system\option\user\TwitterUserOptionOutput</outputclass> | |
161 | <validationpattern>^$|^[A-Za-z0-9_]+$</validationpattern> | |
162 | <contentpattern>^https?://twitter.com/([A-Za-z0-9_]+)$</contentpattern> | |
163 | <searchable>1</searchable> | |
164 | <visible>15</visible> | |
165 | <editable>3</editable> | |
166 | </option> | |
167 | <option name="googlePlus"> | |
168 | <categoryname>profile.contact</categoryname> | |
169 | <optiontype>text</optiontype> | |
170 | <outputclass>wcf\system\option\user\GooglePlusUserOptionOutput</outputclass> | |
1f3d1838 | 171 | <validationpattern>^$|^\d{21}$|^\+\S[^/]+$</validationpattern> |
116f76e8 | 172 | <contentpattern>^https?://(?:plus|www).google(?:apis)?.com(?:/\w+/\w+(?:/\w)?)?/(\d{21}|\+\S[^/]+)$</contentpattern> |
320f4a6d MW |
173 | <searchable>1</searchable> |
174 | <visible>15</visible> | |
175 | <editable>3</editable> | |
176 | </option> | |
177 | <!-- /profile --> | |
178 | ||
179 | <!-- settings --> | |
b22b7eae AE |
180 | <option name="recentActivitiesFilterByFollowing"> |
181 | <categoryname>hidden</categoryname> | |
182 | <optiontype>boolean</optiontype> | |
183 | <defaultvalue>1</defaultvalue> | |
184 | </option> | |
320f4a6d MW |
185 | <option name="timezone"> |
186 | <categoryname>settings.general.date</categoryname> | |
187 | <optiontype>timezone</optiontype> | |
188 | <editable>3</editable> | |
189 | </option> | |
190 | <option name="showSignature"> | |
191 | <categoryname>settings.general.appearance</categoryname> | |
192 | <optiontype>boolean</optiontype> | |
193 | <editable>3</editable> | |
194 | <defaultvalue>1</defaultvalue> | |
195 | <options>module_user_signature</options> | |
196 | </option> | |
197 | ||
198 | <!-- settings.privacy.content --> | |
199 | <option name="canViewOnlineStatus"> | |
200 | <categoryname>settings.privacy.content</categoryname> | |
201 | <optiontype>select</optiontype> | |
202 | <editable>3</editable> | |
18290128 | 203 | <selectoptions>0:wcf.user.access.everyone |
320f4a6d MW |
204 | 1:wcf.user.access.registered |
205 | 2:wcf.user.access.following | |
18290128 | 206 | 3:wcf.user.access.nobody</selectoptions> |
320f4a6d MW |
207 | <defaultvalue>0</defaultvalue> |
208 | </option> | |
209 | <option name="canViewProfile"> | |
210 | <categoryname>settings.privacy.content</categoryname> | |
211 | <optiontype>select</optiontype> | |
212 | <editable>3</editable> | |
18290128 | 213 | <selectoptions>0:wcf.user.access.everyone |
320f4a6d MW |
214 | 1:wcf.user.access.registered |
215 | 2:wcf.user.access.following | |
18290128 | 216 | 3:wcf.user.access.nobody</selectoptions> |
320f4a6d MW |
217 | <defaultvalue>0</defaultvalue> |
218 | </option> | |
219 | ||
220 | <!-- settings.privacy.messaging --> | |
221 | <option name="canViewEmailAddress"> | |
222 | <categoryname>settings.privacy.messaging</categoryname> | |
223 | <optiontype>select</optiontype> | |
224 | <editable>3</editable> | |
18290128 | 225 | <selectoptions>0:wcf.user.access.everyone |
320f4a6d MW |
226 | 1:wcf.user.access.registered |
227 | 2:wcf.user.access.following | |
18290128 | 228 | 3:wcf.user.access.nobody</selectoptions> |
320f4a6d MW |
229 | <defaultvalue>3</defaultvalue> |
230 | </option> | |
231 | <option name="canMail"> | |
232 | <categoryname>settings.privacy.messaging</categoryname> | |
233 | <optiontype>select</optiontype> | |
234 | <editable>3</editable> | |
18290128 | 235 | <selectoptions>0:wcf.user.access.everyone |
320f4a6d MW |
236 | 1:wcf.user.access.registered |
237 | 2:wcf.user.access.following | |
18290128 | 238 | 3:wcf.user.access.nobody</selectoptions> |
320f4a6d MW |
239 | <defaultvalue>1</defaultvalue> |
240 | </option> | |
241 | <option name="adminCanMail"> | |
242 | <categoryname>settings.privacy.messaging</categoryname> | |
243 | <optiontype>boolean</optiontype> | |
244 | <editable>3</editable> | |
245 | <defaultvalue>1</defaultvalue> | |
246 | </option> | |
247 | <!-- /settings --> | |
285b1d92 MW |
248 | |
249 | <option name="canWriteProfileComments"> | |
250 | <categoryname>settings.privacy.messaging</categoryname> | |
251 | <optiontype>select</optiontype> | |
252 | <editable>3</editable> | |
18290128 | 253 | <selectoptions>0:wcf.user.access.everyone |
b9f4bd69 | 254 | 1:wcf.user.access.registered |
285b1d92 | 255 | 2:wcf.user.access.following |
18290128 | 256 | 3:wcf.user.access.nobody</selectoptions> |
e283a21c | 257 | <options>module_user_profile_wall</options> |
285b1d92 MW |
258 | <defaultvalue>1</defaultvalue> |
259 | </option> | |
320f4a6d MW |
260 | </options> |
261 | </import> | |
262 | </data> |