Hide rank names

Post your own Mods, Snippets, Tutorials here. Share what you got
There is no support here! Only Read Access!
Forum rules
User contributions are the users own "Stuff"
They are not supported by the BBCode Staff and is used at own risk
Locked
KukY13
BBCoder III
BBCoder III
Posts: 96
Joined: 26 Jun 2010, 16:23
Contact:

Hide rank names

Post 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.
Image
User avatar
Anthies
BBCoder II
BBCoder II
Posts: 10
Joined: 20 Mar 2010, 12:41
Location: Finland
Contact:

Re: Hide rank names

Post by Anthies »

Thanks for the snippet, kukY13!

This really eased up my board.
Locked