Mercurial > repos > phpBB-MODs > Special_And_Normal_Rank_Images
diff subsilver2.xml @ 1:26a2404a2f38
Initial commit of v1.0.1 instructions
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sun, 07 Jun 2009 17:55:54 +0000 |
parents | |
children | ff8527bb5116 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/subsilver2.xml Sun Jun 07 17:55:54 2009 +0000 @@ -0,0 +1,97 @@ +<?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.1.xsd"> + + <header> + <license>http://opensource.org/licenses/gpl-license.php GNU General Public License v2</license> + <title lang="en-gb">Special and Normal Rank Images - Subsilver2 style</title> + <description lang="en-gb">This MOD will allow users with special ranks (e.g. Administrators) to have a normal rank image in addition to their special rank image in topics and on their profile page.</description> + <author-notes lang="en-gb"><![CDATA[While this mod doesn't have to be installed along-side the "Multi-Race Rank Theme" mod, it is compatible with the mod and can be used to compliment it. Instructions on how to alter the Multi-Race Rank Theme mod to allow users with special ranks to choose a theme can be found in the /contrib folder. + +The styling used by this mod is entirely arbitrary and was included as an example. You may wish to use different HTML in memberlist_view.html and viewtopic_body.html.]]></author-notes> + <author-group> + <author> + <realname>IBBoard</realname> + <email>phpbb@ibboard.co.uk</email> + <username>IBBoard</username> + <homepage>http://www.ibboard.co.uk</homepage> + </author> + </author-group> + <link-group> + <link type="parent" href="Install.xml" lang="en-gb">Main instructions</link> + </link-group> + <mod-version>1.0.0</mod-version> + <installation> + <level>intermediate</level> + <time>180</time> + <target-version>3.0.1</target-version> + </installation> + <history> + <entry> + <date>2008-11-09</date> + <rev-version>0.1.0</rev-version> + <changelog lang="en-gb"> + <change>No code changes - update for release in MODX 1.2.1 format</change> + </changelog> + </entry> + <entry> + <date>2008-04-28</date> + <rev-version>0.1.0</rev-version> + <changelog lang="en-gb"> + <change>Change: Separate out subsilver instructions to templates/subsilver2.xml</change> + </changelog> + </entry> + </history> + </header> + <action-group> + <open src="styles/subsilver2/template/memberlist_view.html"> + <edit> + <find><![CDATA[ + <!-- IF RANK_IMG --> + <tr> + <td align="center">{RANK_IMG}</td> + </tr> + <!-- ENDIF -->]]></find> + <action type="after-add"><![CDATA[ + <!-- IF EXTRA_RANK_TITLE --> + <tr> + <td class="postdetails" align="center">{EXTRA_RANK_TITLE}</td> + </tr> + <!-- ENDIF --> + <!-- IF EXTRA_RANK_IMG --> + <tr> + <td align="center">{EXTRA_RANK_IMG}</td> + </tr> + <!-- ENDIF -->]]> + </action> + </edit> + </open> + <open src="styles/subsilver2/template/viewtopic_body.html"> + <edit> + <find><![CDATA[ <!-- IF postrow.RANK_IMG --> + <tr> + <td>{postrow.RANK_IMG}</td> + </tr> + <!-- ENDIF -->]]></find> + <action type="after-add"><![CDATA[ + <!-- IF postrow.EXTRA_RANK_TITLE --> + <tr> + <td class="postdetails">{postrow.EXTRA_RANK_TITLE}</td> + </tr> + <!-- ENDIF --> + <!-- IF postrow.EXTRA_RANK_IMG --> + <tr> + <td>{postrow.EXTRA_RANK_IMG}</td> + </tr> + <!-- ENDIF -->]]> + </action> + </edit> + </open> + </action-group> +</mod>