View Full Version : main site redirection when adding a comment
06-26-2006, 05:56 PM
I have a problem. When someone tries to add comment and clicks the link to pop-up comment window from the site of any older image, the pop-up comment window appears but the main site is automaticly redirected to the site with the latest image. (If you visit http://www.photoblog.czweb.org/pixelpost/ and try to add a comment to any previous image, you will understand better what I mean.)
Does anyone know where to change it, so that this automatic redirection is turned off?
06-27-2006, 01:08 AM
Ive never seen that happen before, and nothing in the code of pixelpost wold just make it start randomly doing that, not that i can think of. I dont see any redirect in place.
06-27-2006, 11:15 AM
try changing the href="#" in your template file to
06-27-2006, 02:59 PM
thanks, but there is nothing like that in my template. There is:
06-27-2006, 03:13 PM
according to the documentation the tag "<COMMENT_POPUP>" should be automaticly replaced by "<a href='index.php?popup=comment&showimage=1' onclick............</a>"
but it seems that it is uncorrectly replaced by "<a href='#' onclick.........</a>".
That might be the problem, but where to fix it?
06-27-2006, 03:49 PM
So, I have found a solution and replaced the tag "<COMMENT_POPUP>" by the complete code string, but of course it is just standby solvent.
To fix it properly I would need to know where to repair the behavior of this tag.
06-27-2006, 04:43 PM
I could be wrong, but I think that would have to be changed in index.php. If you open that file, do a search for <COMMENT and it should bring up the URL you are talking about.
Be careful in there though...and someone correct me if I am wrong about that...
06-27-2006, 05:36 PM
this is fixed on our cvs for the next release of 1.5
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.