Custom BBCodes [Deprecated]

Get help developing custom BBCodes or request one.
User avatar
xeross
Registered User
Posts: 11
Joined: Thu Sep 04, 2008 6:33 pm
Location: The Netherlands
Contact:

[bbcode] Youtube high quality

Post by xeross »

Hey,

I want the youtube bbcode to automatically play the high quality video, how would i do this ?

Thanks, Xeross
Last edited by Phil on Mon Jan 12, 2009 12:05 am, edited 1 time in total.
Reason: Merged into existing BBCode topic
User avatar
gavpedz
Registered User
Posts: 338
Joined: Thu Nov 16, 2006 12:00 pm
Contact:

Re: [bbcode] Youtube high quality

Post by gavpedz »

Try adding &fmt=6 or &fmt=18 to the end of the url.
User avatar
xeross
Registered User
Posts: 11
Joined: Thu Sep 04, 2008 6:33 pm
Location: The Netherlands
Contact:

Re: Custom BBCodes

Post by xeross »

doesn't work
uggh
Registered User
Posts: 1
Joined: Mon Jan 12, 2009 8:55 am

Re: Custom BBCodes

Post by uggh »

119 pages........ i've tried a few of these codes but all that shows up in posts is "" as if i didn't add the mod at all. the little 'youtube' BBC thing is there by 'font colour' but thats it..

all i want is for the video to be there, waiting to get clicked... i'm pulling my hair out here, can someone sum this up for me please?

version 3.0.4
User avatar
ric323
Former Team Member
Posts: 22910
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric
Contact:

Re: Custom BBCodes

Post by ric323 »

uggh wrote:119 pages........ i've tried a few of these codes but all that shows up in posts is "" as if i didn't add the mod at all. the little 'youtube' BBC thing is there by 'font colour' but thats it..

all i want is for the video to be there, waiting to get clicked... i'm pulling my hair out here, can someone sum this up for me please?

version 3.0.4
Pleae give us a link to the post on your board where you tried this, and a screen capture of the screen in the ACP where you setup the bbcode.
The Knowledge Base contains solutions to many common problems!
How to fix "Doesn't have a default value" and "Incorrect string value: xxx for column 'post_text' " errors.
How to do a clean re-install of the latest phpBB3 version.
Problems with permissions? Read phpBB3 Permissions
GE_
Registered User
Posts: 24
Joined: Mon Dec 22, 2008 5:42 am

Re: Custom BBCodes

Post by GE_ »

Hi

Is there a way to set a code for an IPTV stream?

Thanks
Last edited by GE_ on Fri Jan 16, 2009 11:59 pm, edited 2 times in total.
Image
mconheady
Registered User
Posts: 33
Joined: Mon Jul 30, 2007 4:47 pm
Location: Rochester, NY
Contact:

5 day Weather

Post by mconheady »

5 day Weather for US locations

BBCode usage

Code: Select all

[weather]{TEXT1},{TEXT2}[/weather]
HTML replacement

Code: Select all

<a href="http://www.weatherforyou.com/cgi-bin/hw3/hw3.cgi?nc=config,forecast,pands,country,daysonly,maxdays&forecast=zandh&pands={TEXT1},{TEXT2}&submit=Go" target="_blank">
<img src="http://www.weatherforyou.net/fcgi-bin/hw3/hw3.cgi?config=png&forecast=zone&alt=hwizone&place={TEXT1}&state={TEXT2}&country=us&hwvbg=&hwvtc=&hwvdisplay=&daysonly=2&maxdays=4" width="300" height="200" border="1" alt="{TEXT1},{TEXT2} 5-day Weather forecast"></a>
Help Line

Code: Select all

[weather]City,state[/weather] no spaces, no mispellings
Richazey
Registered User
Posts: 823
Joined: Mon Oct 27, 2008 9:03 pm

Re: Custom BBCodes

Post by Richazey »

Is there a code so you can wrap text round an image?
User avatar
barryoneoff
Registered User
Posts: 248
Joined: Sat Mar 24, 2007 10:14 pm
Location: East London, England
Contact:

Re: Custom BBCodes

Post by barryoneoff »

Yes, it's in this topic somewhere. I got it from here some time ago.
Image
Click above to support St. Josephs Hospice.
Barryoneoff's London. ... City of London walks.
BlindDragon
Registered User
Posts: 1
Joined: Sat Jan 17, 2009 11:18 pm

Resize image by %

Post by BlindDragon »

This is for adding a bbcode to change an image size (both height and width) by %. It's not constrained to 0-100 so you could increase an image size by using a number over 100.

I would just like to give credit to jobeard ( an admin on my forum ) for doing this one for me. Since I couldn't find this by searching the site I figured I would share what we came up with. Feel free to try it out on our site if you like ;)

BBCode usage

Code: Select all

[resizeimg={NUMBER}]{URL}[/resizeimg]
HTML Replacement:

Code: Select all

<img src="{URL}" alt="image" width="{NUMBER}%" border="0">
Help Line:

Code: Select all

Enter a number after the = that will represent the percentage to increase/decrease image size
example: [resizeimg=50]Image URL[/resizeimg] will reduce the pictures height and width by 50

Hope this helps somebody
Last edited by dellsystem on Sun Jan 18, 2009 3:21 am, edited 1 time in total.
Reason: sorry, no links (http://www.phpbb.com/rules/#rule6a)
pro_hunter
Registered User
Posts: 138
Joined: Mon Nov 19, 2007 7:49 pm

Re: 5 day Weather

Post by pro_hunter »

mconheady wrote:5 day Weather for US locations

BBCode usage

Code: Select all

[weather]{TEXT1},{TEXT2}[/weather]
HTML replacement

Code: Select all

<a href="http://www.weatherforyou.com/cgi-bin/hw3/hw3.cgi?nc=config,forecast,pands,country,daysonly,maxdays&forecast=zandh&pands={TEXT1},{TEXT2}&submit=Go" target="_blank">
<img src="http://www.weatherforyou.net/fcgi-bin/hw3/hw3.cgi?config=png&forecast=zone&alt=hwizone&place={TEXT1}&state={TEXT2}&country=us&hwvbg=&hwvtc=&hwvdisplay=&daysonly=2&maxdays=4" width="300" height="200" border="1" alt="{TEXT1},{TEXT2} 5-day Weather forecast"></a>
Help Line

Code: Select all

[weather]City,state[/weather] no spaces, no mispellings

can we not have one of these for the uk weather ???? great idea but a 5 days forecast for the states wont help me here in england :P
User avatar
Linda Carter
Registered User
Posts: 514
Joined: Fri Feb 15, 2008 6:45 am

Re: Custom BBCodes

Post by Linda Carter »

Folks,
is there a way to use tags for this kind of video? I saw this working on another script, other than phpBB. 8-)

Example:
http://videolog.uol.com.br/video.php?id=402221

I am not using Youtube anymore, since they started relying on the "speech recognition" to remove several audios from videos (censorship). :|

And I already made this question in another thread, but I will quote here to see if any of you know the answer: :)
Is there a way for us to display embedded videos, and not using any tags at all? :?:

I mean, if your message constains something like this:

http://www.youtube.com/watch?v=RSrV2B_Sdc

Your board will by itself convert that full-URL into the embedded video, like you were using tags such as [YOUTUBE][/YOUTUBE]. But in fact, you are only inserting one URL like any other. :)
"Whoever has not known himself has known nothing. But whoever has known himself has simultaneously achieved knowledge about the depth of all things."
User avatar
ric323
Former Team Member
Posts: 22910
Joined: Tue Feb 06, 2007 12:33 am
Location: Melbourne, Australia
Name: Ric
Contact:

Re: Custom BBCodes

Post by ric323 »

Linda Carter wrote:Folks,
is there a way to use tags for this kind of video? I saw this working on another script, other than phpBB. 8-)

Example:
http://videolog.uol.com.br/video.php?id=402221
...
If you go to that page, it says the code to embed it is:
<embed src='http://www.videolog.tv/ajax/codigoPlaye ... height=318' width='424' height='318' type='application/x-shockwave-flash' allowFullScreen='true' AllowScriptAccess='always'></embed>
So you probably need to pass "402221", "424" and "318 as variables to the bbcode.
The Knowledge Base contains solutions to many common problems!
How to fix "Doesn't have a default value" and "Incorrect string value: xxx for column 'post_text' " errors.
How to do a clean re-install of the latest phpBB3 version.
Problems with permissions? Read phpBB3 Permissions
User avatar
Acorn
Registered User
Posts: 402
Joined: Tue Sep 26, 2006 8:11 am
Location: UK
Contact:

Re: Custom BBCodes

Post by Acorn »

Wrap Image

Code: Select all

[imgwrap={TEXT1}]{TEXT2}[/imgwrap]

Code: Select all

<div style="float:{TEXT1};margin: 2px 2px 6px 6px;"><img src="{TEXT2}"></div>

Code: Select all

Wrap Image: [imgwrap=left|right]URL[/imgwrap]
This is the bbcode I'm using to wrap text around normal images - and it's great. However, if I use it with an attachment rather than a url, the text wraps, but there is a stray "> after the image.

So,
  • I'm guessing I should be using a different bbcode when the image is an attachment, but I have no idea what.
  • I'd also like to be able to wrap text around a flash animation. Does anyone have a bbcode for this? I've tried to make one, but I'm getting nowhere.
Getting braver all the time. :D
goddaj
Registered User
Posts: 1
Joined: Mon Jan 19, 2009 1:10 pm

Re: Custom BBCodes

Post by goddaj »

About embedding Google Videos, there is an error. "-" is not a number, so you actually have to put the - before {NUMBER}.

Correct BBCODE:

Code: Select all

[gvid]http://video.google.com/videoplay?docid=-{NUMBER}[/gvid]
Correct HTML Replacement:

Code: Select all

<embed style="width:400px; height:326px;" id="VideoPlayback" type="application/x-shockwave-flash" src="http://video.google.com/googleplayer.swf?docId=-{NUMBER}&hl=en" flashvars=""></embed>
Locked

Return to “Custom BBCode Development and Requests”