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.5

Post by Cable Player »

Ooh, I feel privileged to have had the update before everybody else! ;)
DeadCool
BBCoder II
BBCoder II
Posts: 20
Joined: 12 Aug 2013, 12:33
BBCodes: 1
Favourite BBCode: Marquee
Favourite MOD: AutoMOD
Location: PSPlanet
Contact:

Ranks Page 1.0.5

Post by DeadCool »

awesome mod thanks stoker :geek:
User avatar
dvjrickkraft
BBCoder I
BBCoder I
Posts: 1
Joined: 06 Jan 2014, 17:18
BBCodes: 1
Location: Taipei, Taiwan
Contact:

Ranks Page 1.0.5

Post by dvjrickkraft »

Is it possible to have the number of users in each rank? There was another mod posted at the Star Trek phpbb site but it won't AutoMOD. Just a feature request, thanks!
Firebrand
BBCoder I
BBCoder I
Posts: 4
Joined: 09 Sep 2014, 16:03
BBCodes: 0

Ranks Page 1.0.5

Post by Firebrand »

Is there any way to sort by two condition?
db0f1e6c0878586d14a1bf7dc7d26838.png
As you can see, ranks with stars goes to normal users. Ranks with colored images goes for special groups.

However, the 0 star (for users) is followed by a special rank, because both of them have the requirement of 0 posts.

So I would like to sort by rank_min and rank special.


EDIT: I managed to solve it:

Find

Code: Select all

ORDER BY rank_min ASC';
Replace

Code: Select all

ORDER BY rank_min ASC, rank_special DESC';

Result:
result.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.5

Post by Stoker »

Thanks for giving the solution Firebrand :thumb:
Board rules! No PM support
User avatar
Dragosvr92
BBCoder II
BBCoder II
Posts: 21
Joined: 28 May 2011, 16:53
BBCodes: 4
Favourite MOD: Please Wait
Location: Romania
Contact:

Re: Ranks Page 1.0.5

Post by Dragosvr92 »

@Stoker, do you have any plans on updating this into an extension? :)
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:

Re: Ranks Page 1.0.5

Post by Stoker »

Dragosvr92 wrote:@Stoker, do you have any plans on updating this into an extension? :)
https://www.phpbb.com/community/viewtop ... #p13998416
Board rules! No PM support
Locked