AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

[Solved] How can Fix video YouTube Import, BBcode error?

6 Posts
2 Users
0 Reactions
7,022 Views
(@diegopino)
Posts: 60
Estimable Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 
[#48427]
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 👍 

 
Posted : 25/02/2023 6:51 pm
Tutrix
(@tutrix)
Posts: 1519
Noble Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

@diegopino 

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 😉


 
Posted : 25/02/2023 8:39 pm
(@diegopino)
Posts: 60
Estimable Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

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:

 


 
Posted : 25/02/2023 9:30 pm
Tutrix
(@tutrix)
Posts: 1519
Noble Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

@diegopino 

is the table prefix correct?

wp_wpforo_posts


 
Posted : 25/02/2023 9:35 pm
(@diegopino)
Posts: 60
Estimable Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

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 👍 


 
Posted : 25/02/2023 10:18 pm
Tutrix
(@tutrix)
Posts: 1519
Noble Member
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

@diegopino 

try

update wp_wpforo_posts set body = replace(body,'[/video]','');

and

update wp_wpforo_posts set body = replace(body,'[video=youtube]','');

 
Posted : 25/02/2023 10:22 pm
(@diegopino)
Posts: 60
Estimable Member
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
 

😍 Amazing Tutrix. thank you so much for support

That code via PhpMyAdmin work perfect.  
saved me a lot of work time, very happy with the support.


 
Posted : 25/02/2023 10:40 pm
Share: