What exactly are you wanting to do Chris?
Have you looked in your viewtopic_body.html template for the avatar codes?
Are you working with a prosilver or a subsilver2 type style?
This mod simply uses an IF statement, ELSE statement and ENDIF statement.
Show what you have tried so far and what it's doing in your style.
For prosilver
- 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 />
<!-- ELSE -->
<!-- IF postrow.U_POST_AUTHOR --><a href="{postrow.U_POST_AUTHOR}"><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="" /></a><!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="" /><!-- ENDIF --><br />
<!-- ENDIF -->
Check Stoker's first post, he has good directions on how to add this.
Don't let these latest codes confuse you. These guys are adding the Highslide mod in their codes.
Use the first post's codes to add a default avatar in your viewtopic.