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: Making a "Last Viewed Images" that only displays the 24 last viewed items  (Read 1918 times)

0 Members and 1 Guest are viewing this topic.

dke

  • Guest

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:
Code: [Select]
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.
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 18 queries.