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" => "Ascension Island", |
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" => "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" => "Business", |
58 |
"bj" => "贝宁", |
59 |
"bl" => "聖巴泰勒米島", |
60 |
"bm" => "百慕大", |
61 |
"bn" => "文莱达鲁萨兰国", |
62 |
"bo" => "玻利维亚", |
63 |
"br" => "巴西", |
64 |
"bs" => "巴哈马", |
65 |
"bt" => "不丹", |
66 |
"bv" => "布韦群岛", |
67 |
"bw" => "伯兹瓦纳", |
68 |
"by" => "白俄罗斯", |
69 |
"bz" => "伯利兹", |
70 |
"ca" => "加拿大", |
71 |
"cc" => "科科斯群岛", |
72 |
"cd" => "Congo", |
73 |
"cf" => "中非共和国", |
74 |
"cg" => "刚果", |
75 |
"ch" => "瑞士", |
76 |
"ci" => "象牙海岸", |
77 |
"ck" => "库克群岛", |
78 |
"cl" => "智利", |
79 |
"cm" => "喀麦隆", |
80 |
"cn" => "中国", |
81 |
"co" => "哥伦比亚", |
82 |
"com" => "Commercial", |
83 |
"coop" => "Coop", |
84 |
"cr" => "哥斯达黎加", |
85 |
"cs" => "Serbia and Montenegro", |
86 |
"cu" => "古巴", |
87 |
"cv" => "佛得角", |
88 |
"cx" => "圣诞岛(英属)", |
89 |
"cy" => "塞浦路斯", |
90 |
"cz" => "捷克共和国", |
91 |
"de" => "德国", |
92 |
"dj" => "吉布提", |
93 |
"dk" => "丹麦", |
94 |
"dm" => "多米尼加联邦", |
95 |
"do" => "多米尼加共和国", |
96 |
"dz" => "阿尔及利亚", |
97 |
"ec" => "厄瓜多尔", |
98 |
"edu" => "Educational", |
99 |
"ee" => "爱沙尼亚", |
100 |
"eg" => "埃及", |
101 |
"eh" => "西萨摩亚", |
102 |
"er" => "Eritrea", |
103 |
"es" => "西班牙", |
104 |
"et" => "埃塞俄比亚", |
105 |
"eu" => "European Union", |
106 |
"ev" => "萨尔瓦多", |
107 |
"fi" => "芬兰", |
108 |
"fj" => "斐济", |
109 |
"fk" => "福克兰群岛", |
110 |
"fm" => "密克罗尼西亚", |
111 |
"fo" => "法罗群岛", |
112 |
"fr" => "法国", |
113 |
"ga" => "加蓬", |
114 |
"gb" => "大不列颠联合王国", |
115 |
"gd" => "格林纳达", |
116 |
"ge" => "格鲁吉亚", |
117 |
"gf" => "法属圭亚那", |
118 |
"gg" => "Guernsey", |
119 |
"gh" => "加纳", |
120 |
"gi" => "直布罗陀", |
121 |
"gl" => "格陵兰群岛", |
122 |
"gm" => "冈比亚", |
123 |
"gn" => "几内亚", |
124 |
"gov" => "US Government", |
125 |
"gp" => "瓜德罗普岛(法属)", |
126 |
"gq" => "赤道几内亚", |
127 |
"gr" => "希腊", |
128 |
"gs" => "South Georgia and the South Sandwich Islands", |
129 |
"gt" => "危地马拉", |
130 |
"gu" => "关岛", |
131 |
"gw" => "几内亚比绍", |
132 |
"gy" => "圭亚那", |
133 |
"hk" => "香港", |
134 |
"hm" => "赫特与麦克唐纳群岛", |
135 |
"hn" => "洪都拉斯", |
136 |
"hr" => "克罗蒂亚", |
137 |
"ht" => "海地", |
138 |
"hu" => "匈牙利", |
139 |
"id" => "印度尼西亚", |
140 |
"ie" => "爱尔兰共和国", |
141 |
"il" => "以色列", |
142 |
"im" => "Isle of Man", |
143 |
"in" => "印度", |
144 |
"info" => "Information", |
145 |
"int" => "International Organizations", |
146 |
"io" => "英属印度洋领地", |
147 |
"iq" => "伊拉克", |
148 |
"ir" => "伊朗", |
149 |
"is" => "冰岛", |
150 |
"it" => "意大利", |
151 |
"je" => "Jersey", |
152 |
"jm" => "牙买加", |
153 |
"jo" => "约旦", |
154 |
"jp" => "日本", |
155 |
"ke" => "肯尼亚", |
156 |
"kg" => "吉尔吉斯斯坦", |
157 |
"kh" => "柬埔塞", |
158 |
"ki" => "基里巴斯", |
159 |
"km" => "科摩罗", |
160 |
"kn" => "圣茨和尼维斯", |
161 |
"kp" => "北朝鲜", |
162 |
"kr" => "南朝鲜", |
163 |
"kw" => "科威特", |
164 |
"ky" => "开曼群岛(英属)", |
165 |
"kz" => "哈萨克斯坦", |
166 |
"la" => "老挝人民共和国", |
167 |
"lb" => "黎巴嫩", |
168 |
"lc" => "圣露西亚岛", |
169 |
"li" => "列支敦士登", |
170 |
"lk" => "斯里兰卡", |
171 |
"lr" => "利比里亚", |
172 |
"ls" => "莱索托", |
173 |
"lt" => "立陶宛", |
174 |
"lu" => "卢森堡", |
175 |
"lv" => "拉脱维亚", |
176 |
"ly" => "利比亚", |
177 |
"ma" => "摩洛哥", |
178 |
"mc" => "摩纳哥", |
179 |
"md" => "摩尔多瓦", |
180 |
"mf" => "圣马丁岛", |
181 |
"mg" => "马达加斯加", |
182 |
"mh" => "马绍尔群岛", |
183 |
"mil" => "US Military", |
184 |
"mk" => "Macedonia", |
185 |
"ml" => "马里", |
186 |
"mm" => "缅甸", |
187 |
"mn" => "蒙古", |
188 |
"mo" => "澳门", |
189 |
"mp" => "北马里亚纳群岛", |
190 |
"mq" => "马提尼克岛(法属)", |
191 |
"mr" => "毛里塔尼亚", |
192 |
"ms" => "蒙塞拉特岛", |
193 |
"mt" => "马尔他", |
194 |
"mu" => "Mauritius", |
195 |
"museum" => "Museum", |
196 |
"mv" => "马尔代夫", |
197 |
"mw" => "马拉维", |
198 |
"mx" => "墨西哥", |
199 |
"my" => "马来西亚", |
200 |
"mz" => "莫桑比克", |
201 |
"na" => "纳米比亚", |
202 |
"name" => "Personal", |
203 |
"nc" => "新喀里多尼亚", |
204 |
"ne" => "尼日尔", |
205 |
"net" => "Networks", |
206 |
"nf" => "诺福克岛", |
207 |
"ng" => "尼日利亚", |
208 |
"ni" => "尼加拉瓜", |
209 |
"nl" => "荷兰", |
210 |
"no" => "挪威", |
211 |
"np" => "尼泊尔", |
212 |
"nr" => "瑙鲁", |
213 |
"nu" => "纽埃", |
214 |
"numeric" => "Numeric", |
215 |
"nz" => "新西兰", |
216 |
"om" => "阿曼", |
217 |
"org" => "Organizations", |
218 |
"pa" => "巴拿马", |
219 |
"pe" => "秘鲁", |
220 |
"pf" => "法属玻利尼西亚", |
221 |
"pg" => "巴布亚新几内亚", |
222 |
"ph" => "菲律宾", |
223 |
"pk" => "巴基斯坦", |
224 |
"pl" => "波兰", |
225 |
"pm" => "圣皮埃尔和密克隆岛", |
226 |
"pn" => "皮特克恩岛", |
227 |
"pr" => "波多黎各", |
228 |
"pro" => "Professional", |
229 |
"ps" => "Palestina", |
230 |
"pt" => "葡萄牙", |
231 |
"pw" => "帕劳", |
232 |
"py" => "巴拉圭", |
233 |
"qa" => "卡塔尔", |
234 |
"re" => "留尼汪岛(法属)", |
235 |
"ro" => "罗马尼亚", |
236 |
"ru" => "俄罗斯联邦", |
237 |
"rw" => "卢旺达", |
238 |
"sa" => "沙特阿拉伯", |
239 |
"sb" => "所罗门群岛", |
240 |
"sc" => "塞舌尔", |
241 |
"sd" => "苏旦", |
242 |
"se" => "瑞典", |
243 |
"sg" => "新加坡", |
244 |
"sh" => "海伦娜", |
245 |
"si" => "斯洛文尼亚", |
246 |
"sj" => "斯马尔巴特和扬马延岛", |
247 |
"sk" => "斯洛伐克", |
248 |
"sl" => "塞拉利昂", |
249 |
"sm" => "圣马力诺", |
250 |
"sn" => "塞内加尔", |
251 |
"so" => "索马里", |
252 |
"sr" => "苏里南", |
253 |
"st" => "圣多美和普林西比", |
254 |
"su" => "苏联", |
255 |
"sv" => "El Salvador", |
256 |
"sy" => "叙利亚", |
257 |
"sz" => "斯威士兰", |
258 |
"tc" => "特克斯群岛与凯科斯群岛", |
259 |
"td" => "乍得", |
260 |
"tf" => "法属南半球领地", |
261 |
"tg" => "多哥", |
262 |
"th" => "泰国", |
263 |
"tj" => "塔吉克斯坦", |
264 |
"tk" => "托克劳群岛", |
265 |
"tl" => "东帝汶", |
266 |
"tm" => "土库曼斯坦", |
267 |
"tn" => "突尼斯", |
268 |
"to" => "汤加", |
269 |
"tp" => "东帝汶", |
270 |
"tr" => "土耳其", |
271 |
"tt" => "特立尼和多巴哥", |
272 |
"tv" => "图瓦鲁", |
273 |
"tw" => "台湾", |
274 |
"tz" => "坦桑尼亚", |
275 |
"ua" => "乌克兰", |
276 |
"ug" => "乌干达", |
277 |
"uk" => "英国", |
278 |
"um" => "US Minor Outlying Islands", |
279 |
"unknown" => "未知", |
280 |
"us" => "美国", |
281 |
"uy" => "乌拉圭", |
282 |
"uz" => "Uzbekistan", |
283 |
"va" => "梵地冈", |
284 |
"vc" => "圣文森特和格林纳丁斯", |
285 |
"ve" => "委内瑞拉", |
286 |
"vg" => "维京群岛", |
287 |
"vi" => "Virgin Islands (US)", |
288 |
"vn" => "越南", |
289 |
"vu" => "瓦努阿图", |
290 |
"wf" => "瓦利斯和富图纳群岛", |
291 |
"ws" => "东萨摩亚", |
292 |
"ye" => "也门", |
293 |
"yt" => "Mayotte", |
294 |
"yu" => "南斯拉夫", |
295 |
"za" => "南非", |
296 |
"zm" => "赞比亚", |
297 |
"zr" => "扎伊尔", |
298 |
"zw" => "津巴布韦", |
299 |
); |
300 |
|
301 |
// The main Translation array |
302 |
$translation = array( |
303 |
// Specific charset |
304 |
"global_charset" => "utf-8", |
305 |
|
306 |
// Date format (used with date()) |
307 |
"global_time_format" => "M jS, H:i:s", |
308 |
"global_day_format" => "l F jS, Y", |
309 |
"global_hours_format" => "l F jS, G:00", |
310 |
"global_month_format" => "F Y", |
311 |
|
312 |
// Global translation |
313 |
"global_titlebar"=> "Statistics for %SERVER generated on %DATE", |
314 |
"global_bbclone_copyright" => "The BBClone 团队 -- 许可遵从:", |
315 |
"global_last_reset" => "Statistics last reset on", |
316 |
"global_yes" => "是", |
317 |
"global_no" => "否", |
318 |
|
319 |
// The error messages |
320 |
"error_cannot_see_config" => |
321 |
"这里不允许查看本服务器的 BBClone 配置。", |
322 |
|
323 |
// Miscellaneous translations |
324 |
"misc_other" => "其 他", |
325 |
"misc_unknown" => "未 知", |
326 |
"misc_second_unit" => "秒", |
327 |
"misc_ignored" => "Ignored", |
328 |
|
329 |
// The Navigation Bar |
330 |
"navbar_main_site" => "我的站点", |
331 |
"navbar_configuration" => "配置文件", |
332 |
"navbar_global_stats" => "全 面", |
333 |
"navbar_detailed_stats" => "细 节", |
334 |
"navbar_time_stats" => "时 间", |
335 |
"navbar_language" => "Language", |
336 |
"navbar_go" => "Go", |
337 |
|
338 |
// Detailed stats words |
339 |
"dstat_id" => "号码", |
340 |
"dstat_time" => "时 间", |
341 |
"dstat_visits" => "浏览", |
342 |
"dstat_extension" => "扩 展", |
343 |
"dstat_dns" => "IP 地 址", |
344 |
"dstat_from" => "转 自(域 名)", |
345 |
"dstat_os" => "操 作 系 统", |
346 |
"dstat_browser" => "浏 览 器", |
347 |
"dstat_visible_rows" => "当前可以查看的访问数", |
348 |
"dstat_green_rows" => "绿色行", |
349 |
"dstat_blue_rows" => "蓝色行", |
350 |
"dstat_red_rows" => "红色行", |
351 |
"dstat_search" => "Search", |
352 |
"dstat_last_page" => "Last Page", |
353 |
"dstat_last_visit" => "最后的访问时间", |
354 |
"dstat_robots" => "robots", |
355 |
"dstat_my_visit" => "Visits from your IP", |
356 |
"dstat_no_data" => "No data available", |
357 |
"dstat_prx" => "Proxy Server", |
358 |
"dstat_ip" => "IP Address", |
359 |
"dstat_user_agent" => "User Agent", |
360 |
"dstat_nr" => "Nr", |
361 |
"dstat_pages" => "Pages", |
362 |
"dstat_visit_length" => "Visit Length", |
363 |
"dstat_reloads" => "Reloads", |
364 |
"dstat_whois_information" => "Look up information on this IP Adress", |
365 |
|
366 |
// Global stats words |
367 |
"gstat_accesses" => "存 取 记 录", |
368 |
"gstat_total_visits" => "访问总数", |
369 |
"gstat_total_unique" => "总的唯一的", |
370 |
"gstat_operating_systems" => "操 作 系 统", |
371 |
"gstat_browsers" => "浏 览 器", |
372 |
"gstat_extensions" => "首 %d 范围排列", |
373 |
"gstat_robots" => "Robots", |
374 |
"gstat_pages" => "首 %d 页面排列", |
375 |
"gstat_origins" => "首 %d 来源排列", |
376 |
"gstat_hosts" => "Top %d Hosts", |
377 |
"gstat_keys" => "Top %d Keywords", |
378 |
"gstat_total" => "合 计", |
379 |
"gstat_not_specified" => "没有详细说明", |
380 |
|
381 |
// Time stats words |
382 |
"tstat_su" => "星期天", |
383 |
"tstat_mo" => "星期一", |
384 |
"tstat_tu" => "星期二", |
385 |
"tstat_we" => "星期三", |
386 |
"tstat_th" => "星期四", |
387 |
"tstat_fr" => "星期五", |
388 |
"tstat_sa" => "星期六", |
389 |
|
390 |
"tstat_full_su" => "Sunday", |
391 |
"tstat_full_mo" => "Monday", |
392 |
"tstat_full_tu" => "Tuesday", |
393 |
"tstat_full_we" => "Wednesday", |
394 |
"tstat_full_th" => "Thursday", |
395 |
"tstat_full_fr" => "Friday", |
396 |
"tstat_full_sa" => "Saturday", |
397 |
|
398 |
"tstat_jan" => "一月", |
399 |
"tstat_feb" => "二月", |
400 |
"tstat_mar" => "三月", |
401 |
"tstat_apr" => "四月", |
402 |
"tstat_may" => "五月", |
403 |
"tstat_jun" => "六月", |
404 |
"tstat_jul" => "七月", |
405 |
"tstat_aug" => "八月", |
406 |
"tstat_sep" => "九月", |
407 |
"tstat_oct" => "十月", |
408 |
"tstat_nov" => "十一", |
409 |
"tstat_dec" => "十二", |
410 |
|
411 |
"tstat_full_jan" => "January", |
412 |
"tstat_full_feb" => "February", |
413 |
"tstat_full_mar" => "March", |
414 |
"tstat_full_apr" => "April", |
415 |
"tstat_full_may" => "May", |
416 |
"tstat_full_jun" => "June", |
417 |
"tstat_full_jul" => "July", |
418 |
"tstat_full_aug" => "August", |
419 |
"tstat_full_sep" => "September", |
420 |
"tstat_full_oct" => "October", |
421 |
"tstat_full_nov" => "November", |
422 |
"tstat_full_dec" => "December", |
423 |
|
424 |
"tstat_last_day" => "这一天", |
425 |
"tstat_last_week" => "这一周", |
426 |
"tstat_last_month" => "这一个月", |
427 |
"tstat_last_year" => "这一年", |
428 |
"tstat_average" => "Average", |
429 |
|
430 |
// Loadtime notice |
431 |
"generated" => "page generated in ", |
432 |
"seconds" => " seconds", |
433 |
|
434 |
// Configuration page words and sentences |
435 |
"config_variable_name" => "变 量 名 称", |
436 |
"config_variable_value" => "变 量 值", |
437 |
"config_explanations" => "详 细 解 释", |
438 |
|
439 |
"config_BBC_MAINSITE" => |
440 |
"If this variable has been set, a link to the specified location will be |
441 |
generated. The default value is pointing to the parent directory. In case your |
442 |
main site is located elsewhere, you probably want to adjust the value to suit |
443 |
your needs.<br /> |
444 |
Examples:<br /> |
445 |
\$BBC_MAINSITE = "http://www.myserver.com/"<br /> |
446 |
\$BBC_MAINSITE = ".."<br /> |
447 |
\$BBC_MAINSITE = "";", |
448 |
|
449 |
"config_BBC_SHOW_CONFIG" => |
450 |
"BBClone defaults to revealing the stats' settings. In case this behavior isn't |
451 |
desired you can deny access to it by deactivating the option.<br /> |
452 |
Examples:<br /> |
453 |
\$BBC_SHOW_CONFIG = 1;<br /> |
454 |
\$BBC_SHOW_CONFIG = "";", |
455 |
|
456 |
"config_BBC_TITLEBAR" => |
457 |
"这个标题的内容会在所有 BBClone 页面的标题栏显示出来。<br /> |
458 |
可以理解的宏有:<br /> |
459 |
<ul> |
460 |
<li>%SERVER: 服务器名字;</li> |
461 |
<li>%DATE: 当前时间。</li> |
462 |
</ul> |
463 |
允许 HTML 标签。<br /> |
464 |
Examples:<br /> |
465 |
\$BBC_TITLEBAR = "Statistics for %SERVER generated the %DATE";<br /> |
466 |
\$BBC_TITLEBAR = "My stats from %DATE look like this:"; |
467 |
<br />", |
468 |
|
469 |
"config_BBC_LANGUAGE" => |
470 |
"BBClone's default language, in case it hasn't been specified by the browser. |
471 |
The following languages are supported: |
472 |
<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, |
473 |
sk, sl, sv, th, tr, ua, zh-cn and zh-tw</p>", |
474 |
|
475 |
"config_BBC_MAXTIME" => |
476 |
"This variable defines the length of an unique visit in seconds. Each hit from |
477 |
the same visitor within this period will be considered as one visit, as long as |
478 |
two successive hits don't exceed the specified limit. Default is the de facto |
479 |
web standard of 30 minutes (1800 seconds), but depending on your needs you may |
480 |
wish to assign a different value.<br /> |
481 |
Examples:<br /> |
482 |
\$BBC_MAXTIME = 0;<br /> |
483 |
\$BBC_MAXTIME = 1800;", |
484 |
|
485 |
"config_BBC_MAXVISIBLE" => |
486 |
"How many entries you want to have listed in the detailed stats? The default |
487 |
value is 100. It's recommended not to set it higher than 500 to avoid too heavy |
488 |
load.", |
489 |
|
490 |
"config_BBC_DETAILED_STAT_FIELDS" => |
491 |
"The variable \$BBC_DETAILED_STAT_FIELDS determines the columns to be displayed |
492 |
in the detailed statistics. Possible columns are: |
493 |
<ul> |
494 |
<li>id => The x-th visitor since you've started counting</li> |
495 |
<li>time => The time at which the last hit was registerred</li> |
496 |
<li>visits => The hits of one unique visitor</li> |
497 |
<li>dns => Visitor's hostname</li> |
498 |
<li>ip => Visitor's IP address</li> |
499 |
<li>os => the operating system (if available and/or no robot)</li> |
500 |
<li>browser => The software used for establishing the connection |
501 |
</li> |
502 |
<li>ext => Visitor's country or extension</li> |
503 |
<li>referer => The link from which a visitor came (if available) |
504 |
</li> |
505 |
<li>page => The last visited page</li> |
506 |
<li>search => The search query a visitor used (if available)</li> |
507 |
</ul> |
508 |
The same order you've arranged the columns will be used for display.<br /> |
509 |
Examples:<br /> |
510 |
\$BBC_DETAILED_STAT_FIELDS = "id, time, visits, ip, ext, os, browser"; |
511 |
<br /> |
512 |
\$BBC_DETAILED_STAT_FIELDS = "date, ext, browser, os, ip";<br />", |
513 |
|
514 |
"config_BBC_TIME_OFFSET" => |
515 |
"In case the server time doesn't match your local timezone, you can adjust the |
516 |
time in minutes by using this switch. Negative values will set back the time, |
517 |
positive ones will set it forth.<br /> |
518 |
Examples:<br /> |
519 |
\$BBC_TIME_OFFSET = 300;<br /> |
520 |
\$BBC_TIME_OFFSET = -300;<br /> |
521 |
\$BBC_TIME_OFFSET = 0;", |
522 |
|
523 |
"config_BBC_NO_DNS" => |
524 |
"This options defines, whether IP addresses should be resolved to hostnames or |
525 |
not. While hostnames tell a lot more about the visitor, resolving them may |
526 |
considerably slow down your site, if the DNS servers used are slow, limited in |
527 |
their capacity or otherwise unreliable. Setting this variable may solve the |
528 |
problem.<br /> |
529 |
Examples:<br /> |
530 |
\$BBC_NO_DNS = 1;<br /> |
531 |
\$BBC_NO_DNS = "";", |
532 |
|
533 |
"config_BBC_NO_HITS" => |
534 |
"BBClone's default is to show hits in the time stats, because it gives a quite |
535 |
useful Impression from the actual server load. If, however, you prefer to use |
536 |
unique visits as base for your time stats, you can change the way of counting |
537 |
by setting this variable.<br /> |
538 |
Examples:<br /> |
539 |
\$BBC_NO_HITS = 1;<br /> |
540 |
\$BBC_NO_HITS = "";", |
541 |
|
542 |
"config_BBC_IGNORE_IP" => |
543 |
"This option can be used to exclude particular IP addresses or address ranges |
544 |
from counting. In case you want to add several expressions use a comma as |
545 |
separator.<br /> |
546 |
Examples:<br /> |
547 |
\$BBC_IGNORE_IP = "127., 192.168.";<br /> |
548 |
\$BBC_IGNORE_IP = "";", |
549 |
|
550 |
"config_BBC_IGNORE_REFER" => |
551 |
"In case you don't want to have particular referrers from your visitors listed |
552 |
in your ranking or detailed stats, you can specify one or more keywords used |
553 |
for blocking if a referrer matches up against them. If you use more keywords, |
554 |
please use a comma as separator.<br /> |
555 |
Examples:<br /> |
556 |
\$BBC_IGNORE_REFER = "spambot.org, .escort.";<br /> |
557 |
\$BBC_IGNORE_REFER = "";", |
558 |
|
559 |
"config_BBC_IGNORE_BOTS" => |
560 |
"You can use this option to determine the treatment of robots. The default is |
561 |
to ignore them in the top hosts ranking but leave them in the remaining |
562 |
stats. If you don't want to see any robots at all you can set this option to |
563 |
"2", then only human visits will be taken into account.<br /> |
564 |
Examples:<br /> |
565 |
\$BBC_IGNORE_BOTS = 2;<br /> |
566 |
\$BBC_IGNORE_BOTS = 1;<br /> |
567 |
\$BBC_IGNORE_BOTS = "";", |
568 |
|
569 |
"config_BBC_IGNORE_AGENT" => |
570 |
"This option defines how BBClone tells one visitor from another. Default is to |
571 |
use the IP address only, which provides realistic figures in most cases. If, |
572 |
however, your visitors often are hidden behind proxy servers, deactivation of |
573 |
this option could provide more realistic figures, since a new visitor will be |
574 |
assumed by the time the user agent has changed.<br /> |
575 |
Examples:<br /> |
576 |
\$BBC_IGNORE_AGENT = 1;<br /> |
577 |
\$BBC_IGNORE_AGENT = "";", |
578 |
|
579 |
"config_BBC_KILL_STATS" => |
580 |
"Whenever you wish to reset your stats you can activate this switch and have |
581 |
them deleted by the next visit. Don't forget to deactivate it afterwards, else |
582 |
you'll probably experience unusually low traffic ;).<br /> |
583 |
Examples:<br /> |
584 |
\$BBC_KILL_STATS = 1;<br /> |
585 |
\$BBC_KILL_STATS = "";", |
586 |
|
587 |
"config_BBC_PURGE_SINGLE" => |
588 |
"Host and referrer stats can generate a huge amount of data, however mostly |
589 |
caused by one time visitors. By enabling this switch you can purge these |
590 |
entries and considerably shrink access.php in its size without affecting your |
591 |
actual visible host and referrer ranking. The amount of hits will be added to |
592 |
the "not_specified" entries to keep the overall score intact.<br /> |
593 |
Examples:<br /> |
594 |
\$BBC_PURGE_SINGLE = 1;<br /> |
595 |
\$BBC_PURGE_SINGLE = "";" |
596 |
|
597 |
); |
598 |
?> |