Payment introduced, minor rewrites
[shipsimu.git] / application / shoutbox / config.php
1 <?php
2 /**
3  * Additional/overwritten configuration parts
4  *
5  * @author              Roland Haeder <webmaster@ship-simu.org>
6  * @version             0.0.0
7  * @copyright   Copyright (c) 2007, 2008 Roland Haeder, this is free software
8  * @license             GNU GPL 3.0 or any newer version
9  * @link                http://www.ship-simu.org
10  *
11  * This program is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation, either version 3 of the License, or
14  * (at your option) any later version.
15  *
16  * This program is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with this program. If not, see <http://www.gnu.org/licenses/>.
23  */
24
25 // Get a configuration instance for shorter lines
26 $cfg = FrameworkConfiguration::getInstance();
27
28 // CFG: HEADER-CHARSET
29 $cfg->setConfigEntry('header_charset', "utf-8");
30
31 // CFG: DEFAULT-WEB-COMMAND
32 $cfg->setConfigEntry('default_web_command', "home");
33
34 // CFG: DEFAULT-IMAGE-COMMAND
35 $cfg->setConfigEntry('default_image_command', "build");
36
37 // CFG: PAGE-WITH-NEWS
38 $cfg->setConfigEntry('page_with_news', "home");
39
40 // CFG: FORM-ACTION
41 $cfg->setConfigEntry('form_action', "index.php?app={?app_short_name?}&amp;page=do_form");
42
43 // CFG: FORM-METHOD
44 $cfg->setConfigEntry('form_method', "post");
45
46 // CFG: FORM-TARGET
47 $cfg->setConfigEntry('form_target', "_self");
48
49 // CFG: REGISTER-REQUIRES-EMAIL
50 $cfg->setConfigEntry('register_requires_email', "Y");
51
52 // CFG: REGISTER-INCLUDES-PROFILE
53 $cfg->setConfigEntry('register_includes_profile', "Y");
54
55 // CFG: REGISTER-PERSONAL-DATA
56 $cfg->setConfigEntry('register_personal_data', "Y");
57
58 // CFG: REGISTER-EMAIL-UNIQUE
59 $cfg->setConfigEntry('register_email_unique', "Y");
60
61 // CFG: CHAT-ENABLED-ICQ
62 $cfg->setConfigEntry('chat_enabled_icq', "Y");
63
64 // CFG: CHAT-ENABLED-JABBER
65 $cfg->setConfigEntry('chat_enabled_jabber', "Y");
66
67 // CFG: CHAT-ENABLED-YAHOO
68 $cfg->setConfigEntry('chat_enabled_yahoo', "Y");
69
70 // CFG: CHAT-ENABLED-AOL
71 $cfg->setConfigEntry('chat_enabled_aol', "Y");
72
73 // CFG: CHAT-ENABLED-MSN
74 $cfg->setConfigEntry('chat_enabled_msn', "Y");
75
76 // CFG: USER-REGISTRATION
77 $cfg->setConfigEntry('user_registration_class', "ShoutBoxRegistration");
78
79 // CFG: USER-LOGIN-CLASS
80 $cfg->setConfigEntry('user_login_class', "ShoutBoxUserLogin");
81
82 // CFG: GUEST-LOGIN-CLASS
83 $cfg->setConfigEntry('guest_login_class', "ShoutBoxGuestLogin");
84
85 // CFG: USER-STATUS-REGISTER
86 $cfg->setConfigEntry('user_status_unconfirmed', "UNCONFIRMED");
87
88 // CFG: USER-STATUS-GUEST
89 $cfg->setConfigEntry('user_status_guest', "GUEST");
90
91 // CFG: USER-STATUS-CONFIRMED
92 $cfg->setConfigEntry('user_status_confirmed', "CONFIRMED");
93
94 // CFG: LOGIN-HELPER-CLASS
95 $cfg->setConfigEntry('login_helper_class', "ShoutBoxLoginHelper");
96
97 // CFG: AUTH-METHOD-CLASS
98 $cfg->setConfigEntry('auth_method_class', "CookieAuth");
99
100 // CFG: APP-LOGIN-URL
101 $cfg->setConfigEntry('app_login_url', "index.php?app={?app_short_name?}&page=login_area");
102
103 // CFG: LOGIN-FAILED-URL
104 $cfg->setConfigEntry('login_failed_url', "index.php?app={?app_short_name?}&page=login_failed");
105
106 // CFG: LOGOUT-DONE-URL
107 $cfg->setConfigEntry('logout_done_url', "index.php?app={?app_short_name?}&page=logout_done");
108
109 // CFG: LOGIN-USER-STATUS-URL
110 $cfg->setConfigEntry('login_user_status_url', "index.php?app={?app_short_name?}&page=login_area&action=status_problem");
111
112 // CFG: USER-NOT-UNCONFIRMED-URL
113 $cfg->setConfigEntry('user_not_unconfirmed_url', "index.php?app={?app_short_name?}&page=status&status=unconfirmed_problem");
114
115 // CFG: USER-UNCONFIRMED-EMAIL-MISSING-URL
116 $cfg->setConfigEntry('user_unconfirmed_email_missing_url', "index.php?app={?app_short_name?}&page=status&status=unconfirmed_email_missing");
117
118 // CFG: CONFIRM-CODE-INVALID-URL
119 $cfg->setConfigEntry('confirm_code_invalid_url', "index.php?app={?app_short_name?}&page=status&status=confirm_code_invalid");
120
121 // CFG: USER-NOT-FOUND-URL
122 $cfg->setConfigEntry('user_not_found_url', "index.php?app={?app_short_name?}&page=status&status=user_not_found");
123
124 // CFG: LOGIN-DEFAULT-ACTION
125 $cfg->setConfigEntry('login_default_action', "welcome");
126
127 // CFG: NEWS-READER-CLASS
128 $cfg->setConfigEntry('news_reader_class', "DefaultNewsReader");
129
130 // CFG: NEWS-DOWNLOAD-FILTER
131 $cfg->setConfigEntry('news_download_filter', "NewsDownloadFilter");
132
133 // CFG: NEWS-PROCESS-FILTER
134 $cfg->setConfigEntry('news_process_filter', "NewsProcessFilter");
135
136 // CFG: USER-AUTH-FILTER
137 $cfg->setConfigEntry('user_auth_filter', "UserAuthFilter");
138
139 // CFG: USER-UPDATE-FILTER
140 $cfg->setConfigEntry('user_update_filter', "UserUpdateFilter");
141
142 // CFG: USER-STATUS-CONFIRMED-FILTER
143 $cfg->setConfigEntry('user_status_confirmed_filter', "UserStatusConfimedUpdateFilter");
144
145 // CFG: CAPTCHA-ENCRYPT-VALIDATOR-FILTER
146 $cfg->setConfigEntry('captcha_encrypt_validator_filter', "CaptchaEncryptFilter");
147
148 // CFG: CAPTCHA-GUEST-VERIFIER-FILTER
149 $cfg->setConfigEntry('captcha_guest_verifier_filter', "GraphicalCodeCaptchaVerifierFilter");
150
151 // CFG: CAPTCHA-USER-VERIFIER-FILTER
152 $cfg->setConfigEntry('captcha_user_verifier_filter', "GraphicalCodeCaptchaVerifierFilter");
153
154 // CFG: CAPTCHA-REGISTER-VERIFIER-FILTER
155 $cfg->setConfigEntry('captcha_register_verifier_filter', "GraphicalCodeCaptchaVerifierFilter");
156
157 // CFG: CONFIRM-CODE-VALIDATOR-FILTER
158 $cfg->setConfigEntry('confirm_code_verifier_filter', "ConfirmCodeVerifierFilter");
159
160 // CFG: NEWS-HOME-LIMIT
161 $cfg->setConfigEntry('news_home_limit', 10);
162
163 // CFG: NEWS-LOGIN-AREA-LIMIT
164 $cfg->setConfigEntry('news_login_area_limit', 15);
165
166 // CFG: LOGIN-ENABLED
167 $cfg->setConfigEntry('login_enabled', "Y");
168
169 // CFG: CONFIRM-EMAIL-ENABLED
170 $cfg->setConfigEntry('confirm_email_enabled', "Y");
171
172 // CFG: LOGIN-DISABLED-REASON
173 $cfg->setConfigEntry('login_disabled_reason', "Loginbereich befindet sich noch im Aufbau.");
174
175 // CFG: LOGIN-TYPE
176 $cfg->setConfigEntry('login_type', "username"); // username, email, both
177
178 // CFG: EMAIL-CHANGE-ALLOWED
179 $cfg->setConfigEntry('email_change_allowed', "Y");
180
181 // CFG: EMAIL-CHANGE-CONFIRMATION
182 $cfg->setConfigEntry('email_change_confirmation', "Y");
183
184 // CFG: GUEST-LOGIN-ALLOWED
185 $cfg->setConfigEntry('guest_login_allowed', "Y");
186
187 // CFG: GUEST-LOGIN-USERNAME
188 $cfg->setConfigEntry('guest_login_user', "guest");
189
190 // CFG: GUEST-LOGIN-PASS
191 $cfg->setConfigEntry('guest_login_passwd', "guest");
192
193 // CFG: LOGIN-WELCOME-ACTION-CLASS
194 $cfg->setConfigEntry('login_welcome_action_class', "ShoutBoxLoginAction");
195
196 // CFG: LOGIN-LOGOUT-ACTION-CLASS
197 $cfg->setConfigEntry('login_logout_action_class', "ShoutBoxLogoutAction");
198
199 // CFG: LOGIN-PROFILE-ACTION-CLASS
200 $cfg->setConfigEntry('login_profile_action_class', "ShoutBoxProfileAction");
201
202 // CFG: SHOUTBOX-REGISTER-CAPTCHA
203 $cfg->setConfigEntry('shoutbox_register_captcha', "GraphicalCodeCaptcha");
204
205 // CFG: SHOUTBOX-USER-LOGIN-CAPTCHA
206 $cfg->setConfigEntry('shoutbox_user_login_captcha', "GraphicalCodeCaptcha");
207
208 // CFG: SHOUTBOX-GUEST-LOGIN-CAPTCHA
209 $cfg->setConfigEntry('shoutbox_guest_login_captcha', "GraphicalCodeCaptcha");
210
211 // CFG: CAPTCHA-STRING-LENGTH
212 $cfg->setConfigEntry('captcha_string_length', 5);
213
214 // CFG: CAPTCHA-SEARCH-CHARS
215 $cfg->setConfigEntry('captcha_search_chars', "+/=");
216
217 // CFG: RANDOM-STRING-LENGTH
218 $cfg->setConfigEntry('random_string_length', 100);
219
220 // CFG: SHOUTBOX-REGISTER-CAPTCHA-SECURED
221 $cfg->setConfigEntry('shoutbox_register_captcha_secured', "Y");
222
223 // CFG: SHOUTBOX-USER-LOGIN-CAPTCHA-SECURED
224 $cfg->setConfigEntry('shoutbox_user_login_captcha_secured', "Y");
225
226 // CFG: SHOUTBOX-GUEST-LOGIN-CAPTCHA-SECURED
227 $cfg->setConfigEntry('shoutbox_guest_login_captcha_secured', "Y");
228
229 // CFG: BLOCK-SHOWS-REGISTRATION
230 $cfg->setConfigEntry('block_shows_registration', "Y");
231
232 // CFG: COMPANY-CLASS
233 $cfg->setConfigEntry('company_class', "ShippingCompany");
234
235 // CFG: COMPANY-DB-WRAPPER-CLASS
236 $cfg->setConfigEntry('company_db_wrapper_class', "CompanyDatabaseWrapper");
237
238 // CFG EMAIl-TPL-RESEND-LINK
239 $cfg->setConfigEntry('email_tpl_resend_link', "text");
240
241 // CFG: MAIL-TEMPLATE-ENGINE
242 $cfg->setConfigEntry('mail_template_class', "MailTemplateEngine");
243
244 // CFG: IMAGE-TEMPLATE-ENGINE
245 $cfg->setConfigEntry('image_template_class', "ImageTemplateEngine");
246
247 // CFG: ADMIN-EMAIL
248 $cfg->setConfigEntry('admin_email', "you@some-hoster.invalid");
249
250 // [EOF]
251 ?>