Get usercolor on Rank text

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

Get usercolor on Rank text

Post by Stoker »

Get usercolor on Rank text
Written by Stoker

This guide will teach you how to get usercolor on the rank text.

Open styles/prosilver/template/viewtopic_body.html
Find:

Code: Select all

<!-- IF postrow.RANK_TITLE or postrow.RANK_IMG --><dd>{postrow.RANK_TITLE}<!-- IF postrow.RANK_TITLE and postrow.RANK_IMG --><br /><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->
Inline find:

Code: Select all

{postrow.RANK_TITLE}
Replace with:

Code: Select all

<b class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="font-size:12px; color: {postrow.POST_AUTHOR_COLOUR}" <!-- ENDIF -->>{postrow.RANK_TITLE}</b>
Open styles/subsilver2/template/viewtopic_body.html
Find:

Code: Select all

<td class="postdetails">{postrow.RANK_TITLE}</td>
Replace with:

Code: Select all

<td class="postdetails"><b class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="font-size:12px; color: {postrow.POST_AUTHOR_COLOUR}" <!-- ENDIF -->>{postrow.RANK_TITLE}</b></td>
About the:

Code: Select all

font-size:12px;
You can increase, decrease or remove this if You want.

Get usercolor on Rank text

Post by Blackwolf »

Awesome snippet....just found it....Thanks