 |
literarydiscussions.myfreeforum.org Literature, Poetry, Essays, Dialogues, Philosophy, Theology
|
| View previous topic :: View next topic |
| Author |
Message |
Sitaram Site Admin


Joined: 14 Sep 2005 Posts: 1079
|
Posted: Sat Sep 24, 2005 10:24 pm Post subject: Links and Images in Posts |
|
|
http://www.phpbb.com/phpBB/faq.php?mode=bbcode#8
Linking to another site
phpBB BBCode supports a number of ways of creating URIs, Uniform Resource Indicators better known as URLs.
The first of these uses the [-url=-][-/url-] tag; whatever you type after the = sign will cause the contents of that tag to act as a URL. For example, to link to phpBB.com you could use:
[-url=http://www.phpbb.com/-]Visit phpBB![/-url-]
(remove the hypens to make the code active. Use the QUOTE feature on this post, to acces the raw code)
Visit phpBB!
This would generate the following link, Visit phpBB! You will notice the link opens in a new window so the user can continue browsing the forums if they wish.
If you want the URL itself displayed as the link you can do this by simply using:
[-url-]http://www.phpbb.com/[-/url-] (remove the hypens)
http://www.phpbb.com/
This would generate the following link: http://www.phpbb.com/
Additionally phpBB features something called Magic Linkswhich will turn any syntatically correct URL into a link without you needing to specify any tags or even the leading http://. For example typing www.phpbb.com into your message will automatically lead to www.phpbb.com being output when you view the message.
The same thing applies equally to email addresses; you can either specify an address explicitly, like:
[-email-]no.one@domain.adr[-/email-] (remove the hypens)
no.one@domain.adr
which will output no.one@domain.adr or you can just type no.one@domain.adr into your message and it will be automatically converted when you view.
As with all the BBCode tags you can wrap URLs around any of the other tags such as [img][/img] (see next entry), , etc. As with the formatting tags it is up to you to ensure the correct open and close order is following. For example:
[-url=http://www.charactercounts.org/][-img-]http://www.toosmallforsupernova.org/banner-CC-community.gif[-/img-][/url] (remove hypens when you paste code)
The image is coming from Sitaram's site, so I am paying for the band width

|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|