Messages won't open in site structure

Is message board greying out your hair (at least what's left of it)? Let us help you here
Locked
swede
Posts: 2
Joined: Thu May 22, 2008 8:01 pm

Messages won't open in site structure

Post by swede »

Hello! I'm new here but I have used the MBoard for about two years now. It's a great message board and I have never had any problems with it. Untill now.

I'm changing the layout and structure of my site (swedish) and I have managed to include the MBoard on my site. The only problem left is that the messages won't open correct. I don't know how to include them in my site layout instead of open up separatly. Is there a way to change this. I still want to see the menus and the rest of the site while reading the messages.

I'm using MBoard 1.3. The url to my forum is http://www.perutbult.se/safir_beta/forum.php
If you click on a message you will see that it "leaves" the site and my css design.

Thank you!

P.s. Will there be a picture upload function in MBoard in the future? That would be great.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

This happens because you added HTML code to mboard.php (or forum.php) and didn't use the recommended way (editing header.txt and footer.txt). You should either use the original mboard file and enter any header/footer HTML to the appropriate header/footer.txt files or also edit the template in function createNewFile inside MBoard PHP code (starts line 338 in the original file).

When testing keep in mind any changes will only be visible in new posts, old posts remain the same (as they are plain static HTML and not dynamic).

Yes, image support is planned.
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
swede
Posts: 2
Joined: Thu May 22, 2008 8:01 pm

Post by swede »

Ok!

Thank you. Looking forward for the image upload founction!
Locked