Page 1 of 1

[Split] BB code

Posted: Tue Apr 17, 2018 12:38 pm
by port956
Setting up a new forum, I can't get BBcode for YouTube working.

all I get displayed is (for example)
[youtube]https://www.youtube.com/watch?v=97Pw5G1jc4Q[/youtube]

So, I tried the extension suggested and that gives
[media]https://www.youtube.com/watch?v=VMw0EjLFPXw[/media]

I sure would love to know what I'm doing wrong here as this is costing a full working day.

Is there a setting within phpBB that is preventing the bb code from being parsed?

Thanks in anticipation
Mark

Re: [Split] BB code

Posted: Tue Apr 17, 2018 12:53 pm
by Mick
Try phpBB Media Embed PlugIn you shouldn't need a custom BBCode ever again, well virtually.

https://youtu.be/VMw0EjLFPXw works perfectly in media embed, this is a result of clicking share on youtube.

This is incorrect https://www.youtube.com/watch?v=VMw0EjLFPXw.

Its always advisable to start your own topics.

Re: [Split] BB code

Posted: Tue Apr 17, 2018 1:48 pm
by port956
Actually that's the one I tried (so optimistically!), but it has the same issue as the youtype code, as per my example, in that phpBB isn't recognising and parsing the bb code. What else could it be? (btw, hosted by Siteground)

Thanks for the advice regarding thread starting, in some places they discourage new threads on similar topics.

Mark

Re: [Split] BB code

Posted: Tue Apr 17, 2018 3:17 pm
by port956
This one isn't working (pasted as is from a post on my forum)
[media]https://youtu.be/VMw0EjLFPXw[/media]

... nor is this one working
[youtube]https://www.youtube.com/watch?v=97Pw5G1jc4Q[/youtube]

...nor is this one working (I don't know if it should)


This one DOES work
[youtube]https://youtu.be/VMw0EjLFPXw[/youtube]

Are you saying that YouTube links must only be in this one format? i.e. my users must to dig out a "youtu.be" style link for what they want to post?

I'm clearly missing something here, but I don't know what.

Thanks
Mark

see the forum test thread here:
http://forum.talkwagner.com/viewtopic.php?f=12&t=32

Re: [Split] BB code

Posted: Tue Apr 17, 2018 3:20 pm
by port956
The one I didn't expect to work, works on this forum but not mine i.e. just the YouTube video id between youtube tags.

How do I format a link to show here without it creating the embed?

Thanks
Mark

Re: [Split] BB code

Posted: Tue Apr 17, 2018 4:14 pm
by KevC
With BBcodes, very often, the exact link style must be used. That's why the extension Mick linked to is preferred these days as it's not reliant on the link style.

The extension needs no tag codes around the link. You just post it as it is.

Re: [Split] BB code

Posted: Wed Apr 18, 2018 8:35 am
by Mick
port956 wrote: Tue Apr 17, 2018 3:20 pmHow do I format a link to show here without it creating the embed?
Surround it with the [c] tag like:
Mick wrote: Tue Apr 17, 2018 12:53 pmhttps://youtu.be/VMw0EjLFPXw and https://www.youtube.com/watch?v=VMw0EjLFPXw
port956 wrote: Tue Apr 17, 2018 1:48 pmThanks for the advice regarding thread starting, in some places they discourage new threads on similar topics
If it’s general discussion about gerbils then maybe but technical discussions need specific details and no two setups are indentical hence it’s better to start your own topic. Also, there are no threads in phpBB, they are topics.