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.
images and youtube in posts on V1 are not seen after import to V2
Horton
New
I'm in the final phase of a migration from vanilla1 to vanilla 2.
I noticed tonight that images and youtube in posts on V1 are hidden in V2. I can add them back - embed, upload, whatever
The HTML is intact but he images are not exposed. I'm not using any add-on editor. I assume the error is between keyboard and chair that I have no idea.
I noticed tonight that images and youtube in posts on V1 are hidden in V2. I can add them back - embed, upload, whatever
The HTML is intact but he images are not exposed. I'm not using any add-on editor. I assume the error is between keyboard and chair that I have no idea.
0
Comments
Did you figure this out Horton? Same issue here!
I personally haven't moved from v1 to v2
But this may provide a clue. Just an idea.
Identify the comment id of the comment that has an image that does not show.
The strange part is if I open the old post and copy the HTML and paste it into a new thread everything is there.
Identify the comment id of the comment you just copied and pasted into a new comment that has an image that does show.
compare the body column and the format columns of the two comment id's in the comment table and see if the tags are corrupted or if the format column is different.
if you find a difference - you could export the body column and use a regex to fix the tags in php and then update the database with the fixed tags or maybe use a regex in sql update.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
I guess it was the formats column.
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.