Link on top 'most comments' possible ?? Link on top 'most comments' possible ??
 

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

Main Menu

Link on top 'most comments' possible ??

Started by danyball, September 22, 2008, 12:18:05 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

danyball

Hi!
Is there any way to create a link to see the pictures with the most comments?! like 'newest comments' ....

thanks!!!!
daniel

danyball

The SQL-Query i want is:
SELECT pid, count(*) as summe FROM `cpg148_comments` group by pid order by summe desc

i only need help in which file i have to copy it. i want a thumbnail-site with these pictures....

thanks!

Joachim Müller

You need to create a new set of meta-albums. Take a look at index.php and include/functions.inc.php: search for the case selectors there and come up with a new case for your meta album.