Site was updated to the newest version of PHPbb. Enjoy!

Creating Links

This section will help you with some questions on how to do things on this board
Post Reply
User avatar
pertneer
Site Admin
Site Admin
Posts: 157
Joined: Wed Feb 18, 2009 2:27 pm
Build it or Buy it: Buy It
Contact:

Creating Links

Post by pertneer » Mon Apr 13, 2009 12:01 pm

Linking to another site
BBCode supports a number of ways of creating URIs (Uniform Resource Indicators) better known as URLs.

* The first of these uses the 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:

Code: Select all

[url=http://www.jeep-fab.com/]Visit Jeep-Fab![/url]
Visit Jeep-Fab!

This would generate the following link, Visit Jeep-Fab! Please notice that the link opens in the same window or a new window depending on the users browser preferences.
* If you want the URL itself displayed as the link you can do this by simply using:

Code: Select all

[url]http://www.jeep-fab.com/[/url]
This would generate the following link, http://www.jeep-fab.com/" onclick="window.open(this.href);return false;
* Additionally, phpBB features something called Magic Links, this will turn any syntactically correct URL into a link without you needing to specify any tags or even the leading http://" onclick="window.open(this.href);return false;. For example typing

Code: Select all

http://www.jeep-fab.com
into your message will automatically lead to http://www.jeep-fab.com" onclick="window.open(this.href);return false; being output when you view the message.
* The same thing applies equally to e-mail addresses, you can either specify an address explicitly for example:

Code: Select all

[email]no.one@domain.adr[/email]
which will output no.one@domain.adr or you can just type

Code: Select all

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 (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:

Incorect:

Code: Select all

[url=http://www.google.com/][img]http://www.google.com/intl/en_ALL/images/logo.gif[/url][/img]
which may lead to your post being deleted so take care.

Correct

Code: Select all

[url=http://www.google.com/][img]http://www.google.com/intl/en_ALL/images/logo.gif[/img][/url]
Image
Jeeps do not break
they present you with opportunities to upgrade!

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest

Jeep-Fab.com : Disclaimer