summaryrefslogtreecommitdiff
path: root/cgi-bin/localbucky.pm.tmpl
diff options
context:
space:
mode:
authorJules Laplace <carbon@melanarchy.org>2013-08-02 17:14:41 -0500
committerJules Laplace <carbon@melanarchy.org>2013-08-02 17:14:41 -0500
commite9192b3d42660a5781101df4357d276318151e8a (patch)
tree059eb6ace6147cf9559af74ed1ab5e221c80e280 /cgi-bin/localbucky.pm.tmpl
parent79670053c7247d3a49b607960efd284e93f057e5 (diff)
cgi-bin & lib
Diffstat (limited to 'cgi-bin/localbucky.pm.tmpl')
-rw-r--r--cgi-bin/localbucky.pm.tmpl54
1 files changed, 54 insertions, 0 deletions
diff --git a/cgi-bin/localbucky.pm.tmpl b/cgi-bin/localbucky.pm.tmpl
new file mode 100644
index 0000000..143c192
--- /dev/null
+++ b/cgi-bin/localbucky.pm.tmpl
@@ -0,0 +1,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;
+