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: how to redirect after add comments  (Read 3744 times)

0 Members and 1 Guest are viewing this topic.

Pasci

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 29
    • bangkokrecorder.com
how to redirect after add comments
« on: September 07, 2004, 07:25:02 pm »

Hello there.
I searched the forum, but I couldn't find a thread that addresses a problem.
When a user adds a comment to a photo, the db_input.php site comes up and says that the comment has been added. How can I set it up so that the browser redirects automatically back to the photo where the user added the comment?
« Last Edit: September 08, 2004, 09:32:30 am by GauGau »
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: how to redirect after add comments
« Reply #1 on: September 08, 2004, 07:48:19 am »

usually the poster get's redirected back to the page, if your webhost allows redirects (and your browser). Please post a link to your site, together with a test user (non-admin) that has permissions to post comments (if applicable).

Joachim
Logged

Pasci

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 29
    • bangkokrecorder.com
Re: how to redirect after add comments
« Reply #2 on: September 08, 2004, 09:04:07 am »

Thank you for your quick reply.

The username is: test
The password: icaciR9n
The link to the site is: http://bangkokrecorder.com/fotos/

However, you do not need to log in order to post comments.

Sincerely,

Pasci
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: how to redirect after add comments
« Reply #3 on: September 08, 2004, 09:11:07 am »

This is being caused by your custom theme - when using the classic theme, you're being redirected as expected, test it with http://bangkokrecorder.com/fotos/displayimage.php?pos=-218&theme=classic

You mustn't remove {META} from http://www.bangkokrecorder.com/fotos/themes/recorder/template.html - re-insert it after <META HTTP-EQUIV="imagetoolbar" CONTENT="no">

Joachim
Logged

Pasci

  • Coppermine novice
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 29
    • bangkokrecorder.com
Re: how to redirect after add comments
« Reply #4 on: September 08, 2004, 09:24:17 am »

Hello Joachim,

Thank you sooooo much for your amazingliy fast and good support. It works now. Problem solved  ;D
Logged
Pages: [1]   Go Up
 

Page created in 0.02 seconds with 20 queries.