Conquer Club

Medals Page: break awarded medals by bronze/silver/gold/tota

Suggestions that have been archived.

Moderator: Community Team

Medal Breakdown

Postby Rall on Mon Aug 25, 2008 2:23 pm

I think it would be cool to see how many of each medal people had broken down a little more. If you go to the medals page, it shows 12252 have earned a standard medal. But it would be better if it showed: Bronze - 12252 .... Silver - 4567 .... Gold - 1234

Thanks,
Rall
Cadet Rall
 
Posts: 48
Joined: Wed Jul 09, 2008 2:05 pm
Location: California

Re: Medal Breakdown

Postby lancehoch on Mon Aug 25, 2008 3:54 pm

Moved over to the Suggestions forum for you. You may want to fill out the proper form for the forum:

Concise Idea:

General Description:

How it would Help:
Sergeant lancehoch
 
Posts: 4183
Joined: Wed Dec 05, 2007 4:13 pm

Re: Medal Breakdown

Postby Rall on Mon Aug 25, 2008 5:13 pm

Thanks. I still can't figure out how to do the suggestion form thing.

Rall
Cadet Rall
 
Posts: 48
Joined: Wed Jul 09, 2008 2:05 pm
Location: California

Re: Medal Breakdown

Postby lancehoch on Mon Aug 25, 2008 6:24 pm

Just copy the text from the three lines I typed and then type out what you want to see.
Sergeant lancehoch
 
Posts: 4183
Joined: Wed Dec 05, 2007 4:13 pm

Medals breakdown

Postby Rall on Tue Aug 26, 2008 10:56 am

PLACE A CONCISE DESCRIPTION OF THE SUGGESTION OR BUG IN THE SUBJECT LINE!!!

Concise description:
  • I think it would be cool to see how many of each medal people had broken down a little more. If you go to the medals page, it shows 12252 have earned a standard medal. But it would be better if it showed: Bronze - 12252 .... Silver - 4567 .... Gold - 1234

Specifics:
  • On medals page, show how many have silver medals and gold medals too.

This will improve the following aspects of the site:
  • Interesting to see how many gold and silver medals are out there.
  • xxxxxxx
Cadet Rall
 
Posts: 48
Joined: Wed Jul 09, 2008 2:05 pm
Location: California

Re: Medals breakdown

Postby max is gr8 on Tue Aug 26, 2008 1:08 pm

:goodposting:
‹max is gr8› so you're a tee-total healthy-eating sex-addict?
‹New_rules› Everyone has some bad habits
(4th Jan 2010)
User avatar
Corporal max is gr8
 
Posts: 3720
Joined: Sat Jan 21, 2006 6:44 am
Location: In a big ball of light sent from the future

Re: Medal Breakdown

Postby lancehoch on Tue Aug 26, 2008 2:42 pm

I merged your two threads together. You do not need to start a new one for the form.
Sergeant lancehoch
 
Posts: 4183
Joined: Wed Dec 05, 2007 4:13 pm

Re: Medal Breakdown

Postby blakebowling on Tue Aug 26, 2008 3:28 pm

lancehoch wrote:I merged your two threads together. You do not need to start a new one for the form.

right, but when you start a new one, the form is there.
Private blakebowling
 
Posts: 5093
Joined: Wed Jan 23, 2008 12:09 pm
Location: 127.0.0.1

Re: Medal Breakdown

Postby Rall on Tue Aug 26, 2008 5:46 pm

I don't get it. Am I done with my suggestion? Sorry I'm a little slow.

Rall
Cadet Rall
 
Posts: 48
Joined: Wed Jul 09, 2008 2:05 pm
Location: California

Re: Medal Breakdown

Postby bedub1 on Tue Aug 26, 2008 5:58 pm

lol. Your suggestion is fine. The problem is....nobody at CC cares...

BTW...i think your suggestion is fantastic and should be implemented immediately.
Colonel bedub1
 
Posts: 1005
Joined: Sun Dec 31, 2006 4:41 am

Medals Page: break awarded medals by bronze/silver/gold/tota

Postby Trephining on Wed Nov 11, 2009 4:30 pm

On the Medals Page, could the "awarded medals" stats be broken out by the various levels (bronze/silver/gold, and then total).

For example, if 3300 Assassin medals have been awarded, have four columns showing:

Total Bronze Silver Gold
3300 2700 500 100

Then maybe if you click on the numbers it shows a list of the recipients. That way you can find out who the specialists are or who really has a lot of experience in a particular game.
User avatar
Corporal 1st Class Trephining
 
Posts: 54
Joined: Mon Oct 19, 2009 7:04 pm

Re: Medals Page: break awarded medals by bronze/silver/gold/tota

Postby ronsizzle on Wed Nov 11, 2009 11:15 pm

lmfao......
User avatar
Sergeant 1st Class ronsizzle
 
Posts: 2553
Joined: Mon Apr 09, 2007 8:30 pm

Re: Medals Page: break awarded medals by bronze/silver/gold/tota

Postby Trephining on Thu Nov 12, 2009 6:30 am

ronc8649 wrote:lmfao......


Anything to contribute?
User avatar
Corporal 1st Class Trephining
 
Posts: 54
Joined: Mon Oct 19, 2009 7:04 pm

Re: Medals Page: break awarded medals by bronze/silver/gold/

Postby lackattack on Tue Apr 12, 2011 5:00 pm

Merged duplicate suggestions
User avatar
Corporal 1st Class lackattack
 
Posts: 6097
Joined: Sun Jan 01, 2006 10:34 pm
Location: Montreal, QC

Re: Medals Page: break awarded medals by bronze/silver/gold/

Postby greenoaks on Wed Apr 13, 2011 1:19 am

lackattack wrote:Merged duplicate suggestions

why was this rejected ?
User avatar
Sergeant greenoaks
 
Posts: 9977
Joined: Mon Nov 12, 2007 12:47 am

Re: Medals Page: break awarded medals by bronze/silver/gold/

Postby blakebowling on Wed Apr 13, 2011 8:36 am

greenoaks wrote:
lackattack wrote:Merged duplicate suggestions

why was this rejected ?

Lack didn't move it. I did.

Also, it was moved because the MOD doesn't work this way, and the queries required to get this information would drastically increase the load time of the page.
Private blakebowling
 
Posts: 5093
Joined: Wed Jan 23, 2008 12:09 pm
Location: 127.0.0.1

Re: Medals Page: break awarded medals by bronze/silver/gold/

Postby greenoaks on Wed Apr 13, 2011 8:43 am

blakebowling wrote:
greenoaks wrote:
lackattack wrote:Merged duplicate suggestions

why was this rejected ?

Lack didn't move it. I did.

Also, it was moved because the MOD doesn't work this way, and the queries required to get this information would drastically increase the load time of the page.

wouldn't it take about 3 times as long
User avatar
Sergeant greenoaks
 
Posts: 9977
Joined: Mon Nov 12, 2007 12:47 am

Re: Medals Page: break awarded medals by bronze/silver/gold/

Postby blakebowling on Wed Apr 13, 2011 8:52 am

greenoaks wrote:
blakebowling wrote:
greenoaks wrote:
lackattack wrote:Merged duplicate suggestions

why was this rejected ?

Lack didn't move it. I did.

Also, it was moved because the MOD doesn't work this way, and the queries required to get this information would drastically increase the load time of the page.

wouldn't it take about 3 times as long

The way they are stored in the database is (for those that have more than one medal) 1 row = bronze, 2 rows = silver, and 3 rows = gold. Therefore you would have to search only those with b/s/g and find the users that have exactly 3 matches, then those with exactly 2 matches, then with 1. This would add 4 queries to the page, bringing the load time to around 8 seconds again (the low-end of what it was before I optimized it).
Private blakebowling
 
Posts: 5093
Joined: Wed Jan 23, 2008 12:09 pm
Location: 127.0.0.1

Re: Medals Page: break awarded medals by bronze/silver/gold/

Postby greenoaks on Wed Apr 13, 2011 9:12 am

blakebowling wrote:
greenoaks wrote:wouldn't it take about 3 times as long

The way they are stored in the database is (for those that have more than one medal) 1 row = bronze, 2 rows = silver, and 3 rows = gold. Therefore you would have to search only those with b/s/g and find the users that have exactly 3 matches, then those with exactly 2 matches, then with 1. This would add 4 queries to the page, bringing the load time to around 8 seconds again (the low-end of what it was before I optimized it).

why would you do that ?

wouldn't you just do a count of row 3 for the gold
a count of row 2 for the silver
& a count of row 1 for the bronze
User avatar
Sergeant greenoaks
 
Posts: 9977
Joined: Mon Nov 12, 2007 12:47 am

Re: Medals Page: break awarded medals by bronze/silver/gold/

Postby blakebowling on Wed Apr 13, 2011 10:31 am

greenoaks wrote:
blakebowling wrote:
greenoaks wrote:wouldn't it take about 3 times as long

The way they are stored in the database is (for those that have more than one medal) 1 row = bronze, 2 rows = silver, and 3 rows = gold. Therefore you would have to search only those with b/s/g and find the users that have exactly 3 matches, then those with exactly 2 matches, then with 1. This would add 4 queries to the page, bringing the load time to around 8 seconds again (the low-end of what it was before I optimized it).

why would you do that ?

wouldn't you just do a count of row 3 for the gold
a count of row 2 for the silver
& a count of row 1 for the bronze

It doesn't work that way. Each award is a row, a silver medal is equal to 2 awards, and a gold is equal to 3. Selecting all this information at one time would drastically increase the page load time.
Private blakebowling
 
Posts: 5093
Joined: Wed Jan 23, 2008 12:09 pm
Location: 127.0.0.1

Re: Medals Page: break awarded medals by bronze/silver/gold/

Postby Dako on Wed Apr 13, 2011 2:48 pm

Can you please send me a dump of the table for medals? Let's say 1000-5000 rows would be ok. I will try to see how complex it will be to build a decent query. Just upload it somewhere and PM me the link.

Also - what about caching the results? Do not say it is that hard.
Image
User avatar
Colonel Dako
 
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Location: St. Petersburg, Russia

Re: Medals Page: break awarded medals by bronze/silver/gold/

Postby blakebowling on Wed Apr 13, 2011 3:21 pm

Dako wrote:Can you please send me a dump of the table for medals? Let's say 1000-5000 rows would be ok. I will try to see how complex it will be to build a decent query. Just upload it somewhere and PM me the link.

Also - what about caching the results? Do not say it is that hard.

I'm not saying it is impossible, I'm saying that it would require database changes, which are likely to require changes to other parts of the code. We're trying to keep this as compatible as possible with future versions of the MOD.

Also, I don't have the CC table, just the structure of it.
Private blakebowling
 
Posts: 5093
Joined: Wed Jan 23, 2008 12:09 pm
Location: 127.0.0.1

Re: Medals Page: break awarded medals by bronze/silver/gold/

Postby Dako on Wed Apr 13, 2011 3:26 pm

A pity. However, I think is would be wiser to adapt this module to the CC totally, then to hold back because of the future compatibility (which is broken already since you modified some parts of the code).

Well, you should know better because you can see it, so I can just speculate.
Image
User avatar
Colonel Dako
 
Posts: 3987
Joined: Sun Aug 26, 2007 9:07 am
Location: St. Petersburg, Russia

Re: Medals Page: break awarded medals by bronze/silver/gold/

Postby blakebowling on Wed Apr 13, 2011 3:44 pm

Dako wrote:A pity. However, I think is would be wiser to adapt this module to the CC totally, then to hold back because of the future compatibility (which is broken already since you modified some parts of the code).

Well, you should know better because you can see it, so I can just speculate.

I modified the way displaying them works, however I didn't change the database or the core functions. IF we choose to update in the future though, it shouldn't be too hard to combine the code. However the more that is changed, the more problems we could possibly have.

I will look over the code again, to see if there is something I may have missed that could make this easy. If it is, I'll gladly code it and submit it to lack.
Private blakebowling
 
Posts: 5093
Joined: Wed Jan 23, 2008 12:09 pm
Location: 127.0.0.1

Re: Medals Page: break awarded medals by bronze/silver/gold/

Postby greenoaks on Wed Apr 13, 2011 7:04 pm

would doing it like the scoreboard be difficult ie. working it out once an hour

every view except for the one on the hour would be instantaneous
User avatar
Sergeant greenoaks
 
Posts: 9977
Joined: Mon Nov 12, 2007 12:47 am


Return to Archived Suggestions

Who is online

Users browsing this forum: No registered users