XF 1.5 Modifying URL in posts

i_n_k

Member
I'm trying to put together a script modify a post that contains a user-inputted url and convert it to a custom url.

In other words, I would just use a function to replace the following: [ URL = 'http://www.url.com' ] url [ /URL ] to [ URL = 'http://www.customurl.com' ]Custom URL [ /URL ], while also potentially adding an icon after a link, that sort of thing. I've been digging around to see if there's a resource that might be similar to what I'm looking for and haven't been able to find one, so any guidance is appreciated. I'm currently using XF 1.5 and am also developing our template for XF 2 so if there is also any advice for the current version, I'd appreciate it as I know we're at EOL with XF 1.5 but I'm in transition and am working on both currently before we hopefully get the new version running in the next month or two. Thank you.
 
Last edited:
This is solved. For anyone who ever has a similar question, all the basic principles needed to figure this out can be found in this thread:

 
Top Bottom