BulletMonk
October 6th, 2005, 15:11
The mod I'm trying to install is cash mod.
Ok here's the problem,
The instruction says :
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/memberlist_body.tpl
#
#-----[ FIND ]------------------------------------------
# in subSilver, the full line is
# <th class="thTop" nowrap="nowrap">{L_POSTS}</th>
#
{L_POSTS}
#
#-----[ AFTER, ADD ]------------------------------------------
# on the next line
#
<!-- BEGIN cashrow -->
<th class="thTop" nowrap="nowrap">{cashrow.NAME}</th>
<!-- END cashrow -->
#
#-----[ FIND ]------------------------------------------
# in subSilver, the full line is
# <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.POSTS}</span></td>
#
{memberrow.POSTS}
#
#-----[ AFTER, ADD ]------------------------------------------
# on the next line
#
<!-- BEGIN cashrow -->
<td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.cashrow.CASH_DISPLAY}</span></td>
<!-- END cashrow -->
#
#-----[ FIND ]------------------------------------------
# in subSilver, the full line is
# <td class="catBottom" colspan="8" height="28"> </td>
#
colspan="8"
#
#-----[ IN-LINE FIND ]------------------------------------------
#
8
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
{NUM_COLUMNS}
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/profile_view_body.tpl
#
#-----[ FIND ]------------------------------------------
# in subSilver, the full line is
# <td> <b><span class="gen">{INTERESTS}</span></b></td>
#
{INTERESTS}
#
#-----[ FIND ]------------------------------------------
# (on the next line)
#
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
{CASH}
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewtopic_body.tpl
#
#-----[ FIND ]------------------------------------------
#
{postrow.POSTER_FROM}
#
#-----[ IN-LINE FIND ]------------------------------------------
#
{postrow.POSTER_FROM}
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
<br />{postrow.CASH}
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
But the thing is that I'm not using the subsilver skin. I need to apply the same thing for morpheus skin and the morpheus code doesn't have some of the stuff the tut talks about.
templates/subSilver/memberlist_body.tpl or in my case templates/morpheus/memberlist_body.tpl
<form method="post" action="{S_MODE_ACTION}">
<table width="100%" cellspacing="1" cellpadding="4" border="0" align="center" class="nav">
<tr>
<td class="nav" align="left" valign="middle"><span class="nav"><a href="{U_INDEX}">{L_INDEX}</a></span></td>
<td class="nav" align="right" nowrap="nowrap"><span class="nav">{L_SELECT_SORT_METHOD}: {S_MODE_SELECT} {L_ORDER} {S_ORDER_ SELECT} <input type="submit" name="submit" value="{L_SUBMIT}" class="liteoption" /></span></td>
</tr>
</table>
<br />
{TPL_HDR1}{PAGE_TITLE}{TPL_HDR2}<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th height="25" nowrap="nowrap">#</th>
<th nowrap="nowrap"> </th>
<th nowrap="nowrap">{L_USERNAME}</th>
<th nowrap="nowrap">{L_EMAIL}</th>
<th nowrap="nowrap">{L_FROM}</th>
<th nowrap="nowrap">{L_JOINED}</th>
<th nowrap="nowrap">{L_POSTS}</th>
<th nowrap="nowrap">{L_WEBSITE}</th>
</tr>
<!-- BEGIN memberrow -->
<tr>
<td class="row" align="center"><span class="gen"> {memberrow.ROW_NUMBER} </span></td>
<td class="row" align="center"> {memberrow.PM_IMG} </td>
<td class="row" align="center"><span class="gen"><a href="{memberrow.U_VIEWPROFILE}" class="gen">{memberrow.USERNAME}</a></span></td>
<td class="row" align="center" valign="middle"> {memberrow.EMAIL_IMG} </td>
<td class="row" align="center" valign="middle"><span class="gen">{memberrow.FROM}</span></td>
<td class="row" align="center" valign="middle"><span class="gensmall">{memberrow.JOINED}</span></td>
<td class="row" align="center" valign="middle"><span class="gen">{memberrow.POSTS}</span></td>
<td class="row" align="center"> {memberrow.WWW_IMG} </td>
</tr>
<!-- END memberrow -->
</table>{TPL_FTR}
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td><span class="gen">{PAGE_NUMBER}</span></td>
<td align="right"><div class="pagination">{PAGINATION}</div></td>
</tr>
</table>
</form>
<table width="100%" cellspacing="2" border="0" align="center">
<tr>
<td valign="top" align="right">{JUMPBOX}</td>
</tr>
</table>
The other code (templates/subSilver/viewtopic_body.tpl or in my case templates/morpheus/viewtopic_body.tpl) is in my second post:
Ok here's the problem,
The instruction says :
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/memberlist_body.tpl
#
#-----[ FIND ]------------------------------------------
# in subSilver, the full line is
# <th class="thTop" nowrap="nowrap">{L_POSTS}</th>
#
{L_POSTS}
#
#-----[ AFTER, ADD ]------------------------------------------
# on the next line
#
<!-- BEGIN cashrow -->
<th class="thTop" nowrap="nowrap">{cashrow.NAME}</th>
<!-- END cashrow -->
#
#-----[ FIND ]------------------------------------------
# in subSilver, the full line is
# <td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.POSTS}</span></td>
#
{memberrow.POSTS}
#
#-----[ AFTER, ADD ]------------------------------------------
# on the next line
#
<!-- BEGIN cashrow -->
<td class="{memberrow.ROW_CLASS}" align="center" valign="middle"><span class="gen">{memberrow.cashrow.CASH_DISPLAY}</span></td>
<!-- END cashrow -->
#
#-----[ FIND ]------------------------------------------
# in subSilver, the full line is
# <td class="catBottom" colspan="8" height="28"> </td>
#
colspan="8"
#
#-----[ IN-LINE FIND ]------------------------------------------
#
8
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
{NUM_COLUMNS}
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/profile_view_body.tpl
#
#-----[ FIND ]------------------------------------------
# in subSilver, the full line is
# <td> <b><span class="gen">{INTERESTS}</span></b></td>
#
{INTERESTS}
#
#-----[ FIND ]------------------------------------------
# (on the next line)
#
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
{CASH}
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewtopic_body.tpl
#
#-----[ FIND ]------------------------------------------
#
{postrow.POSTER_FROM}
#
#-----[ IN-LINE FIND ]------------------------------------------
#
{postrow.POSTER_FROM}
#
#-----[ IN-LINE AFTER, ADD ]------------------------------------------
#
<br />{postrow.CASH}
#
#-----[ SAVE/CLOSE ALL FILES ]------------------------------------------
#
# EoM
But the thing is that I'm not using the subsilver skin. I need to apply the same thing for morpheus skin and the morpheus code doesn't have some of the stuff the tut talks about.
templates/subSilver/memberlist_body.tpl or in my case templates/morpheus/memberlist_body.tpl
<form method="post" action="{S_MODE_ACTION}">
<table width="100%" cellspacing="1" cellpadding="4" border="0" align="center" class="nav">
<tr>
<td class="nav" align="left" valign="middle"><span class="nav"><a href="{U_INDEX}">{L_INDEX}</a></span></td>
<td class="nav" align="right" nowrap="nowrap"><span class="nav">{L_SELECT_SORT_METHOD}: {S_MODE_SELECT} {L_ORDER} {S_ORDER_ SELECT} <input type="submit" name="submit" value="{L_SUBMIT}" class="liteoption" /></span></td>
</tr>
</table>
<br />
{TPL_HDR1}{PAGE_TITLE}{TPL_HDR2}<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<th height="25" nowrap="nowrap">#</th>
<th nowrap="nowrap"> </th>
<th nowrap="nowrap">{L_USERNAME}</th>
<th nowrap="nowrap">{L_EMAIL}</th>
<th nowrap="nowrap">{L_FROM}</th>
<th nowrap="nowrap">{L_JOINED}</th>
<th nowrap="nowrap">{L_POSTS}</th>
<th nowrap="nowrap">{L_WEBSITE}</th>
</tr>
<!-- BEGIN memberrow -->
<tr>
<td class="row" align="center"><span class="gen"> {memberrow.ROW_NUMBER} </span></td>
<td class="row" align="center"> {memberrow.PM_IMG} </td>
<td class="row" align="center"><span class="gen"><a href="{memberrow.U_VIEWPROFILE}" class="gen">{memberrow.USERNAME}</a></span></td>
<td class="row" align="center" valign="middle"> {memberrow.EMAIL_IMG} </td>
<td class="row" align="center" valign="middle"><span class="gen">{memberrow.FROM}</span></td>
<td class="row" align="center" valign="middle"><span class="gensmall">{memberrow.JOINED}</span></td>
<td class="row" align="center" valign="middle"><span class="gen">{memberrow.POSTS}</span></td>
<td class="row" align="center"> {memberrow.WWW_IMG} </td>
</tr>
<!-- END memberrow -->
</table>{TPL_FTR}
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td><span class="gen">{PAGE_NUMBER}</span></td>
<td align="right"><div class="pagination">{PAGINATION}</div></td>
</tr>
</table>
</form>
<table width="100%" cellspacing="2" border="0" align="center">
<tr>
<td valign="top" align="right">{JUMPBOX}</td>
</tr>
</table>
The other code (templates/subSilver/viewtopic_body.tpl or in my case templates/morpheus/viewtopic_body.tpl) is in my second post: