tbartold wrote: Will this mod be made EasyMOD compliant? I ask because I added it to my test board (luckily) using EasyMOD and it seemed to have worked, but then not posts show in the topic view. The culprit (along with the next one)?
The whole line got clobbered rather than just the find text.Code: Select all
#-----[ OPEN ]------------------------------------------ # templates/subSilver/viewtopic_body.tpl # #-----[ FIND ]------------------------------------------ # {postrow.POSTER_AVATAR} # #-----[ REPLACE WITH ]------------------------------------------ # <!-- BEGIN switch_showavatars -->{postrow.POSTER_AVATAR}<!-- END switch_showavatars -->
Code: Select all
<!-- BEGIN switch_showavatars -->
{postrow.POSTER_AVATAR}
<!-- END switch_showavatars -->
Rat wrote:tbartold wrote:Will this mod be made EasyMOD compliant? I ask because I added it to my test board (luckily) using EasyMOD and it seemed to have worked, but then not posts show in the topic view. The culprit (along with the next one)?
The whole line got clobbered rather than just the find text.Code: Select all
#-----[ OPEN ]------------------------------------------ # templates/subSilver/viewtopic_body.tpl # #-----[ FIND ]------------------------------------------ # {postrow.POSTER_AVATAR} # #-----[ REPLACE WITH ]------------------------------------------ # <!-- BEGIN switch_showavatars -->{postrow.POSTER_AVATAR}<!-- END switch_showavatars -->
when you install by easyMOD everything will go through smooth, but you will end up with an error because of the line above..
it MUST be insert as
when you using easyMOD it just replace the whole line instead of that part only! make sure you check.Code: Select all
<!-- BEGIN switch_showavatars --> {postrow.POSTER_AVATAR} <!-- END switch_showavatars -->
ps. this will work with 2.0.10! i just install it again on my board the other day.
Code: Select all
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewtopic_body.tpl
#
#-----[ FIND ]------------------------------------------
#
{postrow.POSTER_AVATAR}
#
#-----[ IN-LINE FIND ]------------------------------------------
#
{postrow.POSTER_AVATAR}
#
#-----[ IN-LINE REPLACE WITH ]------------------------------------------
#
<!-- BEGIN switch_showavatars -->{postrow.POSTER_AVATAR}<!-- END switch_showavatars -->
Rat wrote: i test this mod again out on my phpbb 2.0.10 yesterday and find a bug.
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/admin/user_edit_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<input type="radio" name="allowsmilies" value="0" {ALWAYS_ALLOW_SMILIES_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_SHOW_AVATARS}:</span></td>
<td class="row2">
<input type="radio" name="showavatars" value="1" {SHOW_AVATARS_YES} />
<span class="gen">{L_YES}</span>
<input type="radio" name="showavatars" value="0" {SHOW_AVATARS_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_SHOW_SIGNATURES}:</span></td>
<td class="row2">
<input type="radio" name="showsignatures" value="1" {SHOW_SIGNATURES_YES} />
<span class="gen">{L_YES}</span>
<input type="radio" name="showsignatures" value="0" {SHOW_SIGNATURES_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/profile_add_body.tpl
#
#-----[ FIND ]------------------------------------------
#
<input type="radio" name="allowsmilies" value="0" {ALWAYS_ALLOW_SMILIES_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
#
#-----[ AFTER, ADD ]------------------------------------------
#
<tr>
<td class="row1"><span class="gen">{L_SHOW_AVATARS}:</span></td>
<td class="row2">
<input type="radio" name="showavatars" value="1" {SHOW_AVATARS_YES} />
<span class="gen">{L_YES}</span>
<input type="radio" name="showavatars" value="0" {SHOW_AVATARS_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
<tr>
<td class="row1"><span class="gen">{L_SHOW_SIGNATURES}:</span></td>
<td class="row2">
<input type="radio" name="showsignatures" value="1" {SHOW_SIGNATURES_YES} />
<span class="gen">{L_YES}</span>
<input type="radio" name="showsignatures" value="0" {SHOW_SIGNATURES_NO} />
<span class="gen">{L_NO}</span></td>
</tr>
Code: Select all
#
#-----[ OPEN ]------------------------------------------
#
templates/subSilver/viewtopic_body.tpl
#
#-----[ FIND ]------------------------------------------
#
{postrow.POSTER_AVATAR}
#
#-----[ REPLACE WITH ]------------------------------------------
#
<!-- BEGIN switch_showavatars -->
<br />{postrow.POSTER_AVATAR}
<!-- END switch_showavatars -->
#
#-----[ FIND ]------------------------------------------
#
{postrow.SIGNATURE}
#
#-----[ REPLACE WITH ]------------------------------------------
#
<!-- BEGIN switch_showsignatures -->
{postrow.SIGNATURE}
<!-- END switch_showsignatures -->
Code: Select all
#-----[ FIND ]------------------------------------------
#
{postrow.SIGNATURE}
#
#-----[ REPLACE WITH ]------------------------------------------
#
<!-- BEGIN switch_showsignatures -->
{postrow.SIGNATURE}
<!-- END switch_showsignatures -->
#
Code: Select all
<!-- BEGIN switch_showavatars -->
{postrow.POSTER_AVATAR}
<!-- END switch_showavatars -->