Das Forum der Foren
Würden Sie gerne auf diese Nachricht reagieren? Erstellen Sie einen Account in wenigen Klicks oder loggen Sie sich ein, um fortzufahren.

[phpBB2] Avatardarstellung

Nach unten

Keine R?ckmeldung closed [phpBB2] Avatardarstellung

Beitrag von Runningforever Mi 22 Apr 2015 - 20:27

Hallo!

Hier bin ich und nerve erneut. Und zwar habe ich eine Frage. Wäre es möglich, die Darstellung so zu ändern? Ich glaube, das ganze müsste in den viewtopic_body, und einige Dinge kann man schon machen, wie zum Beispiel den Avatar. Wie aber könnte ich es gestalten, dass die User in ihrem Profil bei einem von mir erstellten Profilfeld ihren Spitzamen eingeben und dieser dann angezeigt wird? Hier mal ein Bild, wie ich mir das vorstelle. Der Avatar sollte dann an stelle der 200x300 stehen, der Spitzname bei 'Alias', das Alter des Charakters bei 'Age', die Anzahl der Posts sollte sich immer selbstständig aktualisieren, also die Zahl der Posts anstatt '1' und letztendlich soll angezeigt werden, ob der User online ist, oder nicht. Kann man also überhaupt Profilfelder in die Templates einbinden, damit sie für jeden gelten? Ich hoffe man versteht was ich meine.  

Bild:

Hier mal der Code
Code:


<div style="width: 220px; padding: 2px; border: 1px dotted #000;"><div style="width: 200px; background-color: #000; padding: 10px;"><!-- |avatar| --><div style="width: 196px; padding: 2px; background-color: #fff;"><div style="float: left; width: 89px; padding: 4px; background-color: #e7e7e7; text-align: center; text-transform: uppercase; font-family: tahoma; font-size: 8px; line-height: 100%;"><!-- |field_1| --></div><div style="float: right; width: 97px; height: 16px; background-color: #000;"></div><div style="height: 0px; clear:both;"></div><div style="float: left; width: 97px; height: 16px; background-color: #000;"></div><div style="float: right; width: 89px; padding: 4px; background-color: #e7e7e7; text-align: center; text-transform: uppercase; font-family: tahoma; font-size: 8px; line-height: 100%;"><!-- |field_2| --></div><div style="height: 0px; clear:both;"></div><div style="float: left; width: 89px; padding: 4px; background-color: #e7e7e7; text-align: center; text-transform: uppercase; font-family: tahoma; font-size: 8px; line-height: 100%;"><!-- |posts| --></div><div style="float: right; width: 97px; height: 16px; background-color: #000;"></div><div style="height: 0px; clear:both;"></div><div style="float: left; width: 97px; height: 16px; background-color: #000;"></div><div style="float: right; width: 89px; padding: 4px; background-color: #e7e7e7; text-align: center; text-transform: uppercase; font-family: tahoma; font-size: 8px; line-height: 100%;"><!-- |status| --></div><div style="height:0px; clear:both;"></div><!-- |g_icon| -->
</div>
</div>
</div>
</center>
Runningforever
Runningforever
Neuling
Neuling

Anzahl der Beiträge : 4
Browser : Chrome
Anmeldedatum : 20.04.15

Nach oben Nach unten

Nach oben

- Ähnliche Themen

 
Befugnisse in diesem Forum
Sie können in diesem Forum nicht antworten