Advertisement:

Author Topic: Convert youtube URLs to new format  (Read 287 times)

Offline dsanchez

  • Jr. Member
  • **
  • Posts: 325
  • Gender: Male
Convert youtube URLs to new format
« on: May 04, 2019, 03:26:31 PM »
Just migrated to 2.1.x and all looks fine so far :)

But I have a question. I have many posts including a simple link
Code: [Select]
https://m.youtube.com/watch?v=y3Cy7B9x0qk which, through a mod, made it possible to see the video automatically in the post.

Now youtube videos must be inserted using
Code: [Select]
[youtube]y3Cy7B9x0qk[/youtube]
My question is: how can mass-change all those URLs to the new format? Through phpmyadmin?

Thank you!
Curefans.com - The meeting point for Curefans worldwide
http://www.curefans.com

Offline Arantor

  • Resident Overthinker
  • SMF Friend
  • SMF Legend
  • *
  • Posts: 73,103
Re: Convert youtube URLs to new format
« Reply #1 on: May 04, 2019, 03:30:41 PM »
You could continue to use the mod instead?
No good deed goes unpunished
All helpful urges should be circumvented

Offline dsanchez

  • Jr. Member
  • **
  • Posts: 325
  • Gender: Male
Re: Convert youtube URLs to new format
« Reply #2 on: May 04, 2019, 03:39:10 PM »
You could continue to use the mod instead?

thank you. didn't try to see if it works in 2.1.x will check!
Curefans.com - The meeting point for Curefans worldwide
http://www.curefans.com