Page 1 of 1

Colored User Info in viewtopic

Posted: 23 Apr 2010, 21:43
by Chalong
Hi Stoker,

how do I get these infos colered ?
user_info.jpg
user_info.jpg (5.37 KiB) Viewed 1176 times
Did I miss that topic or is it just missing ? :oops:

Re: Colored User Info in viwtopic

Posted: 23 Apr 2010, 22:12
by Stoker
This is my code in viewtopic_body.html:

Code: Select all

<!-- IF postrow.POSTER_AGE --><dd><strong style="color: #cd853f;">{L_AGE}:</strong> <span style="color: #cd853f;">{postrow.POSTER_AGE}</span></dd><!-- ENDIF -->

		<!-- IF postrow.POSTER_POSTS != '' --><dd><strong style="color: #9400d3;">{L_POSTS}:</strong> <span style="color: #9400d3;">{postrow.POSTER_POSTS}</span></dd><!-- ENDIF -->

		<!-- IF postrow.POSTER_JOINED --><dd><strong style="color: green;">{L_JOINED}:</strong> <span style="color: green;">{postrow.POSTER_JOINED}</span></dd><!-- ENDIF -->

		<!-- IF postrow.POSTER_FROM --><dd><strong style="color: red;">{L_LOCATION}:</strong> <span style="color: red;">{postrow.POSTER_FROM}</span></dd><!-- ENDIF -->

Re: Colored User Info in viewtopic

Posted: 23 Apr 2010, 23:10
by Chalong
Thanks a lot, Stoker. :thumb: