Location: PHPKode > projects > Attachment Mod > docs/user_guide.html
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
	"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Attachment Mod User Guide</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta name="resource-type" content="document" />
<meta name="author" content="Meik Sievertsen" />
<meta name="copyright" content="Meik Sievertsen" />
<meta name="MSSmartTagsPreventParsing" content="true" />
<meta name="audience" content="all" />

<style type="text/css"><!--/*--><![CDATA[/*><!--*/

/*
  The original subSilver Theme for phpBB version 2+
  Created by subBlue design
  http://www.subBlue.com
*/

body {
	background-color: #E5E5E5;
	color: #000000;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 10pt;
}

a {
	color: #006699;
}

a:hover { 
	text-decoration: underline; 
	color: #DD6900; 
}

.maintitle, 
h1,
h2 {
	font-weight: bold; 
	font-size: 220%; 
	font-family: "Trebuchet MS",Verdana, Arial, Helvetica, sans-serif;
	text-decoration: none; 
	line-height : 120%; 
	color: #000000;
}

img {
	border: 0;
	margin: 0;
	padding: 0;
}

#outer_container {
	width: 100%;
}

#bodyline { 
	background-color: #FFFFFF; 
	border: 1px #98AAB1 solid; 
	width: 98%;
	padding: 10px;
}

#logo {
	text-align: center;
}

#logo img {
	float: right;
	margin: 2px;
}

h2 {
	font-size: 150%; 
	font-weight: bold; 
	color: #006699; 
	text-decoration: none;
}

h3 {
	font-size:120%;
	color: blue
}


.cattitle	{ font-weight: bold; font-size: 12px ; letter-spacing: 1px; color : #006699}
a.cattitle		{ text-decoration: none; color : #006699; }
a.cattitle:hover{ text-decoration: underline; }

td.attachrow		{ font: normal 11px Verdana, Arial, Helvetica, sans-serif; color : #000000; border-color : #000000;}
table.attachtable	{ font: normal 12px Verdana, Arial, Helvetica, sans-serif; color : #000000; border-color : #000000;	border-collapse : collapse; }

.nav	{ font-weight: bold; font-size: 11px; color : #000000;}
.postbody { font-size : 12px;}

.sampleurl { font-size : 12px; color: green }

input,textarea, select {
	color : #000000;
	font: normal 11px Verdana, Arial, Helvetica, sans-serif;
	border-color : #000000;
}

input.post, textarea.post, select {
	background-color : #FFFFFF;
}

input { text-indent : 2px; }

input.button {
	background-color : #EFEFEF;
	color : #000000;
	font-size: 11px; font-family: Verdana, Arial, Helvetica, sans-serif;
}

input.mainoption {
	background-color : #FAFAFA;
	font-weight : bold;
}

input.liteoption {
	background-color : #FAFAFA;
	font-weight : normal;
}

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom {
			background-image: url(images/cellpic1.gif);
			background-color:#D1D7DC; border: #FFFFFF; border-style: solid; height: 28px;
}

td.cat,td.catHead,td.catBottom {
	height: 29px;
	border-width: 0px 0px 0px 0px;
}


u { color: #006699; text-decoration: none; }

.forumline	{ background-color: #FFFFFF; border: 2px #006699 solid; }

.code {
	font-family: Courier, 'Courier New', sans-serif; font-size: 11px; color: #006600;
	background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

.quote {
	font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 11px; color: #444444; line-height: 125%;
	background-color: #FAFAFA; border: #D1D7DC; border-style: solid;
	border-left-width: 1px; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px
}

th	{
	color: #FFA34F; font-size: 11px; font-weight : bold;
	background-color: #006699; height: 25px;
	background-image: url(images/cellpic3.gif);
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR {
	font-weight: bold; border: #FFFFFF; border-style: solid; height: 28px; }
td.row3Right,td.spaceRow {
	background-color: #D1D7DC; border: #FFFFFF; border-style: solid; }

th.thHead,td.catHead { font-size: 12px; border-width: 1px 1px 0px 1px; }
th.thSides,td.catSides,td.spaceRow	 { border-width: 0px 1px 0px 1px; }
th.thRight,td.catRight,td.row3Right	 { border-width: 0px 1px 0px 0px; }
th.thLeft,td.catLeft	  { border-width: 0px 0px 0px 1px; }
th.thBottom,td.catBottom  { border-width: 0px 1px 1px 1px; }
th.thTop	 { border-width: 1px 0px 0px 0px; }
th.thCornerL { border-width: 1px 0px 0px 1px; }
th.thCornerR { border-width: 1px 1px 0px 0px; }

td.row1	{ background-color: #EFEFEF; }
td.row2	{ background-color: #DEE3E7; }

.gen { font-size : 12px; }
.genmed { font-size : 11px; }
.gensmall { font-size : 10px; }
.gen,.genmed,.gensmall { color : #000000; }

a.gen,
a.genmed,
a.gensmall { 
	color: #006699; 
	text-decoration: none; 
}

a.gen:hover,
a.genmed:hover,
a.gensmall:hover { 
	color: #DD6900; 
	text-decoration: underline; 
}

input, textarea, select {
	border-top-width: 1px; 
	border-right-width: 1px; 
	border-bottom-width: 1px; 
	border-left-width: 1px;  
}

input { 
	text-indent: 2px; 
}

input.button {
	border-top-width: 1px; 
	border-right-width: 1px; 
	border-bottom-width: 1px; 
	border-left-width: 1px;  
}

/*]]>*/--></style>

</head>

<body>

<div id="outer_container">
	<div id="bodyline">
		<div id="logo"><a href="http://www.opentools.de/"><img src="logo_dscs.gif" alt="DSCS OpenTools Logo" /></a><span class="maintitle">Attachment Mod User Guide</span></div>


<p>This is the February, 2003 revision of the Attachment Mod User Guide.<br />
Please send corrections, additions and new questions to <a href="mailto:hide@address.com">Acyd Burn</a>.</p>

<p>This Guide is intended for all phpBB users using the Attachment Mod. It answers common questions and gives a quick overview of features 
and the internal workings of this Mod.</p>
<ol>
	<li><a href="#introduction">Introduction</a></li>
	<li><a href="#features">Feature List</a></li>
	<li><a href="#installation">Installation</a>
	<ol type="i">
		<li><a href="#basicthings">Basic things to keep in mind</a></li>
		<li><a href="#readinstall">How to read the Installation Instructions</a></li>
		<li><a href="#needed">What do you need in order to run certain features</a></li>
		<li><a href="#othertemplates">How to install with templates other than subSilver</a></li>
	</ol>
	</li>
	<li><a href="#adminrights">Admin Rights or 'Why do you need a User Account' ?</a></li>
	<li><a href="#adminpanels">The Attachment Administration Panels</a>
	<ol type="i">
		<li><a href="#controlpanel">Control Panel</a></li>
		<li><a href="#management">Management</a></li>
		<li><a href="#quotalimits">Quota Limits</a></li>
		<li><a href="#shadowattachments">Shadow Attachments</a></li>
		<li><a href="#syncattachments">Synchronize Attachments</a></li>
	</ol>
	</li>
	<li><a href="#extensionsadmin">The Extensions Administration Panels</a>
	<ol type="i">
		<li><a href="#extensioncontrol">Extension Control</a></li>
		<li><a href="#extgroupcontrol">Extension Groups Control</a>
		<ol type="i">
			<li><a href="#extgroupperms">Extension Groups Forum Permissions</a></li>
		</ol>
		</li>
		<li><a href="#forbiddenextensions">Forbidden Extensions</a></li>
		<li><a href="#specialcategories">Special Categories</a></li>
	</ol>
	</li>
	<li><a href="#generalsettings">General Administrative Settings and Features (HowTo's)</a>
	<ol type="i">
		<li><a href="#permissions">How to set up Permissions for Attaching and Downloading</a></li>
		<li><a href="#quotasystem">The Quota System</a></li>
		<li><a href="#defaultquotas">How to set up Default quotas</a></li>
		<li><a href="#usergroupquotas">How to set up User and Group quotas</a></li>
		<li><a href="#quotalimitaffect">How Quota Limit Changes will affect User and Group Quotas</a></li>
		<li><a href="#howthumbs">How to get Thumbnails working</a></li>
	</ol>
	</li>
	<li><a href="#howtouse">How to use the Attachment Mod</a>
	<ol type="i">
		<li><a href="#postingattachments">Posting and Editing Attachments - Posts and Private Messages</a></li>
		<li><a href="#viewableareas">Additional Viewable Areas</a>
		<ol type="i">
			<li><a href="#userprofiles">User Profiles</a></li>
			<li><a href="#userattachcp">User Attachment Control Panel</a></li>
		</ol>
		</li>
	</ol>
	</li>
	<li><a href="#lookandfeel">How to change the 'look &amp; feel'</a>
	<ol type="i">
		<li><a href="#tplbasics">Some basics about the Template Engine</a></li>
		<li><a href="#viewtopicattachbody">The viewtopic_attach_body.tpl file</a></li>
	</ol>
	</li>
	<li><a href="#commonproblems">Common Problems attaching Files</a>
	<ol type="i">
		<li><a href="#errpostmode">Filesize too big / Post Mode not specified / Blank Page</a></li>
		<li><a href="#errfilesizezero">Could not attach File, but Post has been stored / Filesize is 0 all over the time</a></li>
		<li><a href="#errgeneralerror">General Error: Could not Attach File</a></li>
		<li><a href="#errcannotattach">I am able to attach files in Private Messages, but with normal Posts i cannot Attach files</a></li>
		<li><a href="#errnoattachments">No Attachments are displayed</a></li>
	</ol>
	</li>
	<li><a href="#disclaimer">Copyright and Disclaimer</a></li>
</ol>

<a name="introduction"></a><h2>1. Introduction</h2>

This User Guide is intended to give an overview of what the Attachment Modification is capable of and teach you how to setup and 
utilize its features. It should answer the most common questions and give you the chance to use the full power of the Attachment Mod.<br />
<br />
While reading this, you will stumble over some terms and explanations you might not know; keep these in mind, they may be explained in 
further paragraphs. If you find errors or would like to contribute something please contact me.<br />
<br />
If you have Support Questions, please go to the <a href="http://www.opentools.de/board">Opentools Board</a> and ask your 
Question there.<br />
<br />
Happy reading, Acyd Burn.
<br /><br /><br />

<a name="features"></a><h2>2. Feature List</h2>

The following is a list of Attach Mod features
<ol type="square">
<li>Full Permissions System<br />You are able to set Download Permissions, Upload Permissions and Extension Groups per Forum Permissions.</li>
<li>Able to add comments to Attachments</li>
<li>Automatic Deletion of Attachments if Posts are deleted (manual Delete, pruning, within the Moderator Control Panel or the User Attachment Control Panel).</li>
<li>Editing of existing Attachments.<br />Able to Delete/Add/Change Comment and Update Attachments while editing Posts.</li>
<li>If the local path for Attachments is changed in admin, all previous posted attachments will be displayed correctly.</li>
<li>Category support (Special behaviour instead of just presenting a link to the attached file)
<ol type="circle">
<li>Special behaviour on Images:<br />Thumbnail Support<br />Image Link Presentation depending on Dimensions<br />Inline Images</li>
<li>Stream Files directly within Posts. Supported Types:<br />aif, aifc, aiff, asf, asx, au, avi, ivf, m3u, mid, midi, mlv, mp2, mp3, mp2v, mpa, mpe, mpeg, mpg, mpv2, rmi, snd, wav, wax, wm, wma, wmx, wmv, wvx</li>
<li>Play Flash Files within Posts (Also supports compressed Flash MX Files).</li>
</ol>
</li>
<li>An image for displaying in front of Attachments and Threads containing Attachments (definable).<br />Able to define an Image for Forum View and for every Extension Group.</li>
<li>Maximum Upload Size definable.<br />Maximum Upload Size per Extension Group definable.</li>
<li>Multiple attachments in one post.<br />Maximum number of attachments per post definable.</li>
<li>Multiple attachments in one PM.<br />Maximum number of attachments per PM definable.</li>
<li>Attachment Quotas:
<ol type="circle">
<li>Overall Attachment Quota</li>
<li>User Attachment Quotas</li>
<li>Group Attachment Quotas</li>
<li>Quotas are definable for PM Boxes and Upload</li>
</ol>
</li>
<li>Download counter.</li>
<li>Download Method selectable for every Extension Group.<br />This is very useful for Data types needing a 'real' link, for example real media files.</li>
<li>Three Upload Methods:
<ol type="circle">
<li>Upload</li>
<li>FTP Upload</li>
<li>FTP Remote Upload</li>
</ol>
</li>
<li>Able to display Attachments in Preview Window.</li>
<li>Able to display Attachments in Review Window.</li>
<li>User Attachment Control Panel.</li>
<li>Attachment Limit Box within Private Message Box.</li>
<li>Attachment Upload Stats in Users Profile.<br /><br /></li>
<li>Special Admin Modules:
<ol type="circle">
<li>Manage Forbidden Extensions</li>
<li>Manage allowed Extensions (Delete, Add, Assign new group)</li>
<li>Manage Extension Groups</li>
<li>Manage Special Categories</li>
<li>Synchronize Attachments</li>
<li>Delete Shadow Attachments (those Attachments not deleted with posts, for whatever reason)</li>
<li>A complete Attachment Control Panel (with an integrated search feature)</li>
<li>Much more! To sum it up, a fully customizable Attachment Feature for your Board.</li>
</ol>
</li>
<li><br />Language Packs:<br />
For up-to-date Language Packs and more information please visit <a href="http://www.opentools.de/attach_mod/" target="_blank">http://www.opentools.de/attach_mod/</a><br />
or the Language Pack Forum at <a href="http://www.opentools.de/board" target="_blank">http://www.opentools.de/board</a><br />
(if someone is willing to translate the Attachment Mod to other Languages, please contact me at Opentools.de)<br />
</li>
<li><br />Database-support: mysql, mysql4, mssql, mssql-odbc, postgresql</li>
</ol>
<br /><br />

<a name="installation"></a><h2>3. Installation</h2>

<a name="basicthings"></a><h3>3.1 Basic things to keep in mind</h3>
            
The following are a few things you keep in mind when installing the Attachment Mod.<br />
<br />
<ol type="square">
<li>Make sure that PHP File uploading is allowed by your Provider. If it is not you will be unable to attach files at all.</li>
<li>Before you begin to install the Mod, backup your Message Board (the Files and the Database)! If something goes wrong, you are 
able to switch to the backed up version of your Board.</li>
<li>Be sure to upload .html, .php, .tpl, .sql files in ASCII Mode with your FTP Client.</li>
<li>Don't forget to chmod your upload directory to 777.</li>
<li>If you would like to utilize the cached configuration method, do not forget to create a 'cache' directory (ie. /phpBB2/cache) and to chmod this directory to 777.</li>
<li>Don't forget to run the Database Installer or the Updater (if you are updating the mod).</li>
<li>When configuring Attachment Mod for your Message Board, use the built in "Test Setup" feature to double check that 
your configuration is correct.</li>
</ol>
<br /><br />

<a name="readinstall"></a><h3>3.2 How to read the Installation Instructions</h3>

If you've previously modified, or if you are familiar with the usual layout of phpBB Modification instructions you can skip this section.<br />
<br />
Instructions for Uploading Files:<br />
Since we are installing the Attachment Mod into phpBB2, we are always at the phpBB2 Root Folder (where your config.php file is).<br />
<br />
If an Upload Instruction says:<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="quote">
/attach_mod/scripts/mod_table_inst.php -> mod_table_inst.php<br />
</td></tr></table>
You have to upload the left part (found within the Archive) to the right part. Since we are at the phpBB2 Root Folder, 
the file "mod_table_inst.php" has to be uploaded to it.<br />
<br />
Another Example:<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="quote">
/attach_mod/root/admin/admin_attachments.php -> admin/admin_attachments.php<br />
</td></tr></table>
You have to upload the admin_attachments.php file found in attach_mod/root/admin to your phpBB2 admin directory.<br />
<br />
These are the basic Instructions for editing existing phpBB2 Files, taken from the Mod Template Tutorial at <a href="http://www.phpbb.com" target="_blank">http://www.phpbb.com</a>:<br />
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
# <br />
#-----&#91; OPEN &#93;------------------------------------------ <br />
#
</td></tr></table>

<br />
Open a specific file.
<br /><br /><br />

<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
# <br />
#-----&#91; FIND &#93;------------------------------------------ <br />
# 
</td></tr></table>

<br />
Find a piece of code within the opened file. <br />
<br /><br />

<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
# <br />
#-----&#91; REPLACE WITH &#93;------------------------------------------ <br />
# 
</td></tr></table>

<br />
Replace a piece of code (whatever we "FIND") with this code. <br />
<br /><br />

<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
# <br />
#-----&#91; AFTER, ADD &#93;------------------------------------------ <br />
# 
</td></tr></table>

<br />
After the last code line shown in "FIND", add this piece of code. 
<br />
<br /><br />

<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
# <br />
#-----&#91; BEFORE, ADD &#93;------------------------------------------ <br />
# 
</td></tr></table>

<br />
Before the first code line shown in "FIND", add this piece of code. 
<br /><br /><br />

<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
# <br />
#-----&#91; IN-LINE FIND &#93;------------------------------------------ <br />
# 
</td></tr></table>

<br />
Find a piece of code within a code line. <br />
<br /><br />

<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
# <br />
#-----&#91; IN-LINE AFTER, ADD &#93;------------------------------------------ <br />
# 
</td></tr></table>

<br />
After a piece of code in a code line, add this piece of code. <br />
<br /><br />

<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
# <br />
#-----&#91; IN-LINE BEFORE, ADD &#93;------------------------------------------ <br />
# 
</td></tr></table>

<br />
Before a piece of code in a code line, add this piece of code. <br />
<br /><br />

<span style="font-weight: bold">Here are examples of each 'Action':</span> 
<br /><br /><br />

<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
# <br />
#-----&#91; OPEN &#93;------------------------------------------ <br />
# <br />
templates/subSilver/posting_body.tpl<br />
</td></tr></table>

<br />
In the above example, we are opening the file: posting_body.tpl <br />
which is located in the 'subSilver' directory, under templates.<br />
<br /><br />

<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr><td class="code">
# <br />
#-----&#91; FIND &#93;------------------------------------------ <br />
# <br />
&#123;L_NEW_POSTS&#125; <br />
</td></tr></table>

<br />
In this instance, we are going to look within the file we previously opened, and <u>FIND</u> the text: {L_NEW_POSTS}.<br />
<br /><br />

<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
# <br />
#-----&#91; REPLACE WITH &#93;------------------------------------------ <br />
# <br />
&#123;L_YOUR_VARIABLE&#125; <br />
</td></tr></table>

<br />
In this instance, we are <u>REPLACING</u> {L_NEW_POSTS} <u>WITH</u> {L_YOUR_VARIABLE}.<br />
<br /><br />

<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
# <br />
#-----&#91; AFTER, ADD &#93;------------------------------------------ <br />
# <br />
&lt;img src=&quot;templates/subSilver/images/some_new_image.gif&quot; alt=&quot;&#123;L_YOUR_VARIABLE&#125;&quot;/&gt; <br />
</td></tr></table>

<br />
In this instance, <u>AFTER</u> {L_NEW_POSTS} we are <u>ADDING</u> a new image. <br />
<br /><br />

<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
# <br />
#-----&#91; BEFORE, ADD &#93;------------------------------------------ <br />
# <br />
&lt;img src=&quot;templates/subSilver/images/some_new_image.gif&quot; alt=&quot;&#123;L_YOUR_VARIABLE&#125;&quot;/&gt; <br />
</td></tr></table>

<br />
In this instance, <u>BEFORE</u> {L_NEW_POSTS} we are <u>ADDING</u> a new image.<br />
<br /><br />

<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
# <br />
#-----&#91; IN-LINE FIND &#93;------------------------------------------ <br />
# <br />
user_from = '&quot; . str_replace&#40;&quot;\'&quot;, &quot;''&quot;, $location&#41; . &quot;', <br />
</td></tr></table>

<br />
For finding code in a code line. <br />
<br /><br />

<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
# <br />
#-----&#91; IN-LINE AFTER, ADD &#93;------------------------------------------ <br />
# <br />
user_from_flag = '$user_flag', <br />
</td></tr></table>

<br />
This example adds <br />
user_from_flag = '$user_flag', <br />
directly after the code line you have used in the <u>IN-LINE FIND</u> action.<br />
<br /><br />

<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
# <br />
#-----&#91; IN-LINE BEFORE, ADD &#93;------------------------------------------ <br />
# <br />
user_from_flag = '$user_flag', <br />
</td></tr></table>

<br />
This example adds <br />
user_from_flag = '$user_flag', <br />
directly before the code line you have used in the <u>FIND</u> action. <br />
<br />
<br />
After editing all Files you have to upload them for the changes to take effect on your website. <br />
<br /><br />

<a name="needed"></a><h3>3.3 What do you need in order to run certain features</h3>

You need the following to use the FTP Upload Feature (Remote and Normal):<br />
<ol type="square">
<li>FTP Extensions built into the PHP Installation.</li>
</ol>
<br />
You need the following to create Thumbnails:<br />
<ol type="square">
<li>ImageMagick installed on the Server (you are not able to install this if do not have root administrative access to your server).</li>
</ol>
OR
<ol type="square">
<li>GD Extensions built into the PHP Installation.</li>
</ol>
<br />
It is highly recommended to use ImageMagick if it is installed on the server.<br />
If the exec() function is not allowed to be called within your PHP Installation, you are unable to use ImageMagick 
to create thumbnails. 
<br /><br /><br />

<a name="othertemplates"></a><h3>3.4 How to install with templates other than subSilver</h3>

You have to upload all new tpl-files within the Attachment Mod Archive to your template directory and make all changes 
made to the subSilver tpl-files to your template files too. <br />
The best thing to do this is to read the Installation Instructions and substitute the name subSilver with your template name.
<br /><br /><br />

<a name="adminrights"></a><h2>4. Admin Rights or 'Why do you need a User Account' ?</h2>

With the Attachment Mod the Administrator has special rights when it comes to attaching Files.<br />
The following Restrictions are not taken into account for Admins: 
<ol type="square">
<li>Able to exceed the allowed Filesize.</li>
<li>Able to attach all allowed and activated Extensions.</li>
<li>Able to exceed the maximum Number of Attachments per Post/PM.</li>
<li>Able to attach and download files in all forums.</li>
<li>Default Quota for Admins is set to the complete Attachment Filesize Quota.</li>
</ol>
If you are testing the Attachment Mod and want to be sure that all Restrictions you have set are actually working, 
please create a normal User Account for testing.
<br /><br /><br />

<a name="adminpanels"></a><h2>5. The Attachment Administration Panels</h2>

<a name="controlpanel"></a><h3>5.1 Control Panel</h3>

The Control Panel is intended for the Administrator to manage the attached Files, to see some Statistics and search for Attachments.<br />
<br />
There are four possible Modes that you are able to view at the control panel: Statistics, Search Attachments, Attachments by an particular 
User and All Attachments.<br />
<br />
<ol type="square"><li>Statistics</li></ol>
  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
	<tr>
	  <td align="right" nowrap="nowrap"><span class="genmed">View:&nbsp;<select name="view"><option value="stats" selected="selected">Statistics</option><option value="search">Search</option><option value="username">Username</option><option value="attachments">Attachments</option></select>&nbsp;&nbsp;
		<input type="submit" name="submit" value="Submit" class="liteoption" />
		</span></td>
	</tr>
  </table>
<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline">
  <tr>
	<th width="50%" nowrap="nowrap" height="25" class="thCornerL">Statistic</th>
	<th width="50%" height="25" class="thCornerR">Value</th>
  </tr>
  <tr>
	<td class="row1" nowrap="nowrap">Number of Attachments:</td>
	<td class="row2"><b>21</b></td>
  </tr>
  <tr>
	<td class="row1" nowrap="nowrap">Total Filesize:</td>
	<td class="row2"><b>1.89 MB</b></td>
  </tr>
  <tr>
	<td class="row1" nowrap="nowrap">Attachment Quota:</td>
	<td class="row2"><b>50 MB</b></td>
  </tr>
  <tr>
	<td class="row1" nowrap="nowrap">Number of Posts with Attachments:</td>
	<td class="row2"><b>13</b></td>
  </tr>
  <tr>
	<td class="row1" nowrap="nowrap">Total Number of Attachments in Private Messages:</td>
	<td class="row2"><b>2</b></td>
  </tr>
  <tr>
	<td class="row1" nowrap="nowrap">Number of Topics with Attachments:</td>
	<td class="row2"><b>11</b></td>
  </tr>
  <tr>
	<td class="row1" nowrap="nowrap">Independent Users Posted Attachments:</td>
	<td class="row2"><b>3</b></td>
  </tr>
</table>
<br />
As you can see, the Statistics gives you a short overview of all posted Attachments.<br />
<br />
<ol type="square"><li>Search Attachments</li></ol>
  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
	<tr>
	  <td align="right" nowrap="nowrap"><span class="genmed">View:&nbsp;<select name="view"><option value="stats">Statistics</option><option value="search" selected="selected">Search</option><option value="username">Username</option><option value="attachments">Attachments</option></select>&nbsp;&nbsp;
		<input type="submit" name="submit" value="Submit" class="liteoption" />
		</span></td>
	</tr>
  </table>

<table class="forumline" width="100%" cellpadding="4" cellspacing="1" border="0">
	<tr>
		<th class="thHead" colspan="4" height="25">Search Attachments</th>
	</tr>
	<tr>
		<td class="row1" colspan="2"><span class="gen">Filename:</span><br /><span class="gensmall">Use * as a wildcard for partial matches</span></td>
		<td class="row2" colspan="2" valign="middle"><span class="genmed"><input type="text" style="width: 200px" class="post" name="search_keyword_fname" size="20" value="*amp*" /></span></td>
	</tr>
	<tr>
		<td class="row1" colspan="2"><span class="gen">File Comment:</span><br /><span class="gensmall">Use * as a wildcard for partial matches</span></td>
		<td class="row2" colspan="2" valign="middle"><span class="genmed"><input type="text" style="width: 200px" class="post" name="search_keyword_comment" size="20" /></span></td>
	</tr>
	<tr>
		<td class="row1" colspan="2"><span class="gen">Search for Author:</span><br /><span class="gensmall">Use * as a wildcard for partial matches</span></td>
		<td class="row2" colspan="2" valign="middle"><span class="genmed"><input type="text" style="width: 200px" class="post" name="search_author" size="20" value="Acyd*" /></span></td>
	</tr>
	<tr>
		<td class="row1" colspan="2"><span class="gen">Attachment size smaller than (bytes):</span></td>
		<td class="row2" colspan="2" valign="middle"><span class="genmed"><input type="text" style="width: 100px" class="post" name="search_size_smaller" size="10" /></span></td>
	</tr>
	<tr>
		<td class="row1" colspan="2"><span class="gen">Attachment size greater than (bytes):</span></td>
		<td class="row2" colspan="2" valign="middle"><span class="genmed"><input type="text" style="width: 100px" class="post" name="search_size_greater" size="10" /></span></td>
	</tr>
	<tr>
		<td class="row1" colspan="2"><span class="gen">Download count is smaller than:</span></td>
		<td class="row2" colspan="2" valign="middle"><span class="genmed"><input type="text" style="width: 100px" class="post" name="search_count_smaller" size="10" value="10" /></span></td>
	</tr>
	<tr>
		<td class="row1" colspan="2"><span class="gen">Download count is greater than:</span></td>
		<td class="row2" colspan="2" valign="middle"><span class="genmed"><input type="text" style="width: 100px" class="post" name="search_count_greater" size="10" /></span></td>
	</tr>
	<tr>
		<td class="row1" colspan="2"><span class="gen">More than this many days old:</span></td>
		<td class="row2" colspan="2" valign="middle"><span class="genmed"><input type="text" style="width: 100px" class="post" name="search_days_greater" size="10" /></span></td>
	</tr>
 	<tr>
		<th class="thHead" colspan="4" height="25">Search Options</th>
	</tr>
	<tr>
		<td class="row1" colspan="2" align="right"><span class="gen">Forum:</span></td>
		<td class="row2" colspan="2" valign="middle"><select class="post" name="search_forum"><option value="-1">All available</option><option value="3">Diskussionen</option><option value="4">Test1</option><option value="5">Test2</option></select></td>
	</tr>
	<tr>
		<td class="row1" colspan="2" align="right"><span class="gen">Category:&nbsp;</span></td>
		<td class="row2" colspan="2" valign="middle"><select class="post" name="search_cat"><option value="-1">All available</option><option value="1">Test category 1</option></select></td>
	</tr>
	<tr>
		<td class="row1" colspan="2" align="right"><span class="gen">Select sort method:&nbsp;</span></td>
		<td class="row2" colspan="2" valign="middle"><select name="mode"><option value="real_filename">Filename</option><option value="comment">Comment</option><option value="extension">Extension</option><option value="filesize">Size</option><option value="downloads">Downloads</option><option value="post_time">Post Time</option></select></td>
	</tr>
	<tr>
		<td class="row1" colspan="2" align="right"><span class="gen">Order:&nbsp;</span></td>
		<td class="row2" colspan="2" valign="middle"><select name="order"><option value="ASC">Ascending</option><option value="DESC" selected="selected">Descending</option></select></td>
	</tr>
	<tr>
		<td class="catBottom" colspan="4" align="center" height="28"><input class="liteoption" type="submit" name="search" value="Search" /></td>
	</tr>
</table>
<br />
Very self explanatory, isn't it? <br />
<br />
<ol type="square"><li>View Attachments by Username</li></ol>
The first thing to do is to view the Username based Statistics<br />
<br />
  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
	<tr>
	  <td align="right" nowrap="nowrap"><span class="genmed">View:&nbsp;<select name="view"><option value="stats">Statistics</option><option value="search">Search</option><option value="username" selected="selected">Username</option><option value="attachments">Attachments</option></select>&nbsp;&nbsp;Select sort method:&nbsp;<select name="mode"><option value="username">Username</option><option value="attachments" selected="selected">Attachments</option><option value="filesize">Size</option></select>&nbsp;&nbsp;Order&nbsp;<select name="order"><option value="ASC">Ascending</option><option value="DESC" selected="selected">Descending</option></select>&nbsp;&nbsp;
		<input type="submit" name="submit" value="Submit" class="liteoption" />
		</span>
	  </td>
	</tr>
  </table>
  <table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
	<tr>
	  <th height="25" class="thCornerL">#</th>
	  <th class="thTop">Username</th>
	  <th class="thTop">Attachments</th>
	  <th class="thCornerR">Size (KB)</th>
	</tr>
	<tr>
	  <td class="row1" align="center"><span class="gen">&nbsp;1&nbsp;</span></td>
	  <td class="row1" align="center"><span class="gen"><u>testuser</u></span></td>
	  <td class="row1" align="center" valign="middle">&nbsp;<b>11</b>&nbsp;</td>
	  <td class="row1" align="center">&nbsp;<b>553.68</b>&nbsp;</td>
	</tr>
	<tr>
	  <td class="row2" align="center"><span class="gen">&nbsp;2&nbsp;</span></td>
	  <td class="row2" align="center"><span class="gen"><u>Acyd Burn</u></span></td>
	  <td class="row2" align="center" valign="middle">&nbsp;<b>10</b>&nbsp;</td>
	  <td class="row2" align="center">&nbsp;<b>1376.83</b>&nbsp;</td>
	</tr>
	<tr>
	  <td class="row1" align="center"><span class="gen">&nbsp;3&nbsp;</span></td>
	  <td class="row1" align="center"><span class="gen"><u>Anonymous</u></span></td>
	  <td class="row1" align="center" valign="middle">&nbsp;<b>1</b>&nbsp;</td>
	  <td class="row1" align="center">&nbsp;<b>2.29</b>&nbsp;</td>
	</tr>
	<tr>
	  <td class="catbottom" colspan="4" height="28">&nbsp;</td>
	</tr>
  </table>
<br />
Now I want to see which Attachments the User 'testuser' has attached, therefore I click on the Username.<br />
<br />
  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
	<tr>
	  <td align="right" nowrap="nowrap"><span class="genmed">View:&nbsp;<select name="view"><option value="stats">Statistics</option><option value="search">Search</option><option value="username">Username</option><option value="attachments" selected="selected">Attachments</option></select>&nbsp;&nbsp;Select sort method:&nbsp;<select name="mode"><option value="real_filename">Filename</option><option value="comment">Comment</option><option value="extension">Extension</option><option value="filesize">Size</option><option value="downloads" selected="selected">Downloads</option><option value="post_time">Post Time</option></select>&nbsp;&nbsp;Order&nbsp;<select name="order"><option value="ASC">Ascending</option><option value="DESC" selected="selected">Descending</option></select>&nbsp;&nbsp;
		<input type="submit" name="submit" value="Submit" class="liteoption" />
		</span>
	  </td>
	</tr>
  </table>
  <table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
	<tr>
	  <th height="25" class="thCornerL">#</th>
	  <th class="thTop">Filename</th>
	  <th class="thTop">File Comment</th>
	  <th class="thTop">Extension</th>
	  <th class="thTop">Size (KB)</th>
	  <th class="thTop">Downloads</th>
	  <th class="thTop">Post Time</th>
	  <th class="thTop">Posted in Topic</th>
	  <th class="thCornerR">Delete</th>
	</tr>
	<tr>
	  <td class="row1" align="center"><span class="gen">&nbsp;1&nbsp;</span></td>
	  <td class="row1" align="center"><span class="gen"><u>acyd_ava.gif</u></span></td>
	  <td class="row1" align="center"><span class="gen"><input type="text" size="40" maxlength="200" name="attach_comment_list[]"  value="" class="post" /></span></td>
	  <td class="row1" align="center"><span class="gen">gif</span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><b>3.1</b></span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><input type="text" size="3" maxlength="10" name="attach_count_list[]"  value="22" class="post" /></span></td>
	  <td class="row1" align="center" valign="middle"><span class="gensmall">17 Nov 2002 08:55 pm</span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><u>fsgjiosd</u></span></td>
	  <td class="row1" align="center"><input type="checkbox" name="delete_id_list[]" value="30" /></td>
	</tr>
	<tr>
	  <td class="row2" align="center"><span class="gen">&nbsp;2&nbsp;</span></td>
	  <td class="row2" align="center"><span class="gen"><u>acyd_ava.gif</u></span></td>
	  <td class="row2" align="center"><span class="gen"><input type="text" size="40" maxlength="200" name="attach_comment_list[]"  value="" class="post" /></span></td>
	  <td class="row2" align="center"><span class="gen">gif</span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><b>3.1</b></span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><input type="text" size="3" maxlength="10" name="attach_count_list[]"  value="16" class="post" /></span></td>
	  <td class="row2" align="center" valign="middle"><span class="gensmall">17 Nov 2002 09:01 pm</span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><u>zrezerw</u></span></td>
	  <td class="row2" align="center"><input type="checkbox" name="delete_id_list[]" value="38" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center"><span class="gen">&nbsp;3&nbsp;</span></td>
	  <td class="row1" align="center"><span class="gen"><u>linux10.jpg</u></span></td>
	  <td class="row1" align="center"><span class="gen"><input type="text" size="40" maxlength="200" name="attach_comment_list[]"  value="" class="post" /></span></td>
	  <td class="row1" align="center"><span class="gen">jpg</span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><b>48.04</b></span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><input type="text" size="3" maxlength="10" name="attach_count_list[]"  value="7" class="post" /></span></td>
	  <td class="row1" align="center" valign="middle"><span class="gensmall">17 Nov 2002 08:56 pm</span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><u>fsgjiosd</u></span></td>
	  <td class="row1" align="center"><input type="checkbox" name="delete_id_list[]" value="31" /></td>
	</tr>
	<tr>
	  <td class="row2" align="center"><span class="gen">&nbsp;4&nbsp;</span></td>
	  <td class="row2" align="center"><span class="gen"><u>linux13.jpg</u></span></td>
	  <td class="row2" align="center"><span class="gen"><input type="text" size="40" maxlength="200" name="attach_comment_list[]"  value="" class="post" /></span></td>
	  <td class="row2" align="center"><span class="gen">jpg</span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><b>108.27</b></span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><input type="text" size="3" maxlength="10" name="attach_count_list[]"  value="7" class="post" /></span></td>
	  <td class="row2" align="center" valign="middle"><span class="gensmall">17 Nov 2002 08:56 pm</span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><u>fsgjiosd</u></span></td>
	  <td class="row2" align="center"><input type="checkbox" name="delete_id_list[]" value="32" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center"><span class="gen">&nbsp;5&nbsp;</span></td>
	  <td class="row1" align="center"><span class="gen"><u>linux13.jpg</u></span></td>
	  <td class="row1" align="center"><span class="gen"><input type="text" size="40" maxlength="200" name="attach_comment_list[]"  value="" class="post" /></span></td>
	  <td class="row1" align="center"><span class="gen">jpg</span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><b>108.27</b></span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><input type="text" size="3" maxlength="10" name="attach_count_list[]"  value="3" class="post" /></span></td>
	  <td class="row1" align="center" valign="middle"><span class="gensmall">17 Nov 2002 09:01 pm</span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><u>zrezerw</u></span></td>
	  <td class="row1" align="center"><input type="checkbox" name="delete_id_list[]" value="36" /></td>
	</tr>
	<tr>
	  <td class="row2" align="center"><span class="gen">&nbsp;6&nbsp;</span></td>
	  <td class="row2" align="center"><span class="gen"><u>linux_chick1.jpg</u></span></td>
	  <td class="row2" align="center"><span class="gen"><input type="text" size="40" maxlength="200" name="attach_comment_list[]"  value="" class="post" /></span></td>
	  <td class="row2" align="center"><span class="gen">jpg</span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><b>53.29</b></span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><input type="text" size="3" maxlength="10" name="attach_count_list[]"  value="3" class="post" /></span></td>
	  <td class="row2" align="center" valign="middle"><span class="gensmall">17 Nov 2002 09:01 pm</span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><u>zrezerw</u></span></td>
	  <td class="row2" align="center"><input type="checkbox" name="delete_id_list[]" value="37" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center"><span class="gen">&nbsp;7&nbsp;</span></td>
	  <td class="row1" align="center"><span class="gen"><u>linux_chick1.jpg</u></span></td>
	  <td class="row1" align="center"><span class="gen"><input type="text" size="40" maxlength="200" name="attach_comment_list[]"  value="" class="post" /></span></td>
	  <td class="row1" align="center"><span class="gen">jpg</span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><b>53.29</b></span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><input type="text" size="3" maxlength="10" name="attach_count_list[]"  value="2" class="post" /></span></td>
	  <td class="row1" align="center" valign="middle"><span class="gensmall">17 Nov 2002 08:59 pm</span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><u>sdgsdag</u></span></td>
	  <td class="row1" align="center"><input type="checkbox" name="delete_id_list[]" value="35" /></td>
	</tr>
	<tr>
	  <td class="row2" align="center"><span class="gen">&nbsp;8&nbsp;</span></td>
	  <td class="row2" align="center"><span class="gen"><u>acyd.jpg</u></span></td>
	  <td class="row2" align="center"><span class="gen"><input type="text" size="40" maxlength="200" name="attach_comment_list[]"  value="" class="post" /></span></td>
	  <td class="row2" align="center"><span class="gen">jpg</span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><b>43.52</b></span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><input type="text" size="3" maxlength="10" name="attach_count_list[]"  value="1" class="post" /></span></td>
	  <td class="row2" align="center" valign="middle"><span class="gensmall">17 Nov 2002 08:59 pm</span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><u>sdgsdag</u></span></td>
	  <td class="row2" align="center"><input type="checkbox" name="delete_id_list[]" value="33" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center"><span class="gen">&nbsp;9&nbsp;</span></td>
	  <td class="row1" align="center"><span class="gen"><u>takeittux.jpg</u></span></td>
	  <td class="row1" align="center"><span class="gen"><input type="text" size="40" maxlength="200" name="attach_comment_list[]"  value="" class="post" /></span></td>
	  <td class="row1" align="center"><span class="gen">jpg</span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><b>21.46</b></span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><input type="text" size="3" maxlength="10" name="attach_count_list[]"  value="1" class="post" /></span></td>
	  <td class="row1" align="center" valign="middle"><span class="gensmall">17 Nov 2002 08:59 pm</span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><u>sdgsdag</u></span></td>
	  <td class="row1" align="center"><input type="checkbox" name="delete_id_list[]" value="34" /></td>
	</tr>
	<tr>
	  <td class="row2" align="center"><span class="gen">&nbsp;10&nbsp;</span></td>
	  <td class="row2" align="center"><span class="gen"><u>linux13.jpg</u></span></td>
	  <td class="row2" align="center"><span class="gen"><input type="text" size="40" maxlength="200" name="attach_comment_list[]"  value="" class="post" /></span></td>
	  <td class="row2" align="center"><span class="gen">jpg</span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><b>108.27</b></span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><input type="text" size="3" maxlength="10" name="attach_count_list[]"  value="1" class="post" /></span></td>
	  <td class="row2" align="center" valign="middle"><span class="gensmall">17 Nov 2002 09:02 pm</span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen">Private Message</span></td>
	  <td class="row2" align="center"><input type="checkbox" name="delete_id_list[]" value="39" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center"><span class="gen">&nbsp;11&nbsp;</span></td>
	  <td class="row1" align="center"><span class="gen"><u>acyd_ava.gif</u></span></td>
	  <td class="row1" align="center"><span class="gen"><input type="text" size="40" maxlength="200" name="attach_comment_list[]"  value="" class="post" /></span></td>
	  <td class="row1" align="center"><span class="gen">gif</span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><b>3.1</b></span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><input type="text" size="3" maxlength="10" name="attach_count_list[]"  value="0" class="post" /></span></td>
	  <td class="row1" align="center" valign="middle"><span class="gensmall">17 Dec 2002 08:56 pm</span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen">Private Message</span></td>
	  <td class="row1" align="center"><input type="checkbox" name="delete_id_list[]" value="47" /></td>
	</tr>
	<tr>
	  <td class="catBottom" colspan="9" height="28" align="right">
		<input type="submit" name="submit_change" value="Submit Changes" class="mainoption" />
		&nbsp;
		<input type="submit" name="delete" value="Delete Marked" class="liteoption" />
	  </td>
	</tr>
  </table>
  <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
	<tr>
	  <td align="right" valign="top" nowrap="nowrap"><b><span class="gensmall"><u>Mark all</u> :: <u>Unmark all</u></span></b></td>
	</tr>
  </table>
<br />
Here you are able to change the Download Counts and Comments manually. You are also able to view each Attachment, delete them or go 
directly to the Topic where it is posted at.<br />

<ol type="square"><li>View All Attachments</li></ol>
This Panel looks like the Username based Attachments Panel and the one you see after you have searched for an Attachment. 
The only difference is that you see all Attachments, not only the ones you have searched for or the ones one User has attached.
<br /><br /><br />

<a name="management"></a><h3>5.2 Management</h3>

This Section describes the Administration Panel-&gt;Attachments-&gt;Management Screen.<br />
We will go through every configuration option and explain what it means and how it will affect the board.<br />
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Upload Directory<br /><span class="gensmall">Enter the relative path from your phpBB2 installation to the Attachments upload directory. For example, enter 'files' if your phpBB2 Installation is located at http://www.yourdomain.com/phpBB2 and the Attachment Upload Directory is located at http://www.yourdomain.com/phpBB2/files.</span></td>
		<td class="row2"><input type="text" size="25" maxlength="100" name="upload_dir" value="files" class="liteoption" /></td>
	</tr>
</table>
<br />
Ok, this Option is for defining your Upload Directory, where your uploaded Files will be placed into.<br />
If you use (or want to use) FTP Upload this setting is not needed, the Attachment Mod will use the FTP Settings instead. Please only 
let the Attachment Mod place files into this Upload Directory, do not upload files for your own into this directory. If you do so, 
they will be overwritten and the Shadow Attachments Screen will be confused.<br />
Examples:<br />
<br />
Your Website URL for uploaded files: <span class="sampleurl">http://www.yoursite.com/phpBB2/files</span><br />
Upload Directory: <span class="sampleurl">files</span><br />
<br />
Your Website URL for uploaded files: <span class="sampleurl">http://www.yoursite.com/files</span><br />
Your Website URL to your phpBB2 Board: <span class="sampleurl">http://www.yoursite.com/phpBB2</span><br />
Upload Directory: <span class="sampleurl">./../files</span><br />
<br />
You see, the Upload Directory is always relative to your phpBB2 Directory. Of course you are able to set absolute paths 
too, but you have to know the 'complete' directory (and not URL) then.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Attachment Posting Icon<br /><span class="gensmall">This Image is displayed next to Attachment Links in individual Postings. Leave this field empty if you don't want an icon to be displayed. This Setting will be overwritten by the Settings in Extension Groups Management.</span></td>
		<td class="row2"><input type="text" size="25" maxlength="100" name="upload_img" value="images/icon_clip.gif" class="liteoption" /></td>
	</tr>
</table>
<br />
The Attachment Posting Icon is a little Image displayed beside links to Attachments within Posts and Private Messages.<br />
This setting defines the default Image, if you define Posting Icons for Extension Groups, this default Setting will not be used, only 
for those Extension Groups with an undefined Icon. The Path is relative to your phpBB2 Directory.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Attachment Topic Icon<br /><span class="gensmall">This Image is displayed before topics with Attachments. Leave this field empty if you don't want an icon to be displayed.</span></td>
		<td class="row2"><input type="text" size="25" maxlength="100" name="topic_icon" value="images/icon_clip.gif" /></td>
	</tr>
</table>
<br />
The Attachment Topic Icon is for defining a little Image displayed in front of topics containing Attachments. It is not only for displaying 
within viewforum, it will be displayed within the Moderation Control Panel and the Private Message Box too.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Attachment Display Order<br /><span class="gensmall">Here you can choose whether to display the Attachments in Posts/PMs in Descending Filetime Order (Newest Attachment First) or Ascending Filetime Order (Oldest Attachment First).</span></td>
		<td class="row2">
		<table border="0" cellpadding="0" cellspacing="0">
			<tr>
				<td><input type="radio" name="display_order" value="0" checked="checked" /> Descending</td>
            </tr>
            <tr>
                 <td><input type="radio" name="display_order" value="1"  /> Ascending</td>
            </tr>
		</table></td>
	</tr>
</table>
<br />
This Setting is for defining the Ordering of Attachments within Posts and Private Messages. This affects only those Posts 
and Private Messages with more than one Attachment. For ordering, the Time the Attachment got uploaded is used and not the time the 
Post was made.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Filesize<br /><span class="gensmall">Maximum filesize for Attachments. A value of 0 means 'unlimited'. This Setting is restricted by your Server Configuration. For example, if your php Configuration only allows a maximum of 2 MB uploads, this cannot be overwritten by the Mod.</span></td>
		<td class="row2"><input type="text" size="8" maxlength="15" name="max_filesize" value="2" /> <select name="size"><option value="b">Bytes</option><option value="kb">KB</option><option value="mb" selected="selected">MB</option></select></td>
	</tr>
</table>
<br />
This Setting defines the Maximum Filesize for one Attachment. This Setting is restricted by your PHP Configuration.<br />
If your provider does not allow file uploads or set them to 0 byte, or restricted it to 2 MB for example, the Mod is unable to overwrite 
this value.<br />
If your provider has set the maximum upload size to 2 MB and you define a filesize of 5 MB, you are only able to upload a maximum 
filesize of 2 MB.<br />
<br />
     <center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Attachment Quota<br /><span class="gensmall">Maximum Disk Space ALL Attachments can hold on your Webspace. A value of 0 means 'unlimited'.</span></td>
		<td class="row2"><input type="text" size="8" maxlength="15" name="attachment_quota" value="50" /> <select name="quota_size"><option value="b">Bytes</option><option value="kb">KB</option><option value="mb" selected="selected">MB</option></select></td>
	</tr>
</table>
<br />
This is your highest Attachment Quota Setting, even the Administrator is not allowed to exceed this Limit.<br />
This Setting is to prevent too many uploads; most providers are setting limitations to usable disk space.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Maximum Filesize in Private Messages Folder<br /><span class="gensmall">Maximum Disk Space Attachments can use up in each User's Private Message box. A value of 0 means 'unlimited'.</span></td>
		<td class="row2"><input type="text" size="8" maxlength="15" name="max_filesize_pm" value="10" /> <select name="pm_size"><option value="b">Bytes</option><option value="kb">KB</option><option value="mb" selected="selected">MB</option></select></td>
	</tr>
</table>
<br />
This setting is a default Quota Limit for every users' Private Message Box. Users without a quota setting are limited 
to this Filesize within their Private Message Box.<br />
This setting determines the total space taken by all Attachments within the users' Private Message Box, not the size of each file.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Default Quota Limit<br /><span class="gensmall">Here you are able to select the Default Quota Limit automatically assigned to newly registered Users and Users without an defined Quota Limit. The Option 'No Quota Limit' is for not using any Attachment Quotas, instead using the default Settings you have defined within this Management Panel.</span></td>
		<td class="row2">
		<table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
		<tr>
			<td nowrap="nowrap"><select name="default_upload_quota"><option value="0">No Quota Limit</option><option value="1">Low</option><option value="2" selected="selected">Medium</option><option value="3">High</option></select></td>
			<td nowrap="nowrap"><span class="gensmall">&nbsp;Upload Quota&nbsp;</span></td>
		</tr>
		<tr>
			<td nowrap="nowrap"><select name="default_pm_quota"><option value="0" selected="selected">No Quota Limit</option><option value="1">Low</option><option value="2">Medium</option><option value="3">High</option></select></td>
			<td nowrap="nowrap"><span class="gensmall">&nbsp;PM Quota&nbsp;</span></td>
		</tr>
		</table>
		</td>
	</tr>
</table>
<br />            
This Setting defines your Default Quota Limits. The Upload Quota is for limiting the User on Attachments posted 
in Messages, and the PM Quota on Attachments within users Private Message Box. Since within this example a PM Quota of 'No Quota Limit' 
is set, the 'Maximum Filesize in Private Messages Folder' Setting will be used.<br />
If the Upload Quota is set to 'No Quota Limit' the 'Attachment Quota' Setting will be used. Please keep in mind, even if you set a Upload 
Quota Limit higher than the Attachment Quota, this Limit will fall back to the defined Attachment Quota, because this is your highest 
definable Value.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Maximum Number of Attachments<br /><span class="gensmall">The maximum number of attachments allowed in one post.</span></td>
		<td class="row2"><input type="text" size="3" maxlength="3" name="max_attachments" value="3" /></td>
	</tr>
</table>
<br />
This Setting is for defining the maximum Number of Attachments allowed to be uploaded to one Post.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Maximum number of Attachments in one Private Message<br /><span class="gensmall">Define the maximum number of attachments the user is allowed to include in a private message.</span></td>
		<td class="row2"><input type="text" size="3" maxlength="3" name="max_attachments_pm" value="1" /></td>
	</tr>
</table>
<br />
This Setting is for defining the maximum Number of Attachments allowed to be uploaded to one Private Message.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Disable Attachment Mod<br /><span class="gensmall">This option is mainly for testing new templates or themes, it disables all Attachment Functions except the Admin Panel.</span></td>
		<td class="row2"><input type="radio" name="disable_mod" value="1"  /> Yes&nbsp;&nbsp;<input type="radio" name="disable_mod" value="0" checked="checked" /> No</td>
	</tr>
</table>
<br />
This Option is for disabling the Attachment Mod.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Allow Attachments in Private Messages<br /><span class="gensmall">Allow/Disallow attaching files to Private Messages.</span></td>
		<td class="row2"><input type="radio" name="allow_pm_attach" value="1" checked="checked" /> Yes&nbsp;&nbsp;<input type="radio" name="allow_pm_attach" value="0"  /> No</td>
	</tr>
</table>
<br />
This Option is for allowing or disallowing Users to be able to attach Files to Private Messages.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Do you want to display Attachments in the Topic Review Window ?<br /><span class="gensmall">If you choose yes, all attached Files will be displayed in Topic Review when you post a reply.</span></td>
		<td class="row2"><input type="radio" name="attachment_topic_review" value="1" checked="checked" /> Yes&nbsp;&nbsp;<input type="radio" name="attachment_topic_review" value="0"  /> No</td>
	</tr>
</table>
<br />            
This Option let you choose whether you want to show previously posted Attachments within the Topic Review Window 
while Replying to Threads or not. Please keep in mind allowing this Option will add additional Load to your Posting Page.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Show new Attachment Posting Control Panel<br /><span class="gensmall">Choose whether to display the Attachment Posting Control Panel (yes) or the old method with two Boxes for Attaching Files and editing your posted Attachments (no) within your Posting Screen. The look of it is very hard to explain, therefore it's best to try it out.</span></td>
		<td class="row2"><input type="radio" name="show_apcp" value="1" checked="checked" /> Yes&nbsp;&nbsp;<input type="radio" name="show_apcp" value="0"  /> No</td>
	</tr>
</table>
<br />
This Option will enable or disable the Attachment Posting Control Panel.<br />
<br />
If set to yes, your Attachment Box will look like this:<br />
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<th class="thHead" colspan="2">Attachment Posting Control Panel</th>
	</tr>
	<tr>
		<td class="row1" colspan="2"><span class="gensmall">If you click on Add an Attachment, you will see the box for adding Attachments.<br />If you click on Posted Attachments, you will see a list of already attached Files and you are able to edit them.<br />If you want to Replace (Upload new Version) an Attachment, you have to click both links. Add the Attachment as you normally would do, thereafter don't click on Add Attachment, rather click on Upload New Version at the Attachment Entry you intend to update.</span></td>
	</tr>

	<tr>
		<td class="row1"><span class="gen"><b>Options</b></span></td>
	    <td class="row2" nowrap="nowrap"><input type="submit" name="add_attachment_box" value="Add an Attachment" class="liteoption" />
		&nbsp; <input type="submit" name="posted_attachments_box" value="Posted Attachments" class="liteoption" />
	</td></tr>
</table>
<br />
If set to no, your Attachment Box will look like this:<br />
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<th class="thHead" colspan="2">Add an Attachment</th>
	</tr>
	<tr>
		<td class="row1" colspan="2"><span class="gensmall">If you do not want to add an Attachment to your Post, please leave the Fields blank<br /><u>Allowed Extensions and Sizes</u></span></td>
	</tr>

	<tr>
		<td class="row1"><span class="gen"><b>Filename</b></span></td>
	    <td class="row2"><span class="genmed"><input type="file" name="fileupload" size="40" maxlength="0" value="" class="post" /></span></td>
	</tr>
	<tr>
		<td class="row1"><span class="gen"><b>File Comment</b></span></td>
	    <td class="row2"><span class="genmed"><textarea name="filecomment" rows="3" cols="35" class="post"></textarea></span>
		<input type="submit" name="add_attachment" value="Add Attachment" class="liteoption" /> </td>
	</tr>
	<tr>
		<th class="thHead" colspan="2">Posted Attachments</th>
	</tr>
		<tr>
			<td class="row1"><span class="gen"><b>Filename</b></span></td>
			<td class="row2"><span class="gen"><u>acydamp.zip</u></span>
			</td>
		</tr>
    	<tr>
			<td class="row1"><span class="gen"><b>File Comment</b></span></td>
			<td class="row2"><span class="genmed"><textarea name="comment_list[]" rows="3" cols="35" class="post">A very long description</textarea></span>
		    </td>
		</tr>
    	<tr>
			<td class="row1"><span class="gen"><b>Options</b></span></td>
			<td class="row2"><span class="genmed">
			<input type="submit" name="edit_comment[acydamp.zip]" value="Update Comment" class="liteoption" />
			&nbsp; <input type="submit" name="update_attachment[22]" value="Upload New Version" class="liteoption" />
			&nbsp; <input type="submit" name="del_attachment[acydamp.zip]" value="Delete Attachment" class="liteoption" />
		    </span></td>
		</tr>
</table>
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
	  <td class="row1" colspan="2" align="center"><span class="gen">You are not able to use the FTP Upload Methods, because FTP Extensions are not compiled into your PHP Installation.</span></td>
	</tr>
</table>
<br />
If you see this Note, you are unable to use the FTP Upload Methods.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Enable FTP Upload<br /><span class="gensmall">Enable/Disable the FTP Upload option. If you set it to yes, you have to define the Attachment FTP Settings and the Upload Directory is no longer used.</span></td>
		<td class="row2"><input type="radio" name="allow_ftp_upload" value="1"  /> Yes&nbsp;&nbsp;<input type="radio" name="allow_ftp_upload" value="0" checked="checked" /> No</td>
	</tr>
</table>
<br />
This Option is for enabling FTP and FTP Remote Upload.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">FTP Upload Server<br /><span class="gensmall">Here you can enter the IP-Address or FTP-Hostname of the Server used for your uploaded files. If you leave this field empty, the Server on which your phpBB2 Board is installed will be used. Please note that it is not allowed to add ftp:// or something else to the address, just plain ftp.foo.com or, which is a lot faster, the plain IP Address.</span></td>
		<td class="row2"><input type="text" size="20" maxlength="100" name="ftp_server" value="212.6.100.70" /></td>
	</tr>
</table>
<br />
This is for defining your FTP Upload Server. If you want to define a remote Server for uploading your Files through 
FTP, enter the IP Address of this Server. If you want to use the same Server your phpBB2 Board is installed, leave this field empty.<br />
The default Port 21 is used for FTP Uploads.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">FTP Path to your upload directory<br /><span class="gensmall">The Directory where your Attachments will be stored. This Directory doesn't have to be chmodded. Please don't enter your IP or FTP-Address here, this input field is only for the FTP Path.<br />For example: /home/web/uploads</span></td>
		<td class="row2"><input type="text" size="20" maxlength="100" name="ftp_path" value="public_html/phpBB2/uploads" /></td>
	</tr>
</table>
<br />
This Setting is for defining the FTP Upload Path, this seems to be the trickiest setting for users, since this path 
does not depend on your phpBB2 Path.<br />
This Setting depends on your FTP Entry Point when connecting to your FTP Server. If you set a relative Path here, please keep this 
in mind.<br />
<br />
Now some examples for better understanding:<br />
<br />
If you connect to your FTP Server, the lowest path where you are is: <span class="sampleurl">public_html</span><br />
Your phpBB2 Board is at: <span class="sampleurl">public_html/phpBB2</span><br />
Your Upload Directory is at: <span class="sampleurl">public_html/uploads</span><br />
Your complete home path at this Server is: <span class="sampleurl">/home/web/users/v92387</span> (most users do not know this path, they have to look up their Provider Information to find this one out)<br />
<br />
A relative Path to your Upload Directory would be: <span class="sampleurl">public_html/uploads</span><br />
An absolute Path to your Upload Directory would be: <span class="sampleurl">/home/web/users/v92387/public_html/uploads</span><br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Download Link to FTP Path<br /><span class="gensmall">Enter the URL to your FTP Path, where your Attachments are stored.<br />If you are using a Remote FTP Server, please enter the complete url, for example http://www.mystorage.com/phpBB2/upload.<br />If you are using your Local Host to store your Files, you are able to enter the url path relative to your phpBB2 Directory, for example 'upload'.<br />A trailing slash will be removed. Leave this field empty, if the FTP Path is not accessible from the Internet. With this field empty you are unable to use the physical download method.</span></td>
		<td class="row2"><input type="text" size="20" maxlength="100" name="download_path" value="uploads" /></td>
	</tr>
</table>
<br />
This Setting is relevant for downloading Attachments.<br />
If you are not using a Remote FTP Server, you are able to enter the path relative to your phpBB2 Directory:<br />
<br />
phpBB2 URL: <span class="sampleurl">http://www.mysite.com/phpBB2</span><br />
Upload URL: <span class="sampleurl">http://www.mysite.com/phpBB2/uploads</span><br />
Download Link to FTP Path: <span class="sampleurl">uploads</span><br />
<br />
If you are using a Remote FTP Server, you have to enter a complete URL to your Upload Directory:<br />
<br />
phpBB2 URL: <span class="sampleurl">http://www.mysite.com/phpBB2</span><br />
Upload URL: <span class="sampleurl">http://www.storageplace.com/uploads</span><br />
Download Link to FTP Path: <span class="sampleurl">http://www.storageplace.com/uploads</span><br />
<br />
If you are unable to access your FTP Upload Directory directly from the web, you are able to leave this field blank. <br />
But then you are unable to use the physical download method, but this one is used rarely. More about the download methods will be 
explained later.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Enable FTP Passive Mode<br /><span class="gensmall">The PASV command requests that the remote server open a port for the data connection and return the address of that port. The remote server listens on that port and the client connects to it.</span></td>
		<td class="row2"><input type="radio" name="ftp_pasv_mode" value="1" checked="checked" /> Yes&nbsp;&nbsp;<input type="radio" name="ftp_pasv_mode" value="0"  /> No</td>
	</tr>
</table>
<br />
This is for using the FTP Passive Mode to Upload and Download Attachments, some FTP Server are configured the way 
to only allow Passive Mode connections.<br />
If FTP Uploading does not work for you, try to enable/disable this Mode.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Your FTP Username</td>
		<td class="row2"><input type="text" size="20" maxlength="100" name="ftp_user" value="" /></td>
	</tr>
</table>
<br />
Here you have to enter the Username with which you are connecting to your FTP Server.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Your FTP Password</td>
		<td class="row2"><input type="password" size="10" maxlength="20" name="ftp_pass" value="" /></td>
	</tr>
</table>
<br />
Here you have to enter the Password with which you are connecting to your FTP Server.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="catBottom" colspan="2" align="center"><input type="submit" name="submit" value="Submit" class="mainoption" />&nbsp;&nbsp;<input type="reset" value="Reset" class="liteoption" />&nbsp;&nbsp;<input type="submit" name="settings" value="Test Settings" class="liteoption" /></td>
	</tr>
</table>
<br />
With the Submit button you are submitting your changes.<br />
With the Reset button you are re-setting your changes.<br />
With the Test Settings Button you are able to test your entered settings. For example, if you have chosen FTP Upload, the Attachment Mod is 
testing if all settings are correct and if the Mod is able to connect to the server and to upload a file.<br />
With Test Settings you receive more accurate Errors on what you have missed or what is not working as in the posting Screen.
<br /><br /><br />

<a name="quotalimits"></a><h3>5.3 Quota Limits</h3>

Within this Panel you are able to define the Constants for your Quota Limits, you are able to add new Quota Limits, change 
existing ones and delete them.<br />
The following is the default Quota Limit View<br />
<br />
	<table width="99%" align="center" cellpadding="4" cellspacing="1" border="0" class="forumline">
	<tr>
	  <td class="catHead" colspan="5" align="center" height="28"><span class="cattitle">Manage Attachment Quota Limits</span>
	  </td>
	</tr>
	<tr>
		<th class="thCornerL">Description</th>
		<th class="thTop">Filesize</th>
		<th class="thCornerR">Add</th>
	</tr>
	<tr>
		<td class="row1" align="center" valign="middle"><input type="text" size="20" maxlength="25" name="quota_description" value=""/></td>
		<td class="row2" align="center" valign="middle"><input type="text" size="8" maxlength="15" name="add_max_filesize" value="2" /> <select name="add_size_select"><option value="b">Bytes</option><option value="kb">KB</option><option value="mb" selected="selected">MB</option></select></td>
		<td class="row1" align="center" valign="middle"><input type="checkbox" name="add_quota_check" /></td>
	</tr>
	<tr align="right">
	  <td class="catBottom" colspan="5" height="29">  <input type="submit" name="submit" class="liteoption" value="Submit" /></td>
	</tr>
	<tr>
		<th class="thCornerL">Description</th>
		<th class="thTop">Filesize</th>
		<th class="thCornerR">Delete</th>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle">
      <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
	  <tr>
		<td class="row1" align="center" valign="middle" width="10%" nowrap="nowrap"><b><span class="gensmall"><u>View</u></span></b></td>
		<td class="row1" align="left" valign="middle"><input type="text" size="20" maxlength="25" name="quota_desc_list[]" value="High" /></td>
	  </tr>
	  </table>
	  </td>
	  <td class="row2" align="center" valign="middle"><input type="text" size="8" maxlength="15" name="max_filesize_list[]" value="5" /> <select name="size_select_list[]"><option value="b">Bytes</option><option value="kb">KB</option><option value="mb" selected="selected">MB</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="checkbox" name="quota_id_list[]" value="3" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle">
      <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
	  <tr>
		<td class="row1" align="center" valign="middle" width="10%" nowrap="nowrap"><b><span class="gensmall"><u>View</u></span></b></td>
		<td class="row1" align="left" valign="middle"><input type="text" size="20" maxlength="25" name="quota_desc_list[]" value="Medium" /></td>
	  </tr>
	  </table>
	  </td>
	  <td class="row2" align="center" valign="middle"><input type="text" size="8" maxlength="15" name="max_filesize_list[]" value="2" /> <select name="size_select_list[]"><option value="b">Bytes</option><option value="kb">KB</option><option value="mb" selected="selected">MB</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="checkbox" name="quota_id_list[]" value="2" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle">
      <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
	  <tr>
		<td class="row1" align="center" valign="middle" width="10%" nowrap="nowrap"><b><span class="gensmall"><u>View</u></span></b></td>
		<td class="row1" align="left" valign="middle"><input type="text" size="20" maxlength="25" name="quota_desc_list[]" value="Low" /></td>
	  </tr>
	  </table>
	  </td>
	  <td class="row2" align="center" valign="middle"><input type="text" size="8" maxlength="15" name="max_filesize_list[]" value="256" /> <select name="size_select_list[]"><option value="b">Bytes</option><option value="kb" selected="selected">KB</option><option value="mb">MB</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="checkbox" name="quota_id_list[]" value="1" /></td>
	</tr>
	<tr align="right">
	  <td class="catBottom" colspan="5" height="29"> <input type="submit" name="submit" class="liteoption" value="Submit" /></td>
	</tr>
</table>
<br />
At the Top you are able to add a new Quota Limit.<br />
You can assign the listed Quota Limits to Users and Groups later. To assign a Quota Limit to a User, you have to go to Users-&gt;Management, 
select the User and you will see the Options at the bottom. To assign a Quota Limit to a Group, go to Groups-&gt;Management, select the 
Group to edit it, and you will see the Configuration Settings. If you want to see, which Users and Groups are assigned to a specific 
Quota Limit, click on 'View' at the left of the Quota Description. 
<br />
Now let's have a look at the 'View' of the 'Medium' Limit<br />
<br />
<center><h1>Medium</h1></center>

<table width="99%" cellspacing="0" cellpadding="0" border="0" align="center">
	<tr>
		<td align="left" width="49%">
			<table width="100%" class="forumline" cellspacing="1" cellpadding="4" border="0" align="left">
				<tr>
					<th>Assigned Users - Upload Quota</th>
				</tr>
				<tr>
					<td class="row1" align="center">
						<select style="width:99%" name="entries[]" multiple="multiple" size="5">
					<option value="5">Smarty</option>
						</select>
					</td>
				</tr>
			</table>
		</td>
		<td width="2%">
			&nbsp;&nbsp;&nbsp;
		</td>
		<td align="right" width="49%">
			<table width="100%" class="forumline" cellspacing="1" cellpadding="4" border="0" align="right">
				<tr>
					<th>Assigned Groups - Upload Quota</th>
				</tr>
				<tr>
					<td class="row1" align="center">
					<select style="width:99%" name="entries[]" multiple="multiple" size="5">
					<option value="5">Group 2</option>
					</select>
					</td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td colspan="3">
			&nbsp;&nbsp;&nbsp;
		</td>
	</tr>
	<tr>
		<td align="left" width="49%">
			<table width="100%" class="forumline" cellspacing="1" cellpadding="4" border="0" align="left">
				<tr>
					<th>Assigned Users - PM Quota</th>
				</tr>
				<tr>
					<td class="row1" align="center">
						<select style="width:99%" name="entries[]" multiple="multiple" size="5">
					<option value="5">Testuser</option>
						</select>
					</td>
				</tr>
			</table>
		</td>
		<td width="2%">
			&nbsp;&nbsp;&nbsp;
		</td>
		<td align="right" width="49%">
			<table width="100%" class="forumline" cellspacing="1" cellpadding="4" border="0" align="right">
				<tr>
					<th>Assigned Groups - PM Quota</th>
				</tr>
				<tr>
					<td class="row1" align="center">
					<select style="width:99%" name="entries[]" multiple="multiple" size="5">
						<option value="">&nbsp;</option>
					</select>
					</td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<br />
This View is only for informing you about the Groups and Users assigned to the Quota Limit.<br />
To change this for Users and Groups, you have to go the the Groups Management Screen or the Users Management Screen.<br />
<br />
More about Quota Limits and how they work is explained in four additional Sections:<br />
<a href="#quotasystem">The Quota System</a><br />
<a href="#defaultquotas">How to set up Default quotas</a><br />
<a href="#usergroupquotas">How to set up User and Group quotas</a><br />
<a href="#quotalimitaffect">How Quota Limit Changes will affect User and Group Quotas</a>
<br /><br /><br />

<a name="shadowattachments"></a><h3>5.4 Shadow Attachments</h3>

Within the Shadow Attachments Screen you can delete Attachments from Posts or Private Messages.<br />
You are also able to delete Files no longer assigned to any Post or Private Message.<br />
<br />
It is recommended to handle this Screen very carefully, view the Attachments before you delete them (if a link to the Attachment is provided). 
After you have deleted Attachments, Synchronize them (see next Section).
<br /><br /><br />

<a name="syncattachments"></a><h3>5.5 Synchronize Attachments</h3>

With this Link you are able to Synchronize your Attachments. The Attachment Mod goes to all topics and posts verifying 
if the Attachment Data is correct, since every topic and every Post with Attachments is marked, this mark has to be deleted if no Attachment 
exists. Normally this is dnne automatically, therefore it is advised to run this Sync only if you have problems viewing Attachments.<br />
<br />
Next, Synchronization will detect if the Thumbnail Data on Attachments is correct, if no Thumbnail exists on Attachment (marked as having 
a Thumbnail) this Attachment will be reset and the Thumbnail Data deleted.<br />
<br />
Here is a typical Output of this Synchronize (I have manually deleted Thumbnails to show you the Reset Information):<br />
<br />
Sync Topics<br />
.......................<br /><br />
Sync Thumbnails<br />
.......<br /><br /><br />
Attachment Syncronization Finished.<br /><br />
Thumbnail resetted for Attachment: acyd.jpg<br />
Thumbnail resetted for Attachment: takeittux.JPG<br />
Thumbnail resetted for Attachment: linux_chick1.jpg<br />
Thumbnail resetted for Attachment: linux13_177.jpg<br />
Thumbnail resetted for Attachment: linux_chick1_145.jpg<br />
Thumbnail resetted for Attachment: linux13_131.jpg
<br /><br /><br />

<a name="extensionsadmin"></a><h2>6. The Extensions Administration Panels</h2>

<a name="extensioncontrol"></a><h3>6.1 Extension Control</h3>

Within this Panel, you are able to add and delete Extensions. Every Extension is assigned to an Extension Group, whether 
this Group is enabled or not. There is a special Extension Group for pending Extensions, it is called 'Not Assigned'. If a Extension 
Group gets deleted, the Extensions assigned to this Group are automatically unassigned, meaning they are pending status. 
These Extensions are of course not allowed to be attached to your Board.<br />
You are able to enter an Explanation for your Extensions, the Explanation is only viewable to you within this Panel and is intended for you 
to better identify it.<br />
<br />
The following is an example of this Panel, click a few DropDown-Boxes to see which Extension Groups I have set up on my test board.<br />
<br />
  <table width="100%" align="center" cellpadding="4" cellspacing="1" border="0" class="forumline">
	<tr>
	  <td class="catHead" colspan="5" align="center" height="28"><span class="cattitle">Manage Extensions</span>
	  </td>
	</tr>
	<tr>
	  <th class="thLeft">&nbsp;Explanation&nbsp;</th>
	  <th>&nbsp;Extension&nbsp;</th>
	  <th>&nbsp;Extension Group&nbsp;</th>
	  <th class="thRight">&nbsp;Add&nbsp;</th>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="add_extension_explain" value="" /></td>
	  <td class="row2" align="center" valign="middle"><input type="text" size="20" maxlength="100" name="add_extension" value="" /></td>
	  <td class="row1" align="center" valign="middle"><select name="add_group_select"><option value="2" selected="selected">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="add_extension_check" /></td>
	</tr>
	<tr align="right">
	  <td class="catBottom" colspan="5" height="29">  <input type="submit" name="submit" class="liteoption" value="Submit" /></td>
    </tr>
	<tr>
	  <th class="thLeft">&nbsp;Explanation&nbsp;</th>
	  <th>&nbsp;Extension&nbsp;</th>
	  <th>&nbsp;Extension Group&nbsp;</th>
	  <th class="thRight">&nbsp;Delete&nbsp;</th>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">gif</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1" selected="selected">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="1" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">png</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1" selected="selected">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="2" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">jpeg</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1" selected="selected">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="3" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">jpg</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1" selected="selected">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="4" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">gtar</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2" selected="selected">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="7" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">gz</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2" selected="selected">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="8" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">tar</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2" selected="selected">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="9" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">zip</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2" selected="selected">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="10" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">rar</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2" selected="selected">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="11" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">ace</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2" selected="selected">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="12" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">txt</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3" selected="selected">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="13" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">c</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3" selected="selected">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="14" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">h</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3" selected="selected">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="15" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">cpp</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3" selected="selected">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="16" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">hpp</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3" selected="selected">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="17" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">diz</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3" selected="selected">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="18" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">xls</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4" selected="selected">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="19" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">doc</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4" selected="selected">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="20" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">dot</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4" selected="selected">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="21" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">pdf</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4" selected="selected">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="22" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">ai</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4" selected="selected">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="23" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">ps</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4" selected="selected">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="24" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">ppt</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4" selected="selected">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="25" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">rm</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5" selected="selected">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="26" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">wma</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6" selected="selected">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="27" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="At the moment at wma streaming" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">mp3</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6" selected="selected">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="29" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="avi file" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">avi</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6" selected="selected">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="30" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">wmv</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6" selected="selected">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="31" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">swf</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4">Documents</option><option value="7" selected="selected">Flash Files</option><option value="1">My Images</option><option value="8">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="28" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">tif</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8" selected="selected">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="5" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle"><input type="text" size="30" maxlength="100" name="extension_explain_list[]"  value="" /></td>
	  <td class="row2" align="center" valign="middle"><b><span class="gen">tga</span></b></td>
	  <td class="row1" align="center" valign="middle"><select name="group_select[]"><option value="2">Archives</option><option value="4">Documents</option><option value="7">Flash Files</option><option value="1">My Images</option><option value="8" selected="selected">Images(Link)</option><option value="3">Plain Text</option><option value="5">Real Media</option><option value="6">Streams</option><option value="0">Not Assigned</option></select></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="extension_id_list[]" value="6" /></td>
	</tr>
	<tr align="right">
	  <td class="catBottom" colspan="5" height="29">
	  <input type="submit" name="Cancel" class="liteoption" value="Cancel" />
	  <input type="submit" name="submit" class="liteoption" value="Submit" /></td>
	</tr>
</table>
<br />
If you want to add an Extension, you have to click the little checkbox before you click the Add Extension Button, this 
is to prevent Users accidentally submitting changes they do not want. <br />
To delete Extensions, just click the Checkbox beside an existing Extension.<br />
To change the Extension Group of an Extension, just select it with the DropDown Box.<br />
After you have made all changes you can click Submit to enter them into the Database.<br />
<br /><br />

<a name="extgroupcontrol"></a><h3>6.2 Extension Groups Control</h3>

Ok, this Panel is for defining almost everything handling with Extensions. Since every Extension has to be in one Extension 
Group, the Extension Groups are the main Configuration Point you can set up.<br />
Let us have a look at a Standard Panel for Extension Groups<br />
<br />
  <table width="100%" align="center" cellpadding="4" cellspacing="1" border="0" class="forumline">
	<tr>
	  <td class="catHead" colspan="8" align="center" height="28"><span class="cattitle">Manage Extension Groups</span>
	  </td>
	</tr>
	<tr>
	  <th class="thLeft">&nbsp;Extension Group&nbsp;</th>
	  <th>&nbsp;Special Category&nbsp;</th>
	  <th>&nbsp;Allowed&nbsp;</th>
	  <th>&nbsp;Download Mode&nbsp;</th>
	  <th>&nbsp;Upload Icon&nbsp;</th>
	  <th>&nbsp;Maximum Filesize&nbsp;</th>
	  <th>&nbsp;Allowed Forums&nbsp;</th>
	  <th class="thRight">&nbsp;Add&nbsp;</th>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle">
      <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
	  <tr>
  	  <td class="row1" align="center" valign="middle" width="10%" nowrap="nowrap">&nbsp;</td>
	  <td class="row1" align="left" valign="middle"><input type="text" size="20" maxlength="100" name="add_extension_group" value="" /></td>
	  </tr>
	  </table>
	  </td>
	  <td class="row2" align="center" valign="middle"><select name="add_category" style="width:100px"><option value="0" selected="selected">none</option><option value="1">Images</option><option value="2">Stream Files</option><option value="3">Flash Files</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="checkbox" name="add_allowed" /></td>
	  <td class="row2" align="center" valign="middle"><select name="add_download_mode"><option value="1" selected="selected">inline</option><option value="2">physical</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="text" size="15" maxlength="100" name="add_upload_icon" value="" /></td>
	  <td class="row2" align="center" valign="middle"><input type="text" size="3" maxlength="15" name="add_max_filesize" value="2" /> <select name="add_size_select"><option value="b">Bytes</option><option value="kb">KB</option><option value="mb" selected="selected">MB</option></select></td>
	  <td class="row1" align="center" valign="middle">&nbsp;</td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="add_extension_group_check" /></td>
	</tr>
	<tr align="right">
	  <td class="catBottom" colspan="8" height="29"><input type="submit" name="submit" class="liteoption" value="Submit" /></td>
    </tr>
	<tr>
	  <th class="thLeft">&nbsp;Extension Group&nbsp;</th>
	  <th>&nbsp;Special Category&nbsp;</th>
	  <th>&nbsp;Allowed&nbsp;</th>
	  <th>&nbsp;Download Mode&nbsp;</th>
	  <th>&nbsp;Upload Icon&nbsp;</th>
	  <th>&nbsp;Maximum Filesize&nbsp;</th>
	  <th>&nbsp;Allowed Forums&nbsp;</th>
	  <th class="thRight">&nbsp;Delete&nbsp;</th>
	</tr>
    <tr>
	  <td class="row1" align="center" valign="middle">
      <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
	  <tr>
		<td class="row1" align="center" valign="middle" width="10%" nowrap="nowrap"><b><span class="gensmall"><u>+</u></span></b></td>
		<td class="row1" align="left" valign="middle"><input type="text" size="20" maxlength="100" name="extension_group_list[]" value="My Images" /></td>
	  </tr>
	  </table>
	  </td>
	  <td class="row2" align="center" valign="middle"><select name="category_list[]" style="width:100px"><option value="0">none</option><option value="1" selected="selected">Images</option><option value="2">Stream Files</option><option value="3">Flash Files</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="checkbox" name="allowed_list[]" value="1" checked="checked" /></td>
	  <td class="row2" align="center" valign="middle"><select name="download_mode_list[]"><option value="1" selected="selected">inline</option><option value="2">physical</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="text" size="15" maxlength="100" name="upload_icon_list[]" value="images/icon_disk.gif" /></td>
	  <td class="row2" align="center" valign="middle"><input type="text" size="3" maxlength="15" name="max_filesize_list[]" value="2" /> <select name="size_select_list[]"><option value="b">Bytes</option><option value="kb">KB</option><option value="mb" selected="selected">MB</option></select></td>
	  <td class="row1" align="center" valign="middle"><span class="gensmall"><u>Group Permissions</u></span></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="group_id_list[]" value="1" /></td>
	</tr>
    <tr>
	  <td class="row1" align="center" valign="middle">
      <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
	  <tr>
		<td class="row1" align="center" valign="middle" width="10%" nowrap="nowrap"><b><span class="gensmall"><u>+</u></span></b></td>
		<td class="row1" align="left" valign="middle"><input type="text" size="20" maxlength="100" name="extension_group_list[]" value="Archives" /></td>
	  </tr>
	  </table>
	  </td>
	  <td class="row2" align="center" valign="middle"><select name="category_list[]" style="width:100px"><option value="0" selected="selected">none</option><option value="1">Images</option><option value="2">Stream Files</option><option value="3">Flash Files</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="checkbox" name="allowed_list[]" value="2" checked="checked" /></td>
	  <td class="row2" align="center" valign="middle"><select name="download_mode_list[]"><option value="1" selected="selected">inline</option><option value="2">physical</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="text" size="15" maxlength="100" name="upload_icon_list[]" value="" /></td>
	  <td class="row2" align="center" valign="middle"><input type="text" size="3" maxlength="15" name="max_filesize_list[]" value="2" /> <select name="size_select_list[]"><option value="b">Bytes</option><option value="kb">KB</option><option value="mb" selected="selected">MB</option></select></td>
	  <td class="row1" align="center" valign="middle"><span class="gensmall"><u>Group Permissions</u></span></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="group_id_list[]" value="2" /></td>
	</tr>
    <tr>
	  <td class="row1" align="center" valign="middle">
      <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
	  <tr>
		<td class="row1" align="center" valign="middle" width="10%" nowrap="nowrap"><b><span class="gensmall"><u>+</u></span></b></td>
		<td class="row1" align="left" valign="middle"><input type="text" size="20" maxlength="100" name="extension_group_list[]" value="Plain Text" /></td>
	  </tr>
	  </table>
	  </td>
	  <td class="row2" align="center" valign="middle"><select name="category_list[]" style="width:100px"><option value="0" selected="selected">none</option><option value="1">Images</option><option value="2">Stream Files</option><option value="3">Flash Files</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="checkbox" name="allowed_list[]" value="3"  /></td>
	  <td class="row2" align="center" valign="middle"><select name="download_mode_list[]"><option value="1" selected="selected">inline</option><option value="2">physical</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="text" size="15" maxlength="100" name="upload_icon_list[]" value="" /></td>
	  <td class="row2" align="center" valign="middle"><input type="text" size="3" maxlength="15" name="max_filesize_list[]" value="2" /> <select name="size_select_list[]"><option value="b">Bytes</option><option value="kb">KB</option><option value="mb" selected="selected">MB</option></select></td>
	  <td class="row1" align="center" valign="middle"><span class="gensmall"><u>Group Permissions</u></span></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="group_id_list[]" value="3" /></td>
	</tr>
    <tr>
	  <td class="row1" align="center" valign="middle">
      <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
	  <tr>
		<td class="row1" align="center" valign="middle" width="10%" nowrap="nowrap"><b><span class="gensmall"><u>+</u></span></b></td>
		<td class="row1" align="left" valign="middle"><input type="text" size="20" maxlength="100" name="extension_group_list[]" value="Documents" /></td>
	  </tr>
	  </table>
	  </td>
	  <td class="row2" align="center" valign="middle"><select name="category_list[]" style="width:100px"><option value="0" selected="selected">none</option><option value="1">Images</option><option value="2">Stream Files</option><option value="3">Flash Files</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="checkbox" name="allowed_list[]" value="4" checked="checked" /></td>
	  <td class="row2" align="center" valign="middle"><select name="download_mode_list[]"><option value="1" selected="selected">inline</option><option value="2">physical</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="text" size="15" maxlength="100" name="upload_icon_list[]" value="" /></td>
	  <td class="row2" align="center" valign="middle"><input type="text" size="3" maxlength="15" name="max_filesize_list[]" value="2" /> <select name="size_select_list[]"><option value="b">Bytes</option><option value="kb">KB</option><option value="mb" selected="selected">MB</option></select></td>
	  <td class="row1" align="center" valign="middle"><span class="gensmall"><u>Group Permissions</u></span></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="group_id_list[]" value="4" /></td>
	</tr>
    <tr>
	  <td class="row1" align="center" valign="middle">
      <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
	  <tr>
		<td class="row1" align="center" valign="middle" width="10%" nowrap="nowrap"><b><span class="gensmall"><u>+</u></span></b></td>
		<td class="row1" align="left" valign="middle"><input type="text" size="20" maxlength="100" name="extension_group_list[]" value="Real Media" /></td>
	  </tr>
	  </table>
	  </td>
	  <td class="row2" align="center" valign="middle"><select name="category_list[]" style="width:100px"><option value="0" selected="selected">none</option><option value="1">Images</option><option value="2">Stream Files</option><option value="3">Flash Files</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="checkbox" name="allowed_list[]" value="5" checked="checked" /></td>
	  <td class="row2" align="center" valign="middle"><select name="download_mode_list[]"><option value="1">inline</option><option value="2" selected="selected">physical</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="text" size="15" maxlength="100" name="upload_icon_list[]" value="" /></td>
	  <td class="row2" align="center" valign="middle"><input type="text" size="3" maxlength="15" name="max_filesize_list[]" value="2" /> <select name="size_select_list[]"><option value="b">Bytes</option><option value="kb">KB</option><option value="mb" selected="selected">MB</option></select></td>
	  <td class="row1" align="center" valign="middle"><span class="gensmall"><u>Group Permissions</u></span></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="group_id_list[]" value="5" /></td>
	</tr>
    <tr>
	  <td class="row1" align="center" valign="middle">
      <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
	  <tr>
		<td class="row1" align="center" valign="middle" width="10%" nowrap="nowrap"><b><span class="gensmall"><u>+</u></span></b></td>
		<td class="row1" align="left" valign="middle"><input type="text" size="20" maxlength="100" name="extension_group_list[]" value="Streams" /></td>
	  </tr>
	  </table>
	  </td>
	  <td class="row2" align="center" valign="middle"><select name="category_list[]" style="width:100px"><option value="0">none</option><option value="1">Images</option><option value="2" selected="selected">Stream Files</option><option value="3">Flash Files</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="checkbox" name="allowed_list[]" value="6" checked="checked" /></td>
	  <td class="row2" align="center" valign="middle"><select name="download_mode_list[]"><option value="1" selected="selected">inline</option><option value="2">physical</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="text" size="15" maxlength="100" name="upload_icon_list[]" value="" /></td>
	  <td class="row2" align="center" valign="middle"><input type="text" size="3" maxlength="15" name="max_filesize_list[]" value="2" /> <select name="size_select_list[]"><option value="b">Bytes</option><option value="kb">KB</option><option value="mb" selected="selected">MB</option></select></td>
	  <td class="row1" align="center" valign="middle"><span class="gensmall"><u>Group Permissions</u></span></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="group_id_list[]" value="6" /></td>
	</tr>
    <tr>
	  <td class="row1" align="center" valign="middle">
      <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
	  <tr>
		<td class="row1" align="center" valign="middle" width="10%" nowrap="nowrap"><b><span class="gensmall"><u>+</u></span></b></td>
		<td class="row1" align="left" valign="middle"><input type="text" size="20" maxlength="100" name="extension_group_list[]" value="Flash Files" /></td>
	  </tr>
	  </table>
	  </td>
	  <td class="row2" align="center" valign="middle"><select name="category_list[]" style="width:100px"><option value="0">none</option><option value="1">Images</option><option value="2">Stream Files</option><option value="3" selected="selected">Flash Files</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="checkbox" name="allowed_list[]" value="7" checked="checked" /></td>
	  <td class="row2" align="center" valign="middle"><select name="download_mode_list[]"><option value="1" selected="selected">inline</option><option value="2">physical</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="text" size="15" maxlength="100" name="upload_icon_list[]" value="" /></td>
	  <td class="row2" align="center" valign="middle"><input type="text" size="3" maxlength="15" name="max_filesize_list[]" value="2" /> <select name="size_select_list[]"><option value="b">Bytes</option><option value="kb">KB</option><option value="mb" selected="selected">MB</option></select></td>
	  <td class="row1" align="center" valign="middle"><span class="gensmall"><u>Group Permissions</u></span></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="group_id_list[]" value="7" /></td>
	</tr>
    <tr>
	  <td class="row1" align="center" valign="middle">
      <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
	  <tr>
		<td class="row1" align="center" valign="middle" width="10%" nowrap="nowrap"><b><span class="gensmall"><u>+</u></span></b></td>
		<td class="row1" align="left" valign="middle"><input type="text" size="20" maxlength="100" name="extension_group_list[]" value="Images(Link)" /></td>
	  </tr>
	  </table>
	  </td>
	  <td class="row2" align="center" valign="middle"><select name="category_list[]" style="width:100px"><option value="0" selected="selected">none</option><option value="1">Images</option><option value="2">Stream Files</option><option value="3">Flash Files</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="checkbox" name="allowed_list[]" value="8"  /></td>
	  <td class="row2" align="center" valign="middle"><select name="download_mode_list[]"><option value="1" selected="selected">inline</option><option value="2">physical</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="text" size="15" maxlength="100" name="upload_icon_list[]" value="" /></td>
	  <td class="row2" align="center" valign="middle"><input type="text" size="3" maxlength="15" name="max_filesize_list[]" value="2" /> <select name="size_select_list[]"><option value="b">Bytes</option><option value="kb">KB</option><option value="mb" selected="selected">MB</option></select></td>
	  <td class="row1" align="center" valign="middle"><span class="gensmall"><u>Group Permissions</u></span></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="group_id_list[]" value="8" /></td>
	</tr>

	<tr align="right">
	  <td class="catBottom" colspan="8" height="29">
	  <input type="submit" name="Cancel" class="liteoption" value="Cancel" />
	  <input type="submit" name="submit" class="liteoption" value="Submit" /></td>
	</tr>
</table>
<br />
As you can see, there are a bunch of Options/Settings you are able to change. We are going through all of them step by step.<br />
First, I will explain the Options you are able to choose from.<br />
<ul type="square"><li>Special Category</li></ul>
You are able to assign a Special Category to Extension Groups, the same Special Category is allowed to be assigned to more than one Extension Group.<br />
At the moment there are four Special Categories: none, Images, Stream Files and Flash Files.<br />
<br />
You are able to define the Settings taking effect for the Special Category Images within the Special Categories Admin Panel (see <a href="#specialcategories">Section 6.4 (Special Categories)</a> for details).<br />
<br />
Extensions (posted Files with the Extension) within Extension Groups assigned to the Special Category 'Stream Files' are automatically 
played within the Post/PM. The supported Types for streaming files highly depends on the User's Windows Media Player Plugin. These 
Extensions have been reported to be working:<br />
<span class="gen">aif, aifc, aiff, asf, asx, au, avi, ivf, m3u, mid, midi, mlv, mp2, mp3, mp2v, mpa, mpe, mpeg, mpg, mpv2, rmi, snd, wav, wax, wm, wma, wmx, wmv and wxv</span><br />
<br />
Extensions (posted Files with the Extension) within Extension Groups assigned to the Special Category 'Flash Files' are automatically 
played within the Post/PM. Of course this Special Category is intended for Flash Files. ;)<br />
<br />
The Setting 'none' is not a Special Category. If 'none' is selected the Attachment Mod displays a simple Download Link to the File, 
this is the normal way the Attachment Mod handles Files.<br />
<br />
<ul type="square"><li>Allowed or not Allowed</li></ul>
There is a little Checkbox for letting you allow an Extension Group. Only if Extension Groups are allowed, the Users (and you) are able to attach 
Files with the Extension defined within the allowed Extension Group.<br />
<br />
<ul type="square"><li>Download Mode</li></ul>
There are two possible Download Methods you are able to use: physical and logical.<br />
<br />
The physical method:<br />
This will point the attachment link to the original File. If you (or a user) click on an Attachment which Extension Group is set 
to physical download method, the browser will point directly to this file. Of course the download.php file is called to check Permissions 
and other things, but the delivery method consist of a simple Location Header (or Refresh if the Server does not Support this Header).<br />
The downside of this method is that Users sometimes receive cryptic Filenames (with random Numbers at the end) and your Upload Directory 
has to be accessible from the Internet.<br />
Therefore, this method should only be used for Extensions that need the File in complete. I only know of one: Real Media Files. Additionally, 
try this Download Method if you think your downloaded Files got garbled.<br />
<br />
The logical method:<br />
The Logical Download Method is the standard Method to use. It's for pointing the User to the correct Attachment and presenting them 
the correct Name for the Attachment, even if it's saved differently at your webspace. Even if the Upload Directory is not accessible 
from the Internet, the File gets downloaded correctly.<br />
<br />
<ul type="square"><li>Upload Icon</li></ul>
This Setting is the same as within the Management Screen (Setting Name: 'Attachment Posting Icon'). You are able to define those 
Attachment Posting Icons individually for every Extension Group.<br />
If an Upload Icon is empty, the one from the Management Panel will be used.<br />
<br />
<ul type="square"><li>Maximum Filesize</li></ul>
You are able to define the Maximum allowed filesize for Attachments within Extension Groups, this is definable for every Extension Group.<br />
If you change the Maximum allowed filesize within the Management Panel and you haven't changed the Filesizes for Extension Groups, 
the Extension Groups are getting updated to reflect this new Filesize.<br />
<br />
<ul type="square"><li>Add an Extension Group</li></ul>
    <table width="100%" align="center" cellpadding="4" cellspacing="1" border="0" class="forumline">
	<tr>
	  <td class="catHead" colspan="8" align="center" height="28"><span class="cattitle">Manage Extension Groups</span>
	  </td>
	</tr>
	<tr>
	  <th class="thLeft">&nbsp;Extension Group&nbsp;</th>
	  <th>&nbsp;Special Category&nbsp;</th>
	  <th>&nbsp;Allowed&nbsp;</th>
	  <th>&nbsp;Download Mode&nbsp;</th>
	  <th>&nbsp;Upload Icon&nbsp;</th>
	  <th>&nbsp;Maximum Filesize&nbsp;</th>
	  <th>&nbsp;Allowed Forums&nbsp;</th>
	  <th class="thRight">&nbsp;Add&nbsp;</th>
	</tr>
	<tr>
	  <td class="row1" align="center" valign="middle">
      <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
	  <tr>
  	  <td class="row1" align="center" valign="middle" width="10%" nowrap="nowrap">&nbsp;</td>
	  <td class="row1" align="left" valign="middle"><input type="text" size="20" maxlength="100" name="add_extension_group" value="" /></td>
	  </tr>
	  </table>
	  </td>
	  <td class="row2" align="center" valign="middle"><select name="add_category" style="width:100px"><option value="0" selected="selected">none</option><option value="1">Images</option><option value="2">Stream Files</option><option value="3">Flash Files</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="checkbox" name="add_allowed" /></td>
	  <td class="row2" align="center" valign="middle"><select name="add_download_mode"><option value="1" selected="selected">inline</option><option value="2">physical</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="text" size="15" maxlength="100" name="add_upload_icon" value="" /></td>
	  <td class="row2" align="center" valign="middle"><input type="text" size="3" maxlength="15" name="add_max_filesize" value="2" /> <select name="add_size_select"><option value="b">Bytes</option><option value="kb">KB</option><option value="mb" selected="selected">MB</option></select></td>
	  <td class="row1" align="center" valign="middle">&nbsp;</td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="add_extension_group_check" /></td>
	</tr>
	<tr align="right">
	  <td class="catBottom" colspan="8" height="29"><input type="submit" name="submit" class="liteoption" value="Submit" /></td>
    </tr>
</table>
<br />
To add an Extension Group, you have to enter a Name for the Extension Group and click the Add Checkbox. After you 
have clicked on Submit the Extension Group will be added. You are also able to define the additional Settings too, of course.<br />
Newly added Extension Groups are empty by default, you have to assign Extensions to Extension Groups with the <a href="#extensioncontrol">Extension Control Panel</a>.<br />
<br />
<ul type="square"><li>Viewing Extensions</li></ul>
You can have a look at the Extensions assigned to an particular Extension Group by clicking at the plus sign<br />
<br />
  <table width="100%" align="center" cellpadding="4" cellspacing="1" border="0" class="forumline">
	<tr>
	  <th class="thLeft">&nbsp;Extension Group&nbsp;</th>
	  <th>&nbsp;Special Category&nbsp;</th>
	  <th>&nbsp;Allowed&nbsp;</th>
	  <th>&nbsp;Download Mode&nbsp;</th>
	  <th>&nbsp;Upload Icon&nbsp;</th>
	  <th>&nbsp;Maximum Filesize&nbsp;</th>
	  <th>&nbsp;Allowed Forums&nbsp;</th>
	  <th class="thRight">&nbsp;Delete&nbsp;</th>
	</tr>
    <tr>
	  <td class="row1" align="center" valign="middle">
      <table width="100%" align="center" cellpadding="0" cellspacing="0" border="0">
	  <tr>
		<td class="row1" align="center" valign="middle" width="10%" nowrap="nowrap"><b><span class="gensmall"><u>-</u></span></b></td>
		<td class="row1" align="left" valign="middle"><input type="text" size="20" maxlength="100" name="extension_group_list[]" value="My Images" /></td>
	  </tr>
	  </table>
	  </td>
	  <td class="row2" align="center" valign="middle"><select name="category_list[]" style="width:100px"><option value="0">none</option><option value="1" selected="selected">Images</option><option value="2">Stream Files</option><option value="3">Flash Files</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="checkbox" name="allowed_list[]" value="1" checked="checked" /></td>
	  <td class="row2" align="center" valign="middle"><select name="download_mode_list[]"><option value="1" selected="selected">inline</option><option value="2">physical</option></select></td>
	  <td class="row1" align="center" valign="middle"><input type="text" size="15" maxlength="100" name="upload_icon_list[]" value="images/icon_disk.gif" /></td>
	  <td class="row2" align="center" valign="middle"><input type="text" size="3" maxlength="15" name="max_filesize_list[]" value="2" /> <select name="size_select_list[]"><option value="b">Bytes</option><option value="kb">KB</option><option value="mb" selected="selected">MB</option></select></td>
	  <td class="row1" align="center" valign="middle"><span class="gensmall"><u>Group Permissions</u></span></td>
	  <td class="row2" align="center" valign="middle"><input type="checkbox" name="group_id_list[]" value="1" /></td>
	</tr>
  <tr>
	<td class="row2" align="center" valign="middle"><span class="postdetails">gif</span></td>
    <td class="row2" align="center" valign="middle"><span class="postdetails"></span></td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
  </tr>
  <tr>
	<td class="row2" align="center" valign="middle"><span class="postdetails">png</span></td>
    <td class="row2" align="center" valign="middle"><span class="postdetails"></span></td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
  </tr>
  <tr>
	<td class="row2" align="center" valign="middle"><span class="postdetails">jpeg</span></td>
    <td class="row2" align="center" valign="middle"><span class="postdetails"></span></td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
  </tr>
  <tr>
	<td class="row2" align="center" valign="middle"><span class="postdetails">jpg</span></td>
    <td class="row2" align="center" valign="middle"><span class="postdetails"></span></td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
	<td class="row2" align="center" valign="middle">&nbsp;</td>
  </tr>
</table>
<br /><br /><br />

<a name="extgroupperms"></a><h3>6.2.1 Extension Groups Forum Permissions</h3>

If you click the Group Permissions Link, you are able to choose the Forums where the User is able to Post Attachments 
with Extensions defined within the Extension Group.<br />
For example, if I click on the Permissions Link for the Extension Group 'My Images'<br />
<br />
<table width="100%" cellspacing="0" cellpadding="0" border="0">
	<tr>
		<td align="center">
			<table width="90%" class="forumline" cellspacing="1" cellpadding="4" border="0" align="center">
				<tr>
					<th>Allowed Forums</th>
				</tr>
				<tr>
					<td class="row1" align="center">
						<select style="width:560px" name="entries[]" multiple="multiple" size="5">
						<option value="0">ALL FORUMS</option>
						</select>
					</td>
				</tr>
				<tr>
					<td class="cat" align="center"> <input class="liteoption" type="submit" name="del_forum" value="Remove Selected" /> &nbsp; <input class="liteoption" type="submit" name="close_perm" value="Close Window" /></td>
				</tr>
			</table>
		</td>
	</tr>
	<tr>
	<td>&nbsp;
	
	</td>
	</tr>
	<tr>
		<td>
			<table width="90%" class="forumline" cellspacing="1" cellpadding="4" border="0" align="center">
				<tr>
					<th>Add Forums</th>
				</tr>
				<tr>
					<td class="row1" align="center">
					<select style="width:560px" name="entries[]" multiple="multiple" size="5">
					<option value="0">ALL FORUMS</option>
					<option value="3">Diskussionen</option>
					<option value="5">Test2</option>
					<option value="4">Test1</option>
					</select>
					</td>
				</tr>
				<tr>
					<td class="cat" align="center"> <input type="submit" name="add_forum" value="Add Selected" class="mainoption" />&nbsp; <input type="reset" value="Reset" class="liteoption" />&nbsp; </td>
				</tr>
			</table>
		</td>
	</tr>
</table>
<br />
The following is the Introduction Text for Group Permissions:<br />
Here you are able to restrict the selected Extension Group to Forums of your choice (defined in the Allowed Forums Box). The Default 
is to allow Extension Groups to all Forums the User is able to Attach Files into (the normal way the Attachment Mod has since the beginning). 
Just add those Forums you want the Extension Group (the Extensions within this Group) to be allowed there, the default ALL FORUMS will 
disappear when you add Forums to the List. You are able to re-add ALL FORUMS at any given Time. If you add a Forum to your Board and 
the Permission is set to ALL FORUMS nothing will change. But if you have changed and restricted the access to certain Forums, you 
have to check back here to add your newly created Forum. It is easy to do this automatically, but this will force you to edit a bunch 
of Files, therefore I have chosen to keep it the way it is now. Keep in mind that all of your Forums will be listed here.
<br /><br /><br />

<a name="forbiddenextensions"></a><h3>6.3 Forbidden Extensions</h3>

Within this Panel you are able to define Extensions forbidden to be attached.<br />
There are three default Extensions you are not able to delete, because they will open a huge security leak into your Board.<br />
Also, the Extensions defined here are unable to be added to the allowed Extensions, and Administrators are not able to attach them too. 
Within this Panel only the high security risk Extensions should be added, because the Mod is configured to only allow enabled Extensions to 
be attached there is no need to define all Extensions you want to not be attached here.
<br /><br /><br />

<a name="specialcategories"></a><h3>6.4 Special Categories</h3>

Within this Panel you are able to define Parameters and Settings for Extension Groups within Special Categories. 
At the moment only the Special Category Images are configurable here.<br />
The Header is showing you to which Extension Group/Groups this changes will have effects on<br />
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
	  <th class="thHead" colspan="2">Settings for Special Category: Images<br />Assigned Group: My Images</th>
	</tr>
</table>
<br />
The Special Category is called 'Images' and the assigned Extension Group is 'My Images'.<br />
Now to the settings you are able to make to the Special Category Images:<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Display Images Inlined<br /><span class="gensmall">Choose whether to display images directly within the post (yes) or to display images as a link ?</span></td>
		<td class="row2"><input type="radio" name="img_display_inlined" value="1" checked="checked" /> Yes&nbsp;&nbsp;<input type="radio" name="img_display_inlined" value="0"  /> No</td>
	</tr>
</table>
<br />
If this is set to yes, the posted Extensions within the Extension Group 'My Images' will be displayed as an image:<br />
<br />
	<table width="95%" cellpadding="0" cellspacing="0" align="center">
	<tr>
	<td class="row1">
	<table width="100%" border="1" cellpadding="2" cellspacing="0" class="attachtable" align="center">
	<tr>
		<td width="100%" colspan="3" class="spaceRow" align="center"><b><span class="gen">acyd_ava.gif</span></b></td>
	</tr>
	<tr>
		<td width="15%" class="attachrow"><span class="genmed">&nbsp;Description:</span></td>
		<td width="75%" class="attachrow">
			<table width="100%" border="0" cellpadding="0" cellspacing="4" align="center">
			<tr>
				<td class="attachrow"><span class="genmed">This is my Avatar Image</span></td>
			</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td width="15%" class="attachrow"><span class="genmed">&nbsp;Filesize:</span></td>
		<td width="75%" class="attachrow"><span class="genmed">&nbsp;3.1 KB</span></td>
	</tr>
	<tr>
		<td width="15%" class="attachrow"><span class="genmed">&nbsp;Viewed:</span></td>
		<td width="75%" class="attachrow"><span class="genmed">&nbsp;10 Time(s)</span></td>
	</tr>
	<tr>
		<td colspan="2" align="center"><br />		<b><span class="gen">-&gt; The Image will be displayed here &lt;-</span></b>
<br /><br /></td>
	</tr>
	</table>
	</td></tr></table>
<br /><br />
The Inline display can be restricted by the Image Link Dimensions (will be explained here too).<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Create Thumbnail<br /><span class="gensmall">Always create a Thumbnail. This feature overrides nearly all Settings within this Special Category, except of the Maximum Image Dimensions. With this Feature a Thumbnail will be displayed within the post, the User can click it to open the real Image.<br />Please Note that this feature requires Imagick to be installed, if it's not installed or if Safe-Mode is enabled the GD-Extension of PHP will be used. If the Image-Type is not supported by PHP, this Feature will be not used.</span></td>
		<td class="row2"><input type="radio" name="img_create_thumbnail" value="1"  /> Yes&nbsp;&nbsp;<input type="radio" name="img_create_thumbnail" value="0" checked="checked" /> No</td>
	</tr>
</table>
<br />
This Setting is for enabling the Creation of Thumbnails. The only Setting affecting this Option is the Image Link Dimensions Setting.<br />
This Setting could be hidden from you if the Attachment Mod detect that you are unable to create Thumbnails.<br />
Please refer to <a href="#howthumbs">Section 7.6</a> on how to get Thumbnails working.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Minimum Thumbnail Filesize<br /><span class="gensmall">If a Image is smaller than this defined Filesize, no Thumbnail will be created, because it's small enough.</span></td>
		<td class="row2"><input type="text" size="7" maxlength="15" name="img_min_thumb_filesize" value="12000" class="post" /> Bytes</td>
	</tr>
</table>
<br />
Somewhat self-explaining, but I want to add a little note here. If your server-config is broken or the filesize() function is not allowed, 
the Attachment Mod will identify all Attachments as having a filesize of 0 Bytes, meaning that a Thumbnail will never be created.<br />
This Setting could be hidden from you if the Attachment Mod detect that you are unable to create Thumbnails.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Imagick Program (Complete Path)<br /><span class="gensmall">Enter the Path to the convert program of imagick, normally /usr/bin/convert (on windows: c:/imagemagick/convert.exe).</span></td>
		<td class="row2"><input type="text" size="20" maxlength="200" name="img_imagick" value="/usr/bin/convert" class="post" /></td>
	</tr>
</table>
<br />
Make sure the path to imagemagick does not contain Spaces. (for example 'program files' &lt;- there is a space within the directory name, this will not work)<br />
You are able to search for this Program with the Search Imagick Button.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Maximum Image Dimensions <br /><span class="gensmall">Here you can define the maximum allowed Image Dimension to be attached (Width x Height in pixels).<br />If it is set to 0x0, this feature is disabled. With some Images this Feature will not work due to limitations in PHP.</span></td>
		<td class="row2"><input type="text" size="3" maxlength="4" name="img_max_width" value="0" class="post" /> x <input type="text" size="3" maxlength="4" name="img_max_height" value="0" class="post" /></td>
	</tr>
</table>
<br />
This Setting is for defining the Maximum allowed Image Dimensions to be posted. This is to prevent you from screwing 
up your Board with too high Resolution Images or because you simply do not want to let Images greater than 1024x768 to be posted (for example).<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="row1" width="80%">Image Link Dimensions <br /><span class="gensmall">If this defined Dimension of an Image is reached, the Image will be displayed as a Link, rather than displaying it inlined,<br />if Inline View is enabled (Width x Height in pixels).<br />If it is set to 0x0, this feature is disabled. With some Images this Feature will not work due to limitations in PHP.</span></td>
		<td class="row2"><input type="text" size="3" maxlength="4" name="img_link_width" value="0" class="post" /> x <input type="text" size="3" maxlength="4" name="img_link_height" value="0" class="post" /></td>
	</tr>
</table>
<br />
This is for defining the border from Inline View to displaying an Link. If the Dimension you set here is exceeded, the Image is displayed as an Link.<br />
This Setting overrides the Inline View (of course) and the Thumbnail Creation. If you want to create Thumbnails of all Images, the best is to set this Dimension to 0x0.<br />
<br />
	<center><hr width="95%" /></center>
<br />
<table width="99%" cellpadding="4" cellspacing="1" border="0" align="center" class="forumline">
	<tr>
		<td class="catBottom" colspan="2" align="center"><input type="submit" name="submit" value="Submit" class="mainoption" />&nbsp;&nbsp;<input type="reset" value="Reset" class="liteoption" />&nbsp;&nbsp;<input type="submit" name="search_imagick" value="Search Imagick" class="liteoption" />&nbsp;&nbsp;<input type="submit" name="cat_settings" value="Test Settings" class="liteoption" /></td>
	</tr>
</table>
<br />
With the Search Imagick Button you are able to Search for the ImageMagick program.<br />
With the Test Settings you are able to test the Thumbnail Settings, it is highly recommended to do this, because this procedure creates 
a directory under your Upload Directory with the name 'thumbs' for placing the Thumbnails into it. <br />
If this Directory does not exist, the Attachment Mod is unable to create Thumbnails.
<br /><br /><br />

<a name="generalsettings"></a><h2>7. General Administrative Settings and Features (HowTo's)</h2>

<a name="permissions"></a><h3>7.1 How to set up Permissions for Attaching and Downloading</h3>

Yes, you are able to set Permissions on downloading and attaching files.<br />
The Permissions are the same as the ones you know for Reading, Voting, Create Polls...<br />
<br />
If you set Permissions for Downloading and Attaching, please be sure to use the Advanced Mode.<br />
<br />
A little Example:<br />
You want to create a Usergroup allowed to attach files, you want downloading to be restricted to Registered Users only.<br />
These Permissions are for your Forum called 'Downloads' (only an example).<br />
<br />
The Usergroup:<br />
Create a new Usergroup, name it for Example: attach users<br />
Open up the Forum Permissions Control Panel, select your Forum (here: Downloads) and go to the Advanced Mode. <br />
Set the Permission to attach Files to PRIVATE (to be able to assign it to the Usergroup) and the Permission to Download Files to REG.<br />
Now go to the Usergroups Permissions Panel and change the Permission for the Group 'attach users' to YES at the 'Downloads'-Forum.<br />
<br />
As you can see, the two Permissions (Attaching and Downloading) acting like the other Permissions you are able to set/configure.
<br /><br /><br />

<a name="quotasystem"></a><h3>7.2 The Quota System</h3>

The Quota System is defined as limiting Users/Groups to a defined maximum Storage Limit.<br />
This Limit is not set on a per file basis, it is a general setting, counting the Filesize of all attached Files by the User/Group.<br />
Quota Limits are definable for Uploaded Files within Posts and for uploaded Files within Private Messages. Attachments included into 
Private Messages in your SENT Box are not counted.<br />
There is one Setting (within the Management Screen) for defining a maximum Attachment Quota, this defined Filesize is the largest 
Storage Limit you are able to set, no Quota Limit is able to exceed this defined Limit, even the Administrator is not allowed to exceed 
this Limit.<br />
The Group Quota is defined as a Quota Limit to each User of the Group, not the Group in whole.<br />
<br />
If there are multiple quotas set for one user, only one quota will be used by AttachMod:<br />
<br />
Group Quotas have the highest Priority, if more than one Group exists for the User, the Group with the largest (in Size) Quota will be 
given the highest Priority.<br />
User Quotas have the lowest priority. <br />
<br />
Example:<br />
User A has a quota of 30 megabytes assigned to him/her. User A is in Group Alpha and Group Beta.<br />
Group Alpha has a quota of 20 megabytes and Group Beta has no quota.<br />
<br />
User A will be given a quota of 20 megabytes; not 30 megabytes because Group Alpha has the largest quota of the two groups and takes priority 
over user quotas.<br />
<br />
Remember, no quota may be larger than the &quot;Attachment Quota&quot; setup in the &quot;Management Screen&quot;. (See <a href="#management">Section 5.2</a>)
<br /><br /><br />

<a name="defaultquotas"></a><h3>7.3 How to set up Default quotas</h3>

Default Quotas will be assigned to newly registered Users and Users with no Quota Setting. <br />
<br />
You are able to define Default Quotas within the Attachments Management Screen. A value of 'No Quota Limit' disables the Assignment of Quotas 
to newly registered Users, they will have no Quota Limit.<br />
If no Quota Limit is assigned, the System Parameters are used, this means every User is able to attach Files until the complete Attachment 
Quota is reached.
<br /><br /><br />

<a name="usergroupquotas"></a><h3>7.4 How to set up User and Group quotas</h3>

User Quotas will be assigned to Users.<br />
<br />
You are able to directly assign a Quota Limit to a User by using the Users Management Administration Panel.<br />
After you have chosen the User you want to edit, have a look at the 'Special admin-only fields'. You should see two new dropdown boxes: <br />
Upload Quota and PM Quota. You are able to define the Quota Limit for any specific User now.<br />
<br />
Group Quotas will be assigned to Groups.<br />
<br />
You are able to assign a Quota Limit to an existing Group. If you want to create a new Group, you will not see the Quota Settings, you 
have to create the Group, then you have to edit the Group in order to set the Quota Limits in the same way as the User Quota Limits.
<br /><br /><br />

<a name="quotalimitaffect"></a><h3>7.5 How Quota Limit Changes will affect User and Group Quotas</h3>

If you want to change the Filesize Limit for your Medium Storage Limit from 1 MB to 2 MB, you probably won't want to 
go through each user and group and set each quote individually. This method was implemented for that very reason.<br />
With the Attachment Mod you are able to define Quota Constants, setting a descriptive word for your Limit.<br />
For example: Medium -&gt; 1 MB <br />
Now you assign this constant (Medium) to two Groups and ten Users.<br />
After a week you notice that the Quota is too low and you want to change it to 2 MB.<br />
Now you only have to change the constant from 1 MB to 2 MB, the change will be directly assigned to your two Groups and ten Users. <br />
If a Quota Constant is deleted, all Users/Groups with this defined Setting are automatically switched back to the Default/No Quota Setting.<br />
You are able to see which Users/Groups are assigned to which Quota Setting too.<br />
Please have a look at <a href="#quotalimits">Section 5.3 (Quota Limits)</a> in order to see how your are able to set/change/delete Quota Settings and how to view 
the current Quota Assignments.
<br /><br /><br />

<a name="howthumbs"></a><h3>7.6 How to get Thumbnails working</h3>

The ability to create Thumbnails are only given to the Special Category 'Images'. <br />
Therefore you have to assign this Category to an Extension Group first. <br />
After you have assigned the Special Category 'Images' to one (or more) Extension Groups within the Administration Panel -&gt; Extension Groups 
Management Screen you have to go to Administration Panel -&gt; Special Categories.<br />
Enable the Option to Create Thumbnails. Additionally, set the Image Link Dimensions to 0x0 if you don't want to present Links to your 
Image if they are greater than the defined size you have entered there.<br />
<br />
The last Step is to Test the Thumbnail Settings. The Test Process will create the necessary Directory too.<br />
You should also search for the ImageMagick program if you are unable to recall the correct path to the program.<br />
Please make sure the path to imagemagick does not contain Spaces. (for example 'program files' &lt;- there is a space within the directory 
name, this will not work)<br />
<br />
If you do not see the Options for Thumbnails the Attachment Mod detected that you are not able to create Thumbnails, therefore it was disabled. 
<br /><br /><br />

<a name="howtouse"></a><h2>8. How to use the Attachment Mod</h2>

<a name="postingattachments"></a><h3>8.1 Posting and Editing Attachments - Posts and Private Messages</h3>

In general you are able to post, edit and delete Attachments within Posts and Private Messages.<br />
I will explain the procedure for Posts, since for Private Messages it is the same.<br />
To open your board and post a message while reading this section will help you to understand what is explained here. To see something while 
reading, the explanation usually becomes more helpful.<br />
<br />
While writing a new post, you will see the Attachment Posting Control Panel, either you will see two buttons to open the Add Attachments 
Box and the Posted Attachments Box or you will see both boxes at the beginning, this depends on how the Administrator (you) has set the 
view within the Attachment Management Screen.<br />
<br />
Within the Add Attachment Box you will see a little link to the Attachment Rules, there you are able to see a little overview of what you are 
able to attach and which filesize restrictions are set. Within the Add Attachment Box you are able to enter a comment for your Attachment 
and you are able to add a file itself by clicking the Browse Button.<br />
After you have chosen a file you want to attach (comment field is allowed to be left blank) you are able to click the Add Attachment 
Button to add the file. If you directly click submit the file will still be added with the Post.<br />
<br />
Within the Posted Attachment Box you are able to edit your file comments or delete Attachments.<br />
After you have changed an existing comment, you have to click the Update Comment button.<br />
You are able to delete Attachments by clicking the Delete Attachment Button on the Attachment Entry you want to delete. The Administrator 
is able to delete Thumbnails from Posts. After deleting a Thumbnail the normal Image is displayed.<br />
You are able to replace a file too (practical for uploading new versions of files). Select the file you want to upload (without clicking the 
Add Attachment button) and click the Upload New Version Button. 
<br /><br /><br />

<a name="viewableareas"></a><h3>8.2 Additional Viewable Areas</h3>

<a name="userprofiles"></a><h3>8.2.1 User Profiles</h3>

The user itself is able to view his Upload Status and Quota Setting within his Profile. The Administrator is able to view it too.<br />
<br />
Here is an example of this Status Field<br />
<br />
<table width="100%" border="0" cellspacing="1" cellpadding="3">
<tr> 
	<td>
		<table width="175" cellspacing="1" cellpadding="2" border="0" class="bodyline">
		<tr>
			<td colspan="3" width="100%" class="row2">
				<table cellspacing="0" cellpadding="1" border="0">
				<tr>
					<td bgcolor="#FFFFFF"><img src="templates/subSilver/images/spacer.gif" width="47" height="8" alt="27" /></td>
				</tr>
				</table>
			</td>
		</tr>
		<tr>
			<td width="33%" class="row1"><span class="gensmall">0%</span></td>
			<td width="34%" align="center" class="row1"><span class="gensmall">50%</span></td>
			<td width="33%" align="right" class="row1"><span class="gensmall">100%</span></td>
		</tr>
		</table>
		
		<b><span class="genmed">[Uploaded: 550.58 KB / Quota: 2 MB / 27% of total]</span> </b><br />
		<span class="genmed"><u>User Attachment Control Panel</u></span>
	</td>
</tr>
</table>

<br />
As you can see, the user is able to see his current uploaded filesize and the complete Filesize he is able to Upload.<br />
The Link to the User Attachment Control Panel will open the User Attachment Control Panel.
<br /><br /><br />

<a name="userattachcp"></a><h3>8.2.2 User Attachment Control Panel</h3>

Within this Panel, the user is able to see all of his uploaded Files and is able to delete them.<br />
<br />

It will look like this:<br />
<center><b>User Attachment Control Panel :: testuser</b></center>

  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
	<tr>
	  <td align="left" nowrap="nowrap">
	  <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center">
	<tr>
		<td class="nav" align="left"><span class="nav">Forum Index</span></td>
	</tr>
</table>
		</td>
	  <td align="right" nowrap="nowrap"><span class="genmed">Select sort method:&nbsp;<select name="mode"><option value="real_filename">Filename</option><option value="comment">Comment</option><option value="extension">Extension</option><option value="filesize" selected="selected">Size</option><option value="downloads">Downloads</option><option value="post_time">Post Time</option></select>&nbsp;&nbsp;Order&nbsp;<select name="order"><option value="ASC">Ascending</option><option value="DESC" selected="selected">Descending</option></select>&nbsp;&nbsp;
		<input type="submit" name="submit" value="Submit" class="liteoption" />
		</span>
	  </td>
	</tr>
  </table>
  <table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
	<tr>
	  <th height="25" class="thCornerL">#</th>
	  <th class="thTop">Filename</th>
	  <th class="thTop">File Comment</th>
	  <th class="thTop">Extension</th>
	  <th class="thTop">Size (KB)</th>
	  <th class="thTop">Downloads</th>
	  <th class="thTop">Post Time</th>
	  <th class="thTop">Posted in Topic</th>
	  <th class="thCornerR">Delete</th>
	</tr>
	<tr>
	  <td class="row1" align="center"><span class="gen">&nbsp;1&nbsp;</span></td>
	  <td class="row1" align="center"><span class="gen"><u>linux13.jpg</u></span></td>
	  <td class="row1" align="center"><span class="gen"></span></td>
	  <td class="row1" align="center"><span class="gen">jpg</span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><b>108.27</b></span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><b>1</b></span></td>
	  <td class="row1" align="center" valign="middle"><span class="gensmall">Sun Nov 17, 2002 8:56 pm</span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><u>fsgjiosd</u></span></td>
	  <td class="row1" align="center"><input type="checkbox" name="delete_id_list[]" value="32" /></td>
	</tr>
	<tr>
	  <td class="row2" align="center"><span class="gen">&nbsp;2&nbsp;</span></td>
	  <td class="row2" align="center"><span class="gen"><u>linux13.jpg</u></span></td>
	  <td class="row2" align="center"><span class="gen"></span></td>
	  <td class="row2" align="center"><span class="gen">jpg</span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><b>108.27</b></span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><b>1</b></span></td>
	  <td class="row2" align="center" valign="middle"><span class="gensmall">Sun Nov 17, 2002 9:01 pm</span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><u>zrezerw</u></span></td>
	  <td class="row2" align="center"><input type="checkbox" name="delete_id_list[]" value="36" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center"><span class="gen">&nbsp;3&nbsp;</span></td>
	  <td class="row1" align="center"><span class="gen"><u>linux13.jpg</u></span></td>
	  <td class="row1" align="center"><span class="gen"></span></td>
	  <td class="row1" align="center"><span class="gen">jpg</span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><b>108.27</b></span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><b>1</b></span></td>
	  <td class="row1" align="center" valign="middle"><span class="gensmall">Sun Nov 17, 2002 9:02 pm</span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen">Private Message</span></td>
	  <td class="row1" align="center"><input type="checkbox" name="delete_id_list[]" value="39" /></td>
	</tr>
	<tr>
	  <td class="row2" align="center"><span class="gen">&nbsp;4&nbsp;</span></td>
	  <td class="row2" align="center"><span class="gen"><u>linux_chick1.jpg</u></span></td>
	  <td class="row2" align="center"><span class="gen"></span></td>
	  <td class="row2" align="center"><span class="gen">jpg</span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><b>53.29</b></span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><b>1</b></span></td>
	  <td class="row2" align="center" valign="middle"><span class="gensmall">Sun Nov 17, 2002 8:59 pm</span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><u>sdgsdag</u></span></td>
	  <td class="row2" align="center"><input type="checkbox" name="delete_id_list[]" value="35" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center"><span class="gen">&nbsp;5&nbsp;</span></td>
	  <td class="row1" align="center"><span class="gen"><u>linux_chick1.jpg</u></span></td>
	  <td class="row1" align="center"><span class="gen"></span></td>
	  <td class="row1" align="center"><span class="gen">jpg</span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><b>53.29</b></span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><b>1</b></span></td>
	  <td class="row1" align="center" valign="middle"><span class="gensmall">Sun Nov 17, 2002 9:01 pm</span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><u>zrezerw</u></span></td>
	  <td class="row1" align="center"><input type="checkbox" name="delete_id_list[]" value="37" /></td>
	</tr>
	<tr>
	  <td class="row2" align="center"><span class="gen">&nbsp;6&nbsp;</span></td>
	  <td class="row2" align="center"><span class="gen"><u>linux10.jpg</u></span></td>
	  <td class="row2" align="center"><span class="gen"></span></td>
	  <td class="row2" align="center"><span class="gen">jpg</span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><b>48.04</b></span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><b>2</b></span></td>
	  <td class="row2" align="center" valign="middle"><span class="gensmall">Sun Nov 17, 2002 8:56 pm</span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><u>fsgjiosd</u></span></td>
	  <td class="row2" align="center"><input type="checkbox" name="delete_id_list[]" value="31" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center"><span class="gen">&nbsp;7&nbsp;</span></td>
	  <td class="row1" align="center"><span class="gen"><u>acyd.jpg</u></span></td>
	  <td class="row1" align="center"><span class="gen"></span></td>
	  <td class="row1" align="center"><span class="gen">jpg</span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><b>43.52</b></span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><b>0</b></span></td>
	  <td class="row1" align="center" valign="middle"><span class="gensmall">Sun Nov 17, 2002 8:59 pm</span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><u>sdgsdag</u></span></td>
	  <td class="row1" align="center"><input type="checkbox" name="delete_id_list[]" value="33" /></td>
	</tr>
	<tr>
	  <td class="row2" align="center"><span class="gen">&nbsp;8&nbsp;</span></td>
	  <td class="row2" align="center"><span class="gen"><u>takeittux.jpg</u></span></td>
	  <td class="row2" align="center"><span class="gen"></span></td>
	  <td class="row2" align="center"><span class="gen">jpg</span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><b>21.46</b></span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><b>0</b></span></td>
	  <td class="row2" align="center" valign="middle"><span class="gensmall">Sun Nov 17, 2002 8:59 pm</span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><u>sdgsdag</u></span></td>
	  <td class="row2" align="center"><input type="checkbox" name="delete_id_list[]" value="34" /></td>
	</tr>
	<tr>
	  <td class="row1" align="center"><span class="gen">&nbsp;9&nbsp;</span></td>
	  <td class="row1" align="center"><span class="gen"><u>acyd_ava.gif</u></span></td>
	  <td class="row1" align="center"><span class="gen"></span></td>
	  <td class="row1" align="center"><span class="gen">gif</span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><b>3.1</b></span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><b>14</b></span></td>
	  <td class="row1" align="center" valign="middle"><span class="gensmall">Sun Nov 17, 2002 8:55 pm</span></td>
	  <td class="row1" align="center" valign="middle"><span class="gen"><u>fsgjiosd</u></span></td>
	  <td class="row1" align="center"><input type="checkbox" name="delete_id_list[]" value="30" /></td>
	</tr>
	<tr>
	  <td class="row2" align="center"><span class="gen">&nbsp;10&nbsp;</span></td>
	  <td class="row2" align="center"><span class="gen"><u>acyd_ava.gif</u></span></td>
	  <td class="row2" align="center"><span class="gen"></span></td>
	  <td class="row2" align="center"><span class="gen">gif</span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><b>3.1</b></span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><b>10</b></span></td>
	  <td class="row2" align="center" valign="middle"><span class="gensmall">Sun Nov 17, 2002 9:01 pm</span></td>
	  <td class="row2" align="center" valign="middle"><span class="gen"><u>zrezerw</u></span></td>
	  <td class="row2" align="center"><input type="checkbox" name="delete_id_list[]" value="38" /></td>
	</tr>
	<tr>
	  <td class="catBottom" colspan="9" height="28" align="right">
		<input type="submit" name="delete" value="Delete Marked" class="liteoption" />
	  </td>
	</tr>
  </table>

  <table width="100%" cellspacing="2" border="0" align="center" cellpadding="2">
	<tr>
	  <td align="right" valign="top" nowrap="nowrap"><b><span class="gensmall"><u>Mark all</u></span> :: <span class="gensmall"><u>Unmark all</u></span></b></td>
	</tr>
  </table>
<br />
As you can see, the user is able to do nearly the same as the Administrator is able to do within the Attachment Control Panel.<br />
<br />
The Administrator is able to view the Control Panel for Anonymous/Guest Users too.<br />
You are able to do so by calling the User Attachment Control Panel directly with the Anonymous User ID<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="quote">
http://www.yourdomain.com/phpBB2/uacp.php?u=-1
</td></tr></table>
<br /><br />

<a name="lookandfeel"></a><h2>9. How to change the 'look &amp; feel'</h2>

<a name="tplbasics"></a><h3>9.1 Some basics about the Template Engine</h3>

<ol type="square">
<li><b>Template Variables</b></li>
</ol>
To explain Template Variables, lets have a look at a very basic .tpl file, with only some Variables included<br />
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code"><br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&nbsp; &lt;title&gt;&#123;TITLE&#125;&lt;/title&gt;<br />
&lt;/head&gt;<br /><br />
&lt;body bgcolor=&quot;&#123;T_BODY_BGCOLOR&#125;&quot; text=&quot;&#123;T_BODY_TEXT&#125;&quot; link=&quot;&#123;T_BODY_LINK&#125;&quot;&gt;<br />

<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&#123;L_MY_HOMEPAGE&#125;<br />

<br />
&lt;/body&gt;<br />
&lt;/html&gt;<br />
</td></tr></table>
<br />
As you can see, there are some really strange things... there is text enclosed between {}, what does this mean ?<br />
The Template system of phpBB2 replaces everything within these braces with pre-defined Values.<br />
If a variable is not defined within the PHP-Files, there is nothing shown for this 'empty' Variable.<br />
<br />
An example<br />
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
{L_MY_HOMEPAGE}
</td></tr></table>
<br />
As you can see, there is a L_ before the name MY_HOMEPAGE, this is just a convention the phpBB Group set (this is only 
a rough guide, not all Developers or Mod Authors follow them), saying that everything beginning with L_ should be replaced by a 
Language specific Word/Sentence. 
<br />
Ok, say, within the English language files there is a line saying &quot;My Homepage&quot; and in the German language file it's saying &quot;Meine Startseite&quot;. 
If you have set English as your board language, {L_MY_HOMEPAGE} get replaced by &quot;My Homepage&quot;<br />
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
My Homepage
</td></tr></table>
<br />
Another example <br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
{TITLE}
</td></tr></table>
<br />
There is no L_ before it, therefore it must be a configurable thing or a value from the database (this can be topic-names, post-texts etc.). {TITLE} is the title of your page (within this Example). Maybe:<br />
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
PhpBB.com
</td></tr></table>
<br />
You may wonder what the T_ stands for? I think these are variables defined in the Styles Administration, any variable defining 
a custom color or css-style or something else handling with HTML-specific things.<br />
Another precedence not listed here is S_, this stands for complete input or select-fields.<br />
And last but not least, the U_ precedence. This is mainly used for Links, for example<br />
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
&lt;a href="{U_DOWNLOAD_LINK}"&gt;{L_DOWNLOAD}&lt;/a&gt;
</td></tr></table>
<br />
To sum this up:<br />
The Text, enclosed between { and } will be replaced with pre-defined Values, these Values are up to the Developer. You sometimes have to look at the 
code if you want to find out what Value it is holding actually, if you are unable to call or guess it directly from the name.<br />
<br />
Our first example after it was parsed by the Template Engine: <br />
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code"><br />
&lt;html&gt;<br />
&lt;head&gt;<br />
&nbsp; &lt;title&gt;phpBB.de&lt;/title&gt;<br />
&lt;/head&gt;<br />

<br />
&lt;body bgcolor=&quot;#FFFFFF&quot; text=&quot;#000000&quot; link=&quot;#003366&quot;&gt;<br />

<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Meine Startseite<br />

<br />
&lt;/body&gt;<br />
&lt;/html&gt;<br />
</td></tr></table>
<br /><br />

<ol type="square">
<li><b>Template Switches</b></li>
</ol>
<br />
In phpBB2 you or the developers do not want to display things if a particular action or situation is not given.<br />
A little example<br />
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
&lt;!-- BEGIN user_logged_in --&gt;<br />
{L_WELCOME_USER}<br />
&lt;!-- END user_logged_in --&gt;<br />
</td></tr></table>
<br />
As you can see, switches have two definable areas, one with a BEGIN, and one with an END. All code between it is only parsed 
and showed to the User if the Switch is &quot;True&quot;. True means, the action or situation is taken, for this example, the user is logged in.<br />
At the most places, the Block Variable (see next section) is preceded with switch_ to identify it as a switch, since switches are empty Block Variables.<br />
Switches have to be in ONE Line, no other code can be around one switch-line (spaces don't count). <br />
<br />
WRONG (the switch does not work)<br />
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code"><br />
&lt;body bgcolor=&quot;#FFFFFF&quot;&gt; &lt;!-- BEGIN user_logged_in --&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &#123;L_WELCOME_USER&#125;&nbsp; &nbsp; &nbsp;&lt;!-- END user_logged_in --&gt;<br />
</td></tr></table>
<br />
CORRECT (the switch will work):<br />
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code"><br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- BEGIN user_logged_in --&gt;<br />
&#123;L_WELCOME_USER&#125;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;!-- END user_logged_in --&gt;<br />
</td></tr></table>
<br />
Ok, I think you've got it, now the parsed one:<br />
<br />
If the user is logged in<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="quote">
Hello, welcome to our new board.
</td></tr></table>
<br />
If the user is not logged in then nothing shown. 
<br /><br />

<ol type="square">
<li><b>Block Variables/Switches</b></li>
</ol>
<br />
Ok, this is the really cool stuff in templates. If you have ever asked why the templates are so small, and the board layout is so big, ever asked why 
there is only one table for all posts, then the answer is: block variables.<br />
<br />
Block Variables are having the same Layout as Switches, but they contain Data (Switches are nothing other than Block Variables without Data). I will 
give an example:<br />
<br />
Say we have two posts<br />
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code"><br />
My first post message is here.<br />
<br />
<hr />
<br />
This message is also here. It is the second one. :D<br /><br />
</td></tr></table>
<br />
Ok, these two lines are our posts at our thread we want to display. Now, how do we display them?<br />
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
&lt;!-- BEGIN postrow --&gt;<br />
{postrow.MESSAGE}<br />
&lt;!-- END postrow --&gt;<br />
</td></tr></table>
<br />
We have a switch and a Variable here, but the Variable looks strange... The switch name is preceded to the Variable Name.<br />
{MESSAGE} is our post message, therefore {postrow.MESSAGE} is every message in postrow.<br />
The row gets evaluated every time the template can find a corresponding variable. You can think of an array or a buffer of variables, postrow is 
like an array.<br />
<br />
Another example, but now we have even nested Block Variables<br />
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code"><br />
Message 1&#58;<br />
&nbsp; &nbsp; Attachment 1<br />
&nbsp; &nbsp; Attachment 2<br />
&nbsp; &nbsp; Attachment 3<br />

<br />
Message 2&#58;<br />
&nbsp; &nbsp; Attachment 1<br />
&nbsp; &nbsp; Attachment 2<br /><br />
</td></tr></table>
<br />
We want to do this:<br />
Display every Message (we don't know how many these are) and within every Message the posted Attachments (we don't know how many there are for every Message).<br />
What we are using now are two blocks, one for every message and a second block (within the first one) for the Attachments<br />
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code"><br />
&lt;table&gt;<br />
&lt;!-- BEGIN postrow --&gt;<br />
&nbsp; &lt;tr&gt;<br />
&nbsp; &nbsp; &lt;td&gt;<br />
&nbsp; &nbsp; &nbsp; &#123;postrow.MESSAGE&#125;<br />

<br />
&nbsp; &lt;!-- BEGIN attachrow --&gt;<br />
&nbsp; &nbsp; &nbsp; &lt;hr&gt;<br />
&nbsp; &nbsp; &nbsp; &#123;postrow.attachrow.ATTACHMENT&#125;<br />
&nbsp; &nbsp; &nbsp; &lt;br /&gt;<br />
&nbsp; &lt;!-- END attachrow --&gt;<br />

<br />
&nbsp; &nbsp; &lt;/td&gt;<br />
&nbsp; &lt;/tr&gt;<br />
&lt;!-- END postrow --&gt;<br />
&lt;/table&gt;<br />
<br />
</td></tr></table>
<br />
Look at the above example, try to follow the steps the Template will do and try to understand a little bit how it would be processed.
<br /><br /><br />

<a name="viewtopicattachbody"></a><h3>9.2 The viewtopic_attach_body.tpl file</h3>

The viewtopic_attach_body.tpl is proposed for the Attachment View in viewtopic and in Private Messages, there 
are Block Variables for any situation (link, inline Images, Flash Files, Streams and Thumbnails).<br />
If this File gets evaluated we are already in a Block Switch (postrow).<br />
<br />
Because we can have more than one Attachment in one post, at the beginning of this file we have another Block Switch, attach.<br />
At the beginning the switch has to be opened with &lt;!-- BEGIN attach --&gt; and at the end of the file it has to be closed with &lt;!-- END attach --&gt;. 
Therefore all Variables have to be preceded with postrow.attach. (to catch the Post Row and the Attachments).<br />
<br />
To explain the different parts, here is the content of the viewtopic_attach_body.tpl file<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code"><br />

<br />
&lt;style type=&quot;text/css&quot;&gt;<br />
&lt;!--<br />
td.attachrow&nbsp; &nbsp;&nbsp; &nbsp;&#123; font&#58; normal 11px Verdana, Arial, Helvetica, sans-serif; color &#58; &#123;T_BODY_TEXT&#125;; border-color &#58; &#123;T_BODY_TEXT&#125;; &#125;<br />
table.attachtable&nbsp; &nbsp;&#123; font&#58; normal 12px Verdana, Arial, Helvetica, sans-serif; color &#58; &#123;T_BODY_TEXT&#125;; border-color &#58; &#123;T_BODY_TEXT&#125;;&nbsp; &nbsp;border-collapse &#58; collapse; &#125;<br />
--&gt;<br />
&lt;/style&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;<br />
&lt;!-- BEGIN attach --&gt;<br />
&nbsp; &nbsp;&lt;br /&gt;&lt;br /&gt;<br />
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />
&nbsp; &nbsp;&lt;!-- BEGIN denyrow --&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&lt;table width=&quot;95%&quot; border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; class=&quot;attachtable&quot; align=&quot;center&quot;&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;100%&quot; class=&quot;spaceRow&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span class=&quot;gen&quot;&gt;&#123;postrow.attach.denyrow.L_DENIED&#125;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;/table&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&lt;!-- END denyrow --&gt;<br />
&nbsp; &nbsp;&lt;!-- BEGIN cat_stream --&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&lt;table width=&quot;95%&quot; border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; class=&quot;attachtable&quot; align=&quot;center&quot;&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;100%&quot; colspan=&quot;3&quot; class=&quot;spaceRow&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span class=&quot;gen&quot;&gt;&#123;postrow.attach.cat_stream.DOWNLOAD_NAME&#125;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;L_DESCRIPTION&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;table width=&quot;100%&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;4&quot; align=&quot;center&quot;&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&#123;postrow.attach.cat_stream.COMMENT&#125;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/table&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;L_FILESIZE&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_stream.FILESIZE&#125; &#123;postrow.attach.cat_stream.SIZE_VAR&#125;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_stream.L_DOWNLOADED_VIEWED&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_stream.L_DOWNLOAD_COUNT&#125;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td colspan=&quot;2&quot; align=&quot;center&quot;&gt;&lt;br /&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;object id=&quot;wmp&quot; classid=&quot;CLSID&#58;22d6f312-b0f6-11d0-94ab-0080c74c7e95&quot; codebase=&quot;http&#58;//activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0&quot; standby=&quot;Loading Microsoft Windows Media Player components...&quot; type=&quot;application/x-oleobject&quot;&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=&quot;FileName&quot; value=&quot;&#123;postrow.attach.cat_stream.U_DOWNLOAD_LINK&#125;&quot;&gt; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;ShowControls&quot; value=&quot;1&quot;&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=&quot;ShowDisplay&quot; value=&quot;0&quot;&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=&quot;ShowStatusBar&quot; value=&quot;1&quot;&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=&quot;AutoSize&quot; value=&quot;1&quot;&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=&quot;AutoStart&quot; value=&quot;0&quot;&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=&quot;Visible&quot; value=&quot;1&quot;&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=&quot;AnimationStart&quot; value=&quot;0&quot;&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=&quot;Loop&quot; value=&quot;0&quot;&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;embed type=&quot;application/x-mplayer2&quot; pluginspage=&quot;http&#58;//www.microsoft.com/windows95/downloads/contents/wurecommended/s_wufeatured/mediaplayer/default.asp&quot; src=&quot;&#123;postrow.attach.cat_stream.U_DOWNLOAD_LINK&#125;&quot; name=MediaPlayer2 showcontrols=1 showdisplay=0 showstatusbar=1 autosize=1 autostart=0 visible=1 animationatstart=0 loop=0&gt;&lt;/embed&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;/object&gt; &lt;br /&gt;&lt;br /&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;/table&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&lt;!-- END cat_stream --&gt;<br />
&nbsp; &nbsp;&lt;!-- BEGIN cat_swf --&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&lt;table width=&quot;95%&quot; border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; class=&quot;attachtable&quot; align=&quot;center&quot;&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;100%&quot; colspan=&quot;3&quot; class=&quot;spaceRow&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span class=&quot;gen&quot;&gt;&#123;postrow.attach.cat_swf.DOWNLOAD_NAME&#125;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;L_DESCRIPTION&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;table width=&quot;100%&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;4&quot; align=&quot;center&quot;&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&#123;postrow.attach.cat_swf.COMMENT&#125;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/table&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;L_FILESIZE&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_swf.FILESIZE&#125; &#123;postrow.attach.cat_swf.SIZE_VAR&#125;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_swf.L_DOWNLOADED_VIEWED&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_swf.L_DOWNLOAD_COUNT&#125;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td colspan=&quot;2&quot; align=&quot;center&quot;&gt;&lt;br /&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;object classid=&quot;clsid&#58;D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;http&#58;//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0&quot; width=&quot;&#123;postrow.attach.cat_swf.WIDTH&#125;&quot; height=&quot;&#123;postrow.attach.cat_swf.HEIGHT&#125;&quot;&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=movie value=&quot;&#123;postrow.attach.cat_swf.U_DOWNLOAD_LINK&#125;&quot;&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=loop value=1&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=quality value=high&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=scale value=noborder&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=wmode value=transparent&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=bgcolor value=#000000&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;embed src=&quot;&#123;postrow.attach.cat_swf.U_DOWNLOAD_LINK&#125;&quot; loop=1 quality=high scale=noborder wmode=transparent bgcolor=#000000&nbsp; width=&quot;&#123;postrow.attach.cat_swf.WIDTH&#125;&quot; height=&quot;&#123;postrow.attach.cat_swf.HEIGHT&#125;&quot; type=&quot;application/x-shockwave-flash&quot; pluginspace=&quot;http&#58;//www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&quot;&gt;&lt;/embed&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;/table&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&lt;!-- END cat_swf --&gt;<br />
&nbsp; &nbsp;&lt;!-- BEGIN cat_images --&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&lt;table width=&quot;95%&quot; border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; class=&quot;attachtable&quot; align=&quot;center&quot;&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;100%&quot; colspan=&quot;3&quot; class=&quot;spaceRow&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span class=&quot;gen&quot;&gt;&#123;postrow.attach.cat_images.DOWNLOAD_NAME&#125;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;L_DESCRIPTION&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;table width=&quot;100%&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;4&quot; align=&quot;center&quot;&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&#123;postrow.attach.cat_images.COMMENT&#125;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/table&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;L_FILESIZE&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_images.FILESIZE&#125; &#123;postrow.attach.cat_images.SIZE_VAR&#125;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_images.L_DOWNLOADED_VIEWED&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_images.L_DOWNLOAD_COUNT&#125;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td colspan=&quot;2&quot; align=&quot;center&quot;&gt;&lt;br /&gt;&lt;img src=&quot;&#123;postrow.attach.cat_images.IMG_SRC&#125;&quot; alt=&quot;&#123;postrow.attach.cat_images.DOWNLOAD_NAME&#125;&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;/table&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&lt;!-- END cat_images --&gt;<br />
&nbsp; &nbsp;&lt;!-- BEGIN cat_thumb_images --&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&lt;table width=&quot;95%&quot; border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; class=&quot;attachtable&quot; align=&quot;center&quot;&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;100%&quot; colspan=&quot;3&quot; class=&quot;spaceRow&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span class=&quot;gen&quot;&gt;&#123;postrow.attach.cat_thumb_images.DOWNLOAD_NAME&#125;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;L_DESCRIPTION&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;table width=&quot;100%&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;4&quot; align=&quot;center&quot;&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&#123;postrow.attach.cat_thumb_images.COMMENT&#125;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/table&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;L_FILESIZE&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_thumb_images.FILESIZE&#125; &#123;postrow.attach.cat_thumb_images.SIZE_VAR&#125;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_thumb_images.L_DOWNLOADED_VIEWED&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_thumb_images.L_DOWNLOAD_COUNT&#125;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td colspan=&quot;2&quot; align=&quot;center&quot;&gt;&lt;br /&gt;&lt;a href=&quot;&#123;postrow.attach.cat_thumb_images.IMG_SRC&#125;&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;&#123;postrow.attach.cat_thumb_images.IMG_THUMB_SRC&#125;&quot; alt=&quot;&#123;postrow.attach.cat_thumb_images.DOWNLOAD_NAME&#125;&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;/table&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&lt;!-- END cat_thumb_images --&gt;<br />
&nbsp; &nbsp;&lt;!-- BEGIN attachrow --&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;table width=&quot;95%&quot; border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; class=&quot;attachtable&quot; align=&quot;center&quot;&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;100%&quot; colspan=&quot;3&quot; class=&quot;spaceRow&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span class=&quot;gen&quot;&gt;&#123;postrow.attach.attachrow.DOWNLOAD_NAME&#125;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;L_DESCRIPTION&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;table width=&quot;100%&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;4&quot; align=&quot;center&quot;&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&#123;postrow.attach.attachrow.COMMENT&#125;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/table&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td rowspan=&quot;4&quot; align=&quot;center&quot; width=&quot;10%&quot; class=&quot;attachrow&quot;&gt;&#123;postrow.attach.attachrow.S_UPLOAD_IMAGE&#125;&lt;br /&gt;&lt;a href=&quot;&#123;postrow.attach.attachrow.U_DOWNLOAD_LINK&#125;&quot; &#123;postrow.attach.attachrow.TARGET_BLANK&#125; class=&quot;genmed&quot;&gt;&lt;b&gt;&#123;L_DOWNLOAD&#125;&lt;/b&gt;&lt;/a&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;L_FILENAME&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.attachrow.DOWNLOAD_NAME&#125;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;L_FILESIZE&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.attachrow.FILESIZE&#125; &#123;postrow.attach.attachrow.SIZE_VAR&#125;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.attachrow.L_DOWNLOADED_VIEWED&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.attachrow.L_DOWNLOAD_COUNT&#125;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/table&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;!-- END attachrow --&gt;<br />
&nbsp; &nbsp;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &lt;!-- END attach --&gt;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; <br />
<br />
</td></tr></table>
<br />
There are some basic Language Variables usable within every Block:

<table border="0" cellpadding="4" cellspacing="1" class="bodyline" width="100%">
	<tr>
		<td class="row1" nowrap="nowrap"> Template Variable </td>
		<td class="row1" nowrap="nowrap"> Value </td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap"> {L_DESCRIPTION} </td>
		<td class="row2" nowrap="nowrap"> 'Description' </td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap"> {L_DOWNLOAD} </td>
		<td class="row2" nowrap="nowrap"> 'Download' </td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap"> {L_FILESIZE} </td>
		<td class="row2" nowrap="nowrap"> 'Filesize' </td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap"> {L_FILENAME} </td>
		<td class="row2" nowrap="nowrap"> 'Filename' </td>
	</tr>
</table>
<br />
Now to the Blocks.
<br />
<ol type="square"><li>DENYROW</li></ol>
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code"><br />
&nbsp; &nbsp;&lt;!-- BEGIN denyrow --&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&lt;table width=&quot;95%&quot; border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; class=&quot;attachtable&quot; align=&quot;center&quot;&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;100%&quot; class=&quot;spaceRow&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span class=&quot;gen&quot;&gt;&#123;postrow.attach.denyrow.L_DENIED&#125;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;/table&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&lt;!-- END denyrow --&gt;<br />
<br />
</td></tr></table>
<br />
Ok, the first Block Variable is denyrow. denyrow. It is used if an Extension for the posted file was disabled after Posting the File.<br />
The Variable <span class="gen">{postrow.attachmod.denyrow.L_DENIED}</span> is a language variable and gets evaluated to:<br />
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="quote">
The Extension 'jpg' was deactivated by an board admin, therefore this Attachment is not displayed.
</td></tr></table>
<br />
'jpg' is the Extension of course.<br />
      
    <br />
      The complete Layout of the Denied Block looks like this<br />
<br />
	<center><hr width="95%" /></center>
	<table width="95%" border="1" cellpadding="2" cellspacing="0" class="attachtable" align="center">
	<tr>
		<td width="100%" class="spaceRow" align="center"><b><span class="gen">The Extension 'jpg' was deactivated by an board admin, therefore this Attachment is not displayed.</span></b></td>
	</tr>
	</table>
	<center><hr width="95%" /></center>
<br />
<ol type="square"><li>CAT_STREAM</li></ol>
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code"><br />
&nbsp; &nbsp;&lt;!-- BEGIN cat_stream --&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&lt;table width=&quot;95%&quot; border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; class=&quot;attachtable&quot; align=&quot;center&quot;&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;100%&quot; colspan=&quot;3&quot; class=&quot;spaceRow&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span class=&quot;gen&quot;&gt;&#123;postrow.attach.cat_stream.DOWNLOAD_NAME&#125;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;L_DESCRIPTION&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;table width=&quot;100%&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;4&quot; align=&quot;center&quot;&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&#123;postrow.attach.cat_stream.COMMENT&#125;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/table&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;L_FILESIZE&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=tarot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_stream.FILESIZE&#125; &#123;postrow.attach.cat_stream.SIZE_VAR&#125;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_stream.L_DOWNLOADED_VIEWED&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_stream.L_DOWNLOAD_COUNT&#125;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td colspan=&quot;2&quot; align=&quot;center&quot;&gt;&lt;br /&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;object id=&quot;wmp&quot; classid=&quot;CLSID&#58;22d6f312-b0f6-11d0-94ab-0080c74c7e95&quot; codebase=&quot;http&#58;//activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=6,0,0,0&quot; standby=&quot;Loading Microsoft Windows Media Player components...&quot; type=&quot;application/x-oleobject&quot;&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=&quot;FileName&quot; value=&quot;&#123;postrow.attach.cat_stream.U_DOWNLOAD_LINK&#125;&quot;&gt; <br />
&nbsp; &nbsp; &nbsp; &nbsp; &lt;param name=&quot;ShowControls&quot; value=&quot;1&quot;&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=&quot;ShowDisplay&quot; value=&quot;0&quot;&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=&quot;ShowStatusBar&quot; value=&quot;1&quot;&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=&quot;AutoSize&quot; value=&quot;1&quot;&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=&quot;AutoStart&quot; value=&quot;0&quot;&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=&quot;Visible&quot; value=&quot;1&quot;&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=&quot;AnimationStart&quot; value=&quot;0&quot;&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=&quot;Loop&quot; value=&quot;0&quot;&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;embed type=&quot;application/x-mplayer2&quot; pluginspage=&quot;http&#58;//www.microsoft.com/windows95/downloads/contents/wurecommended/s_wufeatured/mediaplayer/default.asp&quot; src=&quot;&#123;postrow.attach.cat_stream.U_DOWNLOAD_LINK&#125;&quot; name=MediaPlayer2 showcontrols=1 showdisplay=0 showstatusbar=1 autosize=1 autostart=0 visible=1 animationatstart=0 loop=0&gt;&lt;/embed&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;/object&gt; &lt;br /&gt;&lt;br /&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;/table&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&lt;!-- END cat_stream --&gt;<br />
<br />
</td></tr></table>
<br />
The cat_stream Block is for displaying Streaming Files. It is a special Category you have to assign to the appropriate Extension Group.<br />
<br />
The following are the defined Variables and their corresponding meaning.<br />
<br />
<table border="0" cellpadding="4" cellspacing="1" class="forumline" width="100%">
    <tr>
		<th colspan="1" class="thCornerL" align="center"><strong>Variable Name</strong></th> 
	    <th class="thCornerR" align="center"><strong>Description</strong></th> 
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.cat_stream.DOWNLOAD_NAME}</td>
		<td class="row1">The displayed Download Name, this is the Real Filename.</td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap">{postrow.attach.cat_stream.COMMENT}</td>
		<td class="row2">Attachment Comment, the comment the User have entered for this Streaming File</td>
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.cat_stream.FILESIZE}</td>
		<td class="row1">The Filesize in human readable Format, without the Size Identifier (Bytes, KB or MB).</td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap">{postrow.attach.cat_stream.SIZE_VAR}</td>
		<td class="row2">The Size Identifier. Possible Values:<br />Bytes, KB and MB</td>
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.cat_stream.L_DOWNLOADED_VIEWED}</td>
		<td class="row1">A normal language Variable, for Streams this is 'Viewed'.</td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap">{postrow.attach.cat_stream.L_DOWNLOAD_COUNT}</td>
		<td class="row2">The Download Count, how many Times this Stream has been viewed.</td>
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.cat_stream.U_DOWNLOAD_LINK}</td>
		<td class="row1">The physical Filename. For Streams the download.php is not called, because the Windows Media Player Plugin is used and it does not work with the stream the download.php file produces.</td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap">{postrow.attach.cat_stream.S_UPLOAD_IMAGE}</td>
		<td class="row2">This is the predefined Upload Image for Attachments within Posts, default: icon_clip.gif<br />If such an upload image is assigned to the extension group the file to be shown belongs to is defined, this image will be displayed instead of the default one.<br />This Variable is not used within this Block.</td>
	</tr>
</table>
<br />
The complete Layout of the Stream Block looks like this:<br />
<br />
	<center><hr width="95%" /></center>
	<table width="95%" cellpadding="0" cellspacing="0" align="center">
	<tr>
	<td class="row1">
	<table width="100%" border="1" cellpadding="2" cellspacing="0" class="attachtable" align="center">
	<tr>
		<td width="100%" colspan="3" class="spaceRow" align="center"><b><span class="gen">A little movie.wmv</span></b></td>
	</tr>
	<tr>
		<td width="15%" class="attachrow"><span class="genmed">&nbsp;Description:</span></td>
		<td width="75%" class="attachrow">
			<table width="100%" border="0" cellpadding="0" cellspacing="4" align="center">
			<tr>
				<td class="attachrow"><span class="genmed">This is a Test Movie</span></td>
			</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td width="15%" class="attachrow"><span class="genmed">&nbsp;Filesize:</span></td>
		<td width="75%" class="attachrow"><span class="genmed">&nbsp;501.14 KB</span></td>
	</tr>
	<tr>
		<td width="15%" class="attachrow"><span class="genmed">&nbsp;Viewed:</span></td>
		<td width="75%" class="attachrow"><span class="genmed">&nbsp;4 Time(s)</span></td>
	</tr>
	<tr>
		<td colspan="2" align="center"><br />
		<b><span class="gen">-&gt; The Stream will be displayed here &lt;-</span></b>
		 <br /><br />
		</td>
	</tr>
	</table>
	</td>
	</tr>
	</table>
	<center><hr width="95%" /></center>
<br /><br />
<ol type="square"><li>CAT_SWF</li></ol>
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code"><br />
&nbsp; &nbsp;&lt;!-- BEGIN cat_swf --&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&lt;table width=&quot;95%&quot; border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; class=&quot;attachtable&quot; align=&quot;center&quot;&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;100%&quot; colspan=&quot;3&quot; class=&quot;spaceRow&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span class=&quot;gen&quot;&gt;&#123;postrow.attach.cat_swf.DOWNLOAD_NAME&#125;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;L_DESCRIPTION&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;table width=&quot;100%&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;4&quot; align=&quot;center&quot;&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&#123;postrow.attach.cat_swf.COMMENT&#125;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/table&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;L_FILESIZE&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_swf.FILESIZE&#125; &#123;postrow.attach.cat_swf.SIZE_VAR&#125;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_swf.L_DOWNLOADED_VIEWED&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_swf.L_DOWNLOAD_COUNT&#125;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td colspan=&quot;2&quot; align=&quot;center&quot;&gt;&lt;br /&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;object classid=&quot;clsid&#58;D27CDB6E-AE6D-11cf-96B8-444553540000&quot; codebase=&quot;http&#58;//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0&quot; width=&quot;&#123;postrow.attach.cat_swf.WIDTH&#125;&quot; height=&quot;&#123;postrow.attach.cat_swf.HEIGHT&#125;&quot;&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=movie value=&quot;&#123;postrow.attach.cat_swf.U_DOWNLOAD_LINK&#125;&quot;&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=loop value=1&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=quality value=high&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=scale value=noborder&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=wmode value=transparent&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;param name=bgcolor value=#000000&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;embed src=&quot;&#123;postrow.attach.cat_swf.U_DOWNLOAD_LINK&#125;&quot; loop=1 quality=high scale=noborder wmode=transparent bgcolor=#000000&nbsp; width=&quot;&#123;postrow.attach.cat_swf.WIDTH&#125;&quot; height=&quot;&#123;postrow.attach.cat_swf.HEIGHT&#125;&quot; type=&quot;application/x-shockwave-flash&quot; pluginspace=&quot;http&#58;//www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash&quot;&gt;&lt;/embed&gt; <br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;/object&gt;&lt;br /&gt;&lt;br /&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;/table&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&lt;!-- END cat_swf --&gt;<br />
<br />
</td></tr></table>
<br />
The cat_swf Block is for playing Flash Files directly within the Post/PM. It is a special Category, which you have to assign to the appropriate Extension Group.<br />
<br />
The following are the defined Variables and their corresponding meaning.<br />
<br />
<table border="0" cellpadding="4" cellspacing="1" class="forumline" width="100%">
    <tr>
		<th colspan="1" class="thCornerL" align="center"><strong>Variable Name</strong></th> 
	    <th class="thCornerR" align="center"><strong>Description</strong></th> 
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.cat_swf.DOWNLOAD_NAME}</td>
		<td class="row1">The displayed Download Name, this is the Real Filename.</td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap">{postrow.attach.cat_swf.COMMENT}</td>
		<td class="row2">Attachment Comment, the comment the User have entered for this Flash File</td>
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.cat_swf.FILESIZE}</td>
		<td class="row1">The Filesize in human readable Format, without the Size Identifier (Bytes, KB or MB).</td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap">{postrow.attach.cat_swf.SIZE_VAR}</td>
		<td class="row2">The Size Identifier. Possible Values:<br />Bytes, KB and MB</td>
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.cat_swf.L_DOWNLOADED_VIEWED}</td>
		<td class="row1">A normal Language Variable, for Flash Files this is 'Viewed'.</td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap">{postrow.attach.cat_swf.L_DOWNLOAD_COUNT}</td>
		<td class="row2">The Download Count, how many Times this Flash File has been viewed.</td>
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.cat_swf.U_DOWNLOAD_LINK}</td>
		<td class="row1">The physical Filename. For Flash Files the download.php is not called, because the Macromedia Flash Player Plugin is used and it does not work with the stream the download.php file produces.</td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap">{postrow.attach.cat_swf.WIDTH}</td>
		<td class="row2">The Width of the Flash File, in pixel.</td>
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.cat_swf.HEIGHT}</td>
		<td class="row1">The Height of the Flash File, in pixel.</td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap">{postrow.attach.cat_swf.S_UPLOAD_IMAGE}</td>
		<td class="row2">This is the predefined Upload Image for Attachments within Posts, default: icon_clip.gif<br />If such an upload image is assigned to the extension group the file to be shown belongs to is defined, this image will be displayed instead of the default one.<br />This Variable is not used within this Block.</td>
	</tr>
</table>
<br />
The complete Layout of the Flash File Block looks like this:<br />
<br />
	<center><hr width="95%" /></center>
	<table width="95%" cellpadding="0" cellspacing="0" align="center">
	<tr>
	<td class="row1">
	<table width="100%" border="1" cellpadding="2" cellspacing="0" class="attachtable" align="center">
	<tr>
		<td width="100%" colspan="3" class="spaceRow" align="center"><b><span class="gen">attachtest_f6.swf</span></b></td>
	</tr>
	<tr>
		<td width="15%" class="attachrow"><span class="genmed">&nbsp;Description:</span></td>
		<td width="75%" class="attachrow">
			<table width="100%" border="0" cellpadding="0" cellspacing="4" align="center">
			<tr>
				<td class="attachrow"><span class="genmed">Flash MX File</span></td>
			</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td width="15%" class="attachrow"><span class="genmed">&nbsp;Filesize:</span></td>
		<td width="75%" class="attachrow"><span class="genmed">&nbsp;1.03 KB</span></td>
	</tr>
	<tr>
		<td width="15%" class="attachrow"><span class="genmed">&nbsp;Viewed:</span></td>
		<td width="75%" class="attachrow"><span class="genmed">&nbsp;7 Time(s)</span></td>
	</tr>
	<tr>
		<td colspan="2" align="center"><br />
		<b><span class="gen">-&gt; The Flash File will be played here &lt;-</span></b>
		<br /><br />
		</td>
	</tr>
	</table>
	</td></tr></table>
	<center><hr width="95%" /></center>
<br /><br />
<ol type="square"><li>CAT_IMAGES</li></ol>
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code"><br />
&nbsp; &nbsp;&lt;!-- BEGIN cat_images --&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&lt;table width=&quot;95%&quot; border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; class=&quot;attachtable&quot; align=&quot;center&quot;&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;100%&quot; colspan=&quot;3&quot; class=&quot;spaceRow&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span class=&quot;gen&quot;&gt;&#123;postrow.attach.cat_images.DOWNLOAD_NAME&#125;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;L_DESCRIPTION&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;table width=&quot;100%&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;4&quot; align=&quot;center&quot;&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&#123;postrow.attach.cat_images.COMMENT&#125;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/table&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;L_FILESIZE&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_images.FILESIZE&#125; &#123;postrow.attach.cat_images.SIZE_VAR&#125;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_images.L_DOWNLOADED_VIEWED&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_images.L_DOWNLOAD_COUNT&#125;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td colspan=&quot;2&quot; align=&quot;center&quot;&gt;&lt;br /&gt;&lt;img src=&quot;&#123;postrow.attach.cat_images.IMG_SRC&#125;&quot; alt=&quot;&#123;postrow.attach.cat_images.DOWNLOAD_NAME&#125;&quot; border=&quot;0&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;/table&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&lt;!-- END cat_images --&gt;<br />
<br />
</td></tr></table>
<br />
The Image Row Block is for displaying Images inlined (inlined means the image is displayed, not a link to the image), the User is able to view the Image directly. It is a special Category, which you have to assign to the appropriate Extension Group.<br />
<br />
The following are the defined Variables and their corresponding meaning.<br />
<br />
<table border="0" cellpadding="4" cellspacing="1" class="forumline" width="100%">
    <tr>
		<th colspan="1" class="thCornerL" align="center"><strong>Variable Name</strong></th> 
	    <th class="thCornerR" align="center"><strong>Description</strong></th> 
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.cat_images.DOWNLOAD_NAME}</td>
		<td class="row1">The displayed Download Name, this is the Real Filename.</td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap">{postrow.attach.cat_images.COMMENT}</td>
		<td class="row2">Attachment Comment, the comment the User have entered for this Image</td>
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.cat_images.FILESIZE}</td>
		<td class="row1">The Filesize in human readable Format, without the Size Identifier (Bytes, KB or MB).</td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap">{postrow.attach.cat_images.SIZE_VAR}</td>
		<td class="row2">The Size Identifier. Possible Values:<br />Bytes, KB and MB</td>
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.cat_images.L_DOWNLOADED_VIEWED}</td>
		<td class="row1">A normal Language Variable, for Images this is 'Viewed'.</td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap">{postrow.attach.cat_images.L_DOWNLOAD_COUNT}</td>
		<td class="row2">The Download Count, how many Times this Image has been viewed.</td>
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.cat_images.IMG_SRC}</td>
		<td class="row1">The Link/Source to the Image. This Link will call the download.php file if the download path is not reachable directly (download.php?id=12 will be called for example), otherwise it will directly point to the image.</td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap">{postrow.attach.cat_images.S_UPLOAD_IMAGE}</td>
		<td class="row2">This is the predefined Upload Image for Attachments within Posts, default: icon_clip.gif<br />If such an upload image is assigned to the extension group the file to be shown belongs to is defined, this image will be displayed instead of the default one.<br />This Variable is not used within this Block.</td>
	</tr>
</table>
<br />
The complete Layout of the Image File Block looks like this:<br />
<br />
	<center><hr width="95%" /></center>
	<table width="95%" cellpadding="0" cellspacing="0" align="center">
	<tr>
	<td class="row1">
	<table width="100%" border="1" cellpadding="2" cellspacing="0" class="attachtable" align="center">
	<tr>
		<td width="100%" colspan="3" class="spaceRow" align="center"><b><span class="gen">acyd_ava.gif</span></b></td>
	</tr>
	<tr>
		<td width="15%" class="attachrow"><span class="genmed">&nbsp;Description:</span></td>
		<td width="75%" class="attachrow">
			<table width="100%" border="0" cellpadding="0" cellspacing="4" align="center">
			<tr>
				<td class="attachrow"><span class="genmed">This is my Avatar Image</span></td>
			</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td width="15%" class="attachrow"><span class="genmed">&nbsp;Filesize:</span></td>
		<td width="75%" class="attachrow"><span class="genmed">&nbsp;3.1 KB</span></td>
	</tr>
	<tr>
		<td width="15%" class="attachrow"><span class="genmed">&nbsp;Viewed:</span></td>
		<td width="75%" class="attachrow"><span class="genmed">&nbsp;10 Time(s)</span></td>
	</tr>
	<tr>
		<td colspan="2" align="center"><br />		<b><span class="gen">-&gt; The Image will be displayed here &lt;-</span></b>
<br /><br /></td>
	</tr>
	</table>
	</td></tr></table>
	<center><hr width="95%" /></center>
<br /><br />
<ol type="square"><li>CAT_THUMB_IMAGES</li></ol>
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code"><br />
&nbsp; &nbsp;&lt;!-- BEGIN cat_thumb_images --&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&lt;table width=&quot;95%&quot; border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; class=&quot;attachtable&quot; align=&quot;center&quot;&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;100%&quot; colspan=&quot;3&quot; class=&quot;spaceRow&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span class=&quot;gen&quot;&gt;&#123;postrow.attach.cat_thumb_images.DOWNLOAD_NAME&#125;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;L_DESCRIPTION&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;table width=&quot;100%&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;4&quot; align=&quot;center&quot;&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&#123;postrow.attach.cat_thumb_images.COMMENT&#125;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/table&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;L_FILESIZE&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_thumb_images.FILESIZE&#125; &#123;postrow.attach.cat_thumb_images.SIZE_VAR&#125;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_thumb_images.L_DOWNLOADED_VIEWED&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.cat_thumb_images.L_DOWNLOAD_COUNT&#125;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;td colspan=&quot;2&quot; align=&quot;center&quot;&gt;&lt;br /&gt;&lt;a href=&quot;&#123;postrow.attach.cat_thumb_images.IMG_SRC&#125;&quot; target=&quot;_blank&quot;&gt;&lt;img src=&quot;&#123;postrow.attach.cat_thumb_images.IMG_THUMB_SRC&#125;&quot; alt=&quot;&#123;postrow.attach.cat_thumb_images.DOWNLOAD_NAME&#125;&quot; border=&quot;0&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&lt;/table&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&lt;!-- END cat_thumb_images --&gt;<br />
<br />
</td></tr></table>
<br />
The Thumbnail Image Block is for displaying Thumbnails of attached Images, the User is able to click the Thumbnail in order to view the Image in full size. <br />
The following are the defined Variables and their corresponding meaning.<br />
<br />
<table border="0" cellpadding="4" cellspacing="1" class="forumline" width="100%">
    <tr>
		<th colspan="1" class="thCornerL" align="center"><strong>Variable Name</strong></th> 
	    <th class="thCornerR" align="center"><strong>Description</strong></th> 
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.cat_thumb_images.DOWNLOAD_NAME}</td>
		<td class="row1">The displayed Download Name, this is the Real Filename.</td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap">{postrow.attach.cat_thumb_images.COMMENT}</td>
		<td class="row2">Attachment Comment, the comment the User have entered for this Image</td>
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.cat_thumb_images.FILESIZE}</td>
		<td class="row1">The Filesize in human readable Format, without the Size Identifier (Bytes, KB or MB).</td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap">{postrow.attach.cat_thumb_images.SIZE_VAR}</td>
		<td class="row2">The Size Identifier. Possible Values:<br />Bytes, KB and MB</td>
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.cat_thumb_images.L_DOWNLOADED_VIEWED}</td>
		<td class="row1">A normal Language Variable, for Thumbnail Images this is 'Viewed'.</td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap">{postrow.attach.cat_thumb_images.L_DOWNLOAD_COUNT}</td>
		<td class="row2">The Download Count, how many Times this Image has been viewed.</td>
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.cat_thumb_images.IMG_SRC}</td>
		<td class="row1">The Link/Source to the Image. This Link will call the download.php file, for example: download.php?id=12</td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap">{postrow.attach.cat_thumb_images.IMG_THUMB_SRC}</td>
		<td class="row2">The Link/Source to the Thumbnail. This Link will call the download.php file if the download path is not reachable directly.</td>
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.cat_thumb_images.S_UPLOAD_IMAGE}</td>
		<td class="row1">This is the predefined Upload Image for Attachments within Posts, default: icon_clip.gif<br />If such an upload image is assigned to the extension group the file to be shown belongs to is defined, this image will be displayed instead of the default one.<br />This Variable is not used within this Block.</td>
	</tr>
</table>
<br />
The complete Layout of the Thumbnail Image Block looks like this:<br />
<br />
	<center><hr width="95%" /></center>
	<table width="95%" cellpadding="0" cellspacing="0" align="center">
	<tr>
	<td class="row1">
	<table width="100%" border="1" cellpadding="2" cellspacing="0" class="attachtable" align="center">
	<tr>
		<td width="100%" colspan="3" class="spaceRow" align="center"><b><span class="gen">linux_chick1.jpg</span></b></td>
	</tr>
	<tr>
		<td width="15%" class="attachrow"><span class="genmed">&nbsp;Description:</span></td>
		<td width="75%" class="attachrow">
			<table width="100%" border="0" cellpadding="0" cellspacing="4" align="center">
			<tr>
				<td class="attachrow"><span class="genmed">A Linux Chick</span></td>
			</tr>
			</table>
		</td>
	</tr>
	<tr>
		<td width="15%" class="attachrow"><span class="genmed">&nbsp;Filesize:</span></td>
		<td width="75%" class="attachrow"><span class="genmed">&nbsp;53.29 KB</span></td>
	</tr>
	<tr>
		<td width="15%" class="attachrow"><span class="genmed">&nbsp;Viewed:</span></td>
		<td width="75%" class="attachrow"><span class="genmed">&nbsp;1 Time(s)</span></td>
	</tr>
	<tr>
		<td colspan="2" align="center"><br /><b><span class="gen">-&gt; The clickable Thumbnail will be displayed here &lt;-</span></b><br /><br /></td>
	</tr>
	</table>
	</td></tr></table>
	<center><hr width="95%" /></center>
<br /><br />
<ol type="square"><li>ATTACHROW</li></ol>
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code"><br />
&nbsp; &nbsp;&lt;!-- BEGIN attachrow --&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;table width=&quot;95%&quot; border=&quot;1&quot; cellpadding=&quot;2&quot; cellspacing=&quot;0&quot; class=&quot;attachtable&quot; align=&quot;center&quot;&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;100%&quot; colspan=&quot;3&quot; class=&quot;spaceRow&quot; align=&quot;center&quot;&gt;&lt;b&gt;&lt;span class=&quot;gen&quot;&gt;&#123;postrow.attach.attachrow.DOWNLOAD_NAME&#125;&lt;/span&gt;&lt;/b&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;L_DESCRIPTION&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;table width=&quot;100%&quot; border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;4&quot; align=&quot;center&quot;&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&#123;postrow.attach.attachrow.COMMENT&#125;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/table&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td rowspan=&quot;4&quot; align=&quot;center&quot; width=&quot;10%&quot; class=&quot;attachrow&quot;&gt;&#123;postrow.attach.attachrow.S_UPLOAD_IMAGE&#125;&lt;br /&gt;&lt;a href=&quot;&#123;postrow.attach.attachrow.U_DOWNLOAD_LINK&#125;&quot; &#123;postrow.attach.attachrow.TARGET_BLANK&#125; class=&quot;genmed&quot;&gt;&lt;b&gt;&#123;L_DOWNLOAD&#125;&lt;/b&gt;&lt;/a&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;L_FILENAME&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.attachrow.DOWNLOAD_NAME&#125;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;L_FILESIZE&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.attachrow.FILESIZE&#125; &#123;postrow.attach.attachrow.SIZE_VAR&#125;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;15%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.attachrow.L_DOWNLOADED_VIEWED&#125;&#58;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;td width=&quot;75%&quot; class=&quot;attachrow&quot;&gt;&lt;span class=&quot;genmed&quot;&gt;&amp;nbsp;&#123;postrow.attach.attachrow.L_DOWNLOAD_COUNT&#125;&lt;/span&gt;&lt;/td&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/tr&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;/table&gt;<br />
&nbsp; &nbsp;&lt;center&gt;&lt;hr width=&quot;95%&quot;&gt;&lt;/hr&gt;&lt;/center&gt;<br />
&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&lt;!-- END attachrow --&gt;<br />
<br />
</td></tr></table>
<br />
The Attachrow Block is for displaying a Download Link to the uploaded File, this is the default behavior for the Attachment Mod and uploaded Files. <br />
The following are the defined Variables and their corresponding meaning.<br />
<br />
<table border="0" cellpadding="4" cellspacing="1" class="forumline" width="100%">
    <tr>
		<th colspan="1" class="thCornerL" align="center"><strong>Variable Name</strong></th> 
	    <th class="thCornerR" align="center"><strong>Description</strong></th> 
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.attachrow.DOWNLOAD_NAME}</td>
		<td class="row1">The displayed Download Name, this is the Real Filename.</td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap">{postrow.attach.attachrow.COMMENT}</td>
		<td class="row2">Attachment Comment, the comment the User have entered for this Attachment</td>
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.attachrow.FILESIZE}</td>
		<td class="row1">The Filesize in human readable Format, without the Size Identifier (Bytes, KB or MB).</td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap">{postrow.attach.attachrow.SIZE_VAR}</td>
		<td class="row2">The Size Identifier. Possible Values:<br />Bytes, KB and MB</td>
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.attachrow.L_DOWNLOADED_VIEWED}</td>
		<td class="row1">A normal Language Variable, for Attachments this is 'Downloaded'.</td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap">{postrow.attach.attachrow.L_DOWNLOAD_COUNT}</td>
		<td class="row2">The Download Count, how many Times this Attachment has been downloaded.</td>
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.attachrow.U_DOWNLOAD_LINK}</td>
		<td class="row1">The Link to the Attachment. This Link will call the download.php file, for example: download.php?id=12</td>
	</tr>
	<tr>
		<td class="row2" nowrap="nowrap">{postrow.attach.attachrow.S_UPLOAD_IMAGE}</td>
		<td class="row2">This is the predefined Upload Image for Attachments within Posts, default: icon_clip.gif<br />If such an upload image is assigned to the extension group the file to be shown belongs to is defined, this image will be displayed instead of the default one.</td>
	</tr>
	<tr>
		<td class="row1" nowrap="nowrap">{postrow.attach.attachrow.TARGET_BLANK}</td>
		<td class="row1">Depending on the Mime Type of the Attachment, the link will open a new window or not.</td>
	</tr>
</table>
<br />
The complete Layout of the Attachrow Block looks like this:<br />
<br />
	<center><hr width="95%" /></center>
	<table width="95%" cellpadding="0" cellspacing="0" align="center">
	<tr>
	<td class="row1">
		<table width="100%" border="1" cellpadding="2" cellspacing="0" class="attachtable" align="center">
		<tr>
			<td width="100%" colspan="3" class="spaceRow" align="center"><b><span class="gen">acydamp.zip</span></b></td>
		</tr>
		<tr>
			<td width="15%" class="attachrow"><span class="genmed">&nbsp;Description:</span></td>
			<td width="75%" class="attachrow">
				<table width="100%" border="0" cellpadding="0" cellspacing="4" align="center">
				<tr>
					<td class="attachrow"><span class="genmed">Winamp Skin</span></td>
				</tr>
				</table>
			</td>
				<td rowspan="4" align="center" width="10%" class="attachrow">
				-&gt; Icon &lt;-<br />
				<span class="genmed"><b><u>Download</u></b></span></td>
			</tr>
			<tr>
				<td width="15%" class="attachrow"><span class="genmed">&nbsp;Filename:</span></td>
				<td width="75%" class="attachrow"><span class="genmed">&nbsp;acydamp.zip</span></td>
			</tr>
			<tr>
				<td width="15%" class="attachrow"><span class="genmed">&nbsp;Filesize:</span></td>
				<td width="75%" class="attachrow"><span class="genmed">&nbsp;185.08 KB</span></td>
			</tr>
			<tr>
				<td width="15%" class="attachrow"><span class="genmed">&nbsp;Downloaded:</span></td>
				<td width="75%" class="attachrow"><span class="genmed">&nbsp;2 Time(s)</span></td>
			</tr>
			</table>
	</td></tr></table>
	<center><hr width="95%" /></center>
<br /><br />

<a name="commonproblems"></a><h2>10. Common Problems attaching Files</h2>

<a name="errpostmode"></a><h3>10.1 Filesize too big / Post Mode not specified / Blank Page</h3>

If you get Error Messages saying the Filesize is too big after submitting your post, even if you are attaching Files below 1 Kbyte.<br />
<br />
The most common reason for this error is that your provider has enabled File Uploading on the Server, but he probably have set the Maximum Filesize to 0 Byte.<br />
Another reason could be that you are trying to attach a File bigger than the maximum allowed upload size defined by your Provider.<br />
The Attachment Mod is unable to overwrite this value.<br />
<br />
If you are trying to attach very big files the execution time limit may have been exceeded.<br />
<br />
Here is a list of all PHP Variables interfering directly or indirectly with File Uploading: <br />
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
max_execution_time<br />
memory_limit<br />
post_max_size<br />
file_uploads<br />
upload_max_filesize<br />
</td></tr></table>
<br />
Please refer to the PHP Documentation on how to configure this variables. <br />
<br />
If you get the Error Message 'no Post Mode specified' after submitting your Post or a blank page.<br />
<br />
The most common reason for this error is that your provider does not allow File Uploads at all.<br />
Ask your provider or create a php-file with this content:<br />
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
&lt;?<br />
phpinfo();<br />
?&gt;<br />
</td></tr></table>
<br />
Upload the File to your webspace, execute it and look for the variable 'file uploads', it have to be set to 1, if not, file uploading is not allowed.<br />
<br />
Additional Informations for both problems:<br />
<a href="http://www.opentools.de/board/viewtopic.php?t=436">new twist on "No post mode..." problem</a>-Thread posted at Opentools.de.
<br /><br /><br />

<a name="errfilesizezero"></a><h3>10.2 Could not attach File, but Post has been stored / Filesize is 0 all over the time</h3>

If you get the Error Message 'Could not Attach File. Post has been stored' after submitting your Post.<br />
<br />
Either your Provider does not allow the function filesize(), which is very bad, because nothing can be done to solve the problem, or your Temporary 
PHP Directory is not setup properly.<br />
<br />
(Only for people hosting their own Website)<br />
<br />
Every Attachment uploaded to the board will go into the PHP Temporary Upload Directory.<br />
Please check the Permissions of this Directory and make sure PHP is allowed to write to it.<br />
For users using Apache/IIS on Windows, you might want to check the following Settings:<br />
<br />
(Thanks to SFGrimoire :: <a href="http://www.opentools.de/board/viewtopic.php?t=719">complete thread about this error</a>)<br />
<br />
The IUSR_hostname account needs to have read/write access to the system temp directory, otherwise you will receive the following access failure:
<br /><br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="quote">
Event Type:	Failure Audit<br />
Event Source:	Security<br />
Event Category:	Object Access <br />
Event ID:	560<br />
Date:		9/16/2002<br />
Time:		12:05:52 PM<br />
User:		W2KNCHTNPC\IUSR_W2KNCHTNPC<br />
Computer:	W2KNCHTNPC<br />
Description:<br />
Object Open:<br />
&nbsp;&nbsp;&nbsp;&nbsp;Object Server:	Security<br />
&nbsp;&nbsp;&nbsp;&nbsp;Object Type:	File<br />
&nbsp;&nbsp;&nbsp;&nbsp;Object Name:	C:\WINNT\Temp<br />
&nbsp;&nbsp;&nbsp;&nbsp;New Handle ID:	-<br />
&nbsp;&nbsp;&nbsp;&nbsp;Operation ID:	{0,450981}<br />
&nbsp;&nbsp;&nbsp;&nbsp;Process ID:	812<br />
&nbsp;&nbsp;&nbsp;&nbsp;Primary User Name:	W2KNCHTNPC$<br />
&nbsp;&nbsp;&nbsp;&nbsp;Primary Domain:	AFS<br />
&nbsp;&nbsp;&nbsp;&nbsp;Primary Logon ID:	(0x0,0x3E7)<br />
&nbsp;&nbsp;&nbsp;&nbsp;Client User Name:	IUSR_W2KNCHTNPC<br />
&nbsp;&nbsp;&nbsp;&nbsp;Client Domain:	W2KNCHTNPC<br />
&nbsp;&nbsp;&nbsp;&nbsp;Client Logon ID:	(0x0,0x61349)<br />
&nbsp;&nbsp;&nbsp;&nbsp;Accesses		SYNCHRONIZE <br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ReadData (or ListDirectory) <br /><br />
&nbsp;&nbsp;&nbsp;&nbsp;Privileges		-<br />
 <br />
</td></tr></table>
<br />
The specific permissions required are:
<br /><br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="quote">
hostname\IUSR_hostname:(OI)(CI)(special access:)<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DELETE<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;READ_CONTROL<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SYNCHRONIZE<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FILE_READ_DATA<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FILE_WRITE_DATA<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FILE_APPEND_DATA<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FILE_EXECUTE<br />
</td></tr></table>
<br />
Also, if you change the upload directory in php.ini the IUSR_hostname account needs the same permissions.
<br /><br /><br />

<a name="errgeneralerror"></a><h3>10.3 General Error: Could not Attach File</h3>

This Error is a default Message if something is not setup. To test the various things and give you an appropriate Error Message is too time intensive for a post page, therefore it was placed into the Administration Panel.<br />
<br />
Go to Adminstration Panel -&gt; Management and click on 'Test Settings', now you should receive a more detailed Error Message, explaining what you have to do in order for the Attachment Mod to work correctly.<br />
In most cases you have forgotten to chmod the upload directory.
<br /><br /><br />

<a name="errcannotattach"></a><h3>10.4 I am able to attach files in Private Messages, but with normal Posts i cannot Attach files</h3>

You may have made a mistake while editing your includes/auth.php file, please re-check this file.<br />
The line to be added has to be placed AFTER the closing brace, and not Before it.<br />
<br />
If this was not the error, please check if you have edited and uploaded your posting_body.tpl file.
<br /><br /><br />

<a name="errnoattachments"></a><h3>10.5 No Attachments are displayed</h3>

Since the Attachment Mod Version 2.3.5 a check was integrated to bypass the different viewtopic.php versions users are magically using.<br />
But please check if you have added the last line between ); and } within the viewtopic.php file.<br />
The correct result for the last line to be added to the viewtopic.php file should look like this:<br />
<br />
<table width="90%" cellspacing="1" cellpadding="3" border="0" align="center">
<tr>
<td class="code">
<br />
&nbsp; &nbsp;&nbsp; &nbsp;'U_POST_ID' =&gt; $postrow&#91;$i&#93;&#91;'post_id'&#93;&#41;
<br />
&nbsp; &nbsp;&#41;;
<br />
&nbsp; &nbsp;display_post_attachments&#40;$postrow&#91;$i&#93;&#91;'post_id'&#93;, $postrow&#91;$i&#93;&#91;'post_attachment'&#93;&#41;;
<br />
</td></tr></table>
<br /><br /><br />

<a name="disclaimer"></a><h2>11. Copyright and Disclaimer</h2>
<p>
This Application (Attachment Mod) is OpenSource Software, released under the GPL.
<br />This Document is Copyright &copy; 2003 <a href="mailto:hide@address.com">Acyd Burn</a>, All Rights Reserved.
<br /><br />
Contributors:<br />
Thanks to DareDevil for fixing many grammar and spelling errors.<br />
<br />
</p>

	</div>
</div>

</body>
</html>
Return current item: Attachment Mod