summaryrefslogtreecommitdiff
path: root/bin/localbucky.pm
blob: abf82e650d780b03a552c2553ee4962df237df84 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#!/usr/bin/perl

# Change this to point to Bucky library directory, where packages are installed
use lib "/var/www/vhosts/carbonpictures.com/bucky/lib";

# Change this to point to the directory of random texts
our $BUCKY_FORTUNES = "/var/www/vhosts/carbonpictures.com/bucky/fortune";

# Change this to point to the URL preamble for Bucky's script directory, where cgi-bin scripts are installed
BEGIN
  {
  our $BUCKY = "/cgi-bin/bucky";
  our $BUCKY_DB = "bucky";
  our $BUCKY_DB_CNF = "/var/www/vhosts/carbonpictures.com/.bucky.cnf";
  }

#our $BUCKY = "";

our $BUCKY_NAME = 'bucky';
our $BUCKY_SHORT_NAME = 'bucky';
our $BUCKY_COOKIE_DOMAIN = 'carbonpictures.com';
our $BUCKY_HOST = 'www.carbonpictures.com'; # url domain

our $BUCKY_ADMINISTRATOR = 'jules';
our $BUCKY_DEFAULT_BOXES = " welcome bPod radio postform hootbox photostream ";
our $BUCKY_DEFAULT_KEYWORD = 'NONE'; # default should be 'NONE'
our $BUCKY_TIMEZONE_OFFSET = 5;      # correct your server's offset from GMT
our $BUCKY_DUDER_NOUN = 'duder';     # singular noun accepting courtesy 's'

our $BUCKY_LOGIN_WELCOME = "welcome to bucky"; # welcome on login screen

# bucky non-css colors
our $BUCKY_COLOR_HR = "#201010";

our $BUCKY_INDEX_LIMIT = 50;

# bPod: URLs, colors
our $BPOD_URL_SERVICES_KEYWORDS = $BUCKY_HOST . "$BUCKY/services_k";
our $BPOD_URL_SERVICES_THREADS = $BUCKY_HOST . "$BUCKY/services_th?k=";
our $BPOD_URL_SERVICES_FILES = $BUCKY_HOST . "$BUCKY/services_f?pid=";
our $BPOD_URL_PREAMBLE_FILES = $BUCKY_HOST . "/bucky/data/";
our $BPOD_URL_DETAILS = $BUCKY_HOST . "$BUCKY/details/";
our $BPOD_COLOR_UI_GRADIENT_1 = "0xE6F0F0";
our $BPOD_COLOR_UI_GRADIENT_2 = "0xD8E0EC";
our $BPOD_COLOR_UI_STROKE = "0x201010";

# thread url format: /details (== 0) or individually by /keyword (== 1)
our $BUCKY_KEYWORD_IN_DETAILS_URL = 0;

our $ZIP_BUTTON_ENABLED = 1;

# (shoutcast) radio status
our $RADIO_STATUS_ENABLED = 1;
our $RADIO_STATUS_URL = "http://radiofreehanoi.com/status";
our $RADIO_INFO_URL = "http://radiofreehanoi.com/info";


# Load bucky packages
use Bucky1;

1;