Seite 1 von 1

[prosilver] Beiträge von Freunden hervorheben

Verfasst: 27.06.2012 13:27
von Metzle
Um einen Beitrag von Freunden farblich hervorzuheben, benötigt es nur folgende Anpassungen ( für den Style prosilver ):

Öffne: styles/prosilver/template/viewtopic_body.html

Suche:

Code: Alles auswählen

<div id="p{postrow.POST_ID}" class="post <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --> online<!-- ENDIF -->">
Ersetzen mit:

Code: Alles auswählen

<div id="p{postrow.POST_ID}" class="post <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF --><!-- IF postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF postrow.S_POST_REPORTED --> reported<!-- ENDIF --><!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --> online<!-- ENDIF --><!-- IF postrow.S_FRIEND --> friendpost<!-- ENDIF -->">
Öffne: styles/prosilver/theme/colours.css

Füge am Ende ein:

Code: Alles auswählen

.friendpost {
	background-color: #D6F8DE;
}
Der Farbwert ( #D6F8DE ) kann natürlich entsprechend angepasst werden.

Dieses Snippet wurde uns von hackepeter13 zur Verfügung gestellt, das sich aus diesem Thread heraus entwickelt hat.