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