Custom BBCodes [Deprecated]

Get help developing custom BBCodes or request one.
Locked
denis4o
Registered User
Posts: 80
Joined: Fri Dec 23, 2005 10:38 am
Location: Sofia, Bulgaria
Contact:

Re: Custom BBCodes

Post by denis4o »

How to edit the original URL tag to open the links in new window/tab (target="_blank") ?
I created a new one but I want to edit the original one.

User avatar
Jaymie1989
Registered User
Posts: 1991
Joined: Thu Aug 02, 2007 5:21 pm
Name: Jaymie

Re: Custom BBCodes

Post by Jaymie1989 »

There is a mod for this here
Here and Here They are both different
Dear creators of Sesame Street,
Kids are still fat. Can I come back now?
Sincerely, Cookie Monster.

View my MODs - Need phpBB help with MODs and Styles? Take a look at my phpBB3 services

jalaln
Registered User
Posts: 1076
Joined: Tue Jul 05, 2005 5:05 am

Re: Custom BBCodes

Post by jalaln »

denis4o wrote:How to edit the original URL tag to open the links in new window/tab (target="_blank") ?
I created a new one but I want to edit the original one.
Knowledge Base - Links Opening New Windows
No more spambots for phpBB2 and phpBB3.

jomasaco
Registered User
Posts: 32
Joined: Tue Dec 04, 2007 1:59 pm

Re: Custom BBCodes

Post by jomasaco »

Videos Sapo (Portuguese Site)
BBCode usage

Code: Select all

[sapovid]http://videos.sapo.pt/{SIMPLETEXT}[/sapovid]
HTML replacement

Code: Select all

<object width="425" height="350">
        <param name="movie" value=""http://imgs.sapo.pt/sapovideo/swf/flvplayer-sapo.swf?file=http://rd3.videos.sapo.pt/{SIMPLETEXT}/mov/1"></param>
<embed style="width:400px; height:326px;" id="VideoPlayback"
        align="center" type="application/x-shockwave-flash"
        src="http://imgs.sapo.pt/sapovideo/swf/flvplayer-sapo.swf?file=http://rd3.videos.sapo.pt/{SIMPLETEXT}/mov/1"
        allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff"
        scale="noScale" salign="TL"  FlashVars="playerMode=embedded">
</embed>
</object>
Help line

Code: Select all

[sapovid]Videos Sapo URL PAGE[/sapovid]

Romakyry
Registered User
Posts: 34
Joined: Sun Mar 23, 2008 9:32 pm
Location: Matterhorn, Disneyland, USA.
Contact:

My Custom FLV Embedding Code..Works Great!

Post by Romakyry »

BBCode usage

Code: Select all

[flv]{URL}[/flv]
HTML replacement

Code: Select all

<embed
	src="http://www.ofc-clan.com/mediaplayer.swf"
	width="300"height="220"
	allowscriptaccess="always"
	allowfullscreen="true"
	autostart="false"
	flashvars="height=220&width=300&file={URL}"/>
See it in action at [Spam/porn link removed - stevemaury]
Remember you can always change the size of the player and the flashvars to suit your needs!
Last edited by Romakyry on Mon Mar 24, 2008 2:55 pm, edited 3 times in total.

jomasaco
Registered User
Posts: 32
Joined: Tue Dec 04, 2007 1:59 pm

Re: Custom BBCodes

Post by jomasaco »

gametrailers.com Image
BBCode usage

Code: Select all

[gametrailers]http://www.gametrailers.com/player/{SIMPLETEXT}.html[/gametrailers]
HTML replacement

Code: Select all

<object width="425" height="350">
        <param name="movie" value=""http://www.gametrailers.com/remote_wrap.php?mid={SIMPLETEXT}"></param>
<embed style="width:400px; height:326px;" id="VideoPlayback"
        align="center" type="application/x-shockwave-flash"
        src="http://www.gametrailers.com/remote_wrap.php?mid={SIMPLETEXT}"
        allowScriptAccess="sameDomain" quality="best" bgcolor="#ffffff"
        scale="noScale" salign="TL"  FlashVars="playerMode=embedded">
</embed>
</object>
Help line

Code: Select all

[gametrailers]Gametrailers.com URL PAGE[/gametrailers]

Dalvon
Registered User
Posts: 2
Joined: Mon Mar 24, 2008 1:56 am

Re: Custom BBCodes

Post by Dalvon »

Okay I am new to phpBB and I want to get a widget embedded in my forums pages, I am not sure how to do it

Here is the widget I want to embbed.

Code: Select all

<object type="application/x-shockwave-flash" height="250" width="300" align="middle" data="http://content.nowlive.com/vidget/radiowidget.swf?channelid=57023"><param name="movie" value="http://content.nowlive.com/vidget/radiowidget.swf?channelid=57023" /><param name="quality" value="high" /><param name="wmode" value="transparent" /></object><img style="visibility:hidden;width:0px;height:0px;" border=0 width=0 height=0 src="http://counters.gigya.com/wildfire/CIMP/Jmx*PTEyMDYzMzA*MjcxNzEmcHQ9MTIwNjMzMDQyOTQwNiZwPTE2NjYxJmQ9Jm49.jpg" />
I want to put it in the header of my forum or just below the image

The Nerd Chronicles

User avatar
soumik
Registered User
Posts: 486
Joined: Tue Nov 06, 2007 7:27 pm
Contact:

Re: Custom BBCodes

Post by soumik »

Dalvon wrote:I want to put it in the header of my forum or just below the image
The Nerd Chronicles
You don't need to create a custom bbbcode for that. Just add the code in the appropriate place in overall_header.html.
Powered by chocolate

craigob
Registered User
Posts: 8
Joined: Mon Nov 05, 2007 8:20 pm

Re: Custom BBCodes

Post by craigob »

I have a strange problem with the youtube BBcodes. The codes works great but it also shows the full text in the post.

Anyideas (see attachment)

Thank you

sorry never mind... found the fix..

User avatar
ameisez
Registered User
Posts: 1166
Joined: Sun Nov 04, 2007 7:04 am

Re: My Custom FLV Embedding Code..Works Great!

Post by ameisez »

Romakyry wrote:BBCode usage

Code: Select all

[flv]{URL}[/flv]
HTML replacement

Code: Select all

<embed
	src="http://www.jeroenwijering.com/embed/mediaplayer.swf"
	width="300"height="220"
	allowscriptaccess="always"
	allowfullscreen="true"
	autostart="false"
	flashvars="height=220&width=300&file={URL}"/>
See it in action at http://www.ofc-clan.com/forums/viewtopic.php?f=2&t=74
Remember you can always change the size of the player and the flashvars to suit your needs!
Hey, that looks C 8-) L

2 Questions though :D

1. Can i play youtube video as well using your player?
2. Can i download the player and store it on my site instead?

ohh.. I'll make it three...

3. Can it handle playlist?
PHPBB on HOSTGATOR SERVER. MY PERSONAL CHOICE ;)
Need phpBB images and buttons? HIRE ME
my MOD: BB3 Media Player | a phpbb based media player

Romakyry
Registered User
Posts: 34
Joined: Sun Mar 23, 2008 9:32 pm
Location: Matterhorn, Disneyland, USA.
Contact:

Re: My Custom FLV Embedding Code..Works Great!

Post by Romakyry »

ameisez wrote:
Romakyry wrote:BBCode usage

Code: Select all

[flv]{URL}[/flv]
HTML replacement

Code: Select all

<embed
	src="http://www.ofc-clan.com/mediaplayer.swf"
	width="300"height="220"
	allowscriptaccess="always"
	allowfullscreen="true"
	autostart="false"
	flashvars="height=220&width=300&file={URL}"/>
See it in action at http://www.ofc-clan.com/forums/viewtopic.php?f=2&t=74
Remember you can always change the size of the player and the flashvars to suit your needs!
Hey, that looks C 8-) L

2 Questions though :D

1. Can i play youtube video as well using your player?
2. Can i download the player and store it on my site instead?

ohh.. I'll make it three...

3. Can it handle playlist?
1: No, thats what the Youtube code was made for...this is strictly for FLV hosted files. (Unless you rip the video from Youtube).
2: Yes, I have rar'd a copy, you can find it at http://www.ofc-clan.com/mediaplayer.rar
3: I haven't dabbled in playlists, I will check into that for you.
Last edited by Romakyry on Mon Mar 24, 2008 2:54 pm, edited 1 time in total.

Romakyry
Registered User
Posts: 34
Joined: Sun Mar 23, 2008 9:32 pm
Location: Matterhorn, Disneyland, USA.
Contact:

Re: Custom BBCodes

Post by Romakyry »

There are several Youtube codes found here already, however I will post the one that works for me.
BBCode Usage

Code: Select all

[Youtube]{TEXT}[/Youtube]
HTML Replacement

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>
Just simply input the Video Number:
example: http://youtube.com/watch?v=ONmhQJy1ViA Is all you will need to input!
See it in action at http://www.ofc-clan.com/forums/viewtopi ... 4&p=97#p97

User avatar
ameisez
Registered User
Posts: 1166
Joined: Sun Nov 04, 2007 7:04 am

Re: Custom BBCodes

Post by ameisez »

Romakyry,

I also have working youtube bbcode but the maximize button is remove. That is what I like in your player.

Does this one retain the maximize button?
PHPBB on HOSTGATOR SERVER. MY PERSONAL CHOICE ;)
Need phpBB images and buttons? HIRE ME
my MOD: BB3 Media Player | a phpbb based media player

Romakyry
Registered User
Posts: 34
Joined: Sun Mar 23, 2008 9:32 pm
Location: Matterhorn, Disneyland, USA.
Contact:

Re: Custom BBCodes

Post by Romakyry »

But of course :)

Romakyry
Registered User
Posts: 34
Joined: Sun Mar 23, 2008 9:32 pm
Location: Matterhorn, Disneyland, USA.
Contact:

Re: Custom BBCodes

Post by Romakyry »

Ok I need help....my flash integration has stopped working...ugh I try and post anything flash but it doesn't work...
BBCode Usage

Code: Select all

[flash=]{URL}[/flash]
This is the standard phpbb3 flash integration...
Any Ideas? :|

Locked

Return to “Custom BBCode Development and Requests”