[Split] BB code

Get help developing custom BBCodes or request one.
Post Reply
port956
Registered User
Posts: 4
Joined: Tue Apr 17, 2018 11:32 am

[Split] BB code

Post by port956 » Tue Apr 17, 2018 12:38 pm

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
Last edited by Mick on Tue Apr 17, 2018 12:49 pm, edited 1 time in total.
Reason: Split from https://www.phpbb.com/community/viewtopic.php?f=438&t=2468621

User avatar
Mick
Support Team Member
Support Team Member
Posts: 19718
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket probably . . .

Re: [Split] BB code

Post by Mick » Tue Apr 17, 2018 12:53 pm

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.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.

port956
Registered User
Posts: 4
Joined: Tue Apr 17, 2018 11:32 am

Re: [Split] BB code

Post by port956 » Tue Apr 17, 2018 1:48 pm

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

port956
Registered User
Posts: 4
Joined: Tue Apr 17, 2018 11:32 am

Re: [Split] BB code

Post by port956 » Tue Apr 17, 2018 3:17 pm

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

port956
Registered User
Posts: 4
Joined: Tue Apr 17, 2018 11:32 am

Re: [Split] BB code

Post by port956 » Tue Apr 17, 2018 3:20 pm

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

User avatar
KevC
Support Team Member
Support Team Member
Posts: 68148
Joined: Fri Jun 04, 2004 10:44 am
Location: Oxford, UK
Contact:

Re: [Split] BB code

Post by KevC » Tue Apr 17, 2018 4:14 pm

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.
-:|:- Support Request Template -:|:-
Image
Cheap UK Hosting
"In the land of the blind the little green bloke with no pupils is king - init!"

User avatar
Mick
Support Team Member
Support Team Member
Posts: 19718
Joined: Fri Aug 29, 2008 9:49 am
Location: Watching cricket probably . . .

Re: [Split] BB code

Post by Mick » Wed Apr 18, 2018 8:35 am

port956 wrote:
Tue Apr 17, 2018 3:20 pm
How 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 pm
https://youtu.be/VMw0EjLFPXw and https://www.youtube.com/watch?v=VMw0EjLFPXw
port956 wrote:
Tue Apr 17, 2018 1:48 pm
Thanks 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.
"The more connected we get the more alone we become" - Kyle Broflovski

There are no ‘threads’ in phpBB, they are topics.

Post Reply

Return to “Custom BBCode Development and Requests”

Who is online

Users browsing this forum: Exabot and 13 guests