Hottest image of the (day/week/month) option Hottest image of the (day/week/month) option
 

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

Hottest image of the (day/week/month) option

Started by Anvil, November 17, 2004, 08:48:00 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Anvil

Has anybody thought of developing a code to select the most viewed image of the day/week/month and display it?

I think that would be a great addition.

ks

Hi Anvil,

you need an extra db table with a timestamp column to track the viewed images. I'm testing something like this at the moment. Unfortunately, it involves several changes and I'm not able right now to give an easy to follow l describtion on how to apply the mod. If I find some more time , I will try to write it up and post it here. As it is now, I have the pic of the week/month on an extra statstics page, but maybe later on I will put it on the main page, in the anycontent section. Also the original cpg pic counter and my new counter are not completely in sync which can  be a little confusing...

http://images.schwarzburgland.de/hist2.php

klaus

Anvil

ks - very cool

can you post what i need to implement that? or is it all in the source code?