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: How to direct link to toprated?  (Read 5244 times)

0 Members and 1 Guest are viewing this topic.

Henkka

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
How to direct link to toprated?
« on: November 04, 2003, 03:06:28 pm »

This mybe an easy one but nevertheless:
I want to direct the link from frontpage“s catlist (when clicking a thumbnail) to the toprated page of that album! How is it done?
THANKS!

+ is it easy to get the frontpage cat/album thumbnail showing toprated and not lastuploaded pic?
« Last Edit: April 21, 2005, 10:26:46 am by GauGau »
Logged

Henkka

  • Coppermine newbie
  • Offline Offline
  • Posts: 8
Come one! No ideas?
« Reply #1 on: November 11, 2003, 10:33:38 am »

Any help on this one?!?!
THANKS!
Logged

sdousley

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: How to direct link to toprated?
« Reply #2 on: April 19, 2005, 08:39:49 pm »

to view all the rated pics add a link to:
http://www.yourdomain.com/coppermine/thumbnails.php?album=toprated

add a link to that in the theme's theme.php file.
Logged

krkeegan

  • Contributor
  • Coppermine regular visitor
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 53
  • ahh the life...
    • Kevin's Photos
Re: How to direct link to toprated?
« Reply #3 on: April 19, 2005, 09:02:59 pm »

Hmm that is not totally correct. He asked for the toprated of that ALBUM. The link provided above will give you the top rated of the entire gallery. To get the album you want:

http://www.yourdomain.com/coppermine/thumbnails.php?album=toprated&cat=-1

Now the cat field MUST remain NEGATIVE and is equal to whatever album number you are clicking on.

And as per the last post you can just modify the theme.php file.

Be carefull though if there are no rated files it will display "no image" even though you have photos in that album.

Kevin
Logged
There are no stupid questions, only stupid people. -Mr. Mackey, South Park

sdousley

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: How to direct link to toprated?
« Reply #4 on: April 20, 2005, 09:23:05 pm »

Hmm that is not totally correct. He asked for the toprated of that ALBUM. The link provided above will give you the top rated of the entire gallery. To get the album you want:

http://www.yourdomain.com/coppermine/thumbnails.php?album=toprated&cat=-1

Now the cat field MUST remain NEGATIVE and is equal to whatever album number you are clicking on.

And as per the last post you can just modify the theme.php file.

Be carefull though if there are no rated files it will display "no image" even though you have photos in that album.

Kevin

oops, my bad, sorry.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 18 queries.