kidleethal
05-07-2006, 01:18 AM
Hello,
I just upgraded to Pixelpost 1.5RC. Everything is working swimmingly, except I used to have a hack in the index.php in 1.43 that removed the redirect page after someone posted a comment. You can see the instructions for it here:
http://forum.pixelpost.org/showthread.php?t=2312&highlight=comment+redirect
The problem is, I think the code has changed for 1.5 and PHP scares me :) I think I found the place I'm supposed to change something, but I'm not sure what it is I need to change, can anyone help me out?
I think it's in the header somewhere here:
<head>
<meta http-equiv="refresh" content="8; URL=<?php echo $_SERVER['HTTP_REFERER']; ?>" />
<title><?php echo $lang_comment_page_title; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="admin/admin_index.css" type="text/css" />
</head>
<body>
<?php
echo "<p />$lang_comment_thank_you<p />$extra_message<br />";
echo "<a href='$_SERVER[HTTP_REFERER]'>$lang_comment_redirect</a><p />";
echo "</body></html>";
I just upgraded to Pixelpost 1.5RC. Everything is working swimmingly, except I used to have a hack in the index.php in 1.43 that removed the redirect page after someone posted a comment. You can see the instructions for it here:
http://forum.pixelpost.org/showthread.php?t=2312&highlight=comment+redirect
The problem is, I think the code has changed for 1.5 and PHP scares me :) I think I found the place I'm supposed to change something, but I'm not sure what it is I need to change, can anyone help me out?
I think it's in the header somewhere here:
<head>
<meta http-equiv="refresh" content="8; URL=<?php echo $_SERVER['HTTP_REFERER']; ?>" />
<title><?php echo $lang_comment_page_title; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="admin/admin_index.css" type="text/css" />
</head>
<body>
<?php
echo "<p />$lang_comment_thank_you<p />$extra_message<br />";
echo "<a href='$_SERVER[HTTP_REFERER]'>$lang_comment_redirect</a><p />";
echo "</body></html>";