<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
<!--For security purposes, please check: http
://www.phpbb.com/mods/ for the latest version of this MOD. Although MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD. No support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.3.xsd">
	<header>
		<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
		
		<title lang="en">AJAX Chat</title>

		<description lang="en">This Mod Adds AJAX Chat/Shoutbox to your forum.
Users can chat without ever needing to reload the page.</description>
		
		<author-notes lang="en"><![CDATA[Copyright 2006-2007 Handyman, StarTrekGuide Group.
You can find support for this and other mods at http://startrekguide.com/forum]]></author-notes>

		<author-group>
			<author>
				<realname>Handyman</realname>
				<username>Francis Lewis</username>
				<email>Handyman@startrekaccess.com</email>
				<homepage></homepage>
      		<contributions-group>
      		  <contributions status="past" from="2006-01-01" position="Developer"/>
      		</contributions-group>
			</author>			
		</author-group>

		<mod-version>2.0.0.B8</mod-version>

		<installation>
			<level>easy</level>
			<time>180</time>
			<target-version>3.0.6</target-version>
		</installation>

		<history>
			<entry>
				<date>2007-11-04</date>
				<rev-version>2.0.0.B8</rev-version>
				<changelog lang="en">
					<change>Only registered users can post</change>
					<change>Added MOD Version Check file to keep track of updates</change>
					<change>a little code cleanup</change>
				</changelog>
			</entry>
			<entry>
				<date>2007-5-06</date>
				<rev-version>2.0.0.B7</rev-version>
				<changelog lang="en">
					<change>Recoded to use templates</change>
					<change>Added who's online</change>
					<change>created subsilver2 and subsilver2 templates</change>
					<change>Added delays for users who aren't actively chatting</change>
				</changelog>
			</entry>
			<entry>
				<date>2007-3-13</date>
				<rev-version>2.0.0.B6</rev-version>
				<changelog lang="en">					
					<change>Made it somewhat less dependent on javascript for inputs</change>>
				</changelog>
			</entry>
			<entry>
				<date>2007-3-12</date>
				<rev-version>2.0.0.B5</rev-version>
				<changelog lang="en">
					<change>Fixed autologin bug</change>
				</changelog>
			</entry>
			<entry>
				<date>2007-2-07</date>
				<rev-version>2.0.0.B4</rev-version>
				<changelog lang="en">
					<change>Increased speed an performance</change>
					<change>Added Fat effect</change>
				</changelog>
			</entry>
			<entry>
				<date>2007-1-27</date>
				<rev-version>2.0.0.B3</rev-version>
				<changelog lang="en">
					<change>More stable</change>
					<change>Fixed javascript errors</change>
					<change>works with all ajax capable browsers</change>
				</changelog>
			</entry>
			<entry>
				<date>2006-8-23</date>
				<rev-version>1.0.0</rev-version>
				<changelog lang="en">
					<change>Original release</change>
				</changelog>
			</entry>
		</history>

		<link-group>
			<link type="template" href="../install.xml" lang="en">Main Install File</link>
		</link-group>
	</header>

	<action-group>
		<copy>
			<file from="root/styles/subsilver2/imageset/*.*" to="styles/subsilver2/imageset/*.*" />
			<file from="root/styles/subsilver2/template/*.*" to="styles/subsilver2/template/*.*" />
			<file from="root/styles/subsilver2/theme/*.*" to="styles/subsilver2/theme/*.*" />			
		</copy>
		<open src="styles/subsilver2/template/overall_header.html">
			<edit>
				<find><![CDATA[<a href="{U_FAQ}"><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_FAQ}</a>]]></find>
				<action type="after-add"><![CDATA[				&nbsp; &nbsp;<a href="{U_CHAT}"><img src="{T_THEME_PATH}/images/icon_chat.gif" width="12" height="13" alt="*" /> {L_CHAT}</a>]]></action>	
			</edit>
		</open>
		<open src="styles/subsilver2/template/index_body.html">
			<edit>
				<find><![CDATA[<!-- INCLUDE forumlist_body.html -->]]></find>
				<action type="after-add"><![CDATA[<br />
				<!-- INCLUDE chat_body.html -->]]></action>
			</edit>
		</open>
		<open src="styles/subsilver2/theme/stylesheet.css">
			<edit>
				<find><![CDATA[/* Layout
 ------------ */]]></find>
				<action type="after-add"><![CDATA[@import url("chat.css");]]></action>	
			</edit>
		</open>
		

		<diy-instructions lang="en">Go to your ACP>Styles>Templates and refresh the subsilver2 style.  Go to your ACP>Styles>Imagesets and refresh the subsilver2 style.</diy-instructions>

	</action-group>
</mod>
