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: Previous/next file after commenting  (Read 2055 times)

0 Members and 1 Guest are viewing this topic.

davieb

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Previous/next file after commenting
« on: December 04, 2007, 01:19:06 am »

Is it possible to change where the previous/next file links point to after a comment has been left? Currently on our gallery if you click an image from the front page (recent uploads) and then comment on the image, these links then point to the previous/next file in that member's album. We would like to change it so that the links point to the previous/next image in the recent uploads, not the previous/next file by that member. The filmstrip shows the images like this but the links don't match that so I ended up turning off the filmstrip to try to avoid confusion.

the gallery is at http://davidbrennan.co.uk/epv3/coppermine

As noted this only happens AFTER a comment has been made. If you don't leave a comment then the links work fine.
Logged

davieb

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 48
Re: Previous/next file after commenting
« Reply #1 on: December 05, 2007, 01:34:47 pm »

Any clues or help to this one?
Logged

Nibbler

  • Guest
Re: Previous/next file after commenting
« Reply #2 on: December 05, 2007, 02:12:18 pm »

You need to pass the referer to db_input through the form and bounce back there afterwards.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.