Ranks Page 1.0.5

Miscaleneous modifications from Stoker
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
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 »

Title: Ranks Page 1.0.5
Version: 1.0.5
Author: Stoker
Description: This phpbb3 modification will add a ranks page containing all info such as: ID, Rank Title, Min posts, Rank and Special Rank.
Demo: ranks/
Attached file:
Ranks Page 1.0.5.zip
(36.13 KiB) Downloaded 2010 times
Board rules! No PM support
User avatar
Solidjeuh
BBCoder IV
BBCoder IV
Posts: 257
Joined: 16 Oct 2011, 02:15
BBCodes: 7
Favourite MOD: Top stats
Location: Aalst / Belgium
Contact:

Ranks Page 1.0.4

Post by Solidjeuh »

whoeehooew!
Damn you have some really nice mods in here!! :D
Wij promoten UW muziek in ons forum & delen alles via Sociale media!
Mail uw single + hoesje + info naar: info@muziekpromo.net of Solidjeuh@textradio.be
===============
Onze Website: https://www.muziekpromo.net
User avatar
Rhyno
BBCoder III
BBCoder III
Posts: 100
Joined: 25 Jan 2012, 06:06
BBCodes: 10
Favourite MOD: Top Stats
Location: Australia
Contact:

Ranks Page 1.0.4

Post by Rhyno »

Heya All

Is there a way to sort these by ID number or name? I want to be able to sort these so the important ranks appear on the 1st page.

Cheers
Rhyno
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
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 »

Sure, open ranks.php
Find ORDER BY rank_min ASC';
Change it to ORDER BY rank_id ASC'; for sorting by id
or ORDER BY rank_title ASC'; for sorting by title
Board rules! No PM support
User avatar
Rhyno
BBCoder III
BBCoder III
Posts: 100
Joined: 25 Jan 2012, 06:06
BBCodes: 10
Favourite MOD: Top Stats
Location: Australia
Contact:

Ranks Page 1.0.4

Post by Rhyno »

Stoker wrote:Sure, open ranks.php
Find ORDER BY rank_min ASC';
Change it to ORDER BY rank_id ASC'; for sorting by id
or ORDER BY rank_title ASC'; for sorting by title
Thankyou Sir :)
User avatar
Rhyno
BBCoder III
BBCoder III
Posts: 100
Joined: 25 Jan 2012, 06:06
BBCodes: 10
Favourite MOD: Top Stats
Location: Australia
Contact:

Ranks Page 1.0.4

Post by Rhyno »

Anyway with this snippet to custom order ranks?
My rank ID's are all messed up so i want to put them in order manually if at all possible.

Or would this be to much work to bother with?

If not can you filter out special ranks and ID?
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 »

Hello,
Is there any way to order the posts as you'd see them in the ACP?

Alphabetically for special ranks, at the top, and then normal ranks starting at the 0 post requirement, adding up.
Also, is there a way to remove the missing image icon (red x) for ranks that don't have an image assigned to them? I don't plan on putting images for normal ranks.

Cheers.
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
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 »

Speciel- and normal ranks are sorted the same way.

There is no missing image icon when there is no rank image.
Thats only if you have set a rank image and then deleted the image without editing the rank.
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 »

Hi Stoker,
I've attached an image below so you can see.

For both of the ranks with the "red X" I have not set an image, and the second rank you can see is not a special one, it is a normal one, but displaying along with the special ones.
rank_page.PNG
User avatar
Stoker
Site Admin
Site Admin
Posts: 3536
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 »

Cant reproduce it.
I have removed the admin rank image in ACP. Do you see a red x here and which browser do you use?
ranks/
Board rules! No PM support
Locked