Help with change

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
Wings

Help with change

Post 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.
Wings

Found it!

Post 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....
Wings

Talking to myself here

Post 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...
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post 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
Klemen, creator of HESK and PHPJunkyardWas this helpful? You can buy me a drink here Image

Image You should follow me on Twitter here

Help desk software | Cloud help desk | Guestbook | Link manager | Click counter | more PHP Scripts ...

Also browse for php hosting companies, read php books, find php resources and use webmaster tools
Wings

Ahhh, I see

Post by Wings »

Thanks much for the info. Of that I had no idea.
Locked