Mboard - link to a different page
Mboard - link to a different page
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
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:' (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
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
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>
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>
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
I do not monitor the Gbook forums regularly anymore since I do not use the Gbook script myself anymore for a long time. But it helped me a lot in learning to understand php.