Custom BBCodes [Deprecated]

Get help developing custom BBCodes or request one.
biziserve
Registered User
Posts: 4
Joined: Fri Aug 28, 2009 8:59 am

Re: Custom BBCodes

Post by biziserve »

I have just converted the forum from PHPBB2 to PHPBB3 and have links already in the forum like:

Code: Select all

[youtube]http://www.youtube.com/v/xewypk1K4B4[/youtube]
I set up a Custom BBcode as follow:

Usage:

Code: Select all

[youtube]{TEXT}[/youtube]
HTML Replacement:

Code: Select all

<object width="425" height="350"><param name="movie" value="{TEXT}"></param><param name="wmode" value="transparent"></param><embed src="{TEXT}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
I have tried using TEXT and URL, but no luck. I have also tried:

Code: Select all

[youtube]http://www.youtube.com/v/{TEXT}[/youtube]
replacing as:

Code: Select all

<object width="425" height="350"><param name="movie" value="http://www.youtube.com/v/{TEXT}"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/{TEXT}" type="application/x-shockwave-flash" wmode="transparent" width="425" height="350"></embed></object>
but this doesn't work either.

All it does is display the raw bbcode in the Post, rather than the Video itself. (It worked fine in PHPBB2) It obviously doesn't recognise my Custom BBCode, but I can't see why. I must be missing something!!!! Duh!

Any ideas? Many thanks.
some blind fool
Registered User
Posts: 409
Joined: Sat Aug 19, 2006 5:28 pm

Re: Custom BBCodes

Post by some blind fool »

bizi, take a look at this post, and see if either of these work for you. http://www.phpbb.com/community/viewtopi ... 5#p8025905
please do not PM me to ask for help. thanks.
User avatar
leviatan21
Registered User
Posts: 2663
Joined: Fri Aug 10, 2007 7:22 am
Location: Buenos Aires, Argentina
Name: Gabriel

Re: Custom BBCodes

Post by leviatan21 »

biziserve wrote:I have just converted the forum from PHPBB2 to PHPBB3 and have links already in the forum like:

Code: Select all

[youtube]http://www.youtube.com/v/xewypk1K4B4[/youtube]
I set up a Custom BBcode as follow:

but this doesn't work either.

All it does is display the raw bbcode in the Post, rather than the Video itself. (It worked fine in PHPBB2) It obviously doesn't recognise my Custom BBCode, but I can't see why. I must be missing something!!!! Duh!

Any ideas? Many thanks.
I think your problem is this :
To get working your old phpbb2x bbcodes on phpbb3x, you should define the bbcode BEFORE you import your phpbb2x, other way you have 2 options :
1) edit the post with [youtube] tag, made any tiny change and submit
2) use a MOD like [BETA] Admin Reparse BBCode 0.0.3 to re-parse all your post
3) Of course you can do the installation again define the new bbcode and then perform an import
Excuse me for my poor English, I speak Spanish. | Image phpBB en Español
biziserve
Registered User
Posts: 4
Joined: Fri Aug 28, 2009 8:59 am

Re: Custom BBCodes

Post by biziserve »

Many thanks Leviatan21.

The Mod for reparsing has been abandoned and incorporated within the Support Toolkit See: http://www.phpbb.com/support/stk/. I'm not sure if this is stable yet, so I took your other suggestion. I cleared the "Posts" table and re-converted and now the Custom BBCodes work.

I can't thank you enough as I don't think I would have realised, on my own, that the conversion needed the Custom BBCodes to exist before it is run.
User avatar
leviatan21
Registered User
Posts: 2663
Joined: Fri Aug 10, 2007 7:22 am
Location: Buenos Aires, Argentina
Name: Gabriel

Re: Custom BBCodes

Post by leviatan21 »

biziserve wrote:The Mod for reparsing has been abandoned and incorporated within the Support Toolkit See: http://www.phpbb.com/support/stk/. I'm not sure if this is stable yet, so I took your other suggestion. I cleared the "Posts" table and re-converted and now the Custom BBCodes work.
Yes I know about Support Toolkit it's still under "unstable" version, but it's very stable for me, and is much better than a [Beta] version :D
biziserve wrote:Many thanks Leviatan21.

I can't thank you enough as I don't think I would have realised, on my own, that the conversion needed the Custom BBCodes to exist before it is run.
it's just a bit of test and experience :mrgreen:
Excuse me for my poor English, I speak Spanish. | Image phpBB en Español
coolor
Registered User
Posts: 105
Joined: Sun Apr 22, 2007 7:29 am
Location: I'm in the military
Contact:

Re: Custom BBCodes

Post by coolor »

Youtube embed bbcode doesn't work on some phpbb3 forum. Is that require special permision or settings?
phpbb3 user
vb user
RS premium user
W4r3z u53r
GOOGLE user

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

Re: Custom BBCodes

Post by Mick »

No, it works on all V3x boards as is as far as I'm aware.
"The more connected we get the more alone we become" - Kyle Broflovski©
Devilzhangout
Registered User
Posts: 14
Joined: Thu Jul 02, 2009 11:16 am

Re: Custom BBCodes

Post by Devilzhangout »

plz any one can provide bb code of tvu player

embed code is this
<script type="text/javascript" src="http://dl.tvunetworks.com/webplayer/myT ... "></script> and any one response to this reply plz pm me :geek: :roll:
User avatar
Hippie459MN
Registered User
Posts: 948
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA
Contact:

Re: Custom BBCodes

Post by Hippie459MN »

Devilzhangout wrote:plz any one can provide bb code of tvu player

embed code is this
<script type="text/javascript" src="http://dl.tvunetworks.com/webplayer/myT ... "></script> and any one response to this reply plz pm me :geek: :roll:
I was going to help you but it wants you to install there player software and not gonna happen here. Good luck. Maybe someone else will help you. The web site for it is http://www.tvunetworks.com/

Seems it isnt a standard flash player like youtube and everyone else. You could use the embed code and create a bbcode for it but until I installed the software it wouldnt give me the embed code for the video so unless your users had this software installed from this site also it wouldnt do them a bit of good. I would never install and special software just to be able to view a video on a web forum and about 90% of the users on my sites would either. ;)

Good luck
coolor
Registered User
Posts: 105
Joined: Sun Apr 22, 2007 7:29 am
Location: I'm in the military
Contact:

Re: Custom BBCodes

Post by coolor »

Mixstar wrote:No, it works on all V3x boards as is as far as I'm aware.
It doesn't work,
Is flash have to enabled? or something? give me other html replacement plz
phpbb3 user
vb user
RS premium user
W4r3z u53r
GOOGLE user

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

Re: Custom BBCodes

Post by Mick »

coolor wrote:
Mixstar wrote:No, it works on all V3x boards as is as far as I'm aware.
It doesn't work,
Is flash have to enabled? or something? give me other html replacement plz
Yes flash needs to be enabled the same as if you were watching YouTube normally. What version of phpBB are you using and can you give an example of what you're putting between your [youtube] tags?
"The more connected we get the more alone we become" - Kyle Broflovski©
coolor
Registered User
Posts: 105
Joined: Sun Apr 22, 2007 7:29 am
Location: I'm in the military
Contact:

Re: Custom BBCodes

Post by coolor »

Is "[go to]" custom bbcode?
phpbb3 user
vb user
RS premium user
W4r3z u53r
GOOGLE user

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

Re: Custom BBCodes

Post by Mick »

coolor wrote:Is "[go to]" custom bbcode?
What do you want to do with "[go to]"?

Would something like this help?
"The more connected we get the more alone we become" - Kyle Broflovski©
www.ToRmEnTeD.tv
Registered User
Posts: 83
Joined: Tue Sep 08, 2009 3:45 am
Location: Ohio , USA
Contact:

Re: Custom BBCodes

Post by www.ToRmEnTeD.tv »

Here is a question for you.... I have a site. http://www.tormented.tv

On this site i have Music Videos hosted the same place as the site... so all the videos are played localy with the embedded flowplayer player....

On this site i also have phpBB Installed...

http://www.tormented.tv/community

I CANNOT figure out how to embed the videos into a post on the forum...
PLEASE keep in mind i DO NOT have a video streaming server. The videos are stored on my hosting accont locally.....Help me please :(
I have BBcodes for youtube and google...I need something for My Own Site!
Woodk1
Registered User
Posts: 15
Joined: Wed Sep 02, 2009 8:06 pm

Re: Custom BBCodes

Post by Woodk1 »

Hi all,
For some reason, the Youtube code has stopped working on my site. All I and users are getting is this:

Image

In an attempt to rest it, I deleted and set up a new youtube code. Here is the screenshot:

Image

Still, same thing. Anyone know why this wouldn't work?
Locked

Return to “Custom BBCode Development and Requests”