Making a "Last Viewed Images" that only displays the 24 last viewed items Making a "Last Viewed Images" that only displays the 24 last viewed items
 

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]

Main Menu

Making a "Last Viewed Images" that only displays the 24 last viewed items

Started by dke, December 02, 2007, 07:04:43 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

dke

Hello there,

I've used my "custom link" to make a "Last Viewed" page. However this page display's all the items and just places them in order. I've noticed that this drains much CPU and i would like to know if there is a way to limit this to only display the 24 last viewed items.

This is how i've done my "Last Viewed" page right now.

CONFIG
Custom menu link name: Last Viewed
Custom menu link URL: thumbnails.php?album=lasthits&cat=0

I know there is a pre-coded solution in coppermine, but i cannot figure out how to use it to my advantage.

example: breadcrumb/catlist/alblist/lasthits,24

lasthits,24 will basicly does what i need to have, but it displays all the last viewed on the mainpage, i need them to be displayed only when clicking "last viewed" button.

What i would like to see is either a custom script that filters out so my "Last Viewed" button only displays the 24 last hits, or some kind of manipulation to use the already functional "lasthits,24" script to do this.

Anyone?

Thanks again for the continuous support.