Commit | Line | Data |
---|---|---|
320f4a6d | 1 | <?xml version="1.0" encoding="utf-8"?> |
f08ff153 | 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/vortex/userOption.xsd"> |
320f4a6d MW |
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> | |
7d7b9ac8 | 139 | <isdisabled>1</isdisabled> |
320f4a6d MW |
140 | </option> |
141 | <option name="skype"> | |
142 | <categoryname>profile.contact</categoryname> | |
143 | <optiontype>text</optiontype> | |
144 | <searchable>1</searchable> | |
145 | <visible>15</visible> | |
146 | <editable>3</editable> | |
7d7b9ac8 | 147 | <isdisabled>1</isdisabled> |
320f4a6d MW |
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> | |
7d7b9ac8 | 178 | <isdisabled>1</isdisabled> |
320f4a6d MW |
179 | </option> |
180 | <!-- /profile --> | |
181 | ||
182 | <!-- settings --> | |
b22b7eae AE |
183 | <option name="recentActivitiesFilterByFollowing"> |
184 | <categoryname>hidden</categoryname> | |
185 | <optiontype>boolean</optiontype> | |
186 | <defaultvalue>1</defaultvalue> | |
187 | </option> | |
320f4a6d MW |
188 | <option name="timezone"> |
189 | <categoryname>settings.general.date</categoryname> | |
190 | <optiontype>timezone</optiontype> | |
191 | <editable>3</editable> | |
192 | </option> | |
193 | <option name="showSignature"> | |
194 | <categoryname>settings.general.appearance</categoryname> | |
195 | <optiontype>boolean</optiontype> | |
196 | <editable>3</editable> | |
197 | <defaultvalue>1</defaultvalue> | |
198 | <options>module_user_signature</options> | |
199 | </option> | |
20f61b75 AE |
200 | <option name="editorPastePreserveFormatting"> |
201 | <categoryname>settings.general.interface</categoryname> | |
202 | <optiontype>boolean</optiontype> | |
203 | <editable>3</editable> | |
204 | <defaultvalue>1</defaultvalue> | |
205 | </option> | |
320f4a6d MW |
206 | |
207 | <!-- settings.privacy.content --> | |
208 | <option name="canViewOnlineStatus"> | |
209 | <categoryname>settings.privacy.content</categoryname> | |
210 | <optiontype>select</optiontype> | |
211 | <editable>3</editable> | |
18290128 | 212 | <selectoptions>0:wcf.user.access.everyone |
320f4a6d MW |
213 | 1:wcf.user.access.registered |
214 | 2:wcf.user.access.following | |
18290128 | 215 | 3:wcf.user.access.nobody</selectoptions> |
320f4a6d MW |
216 | <defaultvalue>0</defaultvalue> |
217 | </option> | |
218 | <option name="canViewProfile"> | |
219 | <categoryname>settings.privacy.content</categoryname> | |
220 | <optiontype>select</optiontype> | |
221 | <editable>3</editable> | |
18290128 | 222 | <selectoptions>0:wcf.user.access.everyone |
320f4a6d MW |
223 | 1:wcf.user.access.registered |
224 | 2:wcf.user.access.following | |
18290128 | 225 | 3:wcf.user.access.nobody</selectoptions> |
320f4a6d MW |
226 | <defaultvalue>0</defaultvalue> |
227 | </option> | |
472db672 JR |
228 | <option name="canViewTrophies"> |
229 | <categoryname>settings.privacy.content</categoryname> | |
230 | <optiontype>select</optiontype> | |
231 | <editable>3</editable> | |
232 | <selectoptions>0:wcf.user.access.everyone | |
233 | 1:wcf.user.access.registered | |
234 | 2:wcf.user.access.following | |
235 | 3:wcf.user.access.nobody</selectoptions> | |
236 | <options>module_trophy</options> | |
237 | <permissions>user.profile.trophy.canSeeTrophies</permissions> | |
238 | <defaultvalue>0</defaultvalue> | |
239 | </option> | |
320f4a6d MW |
240 | |
241 | <!-- settings.privacy.messaging --> | |
242 | <option name="canViewEmailAddress"> | |
243 | <categoryname>settings.privacy.messaging</categoryname> | |
244 | <optiontype>select</optiontype> | |
245 | <editable>3</editable> | |
18290128 | 246 | <selectoptions>0:wcf.user.access.everyone |
320f4a6d MW |
247 | 1:wcf.user.access.registered |
248 | 2:wcf.user.access.following | |
18290128 | 249 | 3:wcf.user.access.nobody</selectoptions> |
320f4a6d MW |
250 | <defaultvalue>3</defaultvalue> |
251 | </option> | |
252 | <option name="canMail"> | |
253 | <categoryname>settings.privacy.messaging</categoryname> | |
254 | <optiontype>select</optiontype> | |
255 | <editable>3</editable> | |
18290128 | 256 | <selectoptions>0:wcf.user.access.everyone |
320f4a6d MW |
257 | 1:wcf.user.access.registered |
258 | 2:wcf.user.access.following | |
18290128 | 259 | 3:wcf.user.access.nobody</selectoptions> |
320f4a6d MW |
260 | <defaultvalue>1</defaultvalue> |
261 | </option> | |
262 | <option name="adminCanMail"> | |
263 | <categoryname>settings.privacy.messaging</categoryname> | |
264 | <optiontype>boolean</optiontype> | |
265 | <editable>3</editable> | |
266 | <defaultvalue>1</defaultvalue> | |
267 | </option> | |
268 | <!-- /settings --> | |
285b1d92 MW |
269 | |
270 | <option name="canWriteProfileComments"> | |
271 | <categoryname>settings.privacy.messaging</categoryname> | |
272 | <optiontype>select</optiontype> | |
273 | <editable>3</editable> | |
18290128 | 274 | <selectoptions>0:wcf.user.access.everyone |
b9f4bd69 | 275 | 1:wcf.user.access.registered |
285b1d92 | 276 | 2:wcf.user.access.following |
18290128 | 277 | 3:wcf.user.access.nobody</selectoptions> |
e283a21c | 278 | <options>module_user_profile_wall</options> |
285b1d92 MW |
279 | <defaultvalue>1</defaultvalue> |
280 | </option> | |
320f4a6d MW |
281 | </options> |
282 | </import> | |
283 | </data> |