Die Codezeile ist aber überflüssig. Besser ist folgendes:
Suche
Code: Alles auswählen
<!-- IF postrow.POSTER_AVATAR and S_USER_LOGGED_IN --><div class="postavatar">{postrow.POSTER_AVATAR}</div><!-- ENDIF -->
<!-- IF postrow.POSTER_AVATAR and S_USER_LOGGED_IN and not S_IS_BOT --></div><!-- ENDIF -->
Ersetze mit
Code: Alles auswählen
<!-- IF postrow.POSTER_AVATAR and S_USER_LOGGED_IN and not S_IS_BOT --><div class="postavatar">{postrow.POSTER_AVATAR}</div><!-- ENDIF -->
Nun zu deinem eigentlichen Problem.
Sichere mal die viewtopic_body.html und führe danach folgende Änderungen durch:
Suche:
Code: Alles auswählen
<!-- IF postrow.POSTER_FROM --><br /><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}<!-- ENDIF -->
Füge danach in einer neuen Zeile ein:
Code: Alles auswählen
<!-- IF postrow.S_PROFILE_MOTORRAD and S_USER_LOGGED_IN and not S_IS_BOT --><br /><b>{postrow.PROFILE_MOTORRAD_NAME}:</b> {postrow.PROFILE_MOTORRAD_VALUE}<!-- ENDIF -->
and S_USER_LOGGED_IN and not S_IS_BOT kannst du weglassen, falls auch Gäste und Bots das Feld sehen sollen.
Finde
Code: Alles auswählen
<!-- IF postrow.S_PROFILE_FIELD1 -->
<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
<br /><b>{postrow.PROFILE_FIELD1_NAME}:</b> {postrow.PROFILE_FIELD1_VALUE}
<!-- ENDIF -->
<!-- BEGIN custom_fields -->
<br /><b>{postrow.custom_fields.PROFILE_FIELD_NAME}:</b> {postrow.custom_fields.PROFILE_FIELD_VALUE}
<!-- END custom_fields -->
Lösch es!
Zukünftig muß dann aber jedes neue Profilfeld in der viewtopic_body.html extra erwähnt werden, dafür kann man dieses dann aber frei plazieren.
Suche
Code: Alles auswählen
<!-- IF postrow.U_WWW --><a href="{postrow.U_WWW}">{WWW_IMG}</a> <!-- ENDIF -->
Ergänze danach in einer neuen Zeile:
Code: Alles auswählen
<!-- IF postrow.S_PROFILE_UMBAUTEN --><a href="http://{postrow.PROFILE_UMBAUTEN_VALUE}"><img src="{T_IMAGESET_PATH}/icon_umbauten.gif" title="{postrow.PROFILE_UMBAUTEN_NAME}" alt="" /></a><!-- ENDIF -->
Hier heißt das passende Bild icon_umbauten.gif und liegt im Ordner styles/Name des Sytles/imageset.
Der Link muß bei der Variante allerdings ohne http:// im Profilfeld eingegeben werden, mit http erfolgt leider eine automatische Formatierung, was bei mir lokal zu Merkwürdigkeiten wie <a href="<!-- m --><a class="postlink" href="http://phpbb.de">http://phpbb.de</a><!-- m -->"> führt.
Danach wie üblich Style aktualisieren und Cache leeren.
Nachtrag:
Mir fällt gerade in deiner Original-viewtopic auf, daß ein End-if falsch gesetzt ist.
Suche
Code: Alles auswählen
<!-- IF postrow.U_WWW --><a href="{postrow.U_WWW}">{WWW_IMG}</a> <!-- ENDIF -->
</td>
<!-- ENDIF -->
Ersetze mit
Code: Alles auswählen
<!-- IF postrow.U_WWW --><a href="{postrow.U_WWW}">{WWW_IMG}</a> <!-- ENDIF -->
<!-- ENDIF -->
</td>
EDIT: Fehler berichtigt; bei S_PROFILE_MOTORRAD das PROFILE vergessen u.a.