Advanced search  

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

Pages: [1]   Go Down

Author Topic: Req: Top 10 most viewed pictures in the last week/month/year  (Read 5090 times)

0 Members and 1 Guest are viewing this topic.

allanpro

  • Coppermine newbie
  • Offline Offline
  • Posts: 1

Hi,

I suggest that the "Most Viewed" function is extended to support for instance:

- Top 10 most viewed pictures in the last week
- Top 10 most viewed pictures in the last month
- Top 10 most viewed pictures in the last year

This would be very nice for high traffic sites that wants to guide it's users into a certain direction.

Thanks for listening.

Br
Allan
« Last Edit: August 03, 2006, 08:51:01 am by GauGau »
Logged

eruss

  • Supporter
  • Coppermine frequent poster
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 105
Re: Req: Top 10 most viewed pictures in the last week/month/year
« Reply #1 on: August 03, 2006, 05:45:03 am »

Hi,

I suggest that the "Most Viewed" function is extended to support for instance:

- Top 10 most viewed pictures in the last week
- Top 10 most viewed pictures in the last month
- Top 10 most viewed pictures in the last year

This would be very nice for high traffic sites that wants to guide it's users into a certain direction.

Thanks for listening.

Br
Allan

Sounds complicated.  Coppermine currently tracks the views in the hits field of the _pictures table.

You would need to have a database Mod that would also track the date for EACH HIT to have the function you are looking for.  That's a lot of extra database entries.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Req: Top 10 most viewed pictures in the last week/month/year
« Reply #2 on: August 03, 2006, 07:53:19 am »

Yes, exactly. This would slow Coppermine down unnecessarily just for the sake of yet another stat. Won't go into the core.
Logged

Tranz

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: 00
  • Offline Offline
  • Gender: Female
  • Posts: 6149
Re: Req: Top 10 most viewed pictures in the last week/month/year
« Reply #3 on: August 03, 2006, 08:48:03 am »

And the ironic thing is this would hit the large sites the hardest and they're the intended users of such a mod.
Logged

Paver

  • Dev Team member
  • Coppermine addict
  • ****
  • Country: us
  • Offline Offline
  • Gender: Male
  • Posts: 1609
  • Paul V.
Re: Req: Top 10 most viewed pictures in the last week/month/year
« Reply #4 on: August 15, 2006, 03:43:48 pm »

This is not to say an "Advanced Stats" plugin couldn't add-on such a feature.
Logged
Pages: [1]   Go Up
 

Page created in 0.018 seconds with 19 queries.