view subsilver2.xml @ 16:f78621bde952

* Add missing tag to upgrade instructions * Fix link to upgrade instructions from Install.xml * Fix paths in Subsilver instructions no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Wed, 17 Jun 2009 14:32:55 +0000
parents 7f85fc163738
children 51084c02e981
line wrap: on
line source

<?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.2.xsd">

	<header>
		<license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license>
		<title lang="en-gb">Multi-race rank themes - subsilver2</title>
		<description lang="en-gb">This MOD will allow you to add, modify and remove rank themes.

Rank themes are selectable collections of ranks that users can choose to use, allowing RPG forums to have different 'races' or allowing 'normal' forums to provide an set of alternative icon images for their users.</description>
		<author-notes lang="en-gb"><![CDATA[The following description is taken from digiTsai's phpBB2 'Rank themes' mod (with some minor modifications in the last paragraph), as I couldn't word it any better myself:

Different ranking themes for your forum. Users are allowed to choose a ranking theme to their liking. For example, you can add two ranking themes named "Good" and "Evil" for your forum. The ranking then might look like this:

Posts	| Good   | Evil
Needed	| Ranks  | Ranks
=========================
0       | Knight | Zombie
10      | Priest | Minion
20      | Zealot | Demon
50      | Angel	 | Devil

So if one were to choose the "good" ranking, then he/she will go through the ranks Knight, Priest, Zealot, and finally Angel, but another user might decide to choose the "Evil" theme, he/she will go through the ranks Zombie, Minion, Demon, then Devil.

On install, there are two ranking themes already added, "special" and "default". Ranks classified as special cannot be chosen by the public and will continue to override any rank theme selection, as is the phpBB3 default behaviour. The default ranking theme is the one a newly registered user has.
]]></author-notes>
		<author-group>
			<author>
				<realname>IBBoard</realname>
				<email>phpbb@ibboard.co.uk</email>
				<username>IBBoard</username>
				<homepage>http://www.ibboard.co.uk</homepage>
				<contributions />
			</author>
		</author-group>
		<link-group>
			<link type="parent" href="Install.xml" lang="en-gb">Main instructions</link>
		</link-group>
		<mod-version>1.3.0</mod-version>
		<installation>
			<level>intermediate</level>
			<time>180</time>
			<target-version>3.0.5</target-version>
		</installation>
		<history>
			<entry>
				<date>2009-05-17</date>
				<rev-version>1.3.0</rev-version>
				<changelog lang="en-gb">
					<change>Fix: Remove hidden form field that would potentially allow user to change theme when they weren't supposed to</change>
				</changelog>
			</entry>
			<entry>
				<date>2009-05-17</date>
				<rev-version>1.3.0</rev-version>
				<changelog lang="en-gb">
					<change>Fix: Update UCP template changes</change>
				</changelog>
			</entry>
			<entry>
				<date>2009-05-10</date>
				<rev-version>1.2.3</rev-version>
				<changelog lang="en-gb">
					<change>Fix: Update to latest MODX format</change>
					<change>Fix: Update version number to be in line with main MOD</change>
					<change>Fix: Remove apology from author notes as the formatting of the new MODX styling is no longer broken for author notes</change>
					<change>Change: Move file to root directory and update file paths accordingly</change>
				</changelog>
			</entry>
			<entry>
				<date>2008-04-28</date>
				<rev-version>1.0.0</rev-version>
				<changelog lang="en-gb">
					<change>Fix: Separate out subsilver instructions to templates/subsilver2.xml to pass validation (no code functionality changes)</change>
				</changelog>
			</entry>
		</history>
	</header>
	<action-group>
		<copy>
			<file from="root/styles/subsilver2/template/memberlist_ranks.html" to="styles/subsilver2/template/memberlist_ranks.html" />
			<file from="root/styles/subsilver2/themes/images/icon_ranks.gif" to="styles/subsilver2/themes/images/icon_ranks.gif" />
		</copy>
		<open src="styles/subsilver2/template/overall_header.html">
			<edit>
				<find><![CDATA[				<!-- IF not S_IS_BOT -->
					<!-- IF S_DISPLAY_MEMBERLIST -->]]></find>
				<action type="before-add"><![CDATA[				&nbsp; &nbsp;<a href="{U_RANKS}"><img src="{T_THEME_PATH}/images/icon_ranks.gif" width="12" height="13" alt="*" /> {L_RANKS}</a>]]></action>
			</edit>
		</open>
		<open src="styles/subsilver2/template/ucp_profile_profile_info.html">
			<edit>
				<find><![CDATA[<tr>
	<td class="row1" colspan="2"><span class="gensmall">{L_PROFILE_INFO_NOTICE}</span></td>
</tr>]]></find>
				<action type="after-add"><![CDATA[
<!-- IF S_RANK_THEME_OPTIONS -->
<tr>
	<td class="row1" width="35%"><b class="genmed">{L_UCP_RANK_THEME}: </b></td>
	<td class="row2"><select name="rank_theme">{S_RANK_THEME_OPTIONS}</select></td>
</tr>
<!-- ENDIF -->]]></action>
			</edit>
		</open>
		<open src="styles/subsilver2/template/ucp_register.html">
			<edit>
				<find><![CDATA[<tr>
	<td class="row1"><b class="genmed">{L_TIMEZONE}: </b></td>
	<td class="row2"><select name="tz">{S_TZ_OPTIONS}</select></td>
</tr>]]></find>
				<action type="after-add"><![CDATA[
<!-- IF S_RANK_THEME_OPTIONS -->
<tr>
	<td class="row1"><b class="genmed">{L_UCP_RANK_THEME}: </b></td>
	<td class="row2"><select name="rank_theme">{S_RANK_THEME_OPTIONS}</select></td>
</tr>
<!-- ENDIF -->]]></action>
			</edit>
		</open>
	</action-group>
</mod>