need to put bb in an iframe

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
markr126
Posts: 1
Joined: Mon May 17, 2010 3:48 am

need to put bb in an iframe

Post 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.
Henrie
Posts: 1095
Joined: Sun Aug 14, 2005 8:57 pm

Post 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
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.
Locked