Specific instructions on how to apply certain mods to certain styles.
Moderator: Moderators
by Reiji Kurosaky on Mon Oct 30, 2006 2:19 am
- Code: Select all
##############################################################
## MOD Title: Simple Subforums MOD (Venus Changes)
## MOD Author: Reiji Kurosaky < reiji@villavizar.com > (Rafael Villavizar) http://www.villavizar.com
## MOD Description: Venus 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/Venus/index_body.tpl
## templates/Venus/modcp_body.tpl
## templates/Venus/modcp_split.tpl
## templates/Venus/posting_body.tpl
## templates/Venus/Venus.cfg
## templates/Venus/viewforum_body.tpl
## templates/Venus/viewtopic_body.tpl
##
## Included Files: 2
## templates/Venus/images/folders.gif
## templates/Venus/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 RK's Venus style changes for this MOD. To get the MOD go to http://www.pentapenguin.com
##############################################################
## Before Adding This MOD To Your Forum, You Should Back Up All Files Related To This MOD
##############################################################
#
#-----[ OPEN ]------------------------------------------
#
templates/Venus/index_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<!-- BEGIN forumrow -->
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- IF ! forumrow.PARENT -->
#
#-----[ FIND ]------------------------------------------
#
<tr>
<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="37" height="37" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row2" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
</span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
</span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
<td class="row1" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
<td class="row1" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
#
#-----[ REPLACE WITH ]------------------------------------------
#
<tr>
<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="37" height="37" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row2" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
</span> <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="gensmall"<!-- 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="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
<td class="row1" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
<td class="row1" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
#
#-----[ FIND ]------------------------------------------
#
<!-- END forumrow -->
#
#-----[ BEFORE, ADD ]------------------------------------------
#
<!-- ENDIF -->
#
#-----[ OPEN ]------------------------------------------
#
templates/Venus/modcp_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<a class="nav" href="{U_INDEX}">{SITENAME}</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 -->
#
#-----[ OPEN ]------------------------------------------
#
templates/Venus/modcp_split.tpl
#
#-----[ FIND ]------------------------------------------
#
<a class="nav" href="{U_INDEX}">{SITENAME}</a>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- IF PARENT_FORUM -->» <a class="nav" href="{U_VIEW_PARENT_FORUM}">{PARENT_FORUM_NAME}</a><!-- ENDIF -->
#
#-----[ OPEN ]------------------------------------------
#
templates/Venus/posting_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<a class="nav" href="{U_INDEX}">{SITENAME}</a>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- IF PARENT_FORUM -->» <a class="nav" href="{U_VIEW_PARENT_FORUM}">{PARENT_FORUM_NAME}</a><!-- ENDIF -->
#
#-----[ OPEN ]------------------------------------------
#
templates/Venus/Venus.cfg
#
#-----[ FIND ]------------------------------------------
#
$images['voting_graphic'][4] = "$current_template_images/voting_bar.gif";
#
#-----[ AFTER, 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/Venus/viewforum_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<a class="nav" href="{U_INDEX}">{SITENAME}</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 ]------------------------------------------
#
<tr>
<td align="left" valign="middle" width="50"><a href="{U_POST_NEW_TOPIC}"><img src="{POST_IMG}" border="0" alt="{L_POST_NEW_TOPIC}" /></a></td>
</tr>
</table>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<table width="100%" cellpadding="4" cellspacing="0" border="0" class="forumline">
<!-- BEGIN catrow -->
<tr>
<td class="catLeft" colspan="2" height="28"><span class="cattitle"><a href="{catrow.U_VIEWCAT}" class="cattitle">{catrow.CAT_DESC}</a></span></td>
<td class="catLeft" colspan="3" align="right"> </td>
</tr>
<tr>
<th colspan="2" class="thCornerL" height="25" nowrap="nowrap"> {L_FORUM} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_TOPICS} </th>
<th width="50" class="thTop" nowrap="nowrap"> {L_POSTS} </th>
<th class="thCornerR" nowrap="nowrap"> {L_LASTPOST} </th>
</tr>
<!-- BEGIN forumrow -->
<tr>
<td class="row1" align="center" valign="middle" height="50"><img src="{catrow.forumrow.FORUM_FOLDER_IMG}" width="37" height="37" alt="{catrow.forumrow.L_FORUM_FOLDER_ALT}" title="{catrow.forumrow.L_FORUM_FOLDER_ALT}" /></td>
<td class="row2" width="100%" height="50"><span class="forumlink"> <a href="{catrow.forumrow.U_VIEWFORUM}" class="forumlink">{catrow.forumrow.FORUM_NAME}</a><br />
</span> <span class="genmed">{catrow.forumrow.FORUM_DESC}<br />
</span><span class="gensmall">{catrow.forumrow.L_MODERATOR} {catrow.forumrow.MODERATORS}</span></td>
<td class="row1" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.TOPICS}</span></td>
<td class="row2" align="center" valign="middle" height="50"><span class="gensmall">{catrow.forumrow.POSTS}</span></td>
<td class="row1" align="center" valign="middle" height="50" nowrap="nowrap"> <span class="gensmall">{catrow.forumrow.LAST_POST}</span></td>
</tr>
<!-- END forumrow -->
</table><br />
<!-- END catrow -->
#
#-----[ OPEN ]------------------------------------------
#
templates/Venus/viewtopic_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<a class="nav" href="{U_INDEX}">{SITENAME}</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
Images:
Premodded Files (with buttons): [.zip]
-

Reiji Kurosaky
- Registered User

-
- Posts: 858
- Joined: Sat Dec 03, 2005 4:05 pm
-
Return to How to mod some styles
Users browsing this forum: No registered users and 2 guests