Hallo Commmunity
ich habe mir vor wenigen Tagen ein phpBB-3-RC1 installiert. Doch mich ärgert die Reihenfolge der Userinformationen neben den Beiträgen. Ich verwende den Style SubSilver2. Um das mal zu verdeutlichen, habe ich einen Screenshot gemacht:
[ externes Bild ]
"1" entspricht also dem Online-/Offline-Bild,
"2" entspricht dem Rankname + ggf. Rank-Bild,
"3" entspricht dem Avatar
und "4" entspricht den statistischen Infos.
Ich hätte es jedoch lieber so wie in phpBB 2, also:
erst "2", also den Rank+Rank-Bild,
dann "3", also das Avatar,
dann "4", also die statistischen Infos
und dann erst "1", also das On-/Offline-Bild.
Versucht habe ich es, indem ich die "/styles/subsilver2/template/viewtopic_body.html" editiert habe.
Vorher:
Code: Alles auswählen
<td valign="top" class="profile">
<table cellspacing="4" align="center" width="150">
<!-- IF postrow.ONLINE_IMG -->
<tr>
<td>{postrow.ONLINE_IMG}</td>
</tr>
<!-- ENDIF -->
<!-- IF postrow.RANK_TITLE -->
<tr>
<td class="postdetails">{postrow.RANK_TITLE}</td>
</tr>
<!-- ENDIF -->
<!-- IF postrow.RANK_IMG -->
<tr>
<td>{postrow.RANK_IMG}</td>
</tr>
<!-- ENDIF -->
<!-- IF postrow.POSTER_AVATAR -->
<tr>
<td>{postrow.POSTER_AVATAR}</td>
</tr>
<!-- ENDIF -->
</table>
<span class="postdetails">
<!-- IF postrow.POSTER_JOINED --><br /><b>{L_JOINED}:</b> {postrow.POSTER_JOINED}<!-- ENDIF -->
<!-- IF postrow.POSTER_POSTS != '' --><br /><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}<!-- ENDIF -->
<!-- IF postrow.POSTER_FROM --><br /><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}<!-- ENDIF -->
<!-- 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 -->
</span>
</td>
Nachher:
Code: Alles auswählen
<td valign="top" class="profile">
<table cellspacing="4" align="center" width="150">
<!-- IF postrow.RANK_TITLE -->
<tr>
<td class="postdetails">{postrow.RANK_TITLE}</td>
</tr>
<!-- ENDIF -->
<!-- IF postrow.RANK_IMG -->
<tr>
<td>{postrow.RANK_IMG}</td>
</tr>
<!-- ENDIF -->
<!-- IF postrow.POSTER_AVATAR -->
<tr>
<td>{postrow.POSTER_AVATAR}</td>
</tr>
<!-- ENDIF -->
</table>
<span class="postdetails">
<!-- IF postrow.POSTER_JOINED --><br /><b>{L_JOINED}:</b> {postrow.POSTER_JOINED}<!-- ENDIF -->
<!-- IF postrow.POSTER_POSTS != '' --><br /><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}<!-- ENDIF -->
<!-- IF postrow.POSTER_FROM --><br /><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}<!-- ENDIF -->
<!-- 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 -->
</span>
<!-- IF postrow.ONLINE_IMG -->
<tr>
<td>{postrow.ONLINE_IMG}</td>
</tr>
<!-- ENDIF -->
</td>
Ich hoffe ich konnte mein Problem verständlich machen.
Vielen Dank im Vorraus
moneycoach