Seite 1 von 1

Benutzerdefiniertes Profilfeld

Verfasst: 07.05.2009 12:13
von michael-88
Hi

ich würde ganz gerne einige benutzerdefinierte Felder in meinem Forum bei den Posts anzeigen

Einstellungen unter Serverlast lassen dies zu

das Feld habe ich hinzugeüfgt, sieht wie folgt aus
Feld-Kennung: matrnr
so, einstellungen auch beim Feld alle netsprechend meinem wunsch, es anzuzeigen

nun zum template
geändert hebe ich NUR:
viewtopic_body.html von prosilver

Code: Alles auswählen

		<!-- IF postrow.POSTER_POSTS != '' --><dd><strong>{L_POSTS}:</strong> {postrow.POSTER_POSTS}</dd><!-- ENDIF -->
		<!-- IF postrow.POSTER_JOINED --><dd><strong>{L_JOINED}:</strong> {postrow.POSTER_JOINED}</dd><!-- ENDIF -->
		<!-- IF postrow.POSTER_FROM --><dd><strong>{L_LOCATION}:</strong> {postrow.POSTER_FROM}</dd><!-- ENDIF -->
<!--hinzugefügt
<dd><strong>{postrow.matrnr_NAME}:</strong> {postrow.PROFILE_matrnr_VALUE}</dd>
-->

		<!-- IF postrow.S_PROFILE_FIELD1 -->
			<!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
			<dd><strong>{postrow.PROFILE_FIELD1_NAME}:</strong> {postrow.PROFILE_FIELD1_VALUE}</dd>
		<!-- ENDIF -->

		<!-- BEGIN custom_fields -->
			<dd><strong>{postrow.custom_fields.PROFILE_FIELD_NAME}:</strong> {postrow.custom_fields.PROFILE_FIELD_VALUE}</dd>
		<!-- END custom_fields -->

[..]
so, nun wird aber im Thema nichts angeziegt, hab ich was vergessen oder wie?
also: genau genommen wird
{postrow.PROFILE_matrnr_NAME}: {postrow.PROFILE_matrnr_VALUE}
im thema angezeigt

Re: Benutzerdefiniertes Profilfeld

Verfasst: 07.05.2009 12:20
von Dr.Death
Hallo,

schau mal hier vorbei --> Profilfeld