<?php
// +-------------------------------------------------------------+
// | HiveMail™ version 1.3.1
// +-------------------------------------------------------------+
// | HIVEMAIL™ IS NOT FREE SOFTWARE
// | If you have downloaded this software from a website other
// | than Hivemail or if you have otherwise received
// | this software from someone who is not a representative of
// | this organization you are involved in an illegal activity.
// +-------------------------------------------------------------+
// +-------------------------------------------------------------+

// ############################################################################
// Table structure
$tables[8] = array(
	'hive_hash' => 'CREATE TABLE hive_hash (
			hashid int(10) unsigned NOT NULL auto_increment,
			type tinyint(3) unsigned NOT NULL default \'0\',
			value varchar(32) NOT NULL default \'\',
			info mediumtext NOT NULL,
			PRIMARY KEY  (hashid),
			KEY value (value)
		) TYPE=MyISAM',
);

// ############################################################################
// Records
$inserts[8] = array(
	'INSERT INTO hive_setting VALUES (117, 11, \'Maximum attempts to process emails\', \'This is the maximum number of times HiveMail will attempt to process each email. If processing fails after this many tries, it will be bounced back to its sender. Set this to 0 to disable this setting (not recommended).\', \'max_tries\', 3, \'textbox\', 8)',
	'INSERT INTO hive_setting VALUES (118, 9, \'Send greeting message as HTML\', \'Turn this on to send the welcome email for new users, should you enable that option, in HTML format. Please remember to format the message template, signup_welcome_message, as HTML.\', \'sendgreeting_html\', 0, \'yesno\', 6)',
	'INSERT INTO hive_setting VALUES (119, 6, \'Mailer name\', \'This name will be included as a hidden header with every email that your users send.\', \'mailer_name\', \'HiveMail\', \'textbox\', 1)',
	'UPDATE hive_cplink SET title = "HiveMail&trade; Support" WHERE cplinkid = 2',
	'UPDATE hive_cplink SET title = "HiveMail&trade; Forums" WHERE cplinkid = 3',
	'UPDATE hive_setting SET description = "If this is turned on, users will not be able to use HiveMail&trade; until you activate their account. Otherwise, after registering the user\'s account will be activated immediately." WHERE variable = "moderate"',
	'UPDATE hive_setting SET description = "The domain name HiveMail&trade; is running on, with a preceding \'@\' character.<br />To specify multiple domain names, put each one on its own line.<br />The first domain name on the list is the primary one.<br /><br />For example:<br />@yourdomain.c0m<br />@yourdomain.net" WHERE variable = "domainname"',
	'UPDATE hive_setting SET description = "If PHP on this server is compiled with the IMAP extension, HiveMail&trade; can use it to connect to outside POP3 accounts. Turning this option on will also allow your users to connect to POP3 servers that require SSL authorization, something that otherwise would not be possible." WHERE variable = "pop3_useimap"',
	'UPDATE hive_setting SET title = "HiveMail&trade; Version" WHERE variable = "versionnum"',
	'UPDATE hive_setting SET description = "If this is set to yes, messages will be left on the server even after HiveMail&trade; downloads them. We strongly recommended that you leave this option turned off." WHERE variable = "pop3_nodelete"',
	'UPDATE hive_setting SET description = "HiveMail&trade; displays redirection messages when users perform an action that requires processing. You can disable these messages here, and then your users will be redirected immediately, without any confirmation for their action." WHERE variable = "useredirect"',
	'UPDATE hive_setting SET description = "Whether or not to use GZIP compression, which would reduce the size of HiveMail&trade; generated pages and respectively reduce the loading time of those pages." WHERE variable = "gzip_use"',
	'UPDATE hive_setting SET description = "IP addresses or hostnames which you wish to ban from using HiveMail&trade;. Wildcards may be used. One entry per line.<br />\\n<br />\\ne.g. 127.* would ban all users with IP addresses beginning with 127.<br />\\n*.yourdomain.c0m would ban all users in the yourdomain.c0m domain." WHERE variable = "bannedips"',
	'UPDATE hive_setting SET description = "HiveMail&trade; can open one connection to the SMTP server when sending multiple messages, which reduces the load on the server and improves performance. However, some SMTP server do not support this feature and will not allow HiveMail&trade; to stay connected for a very long time, and as a result messages may not be sent correctly. If you are experiencing such probelms, please disable this option." WHERE variable = "smtp_persistent"',
	'UPDATE hive_setting SET description = "Enable this option if you want to allow users to sign up for a HiveMail&trade; account only, without referring them to vBulletin." WHERE variable = "vb_allownormal"',
	'UPDATE hive_setting SET description = "If you change the name of the file index.php, please enter the new name here so HiveMail&trade; will know where it is located. Don\'t forget the extension, i.e home.php." WHERE variable = "indexname"',
	'UPDATE hive_setting SET description = "HiveMail&trade; will contact this time server to check the accurate time every 24 hours. This will allow the program to automatically correct the time of the server HiveMail&trade; is running on, based on the time from that was received from the time server. Leave this field empty to disable this feature. A full list of available time servers is available <a href=\\"http://www.bldrdoc.gov/timefreq/service/time-servers.html\\" target=\\"_blank\\">here</a>." WHERE variable = "time_server"',
	'UPDATE hive_setting SET description = "Choose the format of the mailbox HiveMail&trade; is going to access. If are you not sure which format is the correct one, please contact your host." WHERE variable = "fg_format"',
	'UPDATE hive_setting SET description = "Messages that are larger than this value (in megabytes) will not be processed by HiveMail&trade;, but instead sent back to the sender with a message saying that the email was too large. Set the value to 0 to disable this feature." WHERE variable = "maxprocsize"',
);

?>