Page 1 of 1

Mboard - link to a different page

Posted: Sat Mar 20, 2010 9:30 pm
by Daved
Looked at the code for mboard and when i tried to change the Click here to continue link to link to my home page instead of linking back to mboard, it does not even recognize that it has been changed. Any ideas on how to make mboard link to the home page from here! Thank you in advance. Dave

Posted: Sun Mar 21, 2010 7:40 am
by Henrie
Hello Daved,

Unfortunately messages of MBoard are stored are stored in static html pages in the msg folder. This means that all contents of the pages are hardcoded and can only be changed by changing each html file separately.

But for a task like you want to do there are programs you can use to search and replace text in multiple files.
I did a quick search on my favourite site (http://www.portablefreeware.com) and found WildReplace (http://www.cylog.org/utilities/wildreplace.jsp)

In WildReplace.
Do a 'Search for text:'

Code: Select all

<a href="http://www.mywebsite.com/mboard130/mboard.php">Back to My lovely website - message board</a>
(replace the link and the text with the actual text that is present in all your messages)
and do a 'Replace with:' with the new text you want, for example

Code: Select all

<a href="http://www.mywebsite.com/index.php">Back to the home page.</a>
Than select the directory where the files are placed that you want to change.
And than click the GO button.
In the right panel you will get an overview of all the pages in which text is replaced.

I hope this helps you.

Greetings,
Henrie