Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Normal
Nice code, although I admit I don't know enough about PHP's OOP (or OOP in general) to understand a lot of it. I must say, though, that the buildLink method is appealing. Have you considered writing a tool to find all valid URL's referenced within posts, profile posts, etc. and translate them if the URL structure is ever changed? Seeing as the URL structure already needs to be strictly defined with the router prefix stuff, I would think it would be trivial to find all the URL's within content on the forum and use the same functions to parse and then rebuild the links.
Nice code, although I admit I don't know enough about PHP's OOP (or OOP in general) to understand a lot of it. I must say, though, that the buildLink method is appealing.
Have you considered writing a tool to find all valid URL's referenced within posts, profile posts, etc. and translate them if the URL structure is ever changed? Seeing as the URL structure already needs to be strictly defined with the router prefix stuff, I would think it would be trivial to find all the URL's within content on the forum and use the same functions to parse and then rebuild the links.
We use essential cookies to make this site work, and optional cookies to enhance your experience.
See further information and configure your preferences