Page 1 of 1

Hide rank names

Posted: 17 Jul 2010, 09:47
by KukY13
Rank names are shown somewhere near the rank image. That is not very useful, as special ranks images have rank title written on them, and regular rank images, based on post number, are informative enough for themselves.

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 -->
Replace with:

Code: Select all

<!-- IF postrow.RANK_IMG --><dd><!-- IF  postrow.RANK_IMG --><!-- ENDIF -->{postrow.RANK_IMG}</dd><!-- ENDIF -->
Open styles/prosilver/template/memberlist_view.html
Find and delete:

Code: Select all

<!-- IF RANK_TITLE --><dd style="text-align: center;">{RANK_TITLE}</dd><!-- ENDIF -->
I believe those are all files needed for removing rank titles.
Subsilver instructions coming soon.

Re: Hide rank names

Posted: 18 Jul 2010, 07:42
by Anthies
Thanks for the snippet, kukY13!

This really eased up my board.