1 |
<?php |
2 |
/* This file is part of BBClone (A PHP based Web Counter on Steroids) |
3 |
* |
4 |
* SVN FILE $Id$ |
5 |
* |
6 |
* Copyright (C) 2001-2014, the BBClone Team (see doc/authors.txt for details) |
7 |
* |
8 |
* This program is free software: you can redistribute it and/or modify |
9 |
* it under the terms of the GNU General Public License as published by |
10 |
* the Free Software Foundation, either version 3 of the License, or |
11 |
* (at your option) any later version. |
12 |
* |
13 |
* This program is distributed in the hope that it will be useful, |
14 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
15 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
16 |
* GNU General Public License for more details. |
17 |
* |
18 |
* See doc/copying.txt for details |
19 |
*/ |
20 |
|
21 |
// The DNS Extensions array |
22 |
$extensions = array( |
23 |
"travel" => "Travel", |
24 |
"asia" => "Asia-Pacific", |
25 |
"jobs" => "Employment", |
26 |
"mobi" => "Mobiles", |
27 |
"cat" => "Catalan", |
28 |
"tel" => "Contacts", |
29 |
|
30 |
"ac" => "阿森松島", |
31 |
"ad" => "安道爾共和國", |
32 |
"ae" => "阿拉伯聯合大公國", |
33 |
"aero" => "Aero", |
34 |
"af" => "阿富汗", |
35 |
"ag" => "安地卡及巴布達", |
36 |
"ai" => "安圭拉", |
37 |
"al" => "阿爾巴尼亞", |
38 |
"am" => "亞美尼亞", |
39 |
"an" => "荷屬安地列斯群島", |
40 |
"ao" => "安哥拉", |
41 |
"aq" => "南極洲", |
42 |
"ar" => "阿根廷", |
43 |
"arpa" => "(美國老式網路)", |
44 |
"as" => "美屬薩摩亞", |
45 |
"at" => "奧地利", |
46 |
"au" => "澳大利亞", |
47 |
"aw" => "阿魯巴", |
48 |
"az" => "阿塞拜疆", |
49 |
"ba" => "波斯尼亞-黑塞哥維那", |
50 |
"bb" => "巴巴多斯", |
51 |
"bd" => "孟加拉", |
52 |
"be" => "比利時", |
53 |
"bf" => "布基納法索", |
54 |
"bg" => "保加利亞", |
55 |
"bh" => "巴林", |
56 |
"bi" => "布隆迪", |
57 |
"biz" => "(商務)", |
58 |
"bj" => "貝寧", |
59 |
"bm" => "百慕達", |
60 |
"bn" => "文萊", |
61 |
"bo" => "玻利維亞", |
62 |
"br" => "巴西", |
63 |
"bs" => "巴哈馬", |
64 |
"bt" => "不丹", |
65 |
"bv" => "波維特島", |
66 |
"bw" => "波札那", |
67 |
"by" => "白俄羅斯", |
68 |
"bz" => "貝里斯", |
69 |
"ca" => "加拿大", |
70 |
"cc" => "可可島", |
71 |
"cd" => "剛果", |
72 |
"cf" => "中非共和國", |
73 |
"cg" => "剛果", |
74 |
"ch" => "瑞士", |
75 |
"ci" => "象牙海岸", |
76 |
"ck" => "科克群島", |
77 |
"cl" => "智利", |
78 |
"cm" => "喀麥隆", |
79 |
"cn" => "中國", |
80 |
"co" => "哥倫比亞", |
81 |
"com" => "(美國商務)", |
82 |
"coop" => "(共合)", |
83 |
"cr" => "哥斯大黎加", |
84 |
"cs" => "塞爾維亞和黑山", |
85 |
"cu" => "古巴", |
86 |
"cv" => "維德角共和國", |
87 |
"cx" => "聖誕島", |
88 |
"cy" => "塞浦路斯", |
89 |
"cz" => "捷克", |
90 |
"de" => "德國", |
91 |
"dj" => "吉布地共和國", |
92 |
"dk" => "丹麥", |
93 |
"dm" => "多米尼克", |
94 |
"do" => "多米尼加共和國", |
95 |
"dz" => "阿爾及利亞", |
96 |
"ec" => "厄瓜多爾", |
97 |
"edu" => "(美國教育)", |
98 |
"ee" => "愛沙尼亞", |
99 |
"eg" => "埃及", |
100 |
"eh" => "西撒哈拉", |
101 |
"er" => "厄立特里亞", |
102 |
"es" => "西班牙", |
103 |
"et" => "衣索比亞", |
104 |
"eu" => "歐聯", |
105 |
"fi" => "芬蘭", |
106 |
"fj" => "斐濟群島", |
107 |
"fk" => "福克蘭群島", |
108 |
"fm" => "密克羅尼西亞", |
109 |
"fo" => "法魯群島", |
110 |
"fr" => "法國", |
111 |
"ga" => "加彭", |
112 |
"gb" => "英國", |
113 |
"gd" => "格瑞那達", |
114 |
"ge" => "格魯吉亞", |
115 |
"gf" => "法屬圭亞那", |
116 |
"gg" => "根西島", |
117 |
"gh" => "迦魶", |
118 |
"gi" => "直布羅陀", |
119 |
"gl" => "格陵蘭島", |
120 |
"gm" => "甘比亞", |
121 |
"gn" => "幾內亞", |
122 |
"gov" => "(美國政府)", |
123 |
"gp" => "加勒比群島", |
124 |
"gq" => "赤道幾內亞", |
125 |
"gr" => "希臘", |
126 |
"gs" => "南喬治亞", |
127 |
"gt" => "瓜地馬拉", |
128 |
"gu" => "關島", |
129 |
"gw" => "幾內亞比索", |
130 |
"gy" => "蓋亞那", |
131 |
"hk" => "香港", |
132 |
"hm" => "赫德及麥當勞群島", |
133 |
"hn" => "洪都拉斯", |
134 |
"hr" => "克羅地亞", |
135 |
"ht" => "海地", |
136 |
"hu" => "匈牙利", |
137 |
"id" => "印度尼西亞", |
138 |
"ie" => "愛爾蘭", |
139 |
"il" => "以色列", |
140 |
"im" => "曼島", |
141 |
"in" => "印度", |
142 |
"info" => "(資訊)", |
143 |
"int" => "(國際組織)", |
144 |
"io" => "英屬印度洋領地", |
145 |
"iq" => "伊拉克", |
146 |
"ir" => "伊朗", |
147 |
"is" => "冰島", |
148 |
"it" => "意大利", |
149 |
"je" => "澤西", |
150 |
"jm" => "牙買加", |
151 |
"jo" => "約旦", |
152 |
"jp" => "日本", |
153 |
"ke" => "肯亞", |
154 |
"kg" => "吉魯濟斯坦", |
155 |
"kh" => "柬埔寨", |
156 |
"ki" => "吉里巴斯", |
157 |
"km" => "科摩羅群島", |
158 |
"kn" => "聖及斯", |
159 |
"kp" => "北韓", |
160 |
"kr" => "南韓", |
161 |
"kw" => "科威特", |
162 |
"ky" => "開曼群島", |
163 |
"kz" => "哈薩克", |
164 |
"la" => "遼國", |
165 |
"lb" => "黎巴嫩", |
166 |
"lc" => "聖路西亞", |
167 |
"li" => "列支敦士坦", |
168 |
"lk" => "斯里蘭卡", |
169 |
"lr" => "賴比瑞亞", |
170 |
"ls" => "賴索托", |
171 |
"lt" => "立陶宛", |
172 |
"lu" => "盧森堡", |
173 |
"lv" => "拉脫維亞", |
174 |
"ly" => "利比亞", |
175 |
"ma" => "摩洛哥", |
176 |
"mc" => "摩納哥", |
177 |
"md" => "摩爾達維亞", |
178 |
"mg" => "馬達加斯加", |
179 |
"mh" => "馬紹爾群島", |
180 |
"mil" => "(美國軍隊)", |
181 |
"mk" => "馬其頓", |
182 |
"ml" => "馬里", |
183 |
"mm" => "緬甸", |
184 |
"mn" => "蒙古", |
185 |
"mo" => "澳門", |
186 |
"mp" => "北馬里亞納群島", |
187 |
"mq" => "馬提尼克島", |
188 |
"mr" => "茅利塔尼亞", |
189 |
"ms" => "蒙特塞拉特島", |
190 |
"mt" => "馬爾他", |
191 |
"museum" => "(博物館)", |
192 |
"mu" => "模里西斯", |
193 |
"mv" => "馬爾地夫", |
194 |
"mw" => "馬拉威", |
195 |
"mx" => "墨西哥", |
196 |
"my" => "馬來西亞", |
197 |
"mz" => "莫三比克", |
198 |
"na" => "納米比亞", |
199 |
"name" => "(個人)", |
200 |
"nc" => "新卡里多尼亞", |
201 |
"ne" => "尼日", |
202 |
"net" => "(網路)", |
203 |
"nf" => "諾福克島", |
204 |
"ng" => "奈及利亞", |
205 |
"ni" => "尼加拉瓜", |
206 |
"nl" => "荷蘭", |
207 |
"no" => "挪威", |
208 |
"np" => "尼泊爾", |
209 |
"nr" => "諾魯", |
210 |
"nu" => "紐鄂島", |
211 |
"numeric" => "(數字)", |
212 |
"nz" => "紐西蘭", |
213 |
"om" => "阿曼", |
214 |
"org" => "(非營利組織)", |
215 |
"pa" => "巴拿馬", |
216 |
"pe" => "秘魯", |
217 |
"pf" => "法屬波利尼西亞", |
218 |
"pg" => "巴布亞新幾內亞", |
219 |
"ph" => "菲律賓", |
220 |
"pk" => "巴基斯坦", |
221 |
"pl" => "波蘭", |
222 |
"pm" => "聖皮埃爾島及密客隆島", |
223 |
"pn" => "英屬皮特克恩群島", |
224 |
"pr" => "波多黎各", |
225 |
"pro" => "(專業)", |
226 |
"ps" => "巴勒斯坦", |
227 |
"pt" => "葡萄牙", |
228 |
"pw" => "帕勞", |
229 |
"py" => "巴拉圭", |
230 |
"qa" => "卡塔爾", |
231 |
"re" => "留尼旺島", |
232 |
"ro" => "羅馬尼亞", |
233 |
"ru" => "俄羅斯", |
234 |
"rw" => "盧旺達", |
235 |
"sa" => "沙烏地阿拉伯", |
236 |
"sb" => "所羅門群島", |
237 |
"sc" => "塞席爾", |
238 |
"sd" => "蘇丹", |
239 |
"se" => "瑞典", |
240 |
"sg" => "新加坡", |
241 |
"sh" => "聖赫勒拿島", |
242 |
"si" => "斯洛維尼亞", |
243 |
"sj" => "斯瓦巴及尖棉", |
244 |
"sk" => "斯洛伐克", |
245 |
"sl" => "獅子山", |
246 |
"sm" => "聖馬利諾", |
247 |
"sn" => "塞內加爾", |
248 |
"so" => "索馬利亞", |
249 |
"sr" => "蘇里南", |
250 |
"st" => "聖多美", |
251 |
"su" => "蘇聯", |
252 |
"sv" => "薩爾瓦多", |
253 |
"sy" => "敘利亞", |
254 |
"sz" => "史瓦濟蘭", |
255 |
"tc" => "特克斯和凱科斯群島", |
256 |
"td" => "查德", |
257 |
"tf" => "法屬南部屬地", |
258 |
"tg" => "多哥", |
259 |
"th" => "泰國", |
260 |
"tj" => "塔吉克", |
261 |
"tk" => "塔開盧群島", |
262 |
"tl" => "東帝汶", |
263 |
"tm" => "土庫曼", |
264 |
"tn" => "突尼西亞", |
265 |
"to" => "東加", |
266 |
"tp" => "東帝汶", |
267 |
"tr" => "土耳其", |
268 |
"tt" => "千里達托貝哥", |
269 |
"tv" => "吐瓦魯", |
270 |
"tw" => "台灣", |
271 |
"tz" => "坦桑尼亞", |
272 |
"ua" => "烏克蘭", |
273 |
"ug" => "烏干達", |
274 |
"uk" => "英國", |
275 |
"um" => "美國外島", |
276 |
"unknown" => "(不明)", |
277 |
"us" => "美國", |
278 |
"uy" => "烏拉圭", |
279 |
"uz" => "烏玆別克斯坦", |
280 |
"va" => "梵蒂岡城", |
281 |
"vc" => "聖文森及格瑞那丁特島", |
282 |
"ve" => "委內瑞拉", |
283 |
"vg" => "英屬維爾京群島", |
284 |
"vi" => "美屬維爾京群島", |
285 |
"vn" => "越南", |
286 |
"vu" => "萬那杜", |
287 |
"wf" => "瓦里斯及富都拿群島", |
288 |
"ws" => "西薩摩亞", |
289 |
"ye" => "葉門", |
290 |
"yt" => "馬約特島", |
291 |
"yu" => "塞爾維亞", |
292 |
"za" => "南非", |
293 |
"zm" => "尚比亞", |
294 |
"zr" => "薩伊", |
295 |
"zw" => "辛巴威", |
296 |
); |
297 |
|
298 |
// The main Translation array |
299 |
$translation = array( |
300 |
// Specific charset |
301 |
"global_charset" => "utf-8", |
302 |
|
303 |
// Date format (used with date()) |
304 |
"global_time_format" => "M jS, H:i:s", |
305 |
"global_day_format" => "l F jS, Y", |
306 |
"global_hours_format" => "l F jS, G:00", |
307 |
"global_month_format" => "F Y", |
308 |
|
309 |
// Global translation |
310 |
"global_titlebar"=> "Statistics for %SERVER generated on %DATE", |
311 |
"global_bbclone_copyright" => "The BBClone 小組 版權所有", |
312 |
"global_last_reset" => "統計數字起始自", |
313 |
"global_yes" => "是", |
314 |
"global_no" => "否", |
315 |
|
316 |
// The error messages |
317 |
"error_cannot_see_config" => |
318 |
"設定不允許您察看 BBClone 的設定檔.", |
319 |
|
320 |
// Miscellaneous translations |
321 |
"misc_other" => "其它", |
322 |
"misc_unknown" => "不明", |
323 |
"misc_second_unit" => "秒", |
324 |
"misc_ignored" => "略過", |
325 |
|
326 |
// The Navigation Bar |
327 |
"navbar_main_site" => "我的主頁", |
328 |
"navbar_configuration" => "設定變數", |
329 |
"navbar_global_stats" => "訪客總覽", |
330 |
"navbar_detailed_stats" => "訪客細節", |
331 |
"navbar_time_stats" => "時段統計", |
332 |
"navbar_language" => "Language", |
333 |
"navbar_go" => "Go", |
334 |
|
335 |
// Detailed stats words |
336 |
"dstat_id" => "標號", |
337 |
"dstat_time" => "時間", |
338 |
"dstat_visits" => "頁數", |
339 |
"dstat_extension" => "國籍", |
340 |
"dstat_dns" => "網域名稱", |
341 |
"dstat_from" => "來源", |
342 |
"dstat_os" => "作業系統", |
343 |
"dstat_browser" => "瀏覽器", |
344 |
"dstat_visible_rows" => "顯示行數", |
345 |
"dstat_green_rows" => "綠色行", |
346 |
"dstat_blue_rows" => "藍色行", |
347 |
"dstat_red_rows" => "紅色行", |
348 |
"dstat_search" => "搜尋字串", |
349 |
"dstat_last_page" => "最後查看", |
350 |
"dstat_last_visit" => "查看最後一頁的時間", |
351 |
"dstat_robots" => "搜索機器人", |
352 |
"dstat_my_visit" => "Visits from your IP", |
353 |
"dstat_no_data" => "無紀錄資料", |
354 |
"dstat_prx" => "代理伺服器", |
355 |
"dstat_ip" => "IP 位置", |
356 |
"dstat_user_agent" => "系統", |
357 |
"dstat_nr" => "數", |
358 |
"dstat_pages" => "頁面", |
359 |
"dstat_visit_length" => "瀏覽時間", |
360 |
"dstat_reloads" => "重整次數", |
361 |
"dstat_whois_information" => "Look up information on this IP Adress", |
362 |
|
363 |
// Global stats words |
364 |
"gstat_accesses" => "總流量", |
365 |
"gstat_total_visits" => "訪客人次", |
366 |
"gstat_total_unique" => "訪客人數", |
367 |
"gstat_operating_systems" => "前%d作業系統", |
368 |
"gstat_browsers" => "前%d瀏覽器", |
369 |
"gstat_extensions" => "前%d國籍", |
370 |
"gstat_robots" => "前%d搜索機器人", |
371 |
"gstat_pages" => "前%d拜訪網頁", |
372 |
"gstat_origins" => "前%d來源", |
373 |
"gstat_hosts" => "前%d網域", |
374 |
"gstat_keys" => "前%d搜尋字串", |
375 |
"gstat_total" => "總計", |
376 |
"gstat_not_specified" => "不明", |
377 |
|
378 |
// Time stats words |
379 |
"tstat_su" => "星期日", |
380 |
"tstat_mo" => "星期一", |
381 |
"tstat_tu" => "星期二", |
382 |
"tstat_we" => "星期三", |
383 |
"tstat_th" => "星期四", |
384 |
"tstat_fr" => "星期五", |
385 |
"tstat_sa" => "星期六", |
386 |
|
387 |
"tstat_full_su" => "Sunday", |
388 |
"tstat_full_mo" => "Monday", |
389 |
"tstat_full_tu" => "Tuesday", |
390 |
"tstat_full_we" => "Wednesday", |
391 |
"tstat_full_th" => "Thursday", |
392 |
"tstat_full_fr" => "Friday", |
393 |
"tstat_full_sa" => "Saturday", |
394 |
|
395 |
"tstat_jan" => "一月", |
396 |
"tstat_feb" => "二月", |
397 |
"tstat_mar" => "三月", |
398 |
"tstat_apr" => "四月", |
399 |
"tstat_may" => "五月", |
400 |
"tstat_jun" => "六月", |
401 |
"tstat_jul" => "七月", |
402 |
"tstat_aug" => "八月", |
403 |
"tstat_sep" => "九月", |
404 |
"tstat_oct" => "十月", |
405 |
"tstat_nov" => "十一", |
406 |
"tstat_dec" => "十二", |
407 |
|
408 |
"tstat_full_jan" => "January", |
409 |
"tstat_full_feb" => "February", |
410 |
"tstat_full_mar" => "March", |
411 |
"tstat_full_apr" => "April", |
412 |
"tstat_full_may" => "May", |
413 |
"tstat_full_jun" => "June", |
414 |
"tstat_full_jul" => "July", |
415 |
"tstat_full_aug" => "August", |
416 |
"tstat_full_sep" => "September", |
417 |
"tstat_full_oct" => "October", |
418 |
"tstat_full_nov" => "November", |
419 |
"tstat_full_dec" => "December", |
420 |
|
421 |
"tstat_last_day" => "過去一天", |
422 |
"tstat_last_week" => "過去一週", |
423 |
"tstat_last_month" => "過去一月", |
424 |
"tstat_last_year" => "過去一年", |
425 |
"tstat_average" => "Average", |
426 |
|
427 |
// Loadtime notice |
428 |
"generated" => "page generated in ", |
429 |
"seconds" => " seconds", |
430 |
|
431 |
// Configuration page words and sentences |
432 |
"config_variable_name" => "變數名稱", |
433 |
"config_variable_value" => "變數數值", |
434 |
"config_explanations" => "解釋", |
435 |
|
436 |
"config_BBC_MAINSITE" => |
437 |
"If this variable has been set, a link to the specified location will be |
438 |
generated. The default value is pointing to the parent directory. In case your |
439 |
main site is located elsewhere, you probably want to adjust the value to suit |
440 |
your needs.<br /> |
441 |
Examples:<br /> |
442 |
\$BBC_MAINSITE = "http://www.myserver.com/"<br /> |
443 |
\$BBC_MAINSITE = ".."<br /> |
444 |
\$BBC_MAINSITE = "";", |
445 |
|
446 |
"config_BBC_SHOW_CONFIG" => |
447 |
"BBClone defaults to revealing the stats' settings. In case this behavior isn't |
448 |
desired you can deny access to it by deactivating the option.<br /> |
449 |
Examples:<br /> |
450 |
\$BBC_SHOW_CONFIG = 1;<br /> |
451 |
\$BBC_SHOW_CONFIG = "";", |
452 |
|
453 |
"config_BBC_TITLEBAR" => |
454 |
"The title of your stats pages.<br /> |
455 |
It will be displayed in the navigation bar of all BBClone pages<br /> |
456 |
The following macros are recognised:<br /> |
457 |
<ul> |
458 |
<li>%SERVER: server name,</li> |
459 |
<li>%DATE: current date.</li> |
460 |
</ul> |
461 |
HTML Tags are allowed.<br /> |
462 |
Examples:<br /> |
463 |
\$BBC_TITLEBAR = "Statistics for %SERVER generated the %DATE";<br /> |
464 |
\$BBC_TITLEBAR = "My stats from %DATE look like this:"; |
465 |
<br />", |
466 |
|
467 |
"config_BBC_LANGUAGE" => |
468 |
"BBClone's default language, in case it hasn't been specified by the browser. |
469 |
The following languages are supported: |
470 |
<p>ar, bg, bs, ca, cs, da, de, el, en, es, fi, fr, hu, id, it, ja, ko, lt, mk, nb, nl, pl, pt, pt-br, ro, ru, |
471 |
sk, sl, sv, th, tr, ua, zh-cn and zh-tw</p>", |
472 |
|
473 |
"config_BBC_MAXTIME" => |
474 |
"This variable defines the length of an unique visit in seconds. Each hit from |
475 |
the same visitor within this period will be considered as one visit, as long as |
476 |
two successive hits don't exceed the specified limit. Default is the de facto |
477 |
web standard of 30 minutes (1800 seconds), but depending on your needs you may |
478 |
wish to assign a different value.<br /> |
479 |
Examples:<br /> |
480 |
\$BBC_MAXTIME = 0;<br /> |
481 |
\$BBC_MAXTIME = 1800;", |
482 |
|
483 |
"config_BBC_MAXVISIBLE" => |
484 |
"How many entries you want to have listed in the detailed stats? The default |
485 |
value is 100. It's recommended not to set it higher than 500 to avoid too heavy |
486 |
load.", |
487 |
|
488 |
"config_BBC_DETAILED_STAT_FIELDS" => |
489 |
"The variable \$BBC_DETAILED_STAT_FIELDS determines the columns to be displayed |
490 |
in the detailed statistics. Possible columns are: |
491 |
<ul> |
492 |
<li>id => The x-th visitor since you've started counting</li> |
493 |
<li>time => The time at which the last hit was registerred</li> |
494 |
<li>visits => The hits of one unique visitor</li> |
495 |
<li>dns => Visitor's hostname</li> |
496 |
<li>ip => Visitor's IP address</li> |
497 |
<li>os => The operating system (if available and/or no robot)</li> |
498 |
<li>browser => The software used for establishing the connection |
499 |
</li> |
500 |
<li>ext => Visitor's country or extension</li> |
501 |
<li>referer => The link from which a visitor came (if available) |
502 |
</li> |
503 |
<li>page => The last visited page</li> |
504 |
<li>search => The search query a visitor used (if available)</li> |
505 |
</ul> |
506 |
The same order you've arranged the columns will be used for display.<br /> |
507 |
Examples:<br /> |
508 |
\$BBC_DETAILED_STAT_FIELDS = "id, time, visits, ip, ext, os, browser"; |
509 |
<br /> |
510 |
\$BBC_DETAILED_STAT_FIELDS = "date, ext, browser, os, ip";<br />", |
511 |
|
512 |
"config_BBC_TIME_OFFSET" => |
513 |
"In case the server time doesn't match your local timezone, you can adjust the |
514 |
time in minutes by using this switch. Negative values will set back the time, |
515 |
positive ones will set it forth.<br /> |
516 |
Examples:<br /> |
517 |
\$BBC_TIME_OFFSET = 300;<br /> |
518 |
\$BBC_TIME_OFFSET = -300;<br /> |
519 |
\$BBC_TIME_OFFSET = 0;", |
520 |
|
521 |
"config_BBC_NO_DNS" => |
522 |
"This options defines, whether IP addresses should be resolved to hostnames or |
523 |
not. While hostnames tell a lot more about the visitor, resolving them may |
524 |
considerably slow down your site, if the DNS servers used are slow, limited in |
525 |
their capacity or otherwise unreliable. Setting this variable may solve the |
526 |
problem.<br /> |
527 |
Examples:<br /> |
528 |
\$BBC_NO_DNS = 1;<br /> |
529 |
\$BBC_NO_DNS = "";", |
530 |
|
531 |
"config_BBC_NO_HITS" => |
532 |
"BBClone's default is to show hits in the time stats, because it gives a quite |
533 |
useful Impression from the actual server load. If, however, you prefer to use |
534 |
unique visits as base for your time stats, you can change the way of counting |
535 |
by setting this variable.<br /> |
536 |
Examples:<br /> |
537 |
\$BBC_NO_HITS = 1;<br /> |
538 |
\$BBC_NO_HITS = "";", |
539 |
|
540 |
"config_BBC_IGNORE_IP" => |
541 |
"This option can be used to exclude particular IP addresses or address ranges |
542 |
from counting. In case you want to add several expressions use a comma as |
543 |
separator.<br /> |
544 |
Examples:<br /> |
545 |
\$BBC_IGNORE_IP = "127., 192.168.";<br /> |
546 |
\$BBC_IGNORE_IP = "";", |
547 |
|
548 |
"config_BBC_IGNORE_REFER" => |
549 |
"In case you don't want to have particular referrers from your visitors listed |
550 |
in your ranking or detailed stats, you can specify one or more keywords used |
551 |
for blocking if a referrer matches up against them. If you use more keywords, |
552 |
please use a comma as separator.<br /> |
553 |
Examples:<br /> |
554 |
\$BBC_IGNORE_REFER = "spambot.org, .escort.";<br /> |
555 |
\$BBC_IGNORE_REFER = "";", |
556 |
|
557 |
"config_BBC_IGNORE_BOTS" => |
558 |
"You can use this option to determine the treatment of robots. The default is |
559 |
to ignore them in the top hosts ranking but leave them in the remaining |
560 |
stats. If you don't want to see any robots at all you can set this option to |
561 |
"2", then only human visits will be taken into account.<br /> |
562 |
Examples:<br /> |
563 |
\$BBC_IGNORE_BOTS = 2;<br /> |
564 |
\$BBC_IGNORE_BOTS = 1;<br /> |
565 |
\$BBC_IGNORE_BOTS = "";", |
566 |
|
567 |
"config_BBC_IGNORE_AGENT" => |
568 |
"This option defines how BBClone tells one visitor from another. Default is to |
569 |
use the IP address only, which provides realistic figures in most cases. If, |
570 |
however, your visitors often are hidden behind proxy servers, deactivation of |
571 |
this option could provide more realistic figures, since a new visitor will be |
572 |
assumed by the time the user agent has changed.<br /> |
573 |
Examples:<br /> |
574 |
\$BBC_IGNORE_AGENT = 1;<br /> |
575 |
\$BBC_IGNORE_AGENT = "";", |
576 |
|
577 |
"config_BBC_KILL_STATS" => |
578 |
"Whenever you wish to reset your stats you can activate this switch and have |
579 |
them deleted by the next visit. Don't forget to deactivate it afterwards, else |
580 |
you'll probably experience unusually low traffic ;).<br /> |
581 |
Examples:<br /> |
582 |
\$BBC_KILL_STATS = 1;<br /> |
583 |
\$BBC_KILL_STATS = "";", |
584 |
|
585 |
"config_BBC_PURGE_SINGLE" => |
586 |
"Host and referrer stats can generate a huge amount of data, however mostly |
587 |
caused by one time visitors. By enabling this switch you can purge these |
588 |
entries and considerably shrink access.php in its size without affecting your |
589 |
actual visible host and referrer ranking. The amount of hits will be added to |
590 |
the "not_specified" entries to keep the overall score intact.<br /> |
591 |
Examples:<br /> |
592 |
\$BBC_PURGE_SINGLE = 1;<br /> |
593 |
\$BBC_PURGE_SINGLE = "";" |
594 |
|
595 |
); |
596 |
?> |