Ranks Page 1.0.5

Miscaleneous modifications from Stoker
Cable Player
BBCoder II
BBCoder II
Posts: 39
Joined: 05 Dec 2011, 23:58
BBCodes: 0

Ranks Page 1.0.4

Post by Cable Player »

Odd, no Red X shows on your site. I'm using IE9
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Ranks Page 1.0.4

Post 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.
Board rules! No PM support
Cable Player
BBCoder II
BBCoder II
Posts: 39
Joined: 05 Dec 2011, 23:58
BBCodes: 0

Ranks Page 1.0.4

Post 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.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Ranks Page 1.0.4

Post 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>
Board rules! No PM support
Cable Player
BBCoder II
BBCoder II
Posts: 39
Joined: 05 Dec 2011, 23:58
BBCodes: 0

Ranks Page 1.0.4

Post 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?
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Ranks Page 1.0.4

Post 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.
Board rules! No PM support
Cable Player
BBCoder II
BBCoder II
Posts: 39
Joined: 05 Dec 2011, 23:58
BBCodes: 0

Ranks Page 1.0.4

Post by Cable Player »

I'm sorry, I don't understand.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Ranks Page 1.0.4

Post by Stoker »

The mod sorts by post count with the lowest first.
Sort by rank title: viewtopic.php?f=45&t=1294#p11776
Board rules! No PM support
Cable Player
BBCoder II
BBCoder II
Posts: 39
Joined: 05 Dec 2011, 23:58
BBCodes: 0

Ranks Page 1.0.4

Post 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 :)
User avatar
Stoker
Site Admin
Site Admin
Posts: 3521
Joined: 12 May 2008, 23:26
BBCodes: 239
Favourite BBCode: Anipro
Favourite MOD: PrettyPhoto
Location: Denmark
Contact:

Ranks Page 1.0.5

Post by Stoker »

No problem ;)

Mod updated with the little fix for the red icon when no rank image.
Board rules! No PM support
Locked