Project

General

Profile

mod_cblogin.xml

krileon, 14 October 2011 07:41 PM

 
1
<?xml version="1.0" encoding="UTF-8"?>
2
<install type="module" version="1.5" client="site" method="upgrade">
3
        <name>CB Login</name>
4
        <creationDate>2011-07-31</creationDate>
5
        <author>Beat and JoomlaJoe</author>
6
        <copyright>(C) 2005-2011 Joomlapolis.com. This module is released under the GNU/GPL v2 License</copyright>
7
        <authorEmail>beat@joomlapolis.com</authorEmail>
8
        <authorUrl>www.joomlapolis.com</authorUrl>
9
        <version>1.7</version>
10
        <description>Login module to be used with Community Builder instead of the Login module.</description> 
11
        <files>
12
                <filename module="mod_cblogin">mod_cblogin.php</filename>
13
                <filename>mod_cblogin/index.html</filename>
14
                <filename>mod_cblogin/edit_profile.png</filename>
15
                <filename>mod_cblogin/forgot.png</filename>
16
                <filename>mod_cblogin/login.png</filename>
17
                <filename>mod_cblogin/logout.png</filename>
18
                <filename>mod_cblogin/mail.gif</filename>
19
                <filename>mod_cblogin/password.png</filename>
20
                <filename>mod_cblogin/register.png</filename>
21
                <filename>mod_cblogin/username.png</filename>
22
                <filename>mod_cblogin/users.gif</filename>
23
        </files>
24
        <params>
25
                <param name="moduleclass_sfx" type="text" default="" label="Module Class Suffix" description="A suffix to be applied to the css class of the module (mod_login), this allows individual module styling" />
26
                <param name="horizontal" type="list" default="0" label="Module orientation" description="Default orientation is vertical for left or right module positions (recommended when displaying avatar). The horizontal orientation is for a compact horizontal module position and does NOT support avatar display.">
27
                        <option value="0">Vertical</option>
28
                        <option value="1">Horizontal</option>
29
                </param>
30
                <param name="compact" type="list" default="0" label="Display type" description="By default, the field names are displayed outside the boxes: username: [___] password: [___]. In compact mode, field names are inside fields: [username___] [xxx___] and texts are shorter.">
31
                        <option value="0">Default</option>
32
                        <option value="1">Compact</option>
33
                </param>
34
                <param name="pretext" type="textarea" cols="20" rows="5" default="" label="Login Pre-text" description="This is the Text or HTML that is displayed above the login form. HINT: you can use language definition." />
35
                <param name="posttext" type="textarea" cols="20" rows="5" label="Login Post-text" description="This is the Text or HTML that is displayed below the login form. HINT: you can use language definition." />
36
                <param name="logoutpretext" type="textarea" cols="20" rows="5" default="" label="Logout Pre-text" description="This is the Text or HTML that is displayed above the logout form. HINT: you can use language definition." />
37
                <param name="logoutposttext" type="textarea" cols="20" rows="5" label="Logout Post-text" description="This is the Text or HTML that is displayed below the logout form. HINT: you can use language definition." />
38
                <param name="login" type="text" default="" label="Login Redirection URL" description="What page will the login redirect to after login. If let blank will reload current page" />
39
                <param name="logout" type="text" default="index.php" label="Logout Redirection URL" description="What page will the logout redirect to after logout. With a double-cross (#) it will reload current page. If let blank or set to index.php , it will go to home-page, avoiding unauthorized access messages." />
40
                <param name="show_lostpass" type="radio" default="1" label="Lost password" description="Show/Hide the lost password? link">
41
                        <option value="0">Hide</option>
42
                        <option value="1">Show</option>
43
                </param>
44
                <param name="show_newaccount" type="radio" default="1" label="Create account" description="Show/Hide the create account text and link. This is not to disable registration (this is done in CB configuration and Joomla/Mambo configuration), but simply to hide it if you have a separate link for that.">
45
                        <option value="0">Hide</option>
46
                        <option value="1">Show</option>
47
                </param>
48
                <param name="show_username_pass_icons" type="list" default="0" label="Display username/password labels as" description="You can display labels for the username and password fields as text (outside the box in normal mode, inside the box in compact mode) or as icons (outside the box in normal mode, inside the box in compact mode).">
49
                        <option value="0">Text</option>
50
                        <option value="1">Icons and texts</option>
51
                        <option value="2">Icons</option>
52
                </param>
53
                <param name="name_lenght" type="text" default="14" label="Username length" description="The length in characters the textbox should have not max. characters the box may contain." />
54
                <param name="pass_lenght" type="text" default="14" label="Password length" description="The length in characters the textbox should have not max. characters the box may contain." />
55
                <param name="show_buttons_icons" type="list" default="0" label="Display login/logout button as" description="You can display text 'Login'/'Logout' or an icon for the login and logout buttons, or as both icon and text.">
56
                        <option value="0">Button with text</option>
57
                        <option value="1">Button with icon and text</option>
58
                        <option value="2">Icon only</option>
59
                </param>
60
                <param name="show_remind_register_icons" type="list" default="0" label="Display login reminder / register as" description="You can display login reminder and register items as text links or icons.">
61
                        <option value="0">Text Link</option>
62
                        <option value="1">Icons and texts</option>
63
                        <option value="2">Icons</option>
64
                </param>
65
                <param name="login_message" type="radio" default="0" label="Login Message" description="Show/Hide the javascript Pop-up indicating Login Success">
66
                        <option value="0">Hide</option>
67
                        <option value="1">Show</option>
68
                </param>
69
                <param name="logout_message" type="radio" default="0" label="Logout Message" description="Show/Hide the javascript Pop-up indicating Logout Success">
70
                        <option value="0">Hide</option>
71
                        <option value="1">Show</option>
72
                </param>
73
                <param name="remember_enabled" type="list" default="1" label="Remember-me checkbox" description="Show/Hide the standard Remember-me checkbox. It is possible to have it checked or unchecked by default or always">
74
                        <option value="1">Show unchecked</option>
75
                        <option value="3">Show checked</option>
76
                        <option value="0">Hide unchecked</option>
77
                        <option value="2">Hide checked</option>
78
                </param>
79
                <param name="greeting" type="radio" default="1" label="Greeting" description="Show/Hide the simple greeting text">
80
                        <option value="0">No</option>
81
                        <option value="1">Yes</option>
82
                </param>
83
                <param name="name" type="list" default="0" label="Name/Username" description="Choose what to display with the greeting text">
84
                        <option value="0">Username</option>
85
                        <option value="1">Name</option>
86
                        <option value="2">First Name</option>
87
                </param>
88
                <param name="show_avatar" type="list" default="0" label="Show avatar when logged-in" description="Only for Vertical orientation: Select \'Show always\' to show avatar of the logged-in user or \'no image\' picture if none to encourage users to choose avatar. Select \'Show avatar only if chosen\' to avoid \'No image\' display. The \'Pending approval\' image is always displayed.">
89
                        <option value="0">Hide</option>
90
                        <option value="1">Show only if chosen</option>
91
                        <option value="2">Show always</option>
92
                </param>
93
                <param name="avatar_position" type="list" default="default" label="Avatar position" description="Default position means centered alone on a line. Left (recommended with avatar if enough space in template) means text flows on the right side of it. Right means the opposite.">
94
                        <option value="default">Default</option>
95
                        <option value="left">Left</option>
96
                        <option value="right">Right</option>
97
                </param>
98
                <param name="text_show_profile" type="text" default="" label="Profile link text" description="A text or HTML to display in a link to user's profile which displays in login module when user is logged in. WARNING: you always need to create a public menu item to CB Profile (see README file). HINT: you can use language definition. Leave empty to not display. It will follow icons settings for register/login reminder." />
99
                <param name="text_edit_profile" type="text" default="" label="Profile edit link text" description="A text or HTML to display in a link to user's edit profile screen which displays in login module when user is logged in. WARNING: you always need to create a public menu item to CB Profile (see README file). HINT: you can use language definition. Leave empty to not display. It will follow icons settings for register/login reminder." />
100
                <param name="pms_type" type="list" default="0" label="Private Messaging System" description="Choose the system you have installed." >
101
                        <option value="0">No system installed</option>
102
                        <option value="1">PMS Open Source</option>
103
                        <option value="2">PMS Pro</option>
104
                        <option value="4">PMS Enhanced 1.x</option>
105
                        <option value="6">PMS Enhanced 2.x</option>
106
                        <option value="3">uddeIM</option>
107
                        <option value="5">Clexus PMS</option>
108
                        <option value="7">Missus PMS</option>
109
                        <option value="8">JIM</option>
110
                        <option value="9">Primezilla</option>
111
                        <option value="10">JAM (Joomla Advanced Message)</option>
112
                </param>
113
                <param name="show_pms" type="list" default="0" label="Private Messages Notification" description="Choose if you want to display count of unread PMS messages. PMS integration must be activated in CB configuration." >
114
                        <option value="0">Do not show</option>
115
                        <option value="1">Show only if messages</option>
116
                        <option value="2">Show also if no messages</option>
117
                </param>
118
                <param name="show_connection_notifications" type="list" default="0" label="Connections Notification" description="Choose if you want to display Connections notifications for pending approvals etc. Connections must be activated in CB configuration." >
119
                        <option value="0">Do not show</option>
120
                        <option value="1">Show only if pending notifications</option>
121
                </param>
122
                <param name="https_post" type="list" default="0" label="HTTPS (encrypted) login, register and lost password" description="You need https configured on your host for this. This feature is only in Joomla 1.0.13 + Joomla 1.5 and higher" >
123
                        <option value="0">same as page (default)</option>
124
                        <option value="1">use https for posting login then same</option>
125
                        <option value="2">use https (encrypted) for login and after login</option>
126
                </param>
127
                <param name="cb_plugins" type="list" default="0" label="CB Plugins integration" description="Choose if you want to use CB events for CB plugins integration. Plugins must be installed and configured in CB plugins management. Warning: this loads CB plugins on each page where this module is displayed, consuming memory and processing power." >
128
                        <option value="0">No</option>
129
                        <option value="1">Yes</option>
130
                </param>
131
        </params>
132

    
133

    
134
        <!-- J1.6 of course doesn't understand the above so let it repeat once more: -->
135
        <config>
136
                <fields name="params">
137
                        <fieldset name="basic">
138
                <field name="moduleclass_sfx" type="text" default="" label="Module Class Suffix" description="A suffix to be applied to the css class of the module (mod_login), this allows individual module styling" />
139
                <field name="horizontal" type="list" default="0" label="Module orientation" description="Default orientation is vertical for left or right module positions (recommended when displaying avatar). The horizontal orientation is for a compact horizontal module position and does NOT support avatar display.">
140
                        <option value="0">Vertical</option>
141
                        <option value="1">Horizontal</option>
142
                </field>
143
                <field name="compact" type="list" default="0" label="Display type" description="By default, the field names are displayed outside the boxes: username: [___] password: [___]. In compact mode, field names are inside fields: [username___] [xxx___] and texts are shorter.">
144
                        <option value="0">Default</option>
145
                        <option value="1">Compact</option>
146
                </field>
147
                <field name="pretext" type="textarea" cols="20" rows="5" default="" label="Login Pre-text" description="This is the Text or HTML that is displayed above the login form. HINT: you can use language definition." />
148
                <field name="posttext" type="textarea" cols="20" rows="5" label="Login Post-text" description="This is the Text or HTML that is displayed below the login form. HINT: you can use language definition." />
149
                <field name="logoutpretext" type="textarea" cols="20" rows="5" default="" label="Logout Pre-text" description="This is the Text or HTML that is displayed above the logout form. HINT: you can use language definition." />
150
                <field name="logoutposttext" type="textarea" cols="20" rows="5" label="Logout Post-text" description="This is the Text or HTML that is displayed below the logout form. HINT: you can use language definition." />
151
                <field name="login" type="text" default="" label="Login Redirection URL" description="What page will the login redirect to after login. If let blank will reload current page" />
152
                <field name="logout" type="text" default="index.php" label="Logout Redirection URL" description="What page will the logout redirect to after logout. With a double-cross (#) it will reload current page. If let blank or set to index.php , it will go to home-page, avoiding unauthorized access messages." />
153
                <field name="show_lostpass" type="radio" default="1" label="Lost password" description="Show/Hide the lost password? link">
154
                        <option value="0">Hide</option>
155
                        <option value="1">Show</option>
156
                </field>
157
                <field name="show_newaccount" type="radio" default="1" label="Create account" description="Show/Hide the create account text and link. This is not to disable registration (this is done in CB configuration and Joomla/Mambo configuration), but simply to hide it if you have a separate link for that.">
158
                        <option value="0">Hide</option>
159
                        <option value="1">Show</option>
160
                </field>
161
                <field name="show_username_pass_icons" type="list" default="0" label="Display username/password labels as" description="You can display labels for the username and password fields as text (outside the box in normal mode, inside the box in compact mode) or as icons (outside the box in normal mode, inside the box in compact mode).">
162
                        <option value="0">Text</option>
163
                        <option value="1">Icons and texts</option>
164
                        <option value="2">Icons</option>
165
                </field>
166
                <field name="name_lenght" type="text" default="14" label="Username length" description="The length in characters the textbox should have not max. characters the box may contain." />
167
                <field name="pass_lenght" type="text" default="14" label="Password length" description="The length in characters the textbox should have not max. characters the box may contain." />
168
                <field name="show_buttons_icons" type="list" default="0" label="Display login/logout button as" description="You can display text 'Login'/'Logout' or an icon for the login and logout buttons, or as both icon and text.">
169
                        <option value="0">Button with text</option>
170
                        <option value="1">Button with icon and text</option>
171
                        <option value="2">Icon only</option>
172
                </field>
173
                <field name="show_remind_register_icons" type="list" default="0" label="Display login reminder / register as" description="You can display login reminder and register items as text links or icons.">
174
                        <option value="0">Text Link</option>
175
                        <option value="1">Icons and texts</option>
176
                        <option value="2">Icons</option>
177
                </field>
178
                <field name="login_message" type="radio" default="0" label="Login Message" description="Show/Hide the javascript Pop-up indicating Login Success">
179
                        <option value="0">Hide</option>
180
                        <option value="1">Show</option>
181
                </field>
182
                <field name="logout_message" type="radio" default="0" label="Logout Message" description="Show/Hide the javascript Pop-up indicating Logout Success">
183
                        <option value="0">Hide</option>
184
                        <option value="1">Show</option>
185
                </field>
186
                <field name="remember_enabled" type="list" default="1" label="Remember-me checkbox" description="Show/Hide the standard Remember-me checkbox. It is possible to have it checked or unchecked by default or always">
187
                        <option value="1">Show unchecked</option>
188
                        <option value="3">Show checked</option>
189
                        <option value="0">Hide unchecked</option>
190
                        <option value="2">Hide checked</option>
191
                </field>
192
                <field name="greeting" type="radio" default="1" label="Greeting" description="Show/Hide the simple greeting text">
193
                        <option value="0">No</option>
194
                        <option value="1">Yes</option>
195
                </field>
196
                <field name="name" type="list" default="0" label="Name/Username" description="Choose what to display with the greeting text">
197
                        <option value="0">Username</option>
198
                        <option value="1">Name</option>
199
                        <option value="2">First Name</option>
200
                </field>
201
                <field name="show_avatar" type="list" default="0" label="Show avatar when logged-in" description="Only for Vertical orientation: Select \'Show always\' to show avatar of the logged-in user or \'no image\' picture if none to encourage users to choose avatar. Select \'Show avatar only if chosen\' to avoid \'No image\' display. The \'Pending approval\' image is always displayed.">
202
                        <option value="0">Hide</option>
203
                        <option value="1">Show only if chosen</option>
204
                        <option value="2">Show always</option>
205
                </field>
206
                <field name="avatar_position" type="list" default="default" label="Avatar position" description="Default position means centered alone on a line. Left (recommended with avatar if enough space in template) means text flows on the right side of it. Right means the opposite.">
207
                        <option value="default">Default</option>
208
                        <option value="left">Left</option>
209
                        <option value="right">Right</option>
210
                </field>
211
                <field name="text_show_profile" type="text" default="" label="Profile link text" description="A text or HTML to display in a link to user's profile which displays in login module when user is logged in. WARNING: you always need to create a public menu item to CB Profile (see README file). HINT: you can use language definition. Leave empty to not display. It will follow icons settings for register/login reminder." />
212
                <field name="text_edit_profile" type="text" default="" label="Profile edit link text" description="A text or HTML to display in a link to user's edit profile screen which displays in login module when user is logged in. WARNING: you always need to create a public menu item to CB Profile (see README file). HINT: you can use language definition. Leave empty to not display. It will follow icons settings for register/login reminder." />
213
                <field name="pms_type" type="list" default="0" label="Private Messaging System" description="Choose the system you have installed." >
214
                        <option value="0">No system installed</option>
215
                        <option value="1">PMS Open Source</option>
216
                        <option value="2">PMS Pro</option>
217
                        <option value="4">PMS Enhanced 1.x</option>
218
                        <option value="6">PMS Enhanced 2.x</option>
219
                        <option value="3">uddeIM</option>
220
                        <option value="5">Clexus PMS</option>
221
                        <option value="7">Missus PMS</option>
222
                        <option value="8">JIM</option>
223
                        <option value="9">Primezilla</option>
224
                        <option value="10">JAM (Joomla Advanced Message)</option>
225
                </field>
226
                <field name="show_pms" type="list" default="0" label="Private Messages Notification" description="Choose if you want to display count of unread PMS messages. PMS integration must be activated in CB configuration." >
227
                        <option value="0">Do not show</option>
228
                        <option value="1">Show only if messages</option>
229
                        <option value="2">Show also if no messages</option>
230
                </field>
231
                <field name="show_connection_notifications" type="list" default="0" label="Connections Notification" description="Choose if you want to display Connections notifications for pending approvals etc. Connections must be activated in CB configuration." >
232
                        <option value="0">Do not show</option>
233
                        <option value="1">Show only if pending notifications</option>
234
                </field>
235
                <field name="https_post" type="list" default="0" label="HTTPS (encrypted) login, register and lost password" description="You need https configured on your host for this. This feature is only in Joomla 1.0.13 + Joomla 1.5 and higher" >
236
                        <option value="0">same as page (default)</option>
237
                        <option value="1">use https for posting login then same</option>
238
                        <option value="2">use https (encrypted) for login and after login</option>
239
                </field>
240
                <field name="cb_plugins" type="list" default="0" label="CB Plugins integration" description="Choose if you want to use CB events for CB plugins integration. Plugins must be installed and configured in CB plugins management. Warning: this loads CB plugins on each page where this module is displayed, consuming memory and processing power." >
241
                        <option value="0">No</option>
242
                        <option value="1">Yes</option>
243
                </field>
244
                        </fieldset>
245
                </fields>
246
        </config>
247

    
248
</install>