I have a V2 forum which has been imported from V1.
When I start a new discussion with a text link, youtube video, image etc. V2 automatically embeds it. This does not work with older imported content, only newly created discussions. Imported content is just left as text and not turned into an embedded a link, video, or photo.
Is this something other people have noticed? Is there any solution? Thank you.
Comments
If they are converted then there is something you can do.
If they stay plain text, then the import script will need to be looked at.
The import script needs to be looked at anyway, but that's besides the point.
If you edit the post and it will be converted to a proper link, this is what you can do:
(semi-code)
Select all posts
for each post do the following:
process text like if it was edited (means executing the same functions vanilla will execute when you insert / edit a post
Maybe execute some more functions like word sensoring, etc (if you have those plugins installed)
save the post
/foreach
What to do if I get a Bonk Error?
Vanilla Wiki : Join and help edit our Wiki! | View all Vanilla issues on GitHub | Report a new Vanilla issue on GitHub
Deploying a new Forum and adding a Theme
If an image url is used and the embed an image code is used the url vanishes from the published comment but still appears when the comment is edited.