Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Last Viewed?  (Read 2455 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.017 seconds with 18 queries.