Advertisement:

Author Topic: Ohara YouTube Embed  (Read 201460 times)

Offline jsx

  • Jr. Member
  • **
  • Posts: 370
  • Gender: Male
Re: Ohara YouTube Embed
« Reply #740 on: November 29, 2019, 06:23:45 AM »
Hi jsx,

Try [noembed]  [/noembed] around the video's url.

Hi,

If I add this tag between the link then the video will not be displayed, but the tag is visible.

Will have to look at it to see how this mod behaves with the option.

It would be nice if you check it.
The Great Winged Hussars

https://www.youtube.com/watch?v=eWkrQQly6xU

We remember
In september
When The Winged Hussars arrived!

Offline YogiBear

  • SMF Hero
  • ******
  • Posts: 1,961
Re: Ohara YouTube Embed
« Reply #741 on: November 29, 2019, 10:22:11 AM »
Hmm, try [ nobbc]  [ /nobbc]  (without the spaces).
SMF v2.0.17  Mods : Ohara YouTube Embed v1.2.9,  Custom Tab v1.2 , Bakers' Dozen Pages v1.2 , SMFPacks Shoutbox v1.1,  Board Color & Icons v1.1 , Simple Image Upload , Snow & Garland v1.4
PHP  v.7.3.6

Offline jsx

  • Jr. Member
  • **
  • Posts: 370
  • Gender: Male
Re: Ohara YouTube Embed
« Reply #742 on: December 01, 2019, 11:45:12 AM »
In this way, a link to the video is displayed, but it is not clickable, it is inactive.
The Great Winged Hussars

https://www.youtube.com/watch?v=eWkrQQly6xU

We remember
In september
When The Winged Hussars arrived!

Offline YogiBear

  • SMF Hero
  • ******
  • Posts: 1,961
Re: Ohara YouTube Embed
« Reply #743 on: December 02, 2019, 12:23:46 PM »
A workaround - fear not, this leads to a harmless vid by Claude Francois...

[ url=https://www.google.com/search?source=hp&ei=VkTlXfGYO5ydjLsP_Nq7KA&q=chanson+donna+donna+de+claude+fran%C3%A7ois&oq=donna+donna+cha&gs_l=psy-ab.1.2.0i22i30l3.1756.20540..26712...0.0..0.177.1406.18j1......0....1..gws-wiz.....0..0i131j0j0i324j0i333.Ua16NzdAj5E][ color=red]nice vid[ /color]

When the code spaces are closed it appears as...

nice vid
SMF v2.0.17  Mods : Ohara YouTube Embed v1.2.9,  Custom Tab v1.2 , Bakers' Dozen Pages v1.2 , SMFPacks Shoutbox v1.1,  Board Color & Icons v1.1 , Simple Image Upload , Snow & Garland v1.4
PHP  v.7.3.6

Offline YogiBear

  • SMF Hero
  • ******
  • Posts: 1,961
Re: Ohara YouTube Embed
« Reply #744 on: December 02, 2019, 02:23:31 PM »
Oops forgot - end code with [ /url] (without the space).
SMF v2.0.17  Mods : Ohara YouTube Embed v1.2.9,  Custom Tab v1.2 , Bakers' Dozen Pages v1.2 , SMFPacks Shoutbox v1.1,  Board Color & Icons v1.1 , Simple Image Upload , Snow & Garland v1.4
PHP  v.7.3.6

Offline Rob Lightbody

  • Charter Member
  • Jr. Member
  • *
  • Posts: 168
  • Gender: Male
  • Rob Lightbody, QE2 Story Forum administrator
    • The QE2 Story
Re: Ohara YouTube Embed
« Reply #745 on: January 01, 2020, 07:36:49 AM »
Hi,

Seeing a problem with this mod on 2.0.16, mainly apparently when people use the "recent posts" function.

https://...../index.php?action=recent
8: Undefined index: airp_attachments
File: ...../Themes/default/languages/OharaYTEmbed.english-utf8.php (main sub template - eval?)
Line: 55

Any suggestions please?

Thanks,

- Rob

Offline YogiBear

  • SMF Hero
  • ******
  • Posts: 1,961
Re: Ohara YouTube Embed
« Reply #746 on: January 01, 2020, 08:55:35 AM »
Recommend upgrade to 2.0.17 then see if the error is still there.
SMF v2.0.17  Mods : Ohara YouTube Embed v1.2.9,  Custom Tab v1.2 , Bakers' Dozen Pages v1.2 , SMFPacks Shoutbox v1.1,  Board Color & Icons v1.1 , Simple Image Upload , Snow & Garland v1.4
PHP  v.7.3.6

Offline Suki

  • Kaizoku Jotei
  • Developer
  • SMF Super Hero
  • *
  • Posts: 15,584
  • Oh, wouldn't it be great if I *was* crazy?
    • MissAllSunday on GitHub
    • SMF mods
Re: Ohara YouTube Embed
« Reply #747 on: January 06, 2020, 11:38:35 AM »
Hi,

Seeing a problem with this mod on 2.0.16, mainly apparently when people use the "recent posts" function.

https://...../index.php?action=recent
8: Undefined index: airp_attachments
File: ...../Themes/default/languages/OharaYTEmbed.english-utf8.php (main sub template - eval?)
Line: 55

Any suggestions please?

Thanks,

- Rob

The issue most likely is with another mod, this mod uses hooks which means its files as loaded after the main ones. The way the error log tries to catch on which file the error is suppose to appear can be confused when a mod loads its own files via hooks.

On your mod list check if theres one with the prefix: "airp_". Thats the mod with the issue, most likely some txt language var wasn't found.
Disclaimer: unless otherwise stated, all my posts are personal and does not represent any views or opinions held by Simple Machines.

Look at them. They're just asking for it. Maybe the human race deserves to be wiped out.

Offline Rob Lightbody

  • Charter Member
  • Jr. Member
  • *
  • Posts: 168
  • Gender: Male
  • Rob Lightbody, QE2 Story Forum administrator
    • The QE2 Story
Re: Ohara YouTube Embed
« Reply #748 on: January 08, 2020, 02:25:47 PM »
Hi,

Seeing a problem with this mod on 2.0.16, mainly apparently when people use the "recent posts" function.

https://...../index.php?action=recent
8: Undefined index: airp_attachments
File: ...../Themes/default/languages/OharaYTEmbed.english-utf8.php (main sub template - eval?)
Line: 55

Any suggestions please?

Thanks,

- Rob

The issue most likely is with another mod, this mod uses hooks which means its files as loaded after the main ones. The way the error log tries to catch on which file the error is suppose to appear can be confused when a mod loads its own files via hooks.

On your mod list check if theres one with the prefix: "airp_". Thats the mod with the issue, most likely some txt language var wasn't found.

You were right - thanks so much - tracked it down!