Advertisement:

Author Topic: Yet Another YouTube BBCode Tag  (Read 82889 times)

Offline hannes_kann_es

  • Newbie
  • *
  • Posts: 9
Re: Yet Another YouTube BBCode Tag
« Reply #280 on: March 07, 2018, 03:09:45 PM »
How can I disable auto-embed? I only want it to be embedded with the bbc. Thanks in advance!

Offline landyvlad

  • Full Member
  • ***
  • Posts: 604
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
Re: Yet Another YouTube BBCode Tag
« Reply #281 on: March 07, 2018, 07:53:30 PM »
How can I disable auto-embed? I only want it to be embedded with the bbc. Thanks in advance!

Uninstall the mod.  Auto-embed is it's whole point.
Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

Offline hannes_kann_es

  • Newbie
  • *
  • Posts: 9
Re: Yet Another YouTube BBCode Tag
« Reply #282 on: March 08, 2018, 12:31:35 AM »
Your comment was ... helpful. If that's the whole purpose, the mod should be named "Yet another Youtube autoembed".

Nevermind I figured it out. Remove the call to
Code: [Select]
BBCode_YouTube_Embed($message, $smileys, $cache_id, $parse_tags); in Sources/Subs.php.

Inside that function i find the following
Code: [Select]
// Is message empty, OR autoembedding links disabled?  If so, return to caller:
if ($message === false || !empty($context['bbc_youtube']['ignore']))
return;
But there is no setting for it?

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,702
  • Mod King
    • XPtsp.com Community
Re: Yet Another YouTube BBCode Tag
« Reply #283 on: March 08, 2018, 10:31:13 AM »
Uploaded v4.11 - March 8th, 2018
o Added missing option to disable YouTube bbcodes amongst YouTube options.
o Added new option to disable autoembedding for YouTube links.



@hannes_kann_es: So you want an option to disable auto-embed?  Request granted!
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline hannes_kann_es

  • Newbie
  • *
  • Posts: 9
Re: Yet Another YouTube BBCode Tag
« Reply #284 on: March 08, 2018, 02:00:36 PM »
Thank you  :laugh:

Offline kittonium

  • Semi-Newbie
  • *
  • Posts: 62
Re: Yet Another YouTube BBCode Tag
« Reply #285 on: March 08, 2018, 04:24:04 PM »
Hi, can you tell me how I can fix the centering of the video when using ADK Portal?


that's my problem

using it like this..


Code: [Select]
[center]
[size=16pt][b][color=orange]March 2:[/color][/b][/size]
New Fallout New Vegas Video!!
[youtube]https://www.youtube.com/watch?v=0D7YkLa_VdU[/youtube]
[/center]


BUT, on normal threads (not AdkPortal homepage) the stuff displays fine

Offline kittonium

  • Semi-Newbie
  • *
  • Posts: 62
Re: Yet Another YouTube BBCode Tag
« Reply #286 on: March 08, 2018, 04:33:16 PM »
also, seems to ignore width and height parameters if the post is in the adk portal

Offline landyvlad

  • Full Member
  • ***
  • Posts: 604
    • Michael Reed on Facebook
    • GSX1400 Owners ORG
Re: Yet Another YouTube BBCode Tag
« Reply #287 on: March 14, 2018, 09:44:01 PM »
dougie - good on you for the update :)

kitto - that's a question you would need to ask in the support for ADK portal.
Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,702
  • Mod King
    • XPtsp.com Community
Re: Yet Another YouTube BBCode Tag
« Reply #288 on: March 15, 2018, 05:48:25 PM »
Hi, can you tell me how I can fix the centering of the video when using ADK Portal?
also, seems to ignore width and height parameters if the post is in the adk portal
I will look into both issues.
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline kittonium

  • Semi-Newbie
  • *
  • Posts: 62
Re: Yet Another YouTube BBCode Tag
« Reply #289 on: March 16, 2018, 02:22:25 PM »
I will look into both issues.

Thank you! Can't wait  O:)

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,702
  • Mod King
    • XPtsp.com Community
Re: Yet Another YouTube BBCode Tag
« Reply #290 on: April 08, 2018, 10:55:01 AM »
Uploaded v4.12 - April 8th, 2018
o Fixed issue with ADK Portal that prevented video from being shown at proper size.



@kittonium:  Sorry about the wait!  I believe the issue you reported is fixed.  Let me know if it rears it's ugly head again!  Thanks!
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline kittonium

  • Semi-Newbie
  • *
  • Posts: 62
Re: Yet Another YouTube BBCode Tag
« Reply #291 on: April 08, 2018, 12:24:32 PM »
Uploaded v4.12 - April 8th, 2018
o Fixed issue with ADK Portal that prevented video from being shown at proper size.



@kittonium:  Sorry about the wait!  I believe the issue you reported is fixed.  Let me know if it rears it's ugly head again!  Thanks!

Thanks a lot :D

Offline wtfwtf

  • Semi-Newbie
  • *
  • Posts: 51
Re: Yet Another YouTube BBCode Tag
« Reply #292 on: April 09, 2018, 05:47:09 AM »
it is trying to embed the youtube channels how to fix that ?

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,702
  • Mod King
    • XPtsp.com Community
Re: Yet Another YouTube BBCode Tag
« Reply #293 on: April 09, 2018, 03:07:35 PM »
Surround the URL like this: [url]{url}[/url].  The mod's auto-embed code should NOT attempt to add the youtube tags to the URL.
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline aegersz

  • Sophist Member
  • *****
  • Posts: 1,394
  • Gender: Male
  • "mods" junkie
    • dopetalk
Re: Yet Another YouTube BBCode Tag
« Reply #294 on: April 30, 2018, 06:45:29 AM »
i have installed this because of my "doug addiction" ... thanks mate, i have added this to my forum for anybody that wishes to tailor their youtube experience.
Linux CentOS VPS running SMF 2.0 with 140+ mods installed (the full h/w and s/w can be seen at http://forum.drugs-and-users.org/index.php/topic,3301)

Offline mlaket

  • Newbie
  • *
  • Posts: 1
Re: Yet Another YouTube BBCode Tag
« Reply #295 on: May 08, 2018, 07:28:21 PM »
my website is having problems with this package, I don't have any backups too, please help me to fix it

it says: "Call to undefined function BBCode_YouTube_Embed()"

Edit: website just started to work again after I replaced subs.php in sources folder with original file
« Last Edit: May 08, 2018, 07:48:36 PM by mlaket »

Offline Rock Lee

  • Native Language Support Specialist
  • SMF Hero
  • *
  • Posts: 1,807
  • Gender: Male
  • I also speak english :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Yet Another YouTube BBCode Tag
« Reply #296 on: May 10, 2018, 09:50:09 AM »
I'm going with some lag but I'll update the translations :laugh:


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!


Ayudame via PayPal

Offline dougiefresh

  • SMF Hero
  • ******
  • Posts: 2,702
  • Mod King
    • XPtsp.com Community
Re: Yet Another YouTube BBCode Tag
« Reply #297 on: May 21, 2018, 10:49:09 PM »
Uploaded v4.13 - May 21st, 2018
o Updated Spanish Latin translation, courtsey of Rock Lee.



@Rock Lee:  Thanks for the update!  It's been included in this version!
« Last Edit: May 21, 2018, 11:16:43 PM by dougiefresh »
News: Missing GitHub repository...

My Free Simple Machines mods on XPtsp.com, Simple Machines Customization Site, and at GitHub!
Problem uninstalling mods?  Try Arantor's Sortable Packages (and Installed Time) mod!  It's super helpful!

Offline StarredSkies

  • Semi-Newbie
  • *
  • Posts: 40
    • Beasts of Beyond
Re: Yet Another YouTube BBCode Tag
« Reply #298 on: June 19, 2018, 08:52:46 PM »
Hello! I recently got this modification for my website and for awhile autoplay was working, but with the update recently, the autoplay option has stopped working. Any idea why?

Offline GigaWatt

  • The Smiley Guy
  • Support Specialist
  • Sophist Member
  • *
  • Posts: 1,174
  • Gender: Male
    • Macedonian electronics forum
Re: Yet Another YouTube BBCode Tag
« Reply #299 on: June 19, 2018, 09:59:13 PM »
With v4.13 ???. It's only got language files added, there are no code updates.
"This is really a generic concept about human thinking - when faced with large tasks we're naturally inclined to try to break them down into a bunch of smaller tasks that together make up the whole."

"A 500 error loosely translates to the webserver saying, "WTF?"..."