Page 1 of 1
How to add a logo
Posted: Wed Jan 16, 2013 11:29 pm
by smurfy
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:
How do I add my logo to show on all pages, on top of mboard ? I know nothing about php and would be thankful if you could send the relevant code and where to stick it.
Re: How to add a logo
Posted: Thu Jan 17, 2013 8:53 am
by Klemen
You can add logo HTML code to the bottom of "header.txt" file.
Something like:
Code: Select all
<img src="http://website.com/logo.gif" width="120" height="60" alt="Logo" />
(change URL to your own logo url and width/height values)
Note that only new posts will be affected, the old ones still will not show the logo.
Re: How to add a logo
Posted: Fri Jan 18, 2013 2:39 am
by smurfy
Thanks Klemen. I will test that code when the board is installed on my server... but how do I get the logo to show on the old posts?
Re: How to add a logo
Posted: Fri Jan 18, 2013 6:30 am
by smurfy
Hi Klemen, please can you have a look at my board
http://www.thearrogantasshole.net I have tried to add my logo but the template is no longer functioning properly ?
Re: How to add a logo
Posted: Fri Jan 18, 2013 12:46 pm
by smurfy
I have uploaded my logo to board but it is not showing on this page
http://www.thearrogantasshole.net/msg/15.html Please can you tell me why ?
Re: How to add a logo
Posted: Fri Jan 18, 2013 5:26 pm
by Klemen
You seem to have deleted mboard.php file from the server?
Try uploading original mboard.php again.
Re: How to add a logo
Posted: Fri Jan 18, 2013 6:39 pm
by smurfy
Hi Klemen, yes it seems that some one deleted the file but I have uploaded it and the website is back up. However, the logo remains missing on this page
http://www.thearrogantasshole.net/msg/15.html how do I rectify this ?
Thanks so much.
Re: How to add a logo
Posted: Fri Jan 18, 2013 6:43 pm
by smurfy
... Also, I have noticed that the board is using my hosts email address even though I have added my email on the setup file? How do I resolve this ?
Re: How to add a logo
Posted: Fri Jan 18, 2013 7:13 pm
by Klemen
I get a "page not found" error when I try to open your website or the page you mention.
Also, like said, note that any changes to the header.txt file will only show in *new* posts, not existing ones. To modify existing ones you would have to manually modify html files inside the "msg" folder.
The email address you entered is the address where notifications will be sent to - the "from" email address is usually controlled by php configuration. You can however try this and see if it helps:
1. open mboard.php in an editor
2. change
Code: Select all
mail($settings['admin_email'],'New forum post',$message);
to
Code: Select all
mail($settings['admin_email'],'New forum post',$message,"From: you@yourmail.com");
Re: How to add a logo
Posted: Fri Jan 18, 2013 7:34 pm
by smurfy
Apologies Klemen, I have had to reset my IP to point to my hosting account and will have to wait till it propagates.
Thank you for the information which I will try out once my website is properly loading... is it difficult to come up with a script that can work within my server that will add the logo automatically to the pages?
Re: How to add a logo
Posted: Fri Jan 18, 2013 7:38 pm
by smurfy
... The problem is that I have no understanding of this kind of stuff :O(
It would be great if you could do more to improve the script to make it more managable on the front and backend.
Re: How to add a logo
Posted: Sat Jan 19, 2013 12:04 am
by smurfy
Is it Ok if I also add a copyrights message on the footer... It will not crash the board ?
I see that you do not have a contacts form. I would like to add a contact form to my board. Can you recommend me a nice simple contact form?
The mBoard is a lovely little script and exactly what I was looking for my website !