Page 1 of 2

Float BBCode

Posted: 03 Mar 2010, 20:56
by BBCode Bot
Float BBCode

Author: Stoker
Description: With the Float BBCode you can insert floated divs in Your posts.
As an example you can float your attached images so they are surrounded by text.
[valid][/valid]

BBCode:

Code: Select all

[float={IDENTIFIER}]{TEXT}[/float]
HTML:

Code: Select all

<div style="float:{IDENTIFIER}; padding:10px;">{TEXT}</div>
Helpline:

Code: Select all

Float: [float=left,right]Your text[/float]
Example:

Code: Select all

[float=left][attachment=0]billede4.jpg[/attachment][/float]Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.
Demo:
[float=left]Image[/float]Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.

Re: Float BBCode

Posted: 27 Aug 2010, 10:52
by domenica
can this be done whit a img url?
i dont undurstend the attachement

Re: Float BBCode

Posted: 27 Aug 2010, 10:59
by Steve
[float=left]Image[/float]Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.

sure can:

Code: Select all

[float=left][img]http://www.phpbb3bbcodes.com/styles/prosilver/imageset/site_logo.png[/img][/float]Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.
Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of "de Finibus Bonorum et Malorum" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, "Lorem ipsum dolor sit amet..", comes from a line in section 1.10.32.

Re: Float BBCode

Posted: 27 Aug 2010, 11:22
by domenica
is not working :(
5.png

Re: Float BBCode

Posted: 27 Aug 2010, 11:24
by domenica
6.png

Re: Float BBCode

Posted: 27 Aug 2010, 11:46
by Steve
Try a smaller image.

Re: Float BBCode

Posted: 27 Aug 2010, 14:34
by domenica
a smaller img is no the problem, wat i whant is this popup

Re: Float BBCode

Posted: 27 Aug 2010, 14:38
by Steve
You will have to install this mod : viewtopic.php?f=8&t=13
If you need any further assistants post here for help : PhpBB3 Support

Re: Float BBCode

Posted: 27 Aug 2010, 15:19
by domenica
ha! ok
thanks

Re: Float BBCode

Posted: 28 Aug 2010, 22:12
by Makis
Very nice code Stoker,
works with Youtube too… and not only

I know this is a kind of request and maybe is off topic but I wonder if it is possible to have this bbcode with a caption {TEXT} under the image.

Thnx
:|