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: [Solved]: Redirect after comment to relative path instead of static permalink  (Read 1752 times)

0 Members and 1 Guest are viewing this topic.

dills84

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 43

just wondering if theres a way to change the redirect that occurs in DBinput.php when a comment is posted. i'd like to have the redirect go back to the relative url because i use "last uploads" alot and this creates a problem.

As it is now, i comment. and get pushed into the images album. instead of being redirected back into the "last uploads" meta album. thats my problem.

i tried changing the redirect url, but i kept getting errors. any help would be great. thanks!
« Last Edit: April 03, 2008, 08:00:28 am by Joachim Müller »
Logged

Nibbler

  • Guest
Re: Redirect after comment to relative path instead of static permalink
« Reply #1 on: April 02, 2008, 10:24:33 pm »

It goes back to the static link for a reason. If you got there via last comments you will go back to the wrong picture. If you want to change it you need to pass the referer to db_input and then redirect back using that.
Logged

dills84

  • Coppermine novice
  • *
  • Offline Offline
  • Posts: 43
Re: Redirect after comment to relative path instead of static permalink
« Reply #2 on: April 02, 2008, 10:33:20 pm »

yeah i figured that would be the case. i was hoping someone else might have achieved it already, because its really been bugging me latley.

looks like i'll have to give it a go by myself.

thanks for the info.
Logged
Pages: [1]   Go Up
 

Page created in 0.016 seconds with 20 queries.