-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaddon-NotableMembers.xml
75 lines (75 loc) · 4.28 KB
/
addon-NotableMembers.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<?xml version="1.0" encoding="utf-8"?>
<addon addon_id="NotableMembers" title="Add tabs to Notable Members" version_string="0.3" version_id="3" url="https://github.com/DevelopersPL/xf-NotableMembersTabs" install_callback_class="" install_callback_method="" uninstall_callback_class="" uninstall_callback_method="">
<admin_navigation/>
<admin_permissions/>
<admin_style_properties/>
<admin_templates/>
<admin_template_modifications/>
<code_events/>
<code_event_listeners>
<listener event_id="load_class" execute_order="10" callback_class="NotableMembers_Listener" callback_method="load_class" active="1" hint="" description=""/>
</code_event_listeners>
<cron/>
<email_templates/>
<email_template_modifications/>
<optiongroups>
<option option_id="NotableMembersSecondaryGroups" edit_format="textbox" data_type="string" can_backup="1">
<default_value></default_value>
<edit_format_params></edit_format_params>
<sub_options></sub_options>
<relation group_id="users" display_order="122"/>
</option>
<option option_id="NotableMembersSortOrder" edit_format="textbox" data_type="string" can_backup="1">
<default_value></default_value>
<edit_format_params></edit_format_params>
<sub_options></sub_options>
<relation group_id="users" display_order="123"/>
</option>
<option option_id="NotableMembersTitleSlugs" edit_format="textbox" data_type="string" can_backup="1">
<default_value></default_value>
<edit_format_params></edit_format_params>
<sub_options></sub_options>
<relation group_id="users" display_order="121"/>
</option>
<option option_id="NotableMembersTitles" edit_format="textbox" data_type="string" can_backup="1">
<default_value></default_value>
<edit_format_params></edit_format_params>
<sub_options></sub_options>
<relation group_id="users" display_order="120"/>
</option>
</optiongroups>
<permissions>
<permission_groups/>
<permissions/>
<interface_groups/>
</permissions>
<phrases>
<phrase title="option_NotableMembersSecondaryGroups" version_id="1" version_string="0.1"><![CDATA[Notable Members: Secondary Groups]]></phrase>
<phrase title="option_NotableMembersSecondaryGroups_explain" version_id="1" version_string="0.1"><![CDATA[Comma-delimeted list of corresponding secondary group IDs.<br />
e.g.: "6,7,8"]]></phrase>
<phrase title="option_NotableMembersSortOrder" version_id="1" version_string="0.1"><![CDATA[Notable Members: Sort Orders]]></phrase>
<phrase title="option_NotableMembersSortOrder_explain" version_id="1" version_string="0.1"><![CDATA[Comma-delimeted list of sort orders for corresponding tabs.<br />
e.g.: "like_count,like_count,message_count"]]></phrase>
<phrase title="option_NotableMembersTitles" version_id="1" version_string="0.1"><![CDATA[Notable Members: Tab Titles]]></phrase>
<phrase title="option_NotableMembersTitleSlugs" version_id="1" version_string="0.1"><![CDATA[Notable Members: Tab Title Slugs]]></phrase>
<phrase title="option_NotableMembersTitleSlugs_explain" version_id="1" version_string="0.1"><![CDATA[Comma-delimeted list of names for visible tabs to add.<br />
e.g.: "supportteam,premium_users,gods"]]></phrase>
<phrase title="option_NotableMembersTitles_explain" version_id="1" version_string="0.1"><![CDATA[Comma-delimeted list of names for visible tabs to add.<br />
e.g.: "Support Team,Premium Users,Gods"<br />
<strong>The number of elements in all 4 options on this page must be equal!</strong>]]></phrase>
</phrases>
<route_prefixes/>
<style_properties/>
<templates/>
<public_template_modifications>
<modification template="member_notable" modification_key="NotableMembers_tabs" description="Add tabs to Notable Members page" execution_order="10" enabled="1" action="str_replace">
<find><![CDATA[<li class="{xen:if '{$type} == "staff"', active}"><a href="{xen:link members, '', 'type=staff'}">{xen:phrase staff_members}</a></li>]]></find>
<replace><![CDATA[<xen:foreach loop="$nm_add" key="$nm_type" value="$nm_title">
<li class="{xen:if '{$type} == {$nm_type}', active}"><a href="{xen:link members, '', 'type={$nm_type}'}">{$nm_title}</a></li>
</xen:foreach>
$0]]></replace>
</modification>
</public_template_modifications>
<bb_code_media_sites/>
<bb_codes/>
</addon>