summaryrefslogtreecommitdiff
path: root/cgi-bin/localbucky.pm.tmpl
blob: 143c1928ba8b7703506c2e18571cb9c65079ea3a (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
#!/usr/bin/perl

use Time::Stopwatch;

# Comment out this timer to suppress page loadtime messages
tie our $timer, 'Time::Stopwatch';

our $BUCKY_NAME = 'king of sf';
our $BUCKY_SHORT_NAME = 'kingofsf';
our $BUCKY_COOKIE_DOMAIN = 'kingofsf.com';

our $BUCKY_ADMINISTRATOR = 'marc';
our $BUCKY_DEFAULT_BOXES = " welcome bPod radio postform hootbox photostream ";
our $BUCKY_DEFAULT_KEYWORD = 'NONE'; # default should be 'NONE'
our $BUCKY_TIMEZONE_OFFSET = 8;         # correct your server's offset from GMT

# Change this to point to Bucky library directory, where packages are installed
use lib "/bucky/lib";

# Change this to point to the URL preamble for Bucky's script directory, where cgi-bin scripts are installed
our $BUCKY = "/cgi-bin/bucky";

# Change this to be a welcome messasge for your login screen
our $BUCKY_LOGIN_WELCOME = "welcome to kitchen hacklab, pricks";

# Change this to your bucky host!
our $BUCKY_HOST = "www.carbonpictures.com";

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

# 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?id=";
our $BPOD_COLOR_UI_GRADIENT_1 = "0xF8F8D7";
our $BPOD_COLOR_UI_GRADIENT_2 = "0xF0F0E6";
our $BPOD_COLOR_UI_STROKE = "0x201010";

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

# Load bucky packages
use Bucky;

# Report nicely formatted time
sub report_time
    {
    return sprintf("%2.2f", $timer * 1000) . "ms";
    }
1;