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: Last Viewed?  (Read 2443 times)

0 Members and 1 Guest are viewing this topic.

sbpoole

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 66
Last Viewed?
« on: November 11, 2003, 01:02:59 am »

I know how to get most viewed, top rated, random, last uploaded, etc. to show on the main page by adding then in the config menu, but is there a way to show the "Last Viewed" photos as well.  I can add a button that will take you to a separate page to show the last viewed (album=lasthits).  Thanks, Sonny
Logged

Tarique Sani

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 2712
    • http://tariquesani.net
Last Viewed?
« Reply #1 on: November 11, 2003, 04:53:38 am »

The point to begin would be adding code to insert in each picture record the last accessed time.

Then create the code for the meta-album in index.php and functions.inc.php
Logged
SANIsoft PHP applications for E Biz
Pages: [1]   Go Up
 

Page created in 0.015 seconds with 18 queries.