0
25/02/2023 2:51 pm
Topic starter
How can Fix video YouTube Import, BBcode error?
Hi WpForo Community.
The tool (MyBB to wpForo Migration) When import YouTube video display some error in video, like BBcode MyBB:
[video=youtube]
All video import from tool (MyBB to wpForo Migration) haved that error in BBcode.
Anexo image preview:
Add some links example:
Thanks in advance for support
Β
Muchas Gracias por el soporte 👍Β
2 Answers
0
25/02/2023 4:39 pm
you must remove the BBCodes
<p>[video=youtube]</p>
and
[/video]
in the url
Example
//www.youtube.com/embed/eTZ55Twa__Q[/video]?start=
should look like this
//www.youtube.com/embed/eTZ55Twa__Q?start=
https://app.screencast.com/9OcOaUtZDZVyH
you can do this manually in each post 😆Β
or with 2 phpMyAdmin SQL commands
Example
update wp_wpforo_posts set body = replace(body,'[/video]?start=','?start=');
and
update wp_wpforo_posts set body = replace(body,'<p>[video=youtube]</p>','');
you can also use a plugin like > Search & Replace
but make a backup before 😉
0
25/02/2023 5:30 pm
Topic starter
Thank you so much Tutrix for help my
in mi case, the way its via with 2 phpMyAdmin SQL commands, becasuse have hundreds of many post with youtube videos.
Do it the steps phpMyAdmin SQL commands but not work in forum:
update wp_wpforo_posts set body = replace(body,'[/video]?start=','?start=');
Anexo images preview:
Β
DiegoPino Topic starter
25/02/2023 6:18 pm
Hi Tutrix
Yes, the table prefix its ok, in phpmyadmin have all tables ok with prefix.
anexo image preview:
Thank you so much for Support Tutrix 👍Β
Tutrix 25/02/2023 6:22 pm
try
update wp_wpforo_posts set body = replace(body,'[/video]','');
and
update wp_wpforo_posts set body = replace(body,'[video=youtube]','');