Post by The Zrogfather on Nov 7, 2005 21:37:29 GMT -5
Here's how you make links that don't look just like the link address.
See this link:
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:"
(Square Bracket)url(equalsign) www.phpbb.com/]Visit phpBB... and then one of those slash-urls again (can't type it or it turn into a link.
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:
www.phpbb.com/
This would generate the following link: 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:
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] (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:
[img src="http://www.phpbb.com/images/phplogo.gif"]
is not correct which may lead to your post being deleted so take care.
==========
See this link:
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:"
(Square Bracket)url(equalsign) www.phpbb.com/]Visit phpBB... and then one of those slash-urls again (can't type it or it turn into a link.
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:
www.phpbb.com/
This would generate the following link: 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:
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] (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:
[img src="http://www.phpbb.com/images/phplogo.gif"]
is not correct which may lead to your post being deleted so take care.
==========