- Code: Select all
##############################################################
## MOD Title: Simple Subforums MOD (Aphrodite Changes)
## MOD Author: kvfb97 < info@kvfb97.co.uk > (Robert Dougan) http://www.kvfb97.co.uk
## MOD Description: Aphrodite style changes for the simple subforums mod by pentapenguin
## MOD Version: 1.0.0
##
## Installation Level: Easy
## Installation Time: 10 Minutes
##
## Files To Edit: 7
## templates/ca_aphrodite/index_body.tpl
## templates/ca_aphrodite/modcp_body.tpl
## templates/ca_aphrodite/modcp_split.tpl
## templates/ca_aphrodite/posting_body.tpl
## templates/ca_aphrodite/ca_aphrodite.cfg
## templates/ca_aphrodite/viewforum_body.tpl
## templates/ca_aphrodite/viewtopic_body.tpl
##
## Included Files: 2
## templates/ca_aphrodite/images/folders.gif
## templates/ca_aphrodite/images/folders_new.gif
##
## License: http://opensource.org/licenses/gpl-license.php GNU General Public License v2
##############################################################
## 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/
##############################################################
## Author Notes:
## This is only CA's Aphrodite style changes for this MOD. To get the MOD goto http://www.pentapenguin.com
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
templates/ca_aphrodite/index_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<!-- BEGIN forumrow -->
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- IF ! forumrow.PARENT -->
#
#-----[ FIND ]------------------------------------------
#
<tr>
<td class="row3 row-center" width="30"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="25" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1h{catrow.forumrow.XS_NEW} row-forum" width="70%" onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'"><a class="forumlink{catrow.forumrow.XS_NEW}" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
<span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
</span><span class="moderators">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
<td class="row2 row-center-small">{catrow.forumrow.TOPICS}</td>
<td class="row2 row-center-small">{catrow.forumrow.POSTS}</td>
<td class="row3 row-center-small" width="130">{catrow.forumrow.LAST_POST}</td>
</tr>
#
#-----[ REPLACE WITH ]------------------------------------------
#
<tr>
<td class="row3 row-center" width="30"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="25" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1h{catrow.forumrow.XS_NEW} row-forum" width="70%" onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'"><a class="forumlink{catrow.forumrow.XS_NEW}" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
<span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
<!-- BEGIN sub --><!-- DEFINE $HAS_SUB = 1 --><!-- IF catrow.forumrow.sub.NUM > 0 -->, <!-- ELSE --><span class="genmed">{L_SUBFORUMS}: <!-- ENDIF -->{catrow.forumrow.sub.LAST_POST_SUB} <a href="{catrow.forumrow.sub.U_VIEWFORUM}" <!-- IF catrow.forumrow.sub.UNREAD -->class="topic-new"<!-- ENDIF --> title="{catrow.forumrow.sub.FORUM_DESC_HTML}">{catrow.forumrow.sub.FORUM_NAME}</a><!-- END sub -->
<!-- IF $HAS_SUB --></span><!-- UNDEFINE $HAS_SUB --><!-- ENDIF -->
</span><span class="moderators"> <!-- IF catrow.forumrow.MODERATORS -->{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}<br /><!-- ENDIF --> </span></td>
<td class="row2 row-center-small">{catrow.forumrow.TOTAL_TOPICS}</td>
<td class="row2 row-center-small">{catrow.forumrow.TOTAL_POSTS}</td>
<td class="row3 row-center-small" width="130">{catrow.forumrow.LAST_POST}</td>
</tr>
#
#-----[ FIND ]------------------------------------------
#
<!-- END forumrow -->
#
#-----[ BEFORE, ADD ]------------------------------------------
#
<!-- ENDIF -->
#
#-----[ OPEN ]------------------------------------------
#
templates/ca_aphrodite/modcp_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<a href="{U_INDEX}">{L_INDEX}</a>
#
#-----[ IN-LINE FIND ]------------------------------------------
#
</a>
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
<!-- IF PARENT_FORUM -->» <a href="{U_VIEW_PARENT_FORUM}">{PARENT_FORUM_NAME}</a><!-- ENDIF -->
#
#-----[ OPEN ]------------------------------------------
#
templates/ca_aphrodite/modcp_split.tpl
#
#-----[ FIND ]------------------------------------------
#
<a href="{U_INDEX}">{L_INDEX}</a>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- IF PARENT_FORUM -->» <a href="{U_VIEW_PARENT_FORUM}">{PARENT_FORUM_NAME}</a><!-- ENDIF -->
#
#-----[ OPEN ]------------------------------------------
#
templates/ca_aphrodite/posting_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<a href="{U_VIEW_FORUM}">{FORUM_NAME}</a>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- IF PARENT_FORUM -->» <a href="{U_VIEW_PARENT_FORUM}">{PARENT_FORUM_NAME}</a><!-- ENDIF -->
#
#-----[ OPEN ]------------------------------------------
#
templates/ca_aphrodite/ca_aphrodite.cfg
#
#-----[ FIND ]------------------------------------------
#
?>
#
#-----[ BEFORE, ADD ]------------------------------------------
#
// Begin Simple Subforums MOD
$images['forums'] = "$current_template_images/folders.gif";
$images['forums_new'] = "$current_template_images/folders_new.gif";
// End Simple Subforums MOD
#
#-----[ OPEN ]------------------------------------------
#
templates/ca_aphrodite/viewforum_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<a href="{U_INDEX}">{L_INDEX}</a>
#
#-----[ IN-LINE FIND ]------------------------------------------
#
</a>
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
<!-- IF PARENT_FORUM -->» <a href="{U_VIEW_PARENT_FORUM}">{PARENT_FORUM_NAME}</a><!-- ENDIF -->
#
#-----[ FIND ]------------------------------------------
#
<tr>
<td align="left" valign="middle"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" alt="{L_POST_NEW_TOPIC}" /></a></td>
</tr>
</table>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- BEGIN catrow -->
<table width="100%" cellspacing="0" class="forumline">
<tr>
<td colspan="5" class="row-header"><span>{FORUM_NAME}</span></td>
</tr>
<tr>
<th colspan="2">{catrow.CAT_DESC}</th>
<th>{L_TOPICS}</th>
<th>{L_POSTS}</th>
<th>{L_LASTPOST}</th>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row3 row-center" width="30"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="25" height="25" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row1h{catrow.forumrow.XS_NEW} row-forum" width="70%" onclick="window.location.href='{catrow.forumrow.U_VIEWFORUM}'"><a class="forumlink{catrow.forumrow.XS_NEW}" href="{catrow.forumrow.U_VIEWFORUM}">{catrow.forumrow.FORUM_NAME}</a><br />
<span class="genmed">{catrow.forumrow.FORUM_DESC}
</span><br /><span class="moderators">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
<td class="row2 row-center-small">{catrow.forumrow.TOPICS}</td>
<td class="row2 row-center-small">{catrow.forumrow.POSTS}</td>
<td class="row3 row-center-small" width="130">{catrow.forumrow.LAST_POST}</td>
</tr>
<!-- END forumrow -->
</table>
<!-- END catrow -->
#
#-----[ OPEN ]------------------------------------------
#
templates/ca_aphrodite/viewtopic_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<a href="{U_INDEX}" class="nav">{L_INDEX}</a>
#
#-----[ IN-LINE FIND ]------------------------------------------
#
</a>
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
<!-- IF PARENT_FORUM --> -> <a class="nav" href="{U_VIEW_PARENT_FORUM}">{PARENT_FORUM_NAME}</a><!-- ENDIF -->
#
#-----[ FIND ]------------------------------------------
#
<a href="{U_INDEX}">{L_INDEX}</a>
#
#-----[ IN-LINE FIND ]------------------------------------------
#
</a>
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
<!-- IF PARENT_FORUM --> -> <a class="nav" href="{U_VIEW_PARENT_FORUM}">{PARENT_FORUM_NAME}</a><!-- ENDIF -->
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM




