View Full Version : Refresh page after comment
JFMichaud
07-04-2008, 04:31 PM
Hi i'm looking to change the refresh time after a comment is leaved on the comment page. (before returning to the previous page) I'm using the Horizon template...do you know where i could chage that setting?
Thanks
kevincrafts
07-04-2008, 05:09 PM
You can bypass the thankyou page and just go back to the image by adding this to your form:
<input type="hidden" name="withthankyou" value="no" />
JFMichaud
07-04-2008, 11:20 PM
Thanks for the reply, i've managed to get it right...well i don't know if it's a good way to do it? It works so....
In the Include folder, the file functions_comments.php
Line 279
<meta http-equiv="refresh" content="8; URL=<?php echo $comment_redirect_url; ?>" />
Change to:
<meta http-equiv="refresh" content="2; URL=<?php echo $comment_redirect_url; ?>" />
So instead of 8 sec it's 2
Thanks
vBulletin® v3.7.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.