Nice script!

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

Nice script!

Post by MicheleA »

I just wanted to say that this is a nice script and was pretty easy to customize. I use it on a private site, but I thought I'd share a few screencaps to show what I've done with it:

http://i3.photobucket.com/albums/y62/Mi ... d_sc01.jpg - The main page

http://i3.photobucket.com/albums/y62/Mi ... d_sc02.jpg - Main page showing the posting form

http://i3.photobucket.com/albums/y62/Mi ... d_sc03.jpg - The test message

http://i3.photobucket.com/albums/y62/Mi ... d_sc04.jpg - Full size view of the test message

http://i3.photobucket.com/albums/y62/Mi ... d_sc05.jpg - Full size view of the post form and emoticon pop up window with different emoticons (the other ones didn't fit with the overall theme :wink: )

So again, thanks! This was perfect for my needs.
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hello Michelle,

Thanks for the screenshots, I will show them to other people asking if MBoard can be customized. Nice work :)

Oh, and thanks for the ... you know what :D

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
incorporating script

Re: Nice script!

Post by incorporating script »

MicheleA wrote:I just wanted to say that this is a nice script and was pretty easy to customize. I use it on a private site, but I thought I'd share a few screencaps to show what I've done with it:

http://i3.photobucket.com/albums/y62/Mi ... d_sc01.jpg - The main page

http://i3.photobucket.com/albums/y62/Mi ... d_sc02.jpg - Main page showing the posting form

http://i3.photobucket.com/albums/y62/Mi ... d_sc03.jpg - The test message

http://i3.photobucket.com/albums/y62/Mi ... d_sc04.jpg - Full size view of the test message

http://i3.photobucket.com/albums/y62/Mi ... d_sc05.jpg - Full size view of the post form and emoticon pop up window with different emoticons (the other ones didn't fit with the overall theme :wink: )

So again, thanks! This was perfect for my needs.

Michelle,

Could you possibly assist?
As l would like to incorporate my php guestbook and forum into my website like you have done which looks really good by the way.
Can you tell in simple steps how l can go about doing this?

website: www.clubsouthampton.com

guestbook: http://www.clubsouthampton.com/mboard/mboard.php

justin
Michele

Changing the look

Post by Michele »

You're most welcome, Klemm! :)

Justin, you customize mboard to fit the look of your site by using the same header, footer, and CSS style sheet that you're already using for the rest of your web layout.

I use php header and footer includes for my main pages and just copied and pasted that information into the header.txt and footer.txt for the mboard. I did the same thing with the CSS file, though I remember having to work with some of the more specific elements in the mboard style sheet. Images used elsewhere on your site will need the full URL paths included in the mboard files in order for them to show up.

And ALWAYS save the original mboard files as a different file name (like mboard_original.php, header_orginal.txt, etc) so that if you screw things up, you can always reload the orginal files, change the names back to their old versions, and things will work again.

I changed the name of the CSS style sheet on my board, but if you want to make life easy for yourself you can always save your site's CSS file, updated to fit mboard's need, as style.css (after saving the original with a different name -- again, just in case things gets messed up.)
nirvana

Re: Changing the look

Post by nirvana »

Michele wrote:You're most welcome, Klemm! :)

Justin, you customize mboard to fit the look of your site by using the same header, footer, and CSS style sheet that you're already using for the rest of your web layout.

I use php header and footer includes for my main pages and just copied and pasted that information into the header.txt and footer.txt for the mboard. I did the same thing with the CSS file, though I remember having to work with some of the more specific elements in the mboard style sheet. Images used elsewhere on your site will need the full URL paths included in the mboard files in order for them to show up.

And ALWAYS save the original mboard files as a different file name (like mboard_original.php, header_orginal.txt, etc) so that if you screw things up, you can always reload the orginal files, change the names back to their old versions, and things will work again.

I changed the name of the CSS style sheet on my board, but if you want to make life easy for yourself you can always save your site's CSS file, updated to fit mboard's need, as style.css (after saving the original with a different name -- again, just in case things gets messed up.)
Hi,

I've downloaded the mboard and its working perfectly - but i want to incorporate it into my website. The problem is i copied and pasted the same template through out the site - so i don't have any headers and footers to call. I tried putting the message board into a copied template and it dosent work. Do i have to have the headers to call or can i do something else to solve it?
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Hi,

There's a simple trick that might help you:

Create a template HTML file. Put ##MBOARD## where you want the messages to appear. Save as a HTML file.

Open this HTML file in a plain text editor, like Notepad or Wordpad. Use the search function to find ##MBOARD##

Copy all the code ABOVE this text and paste it to header.txt
Copy all the code BELOW this text and paste it to footer.txt

Upload header and footer.txt to server and test.

Hope this helps!

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
nirvana

Post by nirvana »

Hello,

Thanks for replying my post. I did that. My site looks like the screen shots above. the header and footer thing you just suggested works fine. Except with the navigation at the side bar. I've tried doing it the proper PHP "way" having a header, footer and sidebar and calling them all into mboard like u did. but the page ended up looking so weird. Im not sure if that makes any sence - but what i want to do is exactly what michele did - coz my site has exactly the same layout.

thanks once again.
Michele

Post by Michele »

nirvana wrote:My site looks like the screen shots above. the header and footer thing you just suggested works fine. Except with the navigation at the side bar. I've tried doing it the proper PHP "way" having a header, footer and sidebar and calling them all into mboard like u did. but the page ended up looking so weird. Im not sure if that makes any sence - but what i want to do is exactly what michele did - coz my site has exactly the same layout.
I did pretty much what Klemm suggested. The only difference is that I included all the sidebar navigation stuff as part of the footer. All the code before the mboard went in the header and all the code after it went in the footer. Give that a try; it should work.
Michele

Post by Michele »

Er, that should've been Klemen. Sorry about that! :oops:
jj

Wrapping of text in guestbook

Post by jj »

Michele wrote:
nirvana wrote:My site looks like the screen shots above. the header and footer thing you just suggested works fine. Except with the navigation at the side bar. I've tried doing it the proper PHP "way" having a header, footer and sidebar and calling them all into mboard like u did. but the page ended up looking so weird. Im not sure if that makes any sence - but what i want to do is exactly what michele did - coz my site has exactly the same layout.
I did pretty much what Klemm suggested. The only difference is that I included all the sidebar navigation stuff as part of the footer. All the code before the mboard went in the header and all the code after it went in the footer. Give that a try; it should work.
When l include the guestbook will the text wrap properly so that it fits the screen and not go to the bottom of the screen?

justin
nirvana

OPPS

Post by nirvana »

:oops: SORRY Klemen.
Guest

Re: Changing the look

Post by Guest »

Michele wrote:You're most welcome, Klemm! :)

Justin, you customize mboard to fit the look of your site by using the same header, footer, and CSS style sheet that you're already using for the rest of your web layout.

I use php header and footer includes for my main pages and just copied and pasted that information into the header.txt and footer.txt for the mboard. I did the same thing with the CSS file, though I remember having to work with some of the more specific elements in the mboard style sheet. Images used elsewhere on your site will need the full URL paths included in the mboard files in order for them to show up.

And ALWAYS save the original mboard files as a different file name (like mboard_original.php, header_orginal.txt, etc) so that if you screw things up, you can always reload the orginal files, change the names back to their old versions, and things will work again.

I changed the name of the CSS style sheet on my board, but if you want to make life easy for yourself you can always save your site's CSS file, updated to fit mboard's need, as style.css (after saving the original with a different name -- again, just in case things gets messed up.)

Michelle ,

I tried using the header.txt and footer.txt files but this did not work.
The background looks really odd as it does not fit into my website like yours. Also can you tell me where in the style.css sheet you change the colour of the background for the inputting of the fields for the guestbook. This would be really appreciated as once this is done my gook and message board is complete.

Justin

as for some reason none of my photos were seen. I have no ideas as to why this
BObby

Post by BObby »

ok, I have read this over and over, I have my set up and all I want is a black background with all orange text, it won't work.Also, I cannot acces smileys and otehr small things, it says the destination is /mboard/mboard.php/smileys.htm , I don't know why it won't just go to mboard and not mboard.php. Please help me! :(
Klemen
Site Admin
Posts: 10116
Joined: Fri Feb 11, 2005 4:04 pm

Post by Klemen »

Bobby,

This could be the problem:

In settings.php you have the mboard_url variable set to:

$settings['mboard_url']="http://www.yourdomain.com/mboard/mboard.php";

but it should be set to:

$settings['mboard_url']="http://www.yourdomain.com/mboard";

(remove the /mboard.php from this setting)

Is this it?

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
Bobby

Post by Bobby »

Haha!Top notch, it all works now!Excellent!You know, I was planning on taking out the text at the bottom but I'm leaving it, I will also put a link to your whole site on my page!I will show you guys whne I'm done uploading everything!Thanks again for all of your help, this is really a great script!
Locked