Ranks Page 1.0.5

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

Ranks Page 1.0.4

Post by Cable Player »

Odd, no Red X shows on your site. I'm using IE9

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.

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.

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>

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?

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.

Ranks Page 1.0.4

Post by Cable Player »

I'm sorry, I don't understand.

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

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 :)

Ranks Page 1.0.5

Post by Stoker »

No problem ;)

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