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-2013, 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 |
// English language |
22 |
|
23 |
// The DNS Extensions array |
24 |
$extensions = array( |
25 |
"localdomain" => "Local", |
26 |
"numeric" => "Numeric", |
27 |
"unknown" => "Unknown", |
28 |
"museum" => "Museum", |
29 |
"travel" => "Travel", |
30 |
|
31 |
"aero" => "Aviation", |
32 |
"arpa" => "Old style Arpanet", |
33 |
"asia" => "Asia-Pacific", |
34 |
"coop" => "Cooperative", |
35 |
"info" => "Information", |
36 |
"jobs" => "Employment", |
37 |
"mobi" => "Mobiles", |
38 |
"name" => "Individual", |
39 |
"post" => "Postal Services", |
40 |
|
41 |
"biz" => "Business", |
42 |
"cat" => "Catalan", |
43 |
"com" => "Commercial", |
44 |
"edu" => "US Educational", |
45 |
"gal" => "Galician", |
46 |
"gov" => "US Government", |
47 |
"int" => "International", |
48 |
"mil" => "US Military", |
49 |
"net" => "Networks", |
50 |
"org" => "Organizations", |
51 |
"pro" => "Professionals", |
52 |
"tel" => "Contacts", |
53 |
"xxx" => "Pornographic", |
54 |
|
55 |
"ac" => "Ascension Island", |
56 |
"ad" => "Andorra", |
57 |
"ae" => "United Arab Emirates", |
58 |
"af" => "Afghanistan", |
59 |
"ag" => "Antigua and Barbuda", |
60 |
"ai" => "Anguilla", |
61 |
"al" => "Albania", |
62 |
"am" => "Armenia", |
63 |
"an" => "Netherlands Antilles", |
64 |
"ao" => "Angola", |
65 |
"aq" => "Antarctica", |
66 |
"ar" => "Argentina", |
67 |
"as" => "American Samoa", |
68 |
"at" => "Austria", |
69 |
"au" => "Australia", |
70 |
"aw" => "Aruba", |
71 |
"ax" => "Åland Islands", |
72 |
"az" => "Azerbaijan", |
73 |
"ba" => "Bosnia and Herzegovina", |
74 |
"bb" => "Barbados", |
75 |
"bd" => "Bangladesh", |
76 |
"be" => "Belgium", |
77 |
"bf" => "Burkina Faso", |
78 |
"bg" => "Bulgaria", |
79 |
"bh" => "Bahrain", |
80 |
"bi" => "Burundi", |
81 |
"bj" => "Benin", |
82 |
"bm" => "Bermuda", |
83 |
"bn" => "Brunei", |
84 |
"bo" => "Bolivia", |
85 |
"br" => "Brazil", |
86 |
"bs" => "Bahamas", |
87 |
"bt" => "Bhutan", |
88 |
"bv" => "Bouvet Island", |
89 |
"bw" => "Botswana", |
90 |
"by" => "Belarus", |
91 |
"bz" => "Belize", |
92 |
"ca" => "Canada", |
93 |
"cc" => "Cocos (Keeling) Islands", |
94 |
"cd" => "Democratic Republic of the Congo", |
95 |
"cf" => "Central African Republic", |
96 |
"cg" => "Congo", |
97 |
"ch" => "Switzerland", |
98 |
"ci" => "Ivory Coast (Côte d'Ivoire)", |
99 |
"ck" => "Cook Islands", |
100 |
"cl" => "Chile", |
101 |
"cm" => "Cameroon", |
102 |
"cn" => "China", |
103 |
"co" => "Colombia", |
104 |
"cr" => "Costa Rica", |
105 |
"cu" => "Cuba", |
106 |
"cv" => "Cape Verde", |
107 |
"cx" => "Christmas Island", |
108 |
"cy" => "Cyprus", |
109 |
"cz" => "Czech Republic", |
110 |
"de" => "Germany", |
111 |
"dj" => "Djibouti", |
112 |
"dk" => "Denmark", |
113 |
"dm" => "Dominica", |
114 |
"do" => "Dominican Republic", |
115 |
"dz" => "Algeria", |
116 |
"ec" => "Ecuador", |
117 |
"ee" => "Estonia", |
118 |
"eg" => "Egypt", |
119 |
"eh" => "Western Sahara", |
120 |
"er" => "Eritrea", |
121 |
"es" => "Spain", |
122 |
"et" => "Ethiopia", |
123 |
"eu" => "European Union", |
124 |
"fi" => "Finland", |
125 |
"fj" => "Fiji", |
126 |
"fk" => "Falkland Islands (Malvinas)", |
127 |
"fm" => "Micronesia", |
128 |
"fo" => "Faroe Islands", |
129 |
"fr" => "France", |
130 |
"ga" => "Gabon", |
131 |
"gd" => "Grenada", |
132 |
"ge" => "Georgia", |
133 |
"gf" => "French Guiana", |
134 |
"gg" => "Guernsey", |
135 |
"gh" => "Ghana", |
136 |
"gi" => "Gibraltar", |
137 |
"gl" => "Greenland", |
138 |
"gm" => "Gambia", |
139 |
"gn" => "Guinea", |
140 |
"gp" => "Guadeloupe", |
141 |
"gq" => "Equatorial Guinea", |
142 |
"gr" => "Greece", |
143 |
"gs" => "South Georgia and the South Sandwich Islands", |
144 |
"gt" => "Guatemala", |
145 |
"gu" => "Guam", |
146 |
"gw" => "Guinea-Bissau", |
147 |
"gy" => "Guyana", |
148 |
"hk" => "Hong Kong", |
149 |
"hm" => "Heard Island and McDonald Islands", |
150 |
"hn" => "Honduras", |
151 |
"hr" => "Croatia", |
152 |
"ht" => "Haiti", |
153 |
"hu" => "Hungary", |
154 |
"id" => "Indonesia", |
155 |
"ie" => "Ireland", |
156 |
"il" => "Israel", |
157 |
"im" => "Isle of Man", |
158 |
"in" => "India", |
159 |
"io" => "British Indian Ocean Territory", |
160 |
"iq" => "Iraq", |
161 |
"ir" => "Iran", |
162 |
"is" => "Iceland", |
163 |
"it" => "Italy", |
164 |
"je" => "Jersey", |
165 |
"jm" => "Jamaica", |
166 |
"jo" => "Jordan", |
167 |
"jp" => "Japan", |
168 |
"ke" => "Kenya", |
169 |
"kg" => "Kyrgyzstan", |
170 |
"kh" => "Cambodia", |
171 |
"ki" => "Kiribati", |
172 |
"km" => "Comoros", |
173 |
"kn" => "Saint Kitts and Nevis", |
174 |
"kp" => "North Korea", |
175 |
"kr" => "Korea", |
176 |
"kw" => "Kuwait", |
177 |
"ky" => "Cayman Islands", |
178 |
"kz" => "Kazakhstan", |
179 |
"la" => "Laos", |
180 |
"lb" => "Lebanon", |
181 |
"lc" => "Saint Lucia", |
182 |
"li" => "Liechtenstein", |
183 |
"lk" => "Sri Lanka", |
184 |
"lr" => "Liberia", |
185 |
"ls" => "Lesotho", |
186 |
"lt" => "Lithuania", |
187 |
"lu" => "Luxembourg", |
188 |
"lv" => "Latvia", |
189 |
"ly" => "Libya", |
190 |
"ma" => "Morocco", |
191 |
"mc" => "Monaco", |
192 |
"md" => "Moldova", |
193 |
"me" => "Montenegro", |
194 |
"mg" => "Madagascar", |
195 |
"mh" => "Marshall Islands", |
196 |
"mk" => "Macedonia", |
197 |
"ml" => "Mali", |
198 |
"mm" => "Myanmar", |
199 |
"mn" => "Mongolia", |
200 |
"mo" => "Macau", |
201 |
"mp" => "Northern Mariana Islands", |
202 |
"mq" => "Martinique", |
203 |
"mr" => "Mauritania", |
204 |
"ms" => "Montserrat", |
205 |
"mt" => "Malta", |
206 |
"mu" => "Mauritius", |
207 |
"mv" => "Maldives", |
208 |
"mw" => "Malawi", |
209 |
"mx" => "Mexico", |
210 |
"my" => "Malaysia", |
211 |
"mz" => "Mozambique", |
212 |
"na" => "Namibia", |
213 |
"nc" => "New Caledonia", |
214 |
"ne" => "Niger", |
215 |
"nf" => "Norfolk Island", |
216 |
"ng" => "Nigeria", |
217 |
"ni" => "Nicaragua", |
218 |
"nl" => "Netherlands", |
219 |
"no" => "Norway", |
220 |
"np" => "Nepal", |
221 |
"nr" => "Nauru", |
222 |
"nu" => "Niue", |
223 |
"nz" => "New Zealand", |
224 |
"om" => "Oman", |
225 |
"pa" => "Panama", |
226 |
"pe" => "Peru", |
227 |
"pf" => "French Polynesia", |
228 |
"pg" => "Papua New Guinea", |
229 |
"ph" => "Philippines", |
230 |
"pk" => "Pakistan", |
231 |
"pl" => "Poland", |
232 |
"pm" => "Saint Pierre and Miquelon", |
233 |
"pn" => "Pitcairn Islands", |
234 |
"pr" => "Puerto Rico", |
235 |
"ps" => "State of Palestine", |
236 |
"pt" => "Portugal", |
237 |
"pw" => "Palau", |
238 |
"py" => "Paraguay", |
239 |
"qa" => "Qatar", |
240 |
"re" => "Réunion", |
241 |
"ro" => "Romania", |
242 |
"rs" => "Serbia", |
243 |
"ru" => "Russia", |
244 |
"rw" => "Rwanda", |
245 |
"sa" => "Saudi Arabia", |
246 |
"sb" => "Solomon Islands", |
247 |
"sc" => "Seychelles", |
248 |
"sd" => "Sudan", |
249 |
"se" => "Sweden", |
250 |
"sg" => "Singapore", |
251 |
"sh" => "Saint Helena", |
252 |
"si" => "Slovenia", |
253 |
"sk" => "Slovakia", |
254 |
"sl" => "Sierra Leone", |
255 |
"sm" => "San Marino", |
256 |
"sn" => "Senegal", |
257 |
"so" => "Somalia", |
258 |
"sr" => "Suriname", |
259 |
"st" => "São Tomé and Príncipe", |
260 |
"su" => "Soviet Union", |
261 |
"sv" => "El Salvador", |
262 |
"sx" => "Sint Maarten", |
263 |
"sy" => "Syria", |
264 |
"sz" => "Swaziland", |
265 |
"tc" => "Turks and Caicos Islands", |
266 |
"td" => "Chad", |
267 |
"tf" => "French Southern Territories", |
268 |
"tg" => "Togo", |
269 |
"th" => "Thailand", |
270 |
"tj" => "Tajikistan", |
271 |
"tk" => "Tokelau", |
272 |
"tl" => "East Timor", |
273 |
"tm" => "Turkmenistan", |
274 |
"tn" => "Tunisia", |
275 |
"to" => "Tonga", |
276 |
"tp" => "Portuguese Timor", |
277 |
"tr" => "Turkey", |
278 |
"tt" => "Trinidad and Tobago", |
279 |
"tv" => "Tuvalu", |
280 |
"tw" => "Taiwan", |
281 |
"tz" => "Tanzania", |
282 |
"ua" => "Ukraine", |
283 |
"ug" => "Uganda", |
284 |
"uk" => "United Kingdom", |
285 |
"us" => "United States", |
286 |
"uy" => "Uruguay", |
287 |
"uz" => "Uzbekistan", |
288 |
"va" => "Holy See (Vatican City State)", |
289 |
"vc" => "Saint Vincent and the Grenadines", |
290 |
"ve" => "Venezuela", |
291 |
"vg" => "Virgin Islands (British)", |
292 |
"vi" => "Virgin Islands (US)", |
293 |
"vn" => "Vietnam", |
294 |
"vu" => "Vanuatu", |
295 |
"wf" => "Wallis and Futuna Islands", |
296 |
"ws" => "Samoa", |
297 |
"ye" => "Yemen", |
298 |
"yt" => "Mayotte", |
299 |
"yu" => "Serbia and Montenegro", |
300 |
"za" => "South Africa", |
301 |
"zm" => "Zambia", |
302 |
"zw" => "Zimbabwe", |
303 |
|
304 |
// No longer active but needed for history purpose |
305 |
"bl" => "Saint Barthélemy", |
306 |
"cs" => "Serbia and Montenegro", |
307 |
"gb" => "United Kingdom", |
308 |
"mf" => "Saint Martin", |
309 |
"sj" => "Svalbard and Jan Mayen Islands", |
310 |
"ss" => "South Sudan", |
311 |
"um" => "US Minor Outlying Islands", |
312 |
"zr" => "Zaire" |
313 |
); |
314 |
|
315 |
// The main Translation array |
316 |
$translation = array( |
317 |
|
318 |
// Specific charset |
319 |
"global_charset" => "utf-8", |
320 |
|
321 |
// Date format (used with date()) |
322 |
"global_time_format" => "M jS, H:i:s", |
323 |
"global_day_format" => "l F jS, Y", |
324 |
"global_hours_format" => "l F jS, G:00", |
325 |
"global_month_format" => "F Y", |
326 |
|
327 |
// Global translation |
328 |
"global_titlebar"=> "Statistics for %SERVER generated on %DATE", |
329 |
"global_bbclone_copyright" => "The BBClone team - Licensed under the", |
330 |
"global_last_reset" => "Statistics last reset on", |
331 |
"global_yes" => "Yes", |
332 |
"global_no" => "No", |
333 |
|
334 |
// The error messages |
335 |
"error_cannot_see_config" => |
336 |
"You are not allowed to see the BBClone configuration on this server.", |
337 |
|
338 |
// Miscellaneous translations |
339 |
"misc_other" => "Other", |
340 |
"misc_unknown" => "Unknown", |
341 |
"misc_second_unit" => "sec", |
342 |
"misc_ignored" => "Ignored", |
343 |
|
344 |
// The Navigation Bar |
345 |
"navbar_main_site" => "Main Site", |
346 |
"navbar_configuration" => "Configuration", |
347 |
"navbar_global_stats" => "Global Stats", |
348 |
"navbar_detailed_stats" => "Detailed Stats", |
349 |
"navbar_time_stats" => "Time Stats", |
350 |
"navbar_language" => "Language", |
351 |
"navbar_go" => "Go", |
352 |
|
353 |
// Detailed Stats words |
354 |
"dstat_id" => "ID", |
355 |
"dstat_time" => "Time", |
356 |
"dstat_visits" => "Visits", |
357 |
"dstat_extension" => "Country", |
358 |
"dstat_dns" => "Hostname", |
359 |
"dstat_from" => "From", |
360 |
"dstat_os" => "OS", |
361 |
"dstat_browser" => "Browser", |
362 |
"dstat_visible_rows" => "Visible accesses", |
363 |
"dstat_search" => "Search", |
364 |
"dstat_last_page" => "Last Page", |
365 |
"dstat_last_visit" => "last visit", |
366 |
"dstat_robots" => "Robots", |
367 |
"dstat_my_visit" => "Visits from your IP", |
368 |
"dstat_no_data" => "No data available", |
369 |
"dstat_prx" => "Proxy Server", |
370 |
"dstat_ip" => "IP Address", |
371 |
"dstat_user_agent" => "User Agent", |
372 |
"dstat_nr" => "No", |
373 |
"dstat_pages" => "Pages", |
374 |
"dstat_visit_length" => "Visit Length", |
375 |
"dstat_reloads" => "Reloads", |
376 |
"dstat_whois_information" => "Look up information on this IP address", |
377 |
|
378 |
// Global Stats words |
379 |
"gstat_accesses" => "Accesses", |
380 |
"gstat_total_visits" => "Total Visits", |
381 |
"gstat_total_unique" => "Total Unique", |
382 |
"gstat_operating_systems" => "Top %d Operating Systems", |
383 |
"gstat_browsers" => "Top %d Browsers", |
384 |
"gstat_extensions" => "Top %d Extensions", |
385 |
"gstat_robots" => "Top %d Robots", |
386 |
"gstat_pages" => "Top %d Visited Pages", |
387 |
"gstat_origins" => "Top %d Origins", |
388 |
"gstat_hosts" => "Top %d Hosts", |
389 |
"gstat_keys" => "Top %d Keywords", |
390 |
"gstat_total" => "Total", |
391 |
"gstat_not_specified" => "Not specified", |
392 |
|
393 |
// Time Stats words |
394 |
"tstat_su" => "Sun", |
395 |
"tstat_mo" => "Mon", |
396 |
"tstat_tu" => "Tue", |
397 |
"tstat_we" => "Wed", |
398 |
"tstat_th" => "Thu", |
399 |
"tstat_fr" => "Fri", |
400 |
"tstat_sa" => "Sat", |
401 |
|
402 |
"tstat_full_su" => "Sunday", |
403 |
"tstat_full_mo" => "Monday", |
404 |
"tstat_full_tu" => "Tuesday", |
405 |
"tstat_full_we" => "Wednesday", |
406 |
"tstat_full_th" => "Thursday", |
407 |
"tstat_full_fr" => "Friday", |
408 |
"tstat_full_sa" => "Saturday", |
409 |
|
410 |
"tstat_jan" => "Jan", |
411 |
"tstat_feb" => "Feb", |
412 |
"tstat_mar" => "Mar", |
413 |
"tstat_apr" => "Apr", |
414 |
"tstat_may" => "May", |
415 |
"tstat_jun" => "Jun", |
416 |
"tstat_jul" => "Jul", |
417 |
"tstat_aug" => "Aug", |
418 |
"tstat_sep" => "Sep", |
419 |
"tstat_oct" => "Oct", |
420 |
"tstat_nov" => "Nov", |
421 |
"tstat_dec" => "Dec", |
422 |
|
423 |
"tstat_full_jan" => "January", |
424 |
"tstat_full_feb" => "February", |
425 |
"tstat_full_mar" => "March", |
426 |
"tstat_full_apr" => "April", |
427 |
"tstat_full_may" => "May", |
428 |
"tstat_full_jun" => "June", |
429 |
"tstat_full_jul" => "July", |
430 |
"tstat_full_aug" => "August", |
431 |
"tstat_full_sep" => "September", |
432 |
"tstat_full_oct" => "October", |
433 |
"tstat_full_nov" => "November", |
434 |
"tstat_full_dec" => "December", |
435 |
|
436 |
"tstat_last_day" => "Past day", |
437 |
"tstat_last_week" => "Past week", |
438 |
"tstat_last_month" => "Past month", |
439 |
"tstat_last_year" => "Past year", |
440 |
"tstat_average" => "Average", |
441 |
|
442 |
// Loadtime notice |
443 |
"generated" => "page generated in ", |
444 |
"seconds" => " seconds", |
445 |
|
446 |
// Configuration page words and sentences |
447 |
"config_variable_name" => "Variable's name", |
448 |
"config_variable_value" => "Variable's value", |
449 |
"config_explanations" => "Explanation", |
450 |
|
451 |
"config_BBC_MAINSITE" => |
452 |
"If this variable has been set, a link to the specified location will be |
453 |
generated. The default value is pointing to the parent directory. In case your |
454 |
main site is located elsewhere, you probably want to adjust the value to suit |
455 |
your needs.<br /> |
456 |
Examples:<br /> |
457 |
\$BBC_MAINSITE = "http://www.myserver.com/"<br /> |
458 |
\$BBC_MAINSITE = ".."<br /> |
459 |
\$BBC_MAINSITE = "";", |
460 |
|
461 |
"config_BBC_SHOW_CONFIG" => |
462 |
"BBClone defaults to revealing the stats' settings. In case this behavior isn't |
463 |
desired you can deny access to it by deactivating the option.<br /> |
464 |
Examples:<br /> |
465 |
\$BBC_SHOW_CONFIG = 1;<br /> |
466 |
\$BBC_SHOW_CONFIG = "";", |
467 |
|
468 |
"config_BBC_TITLEBAR" => |
469 |
"The title of your stats pages.<br /> |
470 |
It will be displayed in the navigation bar of all BBClone pages<br /> |
471 |
The following macros are recognised:<br /> |
472 |
<ul> |
473 |
<li>%SERVER: server name,</li> |
474 |
<li>%DATE: current date.</li> |
475 |
</ul> |
476 |
HTML Tags are allowed.<br /> |
477 |
Examples:<br /> |
478 |
\$BBC_TITLEBAR = "Statistics for %SERVER generated the %DATE";<br /> |
479 |
\$BBC_TITLEBAR = "My stats from %DATE look like this:";<br />", |
480 |
|
481 |
"config_BBC_LANGUAGE" => |
482 |
"BBClone's default language, in case it hasn't been specified by the browser. |
483 |
The following languages are supported: |
484 |
<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, |
485 |
sk, sl, sv, th, tr, ua, zh-cn and zh-tw</p>", |
486 |
|
487 |
"config_BBC_MAXTIME" => |
488 |
"This variable defines the length of an unique visit in seconds. Each hit from |
489 |
the same visitor within this period will be considered as one visit, as long as |
490 |
two successive hits don't exceed the specified limit. Default is 30 minutes (1800 seconds) |
491 |
but depending on your needs you may wish to assign a different value.<br /> |
492 |
Examples:<br /> |
493 |
\$BBC_MAXTIME = 0;<br /> |
494 |
\$BBC_MAXTIME = 1800;", |
495 |
|
496 |
"config_BBC_MAXVISIBLE" => |
497 |
"How many entries you want to have listed in the detailed stats? The default |
498 |
value is 100. It's recommended not to set it higher than 500 to avoid too heavy |
499 |
load.", |
500 |
|
501 |
"config_BBC_DETAILED_STAT_FIELDS" => |
502 |
"The variable \$BBC_DETAILED_STAT_FIELDS determines the columns to be displayed |
503 |
in the detailed statistics. Possible columns are: |
504 |
<ul> |
505 |
<li>id => The x-th visitor since you've started counting</li> |
506 |
<li>time => The time at which the last hit was registerred</li> |
507 |
<li>visits => The hits of one unique visitor</li> |
508 |
<li>dns => Visitor's hostname</li> |
509 |
<li>ip => Visitor's IP address</li> |
510 |
<li>os => The operating system (if available and/or no robot)</li> |
511 |
<li>browser => The software used for establishing the connection</li> |
512 |
<li>ext => Visitor's country or extension</li> |
513 |
<li>referer => The link from which a visitor came (if available)</li> |
514 |
<li>page => The last visited page</li> |
515 |
<li>search => The search query a visitor used (if available)</li> |
516 |
</ul> |
517 |
The same order you've arranged the columns will be used for display.<br /> |
518 |
Examples:<br /> |
519 |
\$BBC_DETAILED_STAT_FIELDS = "id, time, visits, ip, ext, os, browser"; |
520 |
<br /> |
521 |
\$BBC_DETAILED_STAT_FIELDS = "date, ext, browser, os, ip";<br />", |
522 |
|
523 |
"config_BBC_TIME_OFFSET" => |
524 |
"In case the server time doesn't match your local timezone, you can adjust the |
525 |
time in minutes by using this switch. Negative values will set back the time, |
526 |
positive ones will set it forth.<br /> |
527 |
Examples:<br /> |
528 |
\$BBC_TIME_OFFSET = 300;<br /> |
529 |
\$BBC_TIME_OFFSET = -300;<br /> |
530 |
\$BBC_TIME_OFFSET = 0;", |
531 |
|
532 |
"config_BBC_NO_DNS" => |
533 |
"This options defines, whether IP addresses should be resolved to hostnames or |
534 |
not. While hostnames tell a lot more about the visitor, resolving them may |
535 |
considerably slow down your site, if the DNS servers used are slow, limited in |
536 |
their capacity or otherwise unreliable. Setting this variable may solve the |
537 |
problem.<br /> |
538 |
Examples:<br /> |
539 |
\$BBC_NO_DNS = 1;<br /> |
540 |
\$BBC_NO_DNS = "";", |
541 |
|
542 |
"config_BBC_NO_HITS" => |
543 |
"BBClone's default is to show hits in the time stats, because it gives a quite |
544 |
useful Impression from the actual server load. If, however, you prefer to use |
545 |
unique visits as base for your time stats, you can change the way of counting |
546 |
by setting this variable.<br /> |
547 |
Examples:<br /> |
548 |
\$BBC_NO_HITS = 1;<br /> |
549 |
\$BBC_NO_HITS = "";", |
550 |
|
551 |
"config_BBC_IGNORE_IP" => |
552 |
"This option can be used to exclude particular IP addresses or address ranges |
553 |
from counting. In case you want to add several expressions use a comma as |
554 |
separator.<br /> |
555 |
Examples:<br /> |
556 |
\$BBC_IGNORE_IP = "127., 192.168.";<br /> |
557 |
\$BBC_IGNORE_IP = "";", |
558 |
|
559 |
"config_BBC_IGNORE_REFER" => |
560 |
"In case you don't want to have particular referrers from your visitors listed |
561 |
in your ranking or detailed stats, you can specify one or more keywords used |
562 |
for blocking if a referrer matches up against them. If you use more keywords, |
563 |
please use a comma as separator.<br /> |
564 |
Examples:<br /> |
565 |
\$BBC_IGNORE_REFER = "spambot.org, .escort.";<br /> |
566 |
\$BBC_IGNORE_REFER = "";", |
567 |
|
568 |
"config_BBC_IGNORE_BOTS" => |
569 |
"You can use this option to determine the treatment of robots. The default is |
570 |
to ignore them in the top hosts ranking but leave them in the remaining |
571 |
stats. If you don't want to see any robots at all you can set this option to |
572 |
"2", then only human visits will be taken into account.<br /> |
573 |
Examples:<br /> |
574 |
\$BBC_IGNORE_BOTS = 2;<br /> |
575 |
\$BBC_IGNORE_BOTS = 1;<br /> |
576 |
\$BBC_IGNORE_BOTS = "";", |
577 |
|
578 |
"config_BBC_IGNORE_AGENT" => |
579 |
"This option defines how BBClone tells one visitor from another. Default is to |
580 |
use the IP address only, which provides realistic figures in most cases. If, |
581 |
however, your visitors often are hidden behind proxy servers, deactivation of |
582 |
this option could provide more realistic figures, since a new visitor will be |
583 |
assumed by the time the user agent has changed.<br /> |
584 |
Examples:<br /> |
585 |
\$BBC_IGNORE_AGENT = 1;<br /> |
586 |
\$BBC_IGNORE_AGENT = "";", |
587 |
|
588 |
"config_BBC_KILL_STATS" => |
589 |
"Whenever you wish to reset your stats you can activate this switch and have |
590 |
them deleted by the next visit. Don't forget to deactivate it afterwards, else |
591 |
you'll probably experience unusually low traffic ;).<br /> |
592 |
Examples:<br /> |
593 |
\$BBC_KILL_STATS = 1;<br /> |
594 |
\$BBC_KILL_STATS = "";", |
595 |
|
596 |
"config_BBC_PURGE_SINGLE" => |
597 |
"Host and referrer stats can generate a huge amount of data, however mostly |
598 |
caused by one time visitors. By enabling this switch you can purge these |
599 |
entries and considerably shrink access.php in its size without affecting your |
600 |
actual visible host and referrer ranking. The amount of hits will be added to |
601 |
the "not_specified" entries to keep the overall score intact.<br /> |
602 |
Examples:<br /> |
603 |
\$BBC_PURGE_SINGLE = 1;<br /> |
604 |
\$BBC_PURGE_SINGLE ="";", |
605 |
|
606 |
); |
607 |
?> |