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