Also, I assume that the current phpBB-version 3.3.3 is used.DBG1 wrote: ↑Wed Mar 24, 2021 7:27 am 4 - Is there an updated version of the code edit on the link below that I could make instead of installing an extension for simply setting up a default avatar?
viewtopic.php?p=13070397#p13070397
So test this simple HTML-workaround. Download the current template = viewtopic_body.html phpBB-Version 3.3.3 - Prosilver and *upload this to the template directory of your design: (path) prosilver_dark / template
viewtopic_body.html (line 146 - 148 (!!)) find:
Code: Select all
<!-- IF postrow.POSTER_AVATAR -->
<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}" class="avatar">{postrow.POSTER_AVATAR}</a><!-- ELSE --><span class="avatar">{postrow.POSTER_AVATAR}</span><!-- ENDIF -->
<!-- ENDIF -->
Code: Select all
<!-- IF postrow.POSTER_AVATAR -->
<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}" class="avatar">{postrow.POSTER_AVATAR}</a><!-- ELSE --><span class="avatar">{postrow.POSTER_AVATAR}</span><!-- ENDIF -->
<!-- ELSEIF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}" class="avatar"><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="" /></a>
<!-- ENDIF -->
Best regards
Edit: *Please remember to maintain this HTML-template yourself if this is relevant (style code changes (updates for new phpBB-versions)).