how to redirect after add comments how to redirect after add comments
 

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

Main Menu

how to redirect after add comments

Started by Pasci, September 07, 2004, 07:25:02 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Pasci

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?

Joachim Müller

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

Pasci

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

Joachim Müller

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

Pasci

Hello Joachim,

Thank you sooooo much for your amazingliy fast and good support. It works now. Problem solved  ;D