This is a guide to get a default avatar for users that have not choosen one.
Nothing fancy like ACP control, just 1 edit per style.
Prosilver:
Open prosilver/template/viewtopic_body.html
Find:
- Code: Select all
<!-- IF postrow.POSTER_AVATAR -->
<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{postrow.POSTER_AVATAR}</a><!-- ELSE -->{postrow.POSTER_AVATAR}<!-- ENDIF --><br />
<!-- ENDIF -->
Replace with:
- Code: Select all
<!-- IF postrow.POSTER_AVATAR -->
<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}">{postrow.POSTER_AVATAR}</a><!-- ELSE -->{postrow.POSTER_AVATAR}<!-- ENDIF --><!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" width="90" height="90" alt="" />
<!-- ENDIF --><br />
Subsilver2:
Open subsilver2/template/viewtopic_body.html
Find:
- Code: Select all
<!-- IF postrow.POSTER_AVATAR -->
<tr>
<td>{postrow.POSTER_AVATAR}</td>
</tr>
<!-- ELSE -->
<tr>
<td><img src="{T_THEME_PATH}/images/no_avatar.gif" width="90" height="90" alt="" /></td>
</tr>
<!-- ENDIF -->
That is that
PhpBB3 has standard avartars. This i the one we use here.
If You want Your own Default Avatars, just upload them to name of your style/theme/images and call them no_avatar.gif
If the Avatar has another size than 90 x 90 make sure to edit the width and height in above code.











