Read the blogs!
Started by LunaticSoleil, June 24, 2022, 09:08:04 PM
<a href="http://other.site.org/include.php?path=start.php" target="_blank"><img src="http://forum.site.org/img/Forum/home.gif" border="0" alt="Homepage" title="Title text" /></a>Forum description
[url=http://other.site.org/include.php?path=start.php][img alt=Homepage]http://forum.site.org/img/Forum/home.gif[/img][/url]Forum description
Quote from: Diego Andrés on June 24, 2022, 09:48:30 PMHTML is no longer parsed in descriptions, you're going to have to change that to BBC's
Quote from: Arantor on June 29, 2022, 10:18:49 AMThe problem is that you actually need to do more than just call html_to_bbc, but make sure the correct escaping chain is called. The time to write such a script *correctly* is actually probably not that much shorter than opening the boards in new tabs (Ctrl-click is good for this) then having one hand over the end key, the other on the mouse to click save.(I say this as a veteran of having had to trudge through many hundreds of manual fixes in my time.)
Quote from: LunaticSoleil on June 30, 2022, 06:57:12 AM500+ boards
Quote from: LunaticSoleil on June 30, 2022, 06:57:12 AMDoing this for 500+ boards would be erorr-prone (not all 500 boards contain these links but a high percentage) . Most of my mistakes are during "stupid" and repeating tasks. I know that it will not save much time (or even take longer) to write a script for this but once done correctly it gives me peace of mind that I did not forget a bunch of boards.Time is not the most important factor for me as I am doing this for free and I prefer interesting tasks over endless clicking sessions.As a bonus I would learn something about SMF which could be handy to keep the forum up to date and secure and prevent it from rotting once again for a decade - being a security nightmare until the next great update.Besides the missing conversion of html to bb code the upgrade worked surprisingly good. Kudos to the SMF developers! Once I did am upgrade that needed about 5 intermediate stops (upgrading step for step, using different PHP and MySQL versions)I suppose I will try to find out the correct escaping sequence and resort to manual change if I do not succeed.Thanks for the help.