summaryrefslogtreecommitdiff
path: root/lib/constants.pm
blob: ae42b3144522d14a4b84710ce78240511c2a7c5e (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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
#our $BUCKY_CONFIG_FTP_ENABLED = 1;
our $BUCKY_CONFIG =
	{
	'FTP_ENABLED' => 1,
	'PRIVACY_WORLD' => 'bucky only',
	'PRIVACY_BBS' => undef,
	'PRIVACY_KEYWORD' => undef,
	'PRIVACY_OWNER' => 'private',
	'BASE_PATH' => '/var/www/vhosts/carbonpictures.com/bucky/',
	'BPOD_SERVICES_WAREZ_DIR' => 'http://www.carbonpictures.com/bucky/data/',
	'USERLIST_TITLE' => 'the carbon consortium',
	'BUCKY_NAME' => 'bucky',
	'UNSORTED_POSITION' => 'top',
	'SNOWBALL_MACHINE' => 'off',
# version author link age datetime date time comments sizeinfiles size files views tags
	'THREAD_ROW_INDEX' => 'author link age comments size files',
	'THREAD_ROW_TAG' => 'author link age comments files',
	'THREAD_ROW_CATEGORY' => 'author link age comments files',
	'THREAD_ROW_DETAILS' => 'author link age comments files'
	};

our $BUCKY_LEXICON_TAG = 'tag';
our $BUCKY_LEXICON_KEYWORD = 'category';
our $BUCKY_LEXICON_DETAILS = 'details';

our $BUCKY_DEFAULT_COLOR = 'blue';
our $BUCKY_UNSORTED_COLOR = 'ivory';

our %COLORS = 
  (
  plain => "#E6F0f0",
  ivory => "#F0F0EB",
  pink => "#F0DFEB",
  red => "#F0E0DF",
  orange => "#F0E8DF",
  yellow => "#F0F0E7",
  green => "#E9F0E7",
  blue => "#E0E2F0",
  purple => "#EBE7F0",
  black => "#202025",
  );


our $THUMB_FLAGGED_PREFIX = 's.';
our $THUMB_LIBRARY_PREFIX = 't.';
our $THUMB_BPOD_PREFIX = 'b.';

our $AVATAR_PROFILE_WIDTH = 270;
our $AVATAR_PROFILE_HEIGHT = 340;
our $AVATAR_BIG_WIDTH = 50;
our $AVATAR_MED_WIDTH = 30;

our $AVATAR_PROFILE_PREFIX = "pro.";
our $AVATAR_BIG_PREFIX = "al.";
our $AVATAR_MED_PREFIX = "am.";

# ftp import paths
our $BUCKY_FTP_HOST = "carbonpictures.com";
our $BUCKY_FTP_USER = "bucky";
our $BUCKY_FTP_PASS = "m0refreediskspace";

# (shoutcast) radio data
our $RADIO_STATUS_PATH = $BUCKY_CONFIG->{BASE_PATH}."radio/radio-status";
our $RADIO_INFO_PATH = $BUCKY_CONFIG->{BASE_PATH}."radio/radio-info";

our $CONVERT_PATH = "/usr/bin/convert";
our $WGET_STRING = "/usr/bin/wget -nd -N -O";
our $MV_PATH = "/bin/mv";
our $RM_PATH = "/bin/rm";
our $MKDIR_PATH = "/bin/mkdir";
our $CHMOD_PATH = "/bin/chmod";
our $NOHUP_PATH = "nohup";
our $ZIP_PATH = "/usr/bin/zip";

our $BUCKY_WELCOME_SUBJECT = "WELCOME TO BUCKY";
our $BUCKY_WELCOME_BODY = <<WORDUP;
<b>bucky</b> is a bulletin board where you can post comments and upload files (music, video, pics, software, etc). to start your own post, you can use the "post" link at the top of the screen, or on the <a href="$BUCKY/index/">home page</a>.

hope you find this board useful!!

WORDUP