Seite 1 von 1

[ERLEDIGT]Reihenfolge der Userinformation in Beiträgen...

Verfasst: 12.06.2007 19:11
von moneycoach
Reihenfolge der Userinformation in Beiträgen ändern

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>
Die einzige Änderung besteht also darin, das die Passage des On-/Offline-Bildes unter die Passage der "Postdetails" verschoben wurde. Ändern tut sich allerdings garnichts, weder befindet sich das Statusbild jetzt unter den Infos, noch hat es sich von oben überhaupt entfernt.

Ich hoffe ich konnte mein Problem verständlich machen.
Vielen Dank im Vorraus
moneycoach

Verfasst: 12.06.2007 19:35
von Dawn
Ist das möglicherweise auch so ein Problem, wo erstmal der Cache des Forums geleert werden muss?

Verfasst: 12.06.2007 20:25
von moneycoach
Dawn hat geschrieben:Ist das möglicherweise auch so ein Problem, wo erstmal der Cache des Forums gelehrt werden muss?
Oh ja danke :)
Vielen Dank Dawn


Thema erledigt, kann closed.

Verfasst: 12.06.2007 20:32
von Dawn
geleert.. ohweiah wie peinlich