Page 2 of 3

Ranks Page 1.0.4

Posted: 29 Feb 2012, 20:53
by Cable Player
Odd, no Red X shows on your site. I'm using IE9

Ranks Page 1.0.4

Posted: 29 Feb 2012, 21:15
by Stoker
Okay, then post a screenshot of the rank in acp with the red x.
Also post the link to your rank page so I can have a look.

Ranks Page 1.0.4

Posted: 29 Feb 2012, 22:59
by Cable Player
http://www.offtopicrave.com/ranks.php

The ACP ranks page is fine, displaying exactly how it should. Those with the "Red X" simply don't show an image in the ACP because they don't have one assigned to it.

I'm also using Safari and the error persists. I'm going to go through my edits etc. just in case.

Update: Edits are fine.

Ranks Page 1.0.4

Posted: 29 Feb 2012, 23:13
by Stoker
Open ranks_body.html
Find:

Code: Select all

<td style="text-align:center;"><a href="{ROOT_PATH}images/ranks/{ranks.RANK_IMAGE}"><img src="{ROOT_PATH}images/ranks/{ranks.RANK_IMAGE}" alt="" /></a></td>
Replace with:

Code: Select all

<td style="text-align:center;"><!-- IF ranks.RANK_IMAGE --><a href="{ROOT_PATH}images/ranks/{ranks.RANK_IMAGE}"><img src="{ROOT_PATH}images/ranks/{ranks.RANK_IMAGE}" alt="" /></a><!-- ENDIF --></td>

Ranks Page 1.0.4

Posted: 29 Feb 2012, 23:30
by Cable Player
That's done the trick, but the normal rank is still displaying with the special ones (www.offtopicrave.com/ranks.php) Is this supposed to happen?

Ranks Page 1.0.4

Posted: 29 Feb 2012, 23:33
by Stoker
Yes, they are sorted per post count, lowest first.

You can also sort by rank title, take a look at this mod page 1.

Ranks Page 1.0.4

Posted: 29 Feb 2012, 23:34
by Cable Player
I'm sorry, I don't understand.

Ranks Page 1.0.4

Posted: 29 Feb 2012, 23:40
by Stoker
The mod sorts by post count with the lowest first.
Sort by rank title: viewtopic.php?f=45&t=1294#p11776

Ranks Page 1.0.4

Posted: 29 Feb 2012, 23:42
by Cable Player
Oh I see. I guess the easiest way around it, without sorting it by rank title, would be to change that "rouge" one to "1" for minimum post count.

That's fine, thank you for your help Stoker, much appreciated :)

Ranks Page 1.0.5

Posted: 29 Feb 2012, 23:44
by Stoker
No problem ;)

Mod updated with the little fix for the red icon when no rank image.