Including mboard.php

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
sly_tex
Posts: 2
Joined: Thu Oct 25, 2007 7:19 pm

Including mboard.php

Post by sly_tex »

im trying to include mboard.php in a file rather than use the index.htm to refresh to it. This is so i can put the forum in the content area of a site that is laid out in css with a header, side navi, and a content area. So im getting the "Cannot modify header information" error, i guess because i am not using the whole meta tag refresh thing and mboard.php constructs it own header. So yea, my question is how do i include the mboard.php file in a file that lays out my page using div tags/css with out getting that error. help would be very much appreciated as i am sort of on a deadline, thanks!
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Unless you know how it works and what the error you are getting means I strongly advise NOT to include it in a file as it won't work (at least not without a lot of editing).
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
sly_tex
Posts: 2
Joined: Thu Oct 25, 2007 7:19 pm

Post by sly_tex »

thanks for the heads up...solved it with a quick redesign and a small addition to mboard.php
perthmetro
Posts: 10
Joined: Fri Jan 04, 2008 4:43 pm

Post by perthmetro »

Can you share with us how you integrated the mboard into a website? Thanks
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

perth, try using header and footer.txt files. There are numerous examples and threads about it here and also in the GBook forum.
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
jasperguy
Posts: 5
Joined: Fri Jan 18, 2008 7:18 am

Post by jasperguy »

I have set the headers with the html, and it is good on firefox, but IE is not co-operating.

please take a look at example:

http://jollyworks.ab.ca/board/mboard.php

I used the header.txt and Footer.txt
jasperguy
Posts: 5
Joined: Fri Jan 18, 2008 7:18 am

Post by jasperguy »

Never mind, I fixed the problem in IE.

I modified the mboard.php table width to pixel width and not percentage.
Locked