forum.coppermine-gallery.net
Support => Older/other versions => cpg1.2 PHPnuke/Postnuke Support => Topic started by: purepersian on May 12, 2004, 02:50:00 am
-
after they comment they are taken to the main coppermine page, the first one with anycontent.php atc..
the comment is stored though and it shows, but i dont want users redirected, i want them to stay there, what do i do?
-
link plus test user account?
GauGau
-
http://www.borobiroon.com/index.php?name=coppermine
Username: test
Password: password1
thank u so much
-
You are using a nuke port, and it seems to me you have made modifications to the ability to post, as you require name input in the message field.
-
i dont get you, i log in and am able to send a comment to the pictures, it doesnt ask for a name
but the problem is after you post ur comment u are redirected to the main page instead of staying where u are
any ideas?
yes im using cpgnuke
-
Funny that, first time I tried it,logged on as test, just putting a smiley in, no words, I received an error, telling me to type my name and enter a message.
Just tried same thing again, and it worked.
As I don't know cpgnuke, I can't help you, sorry.
-
could it have something to do with this? i found it in the coppermine/db_input.php line 91 or something
is this correct?
$redirect = $CPG_URL . "&file=displayimage&pos=" . (- $comment_data['pid']);
header($header_location . $redirect);
-
It's entirely possible. You would have to know what the value of $CPG_URL and $header_location in the Nuked version.
Perhaps it is relative, but you server/client software doesn't understand that. Try:
$redirect = $CPG_URL . "&file=displayimage&pos=" . (- $comment_data['pid']);
header($header_location.'http://'.$redirect);
This is just a guess, as this is not the Nuke support board.
-
??? ??? :( >:( :\'( no i tried that, still same thing :(
any ideas, whats the code in the origional 1.3 ? maybe thatll work?
-
Try the nuke support board, http://coppermine.findhere.org/modules.php?name=Forums