Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Autolinking from imported Vanilla 1 forum

Hello,
I've just been done what is needed to upgrade my forum from Vanilla 1 to Vanilla 2 (I know a little behind the times...!). It's all looking great, but there is one thing I can't quite wrap my head around which is autolinking in old posts. Plain text URLs are linked no problem when making a new post in Vanilla 2, but I've got a mountain of old posts from Vanilla 1 with plain text URLs which I would really like to have automatically linked. Is this possible? I've searched the plug-ins and forums but most references are how to do this in Vanilla 1 - particularly since Vanilla 2 does it automatically with new posts.
Thanks,
Allan
I've just been done what is needed to upgrade my forum from Vanilla 1 to Vanilla 2 (I know a little behind the times...!). It's all looking great, but there is one thing I can't quite wrap my head around which is autolinking in old posts. Plain text URLs are linked no problem when making a new post in Vanilla 2, but I've got a mountain of old posts from Vanilla 1 with plain text URLs which I would really like to have automatically linked. Is this possible? I've searched the plug-ins and forums but most references are how to do this in Vanilla 1 - particularly since Vanilla 2 does it automatically with new posts.
Thanks,
Allan
Tagged:
0
Answers
Thanks,
Allan
http://www.vanillaforums.org
So the autolinker plugin is embedded inside vanilla 2, if you could see it that way.
There was an error rendering this rich post.
I can of course see why it is done the new way - do it once rather than for every view. A nice optimisation :-). I just can't see how to do something like how it was done before for legacy posts.
Allan
You can manually update this on your old posts and you should be fine.
There was an error rendering this rich post.
@UnderDog: 22'000 comments - yup, I'll be doing it by SQL :-)
Gdn_Format::Links()
function if that's what you're asking for. Not quite sure though.Changing the details inside the imported comments, that's a real brain teaser.
There was an error rendering this rich post.
@Todd: You probably hear it all the time, but it is quite one thing to look at the end result of a product and think "wow", but to go through the code and think the same thing is something else entirely. Vanilla is a fantastic example of how to build a product - nice one and thanks for making it available to us all!
Regards,
Allan
@todd - I second @allanj comments. Vanilla is simply brilliant, congrats to all the team.
I'm raising this old thread because I've got a similar question/issue. In my old Vanilla 1 forum I was using Autolinks which very cleverly turned a long URL into a hyperlinked phrase... for example: h.ttp://www.blahblahblah into [Click here] (with 'click here' obviously linking to the URL).
Upon upgrading to Vanilla 2, all that has been lost (understandable since the extension/plugin isn't there to weave its magic), and I'm now left with the full text URLs.
I've hunted through the Vanilla 2 plugins (no luck) and am wondering if an Autolinks-type plugin exists for Vanilla 2?
Cheers!
Thanks for the reply @todd - much appreciated
I too see this as being a great addition to the core functionality - particularly if the output could be tweaked by the admin
cheers