PHP Classes

will you share the code behind the ranking system

Recommend this page to a friend!

      PHP Classes blog  >  Becoming a PHP Master...  >  All threads  >  will you share the code behind the...  >  (Un) Subscribe thread alerts  
Subject:will you share the code behind the...
Summary:it would be a good lesson to see how this is built
Messages:2
Author:Steve Wasiura
Date:2013-06-20 13:10:54
Update:2013-06-21 02:02:03
 

  1. will you share the code behind the...   Reply   Report abuse  
Picture of Steve Wasiura Steve Wasiura - 2013-06-21 00:35:31
it seems pretty simple: store ranking data, weight it based on priority, aggregate, then display. still it would be neat to see the code behind the innovation.

  2. Re: will you share the code behind the...   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2013-06-21 02:02:03 - In reply to message 1 from Steve Wasiura
It is not a big deal. It is mostly a matter of a SQL query. It will sum all the reputation points earned by the users during all time or a specific period and then sort the users according those that have more points.