Advertisement:

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

Offline dsanchez

  • Jr. Member
  • **
  • Posts: 320
  • 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: 70,992
    • StoryBB/StoryBB on GitHub
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?
Don’t try to tell me that some power can corrupt a person. You haven’t had enough to know what it’s like.

No good deed goes unpunished / No act of charity goes unresented.

Offline dsanchez

  • Jr. Member
  • **
  • Posts: 320
  • 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