Page 1 of 1

need to put bb in an iframe

Posted: Mon May 17, 2010 3:54 am
by markr126
Script URL:
Version of script:
Hosting company:
URL of phpinfo.php:
URL of session_test.php:
What terms did you try when SEARCHING for a solution:

Write your message below:
I installed the php message board and need to re-size it to fit in an iframe on my webiste. Is this possible ? Thank you.

Posted: Mon May 17, 2010 4:48 pm
by Henrie
Hello Mark,

You must have a very small iframe, because MBoard size perfectly dynamically to a width of 440 pixels.

The one element that is than breaking the size is the message textarea. To change this, open mboard.php and change line 179 (MBoard version 1.30)

Code: Select all

 <b>Message:</b><br><textarea cols=50 rows=9 name="message"></textarea><br>
to

Code: Select all

 <b>Message:</b><br><textarea cols=40 rows=9 name="message"></textarea><br>
So just change the cols (columns) to a lower value.

Greetings,
Henrie