<?
/**************************************
electrifiedForum
Realm File

Copyright 2001, 2002- electrifiedpenguin.com

electrifiedForum is distributed as free software.
All copyright notices MUST be left intact.
NO EXCEPTIONS. 
Copyright/License violations will be pursued to
the fullest legal extent.

For license details, please check our website at
www.electrifiedpenguin.com

YOU CAN MAKE CHANGES TO THIS FILE

To add a new realm, just copy this file and change as necessary
***************************************/
$config['title'] 					= "[%REALM-TITLE%]"; 						// Title of the realm
$config['dbhost'] 				= "[%DB-HOST%]";								// Database Host
$config['dbuser'] 				= "[%DB-USER%]";								// Database User (with at least read/write access to the tables)
$config['dbpass'] 				= "[%DB-PASS%]";								// Database Password
$config['dbname'] 				= "[%DB-NAME%]";								// Database Name

/*** Database Table Names ***/

$config['utable'] 				= 'fusers';											// Users Table
$config['mtable'] 				= 'messages';										// Messages Table
$config['ftable'] 				= 'forums';											// Forum Information Table
$config['pmtable']				= 'pmessages';									// Private Messages Table

/*** Registration Options ***/

$config['req_auth']								= FALSE;								// Require Login/Registration before viewing the forums? (TRUE or FALSE)
$config['req_auth_text']					= '';										// Text to override default text displayed on auth/register page

$config['restrict_new_signups']		= FALSE;								// Disable new registrations? (TRUE or FALSE)
$config['restrict_signups_text']	=	'';										// Text that overrides default for 'why' registration is disabled.
$config['allow_multiple_accts']		=	FALSE;								// Allow more than one account per email address? (TRUE or FALSE)

$config['allow_anon']							= [%ANON%];							// Allow anonymous (auth or not) posting? (TRUE or FALSE)

/*** (Future) Registration Options ***/
$config['moderate_signups']				= FALSE;								// Require Admin Approval of Signups?
$config['signups_notification'] 	= FALSE; 								// Admins will get an email if this is set to true. 
																				 									// If you have chosen moderate signups, this *should* be turned on.
$config['verify_email']						= FALSE;								// Require email address verification of new signups?


																													
/*** Localization Options ***/

$config['language']				= "[%LANGUAGE%]";								// Language to use? (Must match a lang file in the lang subdir)
$config['24hour']					= FALSE;												// Use 24 hour time instead of 1-12 AM/PM format? (TRUE or FALSE)

/*** Security Options ***/

$config['pass_encrypt'] 	= "[%SEC_PASS_ENCRYPT%]";				// Set to 'mysql' for mysql password encryption. Leaving blank leaves encryption off.
																													// If upgrading from OLD ef, you will need to leave this option blank for now.
																													// NOTE: Do not change this value once the forum is in use.

/*** User Rating Options ***/

$config['karma_disable'] 	= FALSE;												// Disable Karma (TRUE or FALSE)
$config['show_post_count'] = TRUE;												// Show # of Posts from a user (TRUE or FALSE)
$config['post_count_ratings'] = TRUE;											// Display 'Ratings' Based on # of posts (TRUE or FALSE)
$config['hide_level'] = TRUE;														  // Hide showing 'Member' on members... useful if using ratings. (TRUE or FALSE)

/*** Ratings ***/

$config[ratings][0][min] = 1;															// Minimum Number of Posts for this rating
$config[ratings][0][max] = 9;															// Max Number of Posts for this rating
$config[ratings][0][text] = "Newbie";											// Displayed "Name" of rating
$config[ratings][1][min] = 10;
$config[ratings][1][max] = 29;
$config[ratings][1][text] = "Lurker";
$config[ratings][2][min] = 30;
$config[ratings][2][max] = 100;
$config[ratings][2][text] = "eF Junkie";
$config[ratings][3][min] = 101;
$config[ratings][3][max] = 9999;
$config[ratings][3][text] = "Forum Geek";

/*** Features ***/

$config['messaging'] 			= TRUE;													// Enable Private Messaging? (TRUE or FALSE)
$config['filtering']			=	FALSE;												// Enable Word Filtering?	(TRUE or FALSE)
$config['efcode']					= TRUE;													// Enable eF Code?	(TRUE or FALSE)
$config['use_gzip']				= TRUE;													// Enable GZipped Compression Support (TRUE or FALSE)

/*** Display Options ***/

$config['show_debug_info']= FALSE;												// Show exec time, # of SQL Queries, and more info at the bottom of each page?

$config['topics_per_page']= [%TOPICSPERPAGE%];						// Number of topics shown per forum page
$config['posts_per_page'] = [%POSTSPERPAGE%];							// Number of posts shown per thread page

$config['use_buttons'] 		=	TRUE;													// Use Graphical post/reply buttons? (TRUE or FALSE)
$config['reply_butn']			=	'art/postreply_black.gif';		// Button to use for reply
$config['post_butn']			=	'art/newtopic_black.gif';			// Button to use for new post
$config['avatar_dir']			=	'art/avatars/';								// Directory to get avatars from
$config['msgicons_dir']		=	'art/msgicons/';							// Directory of icons that can be used to identify a post
$config['msgicon']				=	'icon1.gif';									// Default Icon for messages
$config['forumicon']			=	'art/grey_folder.gif';				// Forum Icon (No new messages)
$config['forumiconnew']		=	'art/blue_folder.gif';				// Forum Icon (New messages)
$config['rankcolor']			= 'blue';												// Directory name for ranking icons (usually by color...)
$config['table_width'] 		= '90%';												// Width of tables
$config['icondir'] 				= 'art/icons';									// Directory containing the posting icons (edit, quote, aim, etc...)
																													// Currently we include icons and icons-white (for dark backgrounds)
																													// You can create your own icons and dir and specify it here...
$config['color_top']			=	'[%TTCOLOR%]';								// Color of the table top rows
$config['color_top_font']	=	'[%TTTEXTCOLOR%]';						// Color of top font (The headers on tables)
$config['color_a']				=	'[%TRCOLORA%]';								// Primary table row color
$config['color_b']				=	'[%TRCOLORB%]';								// Color of alternate table rows
$config['tcolor']					=	'[%TBGCOLOR%]';								// Color of the background table (the borders)

$config['badwords']				=	array("badword1","badword2"); // Array of words to be filtered. Set this up if enabling word filtering


function htmlstart($subtitle)
{
	global $config,$HTTP_SERVER_VARS;
	/* You may modify values in this section as necessary, but do not remove what is here! */
	?>
	
	<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
		
		<html>
		<head>
		<meta name="Description" content="[%DESCRIPTION%]">
		<meta name="Keywords" content="[%KEYWORDS%]">
		<title><? print $config['title']." : ".$subtitle; ?></title>
		<style>
			BODY,TD,.content {
				font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
				font-size : 12px;
			}
			.large {
				font-size: 36px;
				font-weight: bold;
			}
			.error {
				color: red;
			}
			.messages {
				font-family : Verdana, Geneva, Arial, Helvetica, sans-serif;
				font-size : 12px;
			}
			.tabletop, .tabletop A {
				color: white;
				font-size: 11px;
				text-decoration: none;
			}
			.ftitle {
				color: white;
				font-size: 12px;
				font-weight: bold;
			}
			.messagebody {
				padding : 4px;
			}
			.messagetitle {
				font-size: 11px;
				padding : 2px;
			}
			.forumtitle {
				font-size: 16px;
				font-weight: bold;
			}
	
		</style>
	</head>
	
	<body bgcolor="[%BGCOLOR%]" text="[%TEXTCOLOR%]" link="[%LINKCOLOR%]" vlink="[%LINKCOLOR%]" alink="[%LINKCOLOR%]">
	
	

		
	<?

}

function mainblock()
{
/* Place custom starter HTML here. */
	?>

	<?
}

function mainend()
{
/* Place custom ending HTML here. */
	?>

	<?

}

function htmlend()
{
/* Make no changes here. */
	?>
	</body>
	</html>
	<?


}

?>