Page 1 of 1
Skip the confirmation page?
Posted: Thu Jun 29, 2006 4:06 am
by helmrict
Hello - Thanks for the great message board. Does anyone know a way to go back directly to the message board after a message is posted and skip the confirmation notice "Your message was successfully added!"?
Posted: Fri Jun 30, 2006 2:56 pm
by MrBaseball34
Try replacing these lines in the addNewReply function:
<p> </p>
<p> </p>
<p align="center"><b>Your message was successfully added!</b></p>
<p align="center"><a href="mboard.php">Click here to continue</a></p>
<p> </p>
<p> </p>
<p> </p>
<p> </p>
<?php
printCopyHTML();
printDownHTML();
exit();
with
header ("Location: mboard.php");
Posted: Fri Jun 30, 2006 3:53 pm
by Klemen
I'm afraid it's not that simple because top HTML is already printed when you come to this code. You'd have to make sure printTopHTML(); is not executed when the action is adding new post/reply.
Posted: Fri Jun 30, 2006 4:21 pm
by MrBaseball34
oops, forgot about that one.