Variable's name | Explanation | Variable's value |
$BBC_MAINSITE |
If this variable has been set, a link to the specified location will be
generated. The default value is pointing to the parent directory. In case your
main site is located elsewhere, you probably want to adjust the value to suit
your needs. Examples: $BBC_MAINSITE = "http://www.myserver.com/" $BBC_MAINSITE = ".." $BBC_MAINSITE = ""; |
.. |
$BBC_SHOW_CONFIG |
BBClone defaults to revealing the stats' settings. In case this behavior isn't
desired you can deny access to it by deactivating the option. Examples: $BBC_SHOW_CONFIG = 1; $BBC_SHOW_CONFIG = ""; |
yes |
$BBC_TITLEBAR |
The title of your stats pages. It will be displayed in the navigation bar of all BBClone pages The following macros are recognised:
Examples: $BBC_TITLEBAR = "Statistics for %SERVER generated the %DATE"; $BBC_TITLEBAR = "My stats from %DATE look like this:"; |
Statistics for www.donatiello.info/hobbies/ generated the 2024/12/22 |
$BBC_LANGUAGE |
BBClone's default language, in case it hasn't been specified by the browser.
The following languages are supported:
bg, ca, cs, da, de, el, en, es, fi, fr, hu, it, ja, lt, nl, pl, pt-br, ro, ru, se, tr, zh-cn and zh-tw |
en |
$BBC_MAXTIME |
This variable defines the length of an unique visit in seconds. Each hit from
the same visitor within this period will be considered as one visit, as long as
two successive hits don't exceed the specified limit. Default is the de facto
web standard of 30 minutes (1800 seconds), but depending on your needs you may
wish to assign a different value. Examples: $BBC_MAXTIME = 0; $BBC_MAXTIME = 1800; |
600 |
$BBC_MAXVISIBLE | How many entries you want to have listed in the detailed stats? The default value is 100. It's recommended not to set it higher than 500 to avoid too heavy load. | 100 |
$BBC_DETAILED_STAT_FIELDS |
The variable $BBC_DETAILED_STAT_FIELDS determines the columns to be displayed
in the detailed statistics. Possible columns are:
Examples: $BBC_DETAILED_STAT_FIELDS = "id, time, visits, ip, ext, os, browser"; $BBC_DETAILED_STAT_FIELDS = "date, ext, browser, os, ip"; |
id, time, ext, dns, visits, os, browser, referer |
$BBC_TIME_OFFSET |
In case the server time doesn't match your local timezone, you can adjust the
time in minutes by using this switch. Negative values will set back the time,
positive ones will set it forth. Examples: $BBC_TIME_OFFSET = 300; $BBC_TIME_OFFSET = -300; $BBC_TIME_OFFSET = 0; |
no |
$BBC_NO_DNS |
This options defines, whether IP addresses should be resolved to hostnames or
not. While hostnames tell a lot more about the visitor, resolving them may
considerably slow down your site, if the DNS servers used are slow, limited in
their capacity or otherwise unreliable. Setting this variable may solve the
problem. Examples: $BBC_NO_DNS = 1; $BBC_NO_DNS = ""; |
no |
$BBC_NO_STRING |
As default BBClone is writing a comment into the
HTML source to indicate its current state. This output, however, may negatively
affect some forums or content management systems. In case you are confronted
with a blank page, a couple of "headers already sent by" messages or
parts of your site not included in the statistics, you can set this option to
suppress the output and make your scripts working again. Examples: $BBC_NO_STRING = 1; $BBC_NO_STRING = ""; |
yes |
$BBC_NO_HITS |
BBClone's default is to show hits in the time stats, because it gives a quite
useful Impression from the actual server load. If, however, you prefer to use
unique visits as base for your time stats, you can change the way of counting
by setting this variable. Examples: $BBC_NO_HITS = 1; $BBC_NO_HITS = ""; |
no |
$BBC_IGNORE_IP |
This option can be used to exclude particular IP addresses or address ranges
from counting. In case you want to add several expressions use a comma as
separator. Examples: $BBC_IGNORE_IP = "127., 192.168."; $BBC_IGNORE_IP = ""; |
no |
$BBC_IGNORE_REFER |
In case you don't want to have particular referrers from your visitors listed
in your ranking or detailed stats, you can specify one or more keywords used
for blocking if a referrer matches up against them. If you use more keywords,
please use a comma as separator. Examples: $BBC_IGNORE_REFER = "spambot.org, .escort."; $BBC_IGNORE_REFER = ""; |
no |
$BBC_IGNORE_BOTS |
You can use this option to exclude hostnames from robots in your host ranking
of the global stats in order to get a better impression of your traffic's
structure. Examples: $BBC_IGNORE_BOTS = 1; $BBC_IGNORE_BOTS = ""; |
yes |
$BBC_IGNORE_AGENT |
This option defines how BBClone tells one visitor from another. Default is to
use the IP address only, which provides realistic figures in most cases. If,
however, your visitors often are hidden behind proxy servers, deactivation of
this option could provide more realistic figures, since a new visitor will be
assumed by the time the user agent has changed. Examples: $BBC_IGNORE_AGENT = 1; $BBC_IGNORE_AGENT = ""; |
yes |
$BBC_KILL_STATS |
Whenever you wish to reset your stats you can activate this switch and have
them deleted by the next visit. Don't forget to deactivate it afterwards, else
you'll probably experience unusually low traffic ;). Examples: $BBC_KILL_STATS = 1; $BBC_KILL_STATS = ""; |
no |
$BBC_PURGE_SINGLE |
Host and referrer stats can generate a huge amount of data, however mostly
caused by one time visitors. By enabling this switch you can purge these
entries and considerably shrink access.php in its size without affecting your
actual visible host and referrer ranking. the amount of hits will be added to
the "not_specified" entries to keep the overall score intact. Examples: $BBC_PURGE_SINGLE = 1; $BBC_PURGE_SINGLE = ""; |
yes |
BBClone v 0.4.1 © The BBClone team - Licensed under the GPL.