Page 1 of 1

Help with change

Posted: Wed May 11, 2005 4:17 am
by Wings
Love mBoard. I thought I had what I wanted, but after looking at Mboard I quickly switched over. Small and easy is exactly what my small crowd wants.

To make it even faster, I've been trying bypass the YOUR MESSAGE WAS SUCCESSFUL..... CLICK HERE TO....

I would like to just have it return to the board and not have to make that mouse click. Here's the relevant code. I'm almost positive I've seen some simple HTML that I could stick in here to automatically send one back, but I'm not having any luck finding it.


?>
<p>&nbsp;</p>
<p>&nbsp;</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>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<?php

Thanks again for a neat little package.

Found it!

Posted: Wed May 11, 2005 4:37 am
by Wings
Just stuck the meta refresh tag in there. If you do this there are two places to put it - one for the topic and one for the topic replies.

Love this mBoard. Even a php idiot like myself can modify it until I'm happy.

Here's that Meta refresh line...

<meta http-equiv="refresh" content="1;url=mboard.php">

I liked that because I didn't have to mess with any code - just stick it in there before the line that says you made a successful post. It still pops up for one second, so I may try a zero there. No biggee now, however....

Talking to myself here

Posted: Wed May 11, 2005 4:56 am
by Wings
but things are happening so fast. Haha.

I took out the CLICK HERE TO CONTINUE line so as not to confuse any fast readers...

Posted: Wed May 11, 2005 2:53 pm
by Klemen
Hi,

Just a note: some older browsers don't support meta refresh. I would keep the continue line and maybe rename it to "Click here if you are not automatically redirected" or something.

Regards

Ahhh, I see

Posted: Wed May 11, 2005 5:32 pm
by Wings
Thanks much for the info. Of that I had no idea.