Convoy Trucking

Server related => Suggestions => Locked & Closed Suggestions => Topic started by: GeneralLee on January 16, 2014, 12:30

Title: /Myclubs Dialog List - Rearanged!
Post by: GeneralLee on January 16, 2014, 12:30
Hi.I'm leader and staff member in some clubs and I want to help them all.
But it would be a little easy,when I do /myclubs ,first clubs are these where I'm leader and Staff member..
I'm member of many clubs and it's a little hard to find the club that i'm looking for!

*I can't make a poll...I don't see it!
Title: Re: /Myclubs Dialog List - Rearanged!
Post by: DeHavilland on January 16, 2014, 12:34
Nice suggestion! +1 from me!
Title: Re: /Myclubs Dialog List - Rearanged!
Post by: Dobby on January 16, 2014, 12:38
http://www.forum.convoytrucking.net/index.php?action=editpoll;add;topic=45239.0
Title: Re: /Myclubs Dialog List - Rearanged!
Post by: GeneralLee on January 16, 2014, 12:43
Quote from: Dobby on January 16, 2014, 12:38
http://www.forum.convoytrucking.net/index.php?action=editpoll;add;topic=45239.0 (http://www.forum.convoytrucking.net/index.php?action=editpoll;add;topic=45239.0)


"Sorry, you aren't allowed to add polls to your own topics in this board."

Error:|
Title: Re: /Myclubs Dialog List - Rearanged!
Post by: Dobby on January 16, 2014, 12:54
What do you want adding to the poll? i'll do it for you :)
Title: Re: /Myclubs Dialog List - Rearanged!
Post by: Joshy on January 16, 2014, 13:28
I'm not sure I understand your suggestion, you mean sort out myclubs by position in club?

Sent from my Nexus 7 using Tapatalk

Title: Re: /Myclubs Dialog List - Rearanged!
Post by: Dobby on January 16, 2014, 13:36
Yus. I assume he means that.

Sort by status in club:

Pink Crew (Founder)
The Hobos (staff)
Dumping LTD (staff)
etc etc





I thought it already did that?
Title: Re: /Myclubs Dialog List - Rearanged!
Post by: Joshy on January 16, 2014, 13:40
Same, I guess it should be resorted (after rank) by alphabetical order. So it's sorted alphabetically in the rank groups.

Sent from my Nexus 7 using Tapatalk

Title: Re: /Myclubs Dialog List - Rearanged!
Post by: sardarji on January 16, 2014, 16:03
Its not done. When u type /myclubs it shows all clubs not by the order.

Founder
Leader
Staff
(Regular)Member.
Title: Re: /Myclubs Dialog List - Rearanged!
Post by: GeneralLee on January 16, 2014, 16:08
Quote from: Dobby on January 16, 2014, 13:36
Yus. I assume he means that.

Sort by status in club:

Pink Crew (Founder)
The Hobos (staff)
Dumping LTD (staff)
etc etc







Exactly like that!
Title: Re: /Myclubs Dialog List - Rearanged!
Post by: Tyler on January 16, 2014, 20:13
:like:

Or an option in preferences eg order by RANK / NAME.
Title: Re: /Myclubs Dialog List - Rearanged!
Post by: Ethan on January 16, 2014, 22:14
he wants it to show clubs by
owner (there would only be one if you have one)
alphabetical by leader
alphabetical by staff
alphabetical by member
Title: Re: /Myclubs Dialog List - Rearanged!
Post by: mick88 on January 17, 2014, 18:49
Sounds like a reasonable request.
Currently /myclubs command works by iterating over array of all clubs. Once we refactor it to query the database, we can sort it by rank and then name.
Title: Re: /Myclubs Dialog List - Rearanged!
Post by: Joshy on January 17, 2014, 21:11
Quote from: mick88 on January 17, 2014, 18:49
Sounds like a reasonable request.
Currently /myclubs command works by iterating over array of all clubs. Once we refactor it to query the database, we can sort it by rank and then name.
Done & committed to master (on local repo).
[hide=image](http://i.imgur.com/woePHrx.jpg)[/hide]
Title: Re: /Myclubs Dialog List - Rearanged!
Post by: Slo_Runner on January 18, 2014, 07:39
Quote from: Joshy on January 17, 2014, 21:11
Quote from: mick88 on January 17, 2014, 18:49
Sounds like a reasonable request.
Currently /myclubs command works by iterating over array of all clubs. Once we refactor it to query the database, we can sort it by rank and then name.
Done & committed to master (on local repo).
[hide=image](http://i.imgur.com/woePHrx.jpg)[/hide]

:like: :like: on that :)
Title: Re: /Myclubs Dialog List - Rearanged!
Post by: GeneralLee on January 18, 2014, 09:09
Quote from: Joshy on January 17, 2014, 21:11
Quote from: mick88 on January 17, 2014, 18:49
Sounds like a reasonable request.
Currently /myclubs command works by iterating over array of all clubs. Once we refactor it to query the database, we can sort it by rank and then name.
Done & committed to master (on local repo).
[hide=image](http://i.imgur.com/woePHrx.jpg)[/hide]

I like that Joshy.Good job!
Title: Re: /Myclubs Dialog List - Rearanged!
Post by: Joshy on January 19, 2014, 22:13
Status: Pushed & awaiting approval from Mick.
Title: Re: /Myclubs Dialog List - Rearanged!
Post by: Slo_Runner on January 20, 2014, 20:02
Quote from: Joshy on January 19, 2014, 22:13
Status: Pushed & awaiting approval from Mick.

You got my cookie for that :)