Previous/next file after commenting Previous/next file after commenting
 

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

Previous/next file after commenting

Started by davieb, December 04, 2007, 01:19:06 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

davieb

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.

davieb


Nibbler

You need to pass the referer to db_input through the form and bounce back there afterwards.