Re: Top Contributors

2009-09-20 Thread Braindead
You should also have a look at CounterCache: http://book.cakephp.org/view/816/counterCache-Cache-your-count Hope that helps. Markus --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this g

RE: Top Contributors

2009-09-20 Thread Dave Maharaj :: WidePixels.com
Sounds good. Will give it a try. Thanks. Dave _ From: Alexandru Ciobanu [mailto:ics.cake...@gmail.com] Sent: September-20-09 3:43 PM To: cake-php@googlegroups.com Subject: Re: Top Contributors On 9/20/2009 7:33 PM, Dave Maharaj :: WidePixels.com wrote: How can this be done

Re: Top Contributors

2009-09-20 Thread Alexandru Ciobanu
On 9/20/2009 7:33 PM, Dave Maharaj :: WidePixels.com wrote: > How can this be done. > Users create Posts...now I want to get a list of top 10 Posters (users > who have made the most posts). > How would you do the conditions => array() for this? How can I get a > list of Users when the User.id is

Top Contributors

2009-09-20 Thread Dave Maharaj :: WidePixels.com
How can this be done. Users create Posts...now I want to get a list of top 10 Posters (users who have made the most posts). How would you do the conditions => array() for this? How can I get a list of Users when the User.id is unknown or all of them? Surely there must be an easily solution