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" => "Ilha Ascenção", |
31 |
"ad" => "Andorra", |
32 |
"ae" => "Emirados Árabes Unidos", |
33 |
"aero" => "Aero", |
34 |
"af" => "Afeganistão", |
35 |
"ag" => "Antígua and Barbuda", |
36 |
"ai" => "Anguilla", |
37 |
"al" => "Albânia", |
38 |
"am" => "Armênia", |
39 |
"an" => "Antilhas Holandesas", |
40 |
"ao" => "Angola", |
41 |
"aq" => "Antarctica", |
42 |
"ar" => "Argentina", |
43 |
"arpa" => "Enganos", |
44 |
"as" => "Samoa Americana", |
45 |
"at" => "Áustria", |
46 |
"au" => "Australia", |
47 |
"aw" => "Aruba", |
48 |
"ax" => "Åland", |
49 |
"az" => "Azerbaijão", |
50 |
"ba" => "Bosnia e Herzegovina", |
51 |
"bb" => "Barbados", |
52 |
"bd" => "Bangladesh", |
53 |
"be" => "Belgica", |
54 |
"bf" => "Burkina Faso", |
55 |
"bg" => "Bulgária", |
56 |
"bh" => "Bahrain", |
57 |
"bi" => "Burundi", |
58 |
"biz" => "Business", |
59 |
"bj" => "Benin", |
60 |
"bl" => "São Bartolomeu", |
61 |
"bm" => "Bermuda", |
62 |
"bn" => "Brunei", |
63 |
"bo" => "Bolívia", |
64 |
"br" => "Brasil", |
65 |
"bs" => "Bahamas", |
66 |
"bt" => "Butão", |
67 |
"bv" => "Ilha Bouvet", |
68 |
"bw" => "Botsuana", |
69 |
"by" => "Belarus", |
70 |
"bz" => "Belize", |
71 |
"ca" => "Canadá", |
72 |
"cc" => "Ilhas Cocos", |
73 |
"cd" => "Congo", |
74 |
"cf" => "Republica da África Central", |
75 |
"cg" => "Congo", |
76 |
"ch" => "Suíca", |
77 |
"ci" => "Costa do Marfim", |
78 |
"ck" => "Ilhas Cook", |
79 |
"cl" => "Chile", |
80 |
"cm" => "Camarões", |
81 |
"cn" => "China", |
82 |
"co" => "Colômbia", |
83 |
"com" => "Comercial", |
84 |
"coop" => "Coop", |
85 |
"cr" => "Costa Rica", |
86 |
"cs" => "Serbia and Montenegro", |
87 |
"cu" => "Cuba", |
88 |
"cv" => "Cabo Verde", |
89 |
"cx" => "Ilhas Natal", |
90 |
"cy" => "Chipre", |
91 |
"cz" => "República Czech", |
92 |
"de" => "Alemanha", |
93 |
"dj" => "Djibuti", |
94 |
"dk" => "Dinamarca", |
95 |
"dm" => "Dominica", |
96 |
"do" => "República Dominicana", |
97 |
"dz" => "Algéria", |
98 |
"ec" => "Equador", |
99 |
"edu" => "Educacional", |
100 |
"ee" => "Estônia", |
101 |
"eg" => "Egito", |
102 |
"eh" => "Western Sahara", |
103 |
"er" => "Eritréa", |
104 |
"es" => "Espanha", |
105 |
"et" => "Etiópia", |
106 |
"eu" => "European Union", |
107 |
"fi" => "Finlândia", |
108 |
"fj" => "Fiji", |
109 |
"fk" => "Ilhas Falkland", |
110 |
"fm" => "Micronesia", |
111 |
"fo" => "Ilhas Faroe", |
112 |
"fr" => "França", |
113 |
"ga" => "Gabão", |
114 |
"gb" => "Grã-Bretanha", |
115 |
"gd" => "Granada", |
116 |
"ge" => "Georgia", |
117 |
"gf" => "Guiana Francesa", |
118 |
"gg" => "Guernsey", |
119 |
"gh" => "Gana", |
120 |
"gi" => "Gibraltar", |
121 |
"gl" => "Groelândia", |
122 |
"gm" => "Gâmbia", |
123 |
"gn" => "Guiné", |
124 |
"gov" => "Governo", |
125 |
"gp" => "Guadalupe", |
126 |
"gq" => "Guiné Equatorial", |
127 |
"gr" => "Grecia", |
128 |
"gs" => "Ilhas Sul Georgia e Ilhas Sul Sandwich", |
129 |
"gt" => "Guatemala", |
130 |
"gu" => "Guam", |
131 |
"gw" => "Guiné-Bissau", |
132 |
"gy" => "Guiana", |
133 |
"hk" => "Hong Kong", |
134 |
"hm" => "Ilhas Heard e Mc Donald", |
135 |
"hn" => "Honduras", |
136 |
"hr" => "Croácia", |
137 |
"ht" => "Haiti", |
138 |
"hu" => "Hungria", |
139 |
"id" => "Indonésia", |
140 |
"ie" => "Irlanda", |
141 |
"il" => "Israel", |
142 |
"im" => "Ilha do Homem", |
143 |
"in" => "Índia", |
144 |
"info" => "Information", |
145 |
"int" => "Organizações Internacionais", |
146 |
"io" => "Território Britânico no Oceano Índico", |
147 |
"iq" => "Iraque", |
148 |
"ir" => "Irã", |
149 |
"is" => "Iceland", |
150 |
"it" => "Italia", |
151 |
"je" => "Jersey", |
152 |
"jm" => "Jamaica", |
153 |
"jo" => "Jordânia", |
154 |
"jp" => "Japão", |
155 |
"ke" => "Quênia", |
156 |
"kg" => "Quirguiquistão", |
157 |
"kh" => "Cambodja", |
158 |
"ki" => "Kiribati", |
159 |
"km" => "Comoros", |
160 |
"kn" => "Saint Kitts and Nevis", |
161 |
"kp" => "North Korea", |
162 |
"kr" => "Coréia", |
163 |
"kw" => "Kuwait", |
164 |
"ky" => "Ilhas Caimam", |
165 |
"kz" => "Casaquistão", |
166 |
"la" => "Laos", |
167 |
"lb" => "Líbano", |
168 |
"lc" => "Santa Lúcia", |
169 |
"li" => "Liechtenstein", |
170 |
"lk" => "Sri Lanka", |
171 |
"lr" => "Libéria", |
172 |
"ls" => "Lesoto", |
173 |
"lt" => "Litônia", |
174 |
"lu" => "Luxemburgo", |
175 |
"lv" => "Latvia", |
176 |
"ly" => "Líbia", |
177 |
"ma" => "Morrocos", |
178 |
"mc" => "Mônaco", |
179 |
"md" => "Moldávia", |
180 |
"me" => "Montenegro", |
181 |
"mf" => "Saint-Martin", |
182 |
"mg" => "Madagascar", |
183 |
"mh" => "Ilhas Marshall", |
184 |
"mil" => "Militar dos EUA", |
185 |
"mk" => "Macedônia", |
186 |
"ml" => "Mali", |
187 |
"mm" => "Myanmar", |
188 |
"mn" => "Mongólia", |
189 |
"mo" => "Macau", |
190 |
"mp" => "Ilhas Mariana do Norte", |
191 |
"mq" => "Martinica", |
192 |
"mr" => "Mauritania", |
193 |
"ms" => "Montserrat", |
194 |
"mt" => "Malta", |
195 |
"mu" => "Mauritania", |
196 |
"museum" => "Museum", |
197 |
"mv" => "Maldivas", |
198 |
"mw" => "Malauí", |
199 |
"mx" => "México", |
200 |
"my" => "Malasia", |
201 |
"mz" => "Moçambique", |
202 |
"na" => "Namíbia", |
203 |
"name" => "Personal", |
204 |
"nc" => "Nova Caledonia", |
205 |
"ne" => "Níger", |
206 |
"net" => "Redes", |
207 |
"nf" => "Ilha Norfolk", |
208 |
"ng" => "Nigeria", |
209 |
"ni" => "Nicarágua", |
210 |
"nl" => "Holanda", |
211 |
"no" => "Noruega", |
212 |
"np" => "Nepal", |
213 |
"nr" => "Nauru", |
214 |
"nu" => "Niue", |
215 |
"numeric" => "Numérico", |
216 |
"nz" => "Nova Zelandia", |
217 |
"om" => "Omã", |
218 |
"org" => "Organizações", |
219 |
"pa" => "Panamá", |
220 |
"pe" => "Peru", |
221 |
"pf" => "Polinésia Francesa", |
222 |
"pg" => "Papua Nova Guiné", |
223 |
"ph" => "Filipinas", |
224 |
"pk" => "Paquistão", |
225 |
"pl" => "Polônia", |
226 |
"pm" => "St. Pierre e Miquelon", |
227 |
"pn" => "Pitcairn", |
228 |
"pr" => "Porto Rico", |
229 |
"pro" => "Professional", |
230 |
"ps" => "Palestina", |
231 |
"pt" => "Portugal", |
232 |
"pw" => "Palau", |
233 |
"py" => "Paraguai", |
234 |
"qa" => "Qatar", |
235 |
"re" => "Reunião", |
236 |
"ro" => "Romênia", |
237 |
"rs" => "Serbia", |
238 |
"ru" => "Federação Russa", |
239 |
"rw" => "Ruanda", |
240 |
"sa" => "Arábia Saudita", |
241 |
"sb" => "Ilhas Salomão", |
242 |
"sc" => "Seycheles", |
243 |
"sd" => "Sudão", |
244 |
"se" => "Suécia", |
245 |
"sg" => "Singapura", |
246 |
"sh" => "St. Helena", |
247 |
"si" => "Eslovênia", |
248 |
"sj" => "Ilhas Svalbard e Jan Mayen", |
249 |
"sk" => "Eslováquia", |
250 |
"sl" => "Serra Leoa", |
251 |
"sm" => "San Marino", |
252 |
"sn" => "Senegal", |
253 |
"so" => "Somália", |
254 |
"sr" => "Suriname", |
255 |
"st" => "São Tomé e Préncipe", |
256 |
"su" => "União Soviética", |
257 |
"sv" => "El Salvador", |
258 |
"sy" => "Síria", |
259 |
"sz" => "Suazilandia", |
260 |
"tc" => "Ilhas Turks e Caicos", |
261 |
"td" => "Chade", |
262 |
"tf" => "Território do Sul da França", |
263 |
"tg" => "Togo", |
264 |
"th" => "Tailândia", |
265 |
"tj" => "Tajiquistão", |
266 |
"tk" => "Tokelau", |
267 |
"tl" => "Timor Leste", |
268 |
"tm" => "Turcomenistão", |
269 |
"tn" => "Tunísia", |
270 |
"to" => "Tonga", |
271 |
"tp" => "Timor Leste", |
272 |
"tr" => "Turquia", |
273 |
"tt" => "Trinidad e Tobago", |
274 |
"tv" => "Tuvalu", |
275 |
"tw" => "Taiwan", |
276 |
"tz" => "Tanzânia", |
277 |
"ua" => "Ucrânia", |
278 |
"ug" => "Uganda", |
279 |
"uk" => "Reino Unido", |
280 |
"um" => "Ilhas menores dos EUA", |
281 |
"unknown" => "Desconhecido", |
282 |
"us" => "Estados Unidos", |
283 |
"uy" => "Uruguai", |
284 |
"uz" => "Usbequistão", |
285 |
"va" => "Estado do Vaticano", |
286 |
"vc" => "St. Vincent e Grenadines", |
287 |
"ve" => "Venezuela", |
288 |
"vg" => "Ilhas Virges (UK)", |
289 |
"vi" => "Ilhas Virgens (EUA)", |
290 |
"vn" => "Vietnã", |
291 |
"vu" => "Vanuatu", |
292 |
"wf" => "Ilhas Wallis e Futuna", |
293 |
"ws" => "Samoa", |
294 |
"ye" => "Iêmen", |
295 |
"yt" => "Mayotte", |
296 |
"yu" => "Serbia and Montenegro", |
297 |
"za" => "África do Sul", |
298 |
"zm" => "Zâmbia", |
299 |
"zr" => "Zaire", |
300 |
"zw" => "Zimbábue", |
301 |
); |
302 |
|
303 |
// The main Translation array |
304 |
$translation = array( |
305 |
// Specific charset |
306 |
"global_charset" => "utf-8", |
307 |
|
308 |
// Global translation |
309 |
"global_titlebar"=> "Statistics for %SERVER generated on %DATE", |
310 |
"global_bbclone_copyright" => "O time BBClone - Distribuído sob a Licença", |
311 |
"global_last_reset" => "Statistics last reset on", |
312 |
"global_yes" => "sim", |
313 |
"global_no" => "não", |
314 |
|
315 |
// The error messages |
316 |
"error_cannot_see_config" => |
317 |
"Não é permitido ver a configuração do BBClone configuration neste servidor.", |
318 |
|
319 |
// Date format (used with date()) |
320 |
"global_time_format" => "M jS, H:i:s", |
321 |
"global_day_format" => "l F jS, Y", |
322 |
"global_hours_format" => "l F jS, G:00", |
323 |
"global_month_format" => "F Y", |
324 |
|
325 |
// Miscellaneous translations |
326 |
"misc_other" => "Outro", |
327 |
"misc_unknown" => "Desconhecido", |
328 |
"misc_second_unit" => "s", |
329 |
"misc_ignored" => "Ignorado", |
330 |
|
331 |
// The Navigation Bar |
332 |
"navbar_main_site" => "Página Principal", |
333 |
"navbar_configuration" => "Configuração", |
334 |
"navbar_global_stats" => "Estatísticas Globais", |
335 |
"navbar_detailed_stats" => "Estatísticas Detalhadas", |
336 |
"navbar_time_stats" => "Estatísticas Cronológicas", |
337 |
"navbar_language" => "Language", |
338 |
"navbar_go" => "Go", |
339 |
|
340 |
// Detailed stats words |
341 |
"dstat_id" => "ID", |
342 |
"dstat_time" => "Tempo", |
343 |
"dstat_visits" => "Visitas", |
344 |
"dstat_extension" => "Extensão", |
345 |
"dstat_dns" => "Hostname", |
346 |
"dstat_from" => "De", |
347 |
"dstat_os" => "OS", |
348 |
"dstat_browser" => "Navegador", |
349 |
"dstat_visible_rows" => "Acessos visíveis", |
350 |
"dstat_green_rows" => "linhas verdes", |
351 |
"dstat_blue_rows" => "linhas azuis", |
352 |
"dstat_red_rows" => "linhas vermelhas", |
353 |
"dstat_search" => "Busca", |
354 |
"dstat_last_page" => "última página", |
355 |
"dstat_last_visit" => "última visita", |
356 |
"dstat_robots" => "robôs", |
357 |
"dstat_my_visit" => "Visits from your IP", |
358 |
"dstat_no_data" => "No data available", |
359 |
"dstat_prx" => "Proxy Server", |
360 |
"dstat_ip" => "IP Address", |
361 |
"dstat_user_agent" => "User Agent", |
362 |
"dstat_nr" => "Nr", |
363 |
"dstat_pages" => "Pages", |
364 |
"dstat_visit_length" => "Visit Length", |
365 |
"dstat_reloads" => "Reloads", |
366 |
"dstat_whois_information" => "Look up information on this IP Adress", |
367 |
|
368 |
// Global stats words |
369 |
"gstat_accesses" => "Acessos", |
370 |
"gstat_total_visits" => "Total visitas", |
371 |
"gstat_total_unique" => "Total únicas", |
372 |
"gstat_operating_systems" => "Sistemas operacionais: %d Mais", |
373 |
"gstat_browsers" => "Navegadores: %d Mais", |
374 |
"gstat_extensions" => "Extensões: %d Mais", |
375 |
"gstat_robots" => "Robôs: %d Mais", |
376 |
"gstat_pages" => "Páginas Visitadas: %d Mais", |
377 |
"gstat_origins" => "Origens: %d Mais", |
378 |
"gstat_hosts" => "Top %d Hosts", |
379 |
"gstat_keys" => "Top %d Keywords", |
380 |
"gstat_total" => "Total", |
381 |
"gstat_not_specified" => "Não especificado", |
382 |
|
383 |
// Time stats words |
384 |
"tstat_su" => "Dom", |
385 |
"tstat_mo" => "Seg", |
386 |
"tstat_tu" => "Ter", |
387 |
"tstat_we" => "Qua", |
388 |
"tstat_th" => "Qui", |
389 |
"tstat_fr" => "Sex", |
390 |
"tstat_sa" => "Sáb", |
391 |
|
392 |
"tstat_full_su" => "Sunday", |
393 |
"tstat_full_mo" => "Monday", |
394 |
"tstat_full_tu" => "Tuesday", |
395 |
"tstat_full_we" => "Wednesday", |
396 |
"tstat_full_th" => "Thursday", |
397 |
"tstat_full_fr" => "Friday", |
398 |
"tstat_full_sa" => "Saturday", |
399 |
|
400 |
"tstat_jan" => "Jan", |
401 |
"tstat_feb" => "Feb", |
402 |
"tstat_mar" => "Mar", |
403 |
"tstat_apr" => "Abr", |
404 |
"tstat_may" => "Mai", |
405 |
"tstat_jun" => "Jun", |
406 |
"tstat_jul" => "Jul", |
407 |
"tstat_aug" => "Ago", |
408 |
"tstat_sep" => "Set", |
409 |
"tstat_oct" => "Out", |
410 |
"tstat_nov" => "Nov", |
411 |
"tstat_dec" => "Dez", |
412 |
|
413 |
"tstat_full_jan" => "January", |
414 |
"tstat_full_feb" => "February", |
415 |
"tstat_full_mar" => "March", |
416 |
"tstat_full_apr" => "April", |
417 |
"tstat_full_may" => "May", |
418 |
"tstat_full_jun" => "June", |
419 |
"tstat_full_jul" => "July", |
420 |
"tstat_full_aug" => "August", |
421 |
"tstat_full_sep" => "September", |
422 |
"tstat_full_oct" => "October", |
423 |
"tstat_full_nov" => "November", |
424 |
"tstat_full_dec" => "December", |
425 |
|
426 |
"tstat_last_day" => "Último dia", |
427 |
"tstat_last_week" => "Última semana", |
428 |
"tstat_last_month" => "Último mês", |
429 |
"tstat_last_year" => "Último ano", |
430 |
"tstat_average" => "Average", |
431 |
|
432 |
// Loadtime notice |
433 |
"generated" => "page generated in ", |
434 |
"seconds" => " seconds", |
435 |
|
436 |
// Configuration page words and sentences |
437 |
|
438 |
"config_variable_name" => "Nome da Variável", |
439 |
"config_variable_value" => "Valor da Variável", |
440 |
"config_explanations" => "Explanações", |
441 |
|
442 |
"config_BBC_MAINSITE" => |
443 |
"If this variable has been set, a link to the specified location will be |
444 |
generated. The default value is pointing to the parent directory. In case your |
445 |
main site is located elsewhere, you probably want to adjust the value to suit |
446 |
your needs.<br /> |
447 |
Examples:<br /> |
448 |
\$BBC_MAINSITE = "http://www.myserver.com/"<br /> |
449 |
\$BBC_MAINSITE = ".."<br /> |
450 |
\$BBC_MAINSITE = "";", |
451 |
|
452 |
"config_BBC_SHOW_CONFIG" => |
453 |
"BBClone defaults to revealing the stats' settings. In case this behavior isn't |
454 |
desired you can deny access to it by deactivating the option.<br /> |
455 |
Examples:<br /> |
456 |
\$BBC_SHOW_CONFIG = 1;<br /> |
457 |
\$BBC_SHOW_CONFIG = "";", |
458 |
|
459 |
"config_BBC_TITLEBAR" => |
460 |
"O título aparecendo dentro da barra de título presente em todas páginas do BBClone.<br /> |
461 |
Variáveis reconhecíveis são:<br /> |
462 |
<ul> |
463 |
<li>%SERVER: nome do servidor,</li> |
464 |
<li>%DATE: a data corrente.</li> |
465 |
</ul> |
466 |
HTML tags são também permitidas.<br /> |
467 |
Examples:<br /> |
468 |
\$BBC_TITLEBAR = "Statistics for %SERVER generated the %DATE";<br /> |
469 |
\$BBC_TITLEBAR = "My stats from %DATE look like this:"; |
470 |
<br />", |
471 |
|
472 |
"config_BBC_LANGUAGE" => |
473 |
"BBClone's default language, in case it hasn't been specified by the browser. |
474 |
The following languages are supported: |
475 |
<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, |
476 |
sk, sl, sv, th, tr, ua, zh-cn and zh-tw</p>", |
477 |
|
478 |
"config_BBC_MAXTIME" => |
479 |
"This variable defines the length of an unique visit in seconds. Each hit from |
480 |
the same visitor within this period will be considered as one visit, as long as |
481 |
two successive hits don't exceed the specified limit. Default is the de facto |
482 |
web standard of 30 minutes (1800 seconds), but depending on your needs you may |
483 |
wish to assign a different value.<br /> |
484 |
Examples:<br /> |
485 |
\$BBC_MAXTIME = 0;<br /> |
486 |
\$BBC_MAXTIME = 1800;", |
487 |
|
488 |
"config_BBC_MAXVISIBLE" => |
489 |
"How many entries you want to have listed in the detailed stats? The default |
490 |
value is 100. It's recommended not to set it higher than 500 to avoid too heavy |
491 |
load.", |
492 |
|
493 |
"config_BBC_DETAILED_STAT_FIELDS" => |
494 |
"The variable \$BBC_DETAILED_STAT_FIELDS determines the columns to be displayed |
495 |
in the detailed statistics. Possible columns are: |
496 |
<ul> |
497 |
<li>id => The x-th visitor since you've started counting</li> |
498 |
<li>time => The time at which the last hit was registerred</li> |
499 |
<li>visits => The hits of one unique visitor</li> |
500 |
<li>dns => Visitor's hostname</li> |
501 |
<li>ip => Visitor's IP address</li> |
502 |
<li>os => the operating system (if available and/or no robot)</li> |
503 |
<li>browser => The software used for establishing the connection |
504 |
</li> |
505 |
<li>ext => Visitor's country or extension</li> |
506 |
<li>referer => The link from which a visitor came (if available)</li> |
507 |
<li>page => The last visited page</li> |
508 |
<li>search => The search query a visitor used (if available)</li> |
509 |
</ul> |
510 |
The same order you've arranged the columns will be used for display.<br /> |
511 |
Examples:<br /> |
512 |
\$BBC_DETAILED_STAT_FIELDS = "id, time, visits, ip, ext, os, browser"; |
513 |
<br /> |
514 |
\$BBC_DETAILED_STAT_FIELDS = "date, ext, browser, os, ip";<br />", |
515 |
|
516 |
"config_BBC_TIME_OFFSET" => |
517 |
"In case the server time doesn't match your local timezone, you can adjust the |
518 |
time in minutes by using this switch. Negative values will set back the time, |
519 |
positive ones will set it forth.<br /> |
520 |
Examples:<br /> |
521 |
\$BBC_TIME_OFFSET = 300;<br /> |
522 |
\$BBC_TIME_OFFSET = -300;<br /> |
523 |
\$BBC_TIME_OFFSET = 0;", |
524 |
|
525 |
"config_BBC_NO_DNS" => |
526 |
"This options defines, whether IP addresses should be resolved to hostnames or |
527 |
not. While hostnames tell a lot more about the visitor, resolving them may |
528 |
considerably slow down your site, if the DNS servers used are slow, limited in |
529 |
their capacity or otherwise unreliable. Setting this variable may solve the |
530 |
problem.<br /> |
531 |
Examples:<br /> |
532 |
\$BBC_NO_DNS = 1;<br /> |
533 |
\$BBC_NO_DNS = "";", |
534 |
|
535 |
"config_BBC_NO_HITS" => |
536 |
"BBClone's default is to show hits in the time stats, because it gives a quite |
537 |
useful Impression from the actual server load. If, however, you prefer to use |
538 |
unique visits as base for your time stats, you can change the way of counting |
539 |
by setting this variable.<br /> |
540 |
Examples:<br /> |
541 |
\$BBC_NO_HITS = 1;<br /> |
542 |
\$BBC_NO_HITS = "";", |
543 |
|
544 |
"config_BBC_IGNORE_IP" => |
545 |
"This option can be used to exclude particular IP addresses or address ranges |
546 |
from counting. In case you want to add several expressions use a comma as |
547 |
separator.<br /> |
548 |
Examples:<br /> |
549 |
\$BBC_IGNORE_IP = "127., 192.168.";<br /> |
550 |
\$BBC_IGNORE_IP = "";", |
551 |
|
552 |
"config_BBC_IGNORE_REFER" => |
553 |
"In case you don't want to have particular referrers from your visitors listed |
554 |
in your ranking or detailed stats, you can specify one or more keywords used |
555 |
for blocking if a referrer matches up against them. If you use more keywords, |
556 |
please use a comma as separator.<br /> |
557 |
Examples:<br /> |
558 |
\$BBC_IGNORE_REFER = "spambot.org, .escort.";<br /> |
559 |
\$BBC_IGNORE_REFER = "";", |
560 |
|
561 |
"config_BBC_IGNORE_BOTS" => |
562 |
"You can use this option to determine the treatment of robots. The default is |
563 |
to ignore them in the top hosts ranking but leave them in the remaining |
564 |
stats. If you don't want to see any robots at all you can set this option to |
565 |
"2", then only human visits will be taken into account.<br /> |
566 |
Examples:<br /> |
567 |
\$BBC_IGNORE_BOTS = 2;<br /> |
568 |
\$BBC_IGNORE_BOTS = 1;<br /> |
569 |
\$BBC_IGNORE_BOTS = "";", |
570 |
|
571 |
"config_BBC_IGNORE_AGENT" => |
572 |
"This option defines how BBClone tells one visitor from another. Default is to |
573 |
use the IP address only, which provides realistic figures in most cases. If, |
574 |
however, your visitors often are hidden behind proxy servers, deactivation of |
575 |
this option could provide more realistic figures, since a new visitor will be |
576 |
assumed by the time the user agent has changed.<br /> |
577 |
Examples:<br /> |
578 |
\$BBC_IGNORE_AGENT = 1;<br /> |
579 |
\$BBC_IGNORE_AGENT = "";", |
580 |
|
581 |
"config_BBC_KILL_STATS" => |
582 |
"Whenever you wish to reset your stats you can activate this switch and have |
583 |
them deleted by the next visit. Don't forget to deactivate it afterwards, else |
584 |
you'll probably experience unusually low traffic ;).<br /> |
585 |
Examples:<br /> |
586 |
\$BBC_KILL_STATS = 1;<br /> |
587 |
\$BBC_KILL_STATS = "";", |
588 |
|
589 |
"config_BBC_PURGE_SINGLE" => |
590 |
"Host and referrer stats can generate a huge amount of data, however mostly |
591 |
caused by one time visitors. By enabling this switch you can purge these |
592 |
entries and considerably shrink access.php in its size without affecting your |
593 |
actual visible host and referrer ranking. The amount of hits will be added to |
594 |
the "not_specified" entries to keep the overall score intact.<br /> |
595 |
Examples:<br /> |
596 |
\$BBC_PURGE_SINGLE = 1;<br /> |
597 |
\$BBC_PURGE_SINGLE = "";" |
598 |
|
599 |
); |
600 |
?> |