array(
'show' => false,
'feedurl' => '',
'url' => '',
'urlname' => '',
),
'forum' => array(
'show' => false,
'feedurl' => '',
'url' => '',
'urlname' => '',
),
'wiki' => array(
'show' => false,
'feedurl' => '',
'url' => '',
'urlname' => '',
),
'newcaches' => array(
'show' => true,
'url' => 'http://www.opencaching.de',
'urlname' => '', // optional: show other name than the url-domain
),
);
/* multi-domain settings
*
* if one of the domains matches $_SERVER['SERVER_NAME'], the default values will be overwritten
* can be used to host more than one locale on one server with multiple default-locales
*/
//$opt['domain']['www.opencaching.de']['url'] = 'http://www.opencaching.de/';
//$opt['domain']['www.opencaching.de']['locale'] = 'DE';
//$opt['domain']['www.opencaching.de']['style'] = 'ocstyle';
//$opt['domain']['www.opencaching.de']['cookiedomain'] = '.opencaching.de';
//$opt['domain']['www.opencaching.de']['country'] = 'DE';
//$opt['domain']['www.opencaching.pl']['url'] = 'http://www.opencaching.pl/';
//$opt['domain']['www.opencaching.pl']['locale'] = 'PL';
//$opt['domain']['www.opencaching.pl']['style'] = 'ocstyle';
//$opt['domain']['www.opencaching.pl']['cookiedomain'] = '.opencaching.pl';
//$opt['domain']['www.opencaching.pl']['country'] = 'PL';
/* settings for business layer
*
*/
$opt['logic']['rating']['percentageOfFounds'] = 10;
$opt['logic']['rating']['topdays_mainCountry'] = 30;
$opt['logic']['rating']['topdays_otherCountry'] = 180;
/*
* count of identical logs (date and text) that shows a warning message on
* next log
*/
$opt['logic']['masslog']['count'] = 20;
/* Well known node id's - required for synchronization
* 1 Opencaching Deutschland (www.opencaching.de)
* 2 Opencaching Polen (www.opencaching.pl)
* 3 Opencaching Tschechien (www.opencaching.cz)
* 4 Local Development
* 5 Opencaching Entwicklung Deutschland (devel.opencaching.de)
* 6 Opencaching Schweden (www.opencaching.se)
* 7 Opencaching Großbritannien (www.opencacing.org.uk)
* 8 Opencaching Norwegen (www.opencaching.no)
* 9 Opencaching Lettland (?)
* 10 Opencaching USA (www.opencaching.us)
* 11 Opencaching Japan (eingestellt)
* 12 Opencaching Russland (?)
* 13 Garmin (www.opencaching.com)
* 14 Opencaching Niederlande (www.opencaching.nl)
*/
$opt['logic']['node']['id'] = 4;
/* location of uploaded images
*/
$opt['logic']['pictures']['dir'] = $opt['rootpath'] . 'images/uploads'; // Ocprop
$opt['logic']['pictures']['url'] = 'http://devel.opencaching.de/images/uploads';
$opt['logic']['pictures']['maxsize'] = 6000*1024;
if (extension_loaded('imagick'))
$opt['logic']['pictures']['extensions'] = 'jpg;jpeg;gif;png;bmp;tif;psd;pcx;svg;xpm';
else
$opt['logic']['pictures']['extensions'] = 'jpg;jpeg;gif;png';
/* Thumbnail sizes
*/
$opt['logic']['pictures']['thumb_max_width'] = 175;
$opt['logic']['pictures']['thumb_max_height'] = 175;
$opt['logic']['pictures']['thumb_url'] = $opt['logic']['pictures']['url'] . '/thumbs';
$opt['logic']['pictures']['thumb_dir'] = $opt['rootpath'] . 'images/uploads/thumbs';
/* Defaults for picture replacement on declined license
*
* replacement picture must be square sized
*/
$opt['logic']['pictures']['dummy']['bgcolor'] = array(255,255,255);
$opt['logic']['pictures']['dummy']['text'] = '';
$opt['logic']['pictures']['dummy']['textcolor'] = array(0,0,0);
$opt['logic']['pictures']['dummy']['replacepic'] = $opt['rootpath'] . 'images/';
/* location of uploaded podcasts
*/
$opt['logic']['podcasts']['dir'] = $opt['rootpath'] . 'podcasts/uploads';
$opt['logic']['podcasts']['url'] = 'http://devel.opencaching.de/podcasts/uploads';
$opt['logic']['podcasts']['maxsize'] = 1536000;
$opt['logic']['podcasts']['extensions'] = 'mp3';
/* cachemaps (old, see cachemaps.php)
*/
$opt['logic']['cachemaps']['url'] = 'images/cachemaps/';
$opt['logic']['cachemaps']['dir'] = $opt['rootpath'] . $opt['logic']['cachemaps']['url'];
$opt['logic']['cachemaps']['wmsurl'] = 'http://www.opencaching.de/cachemaps.php?wp={wp_oc}';
$opt['logic']['cachemaps']['size']['lat'] = 0.2;
$opt['logic']['cachemaps']['size']['lon'] = 0.2;
$opt['logic']['cachemaps']['pixel']['y'] = 200;
$opt['logic']['cachemaps']['pixel']['x'] = 200;
/* cachemaps (new)
* how to display the cache map on viewcache.php (200x200 pixel)
*
* option 1) via
tag (e.g. google maps)
* 2) via