cfrss::addMostViewedMedia() adds most voted media cfrss::addMostViewedMedia() adds most voted media
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

cfrss::addMostViewedMedia() adds most voted media

Started by divestoclimb, June 10, 2009, 07:51:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

divestoclimb

There I was, weeding through code trying to figure out why Coppermine's most viewed images list wasn't the same as the RSS feed I was generating of most viewed images...

function addMostViewedMedia ($count,$source="") {
$results = $this->cpm->cpm_viewMostVotedMediaFrom($source,$count,1);
$this->generateFeedFromResults($results);
}


Need I say more??