How do I use the [urlsid=] bbcode?

please read these answers to some of the most common questions before posting.

How do I use the [urlsid=] bbcode?

Postby MedicineStorm » Fri Sep 25, 2009 6:28 pm

urlsid is a custom bullitin board code (bbcode) similar to the [url]URL[/url] bbcode or the bold bbcode. urlsid is for web addresses within project utumno. It is designed to be easier to read (it automatically underlines the link) and it preserves your login.

To use urlsid, just click the urlsid= button:
urlsid.JPG


or type [urlsid=
after the "=" add the address you want to link to. For example, the url to the Game Client seciton of the download area is http://utumno.medicinestorm.com/index.p ... GameClient
so you would type:
Code: Select all
[urlsid=http://utumno.medicinestorm.com/index.php?sid=432e830c16d4ef5bf2937d72839d9341&area=Downloads&vine=1#GameClient]get the game client![/urlsid]

which looks like this when another user sees it:
get the game client!

the "sid=432e830c16d4ef5bf2937d72839d9341" is your login credentials, so you don't really need that part since it wont be the same for anybody else, Buuuuuuuut you can leave it in if you want. it gets removed by urlsid anyway.

the "get the game client!" text between the "address]" and "[/urlsid" is the text that appears in the link, it can be the same as the address if you want:

Code: Select all
[urlsid=../../index.php?area=Downloads&vine=1#GameClient
]../../index.php?area=Downloads&vine=1#GameClient[/urlsid]


Notice in the above example that the address doesn't have the "http://utumno.medicinestorm.com" portion. In it's place are "../.."
This is called a relative path. the address is based on whatever address you are at now. Right now the address is "http://utumno.medicinestorm.com/content/forum/viewtopic.php", so from here, the way to get to "http://utumno.medicinestorm.com/index.php" is to go back one folder (http://utumno.medicinestorm.com/content/) then go back another folder (http://utumno.medicinestorm.com/), then go to index.php (http://utumno.medicinestorm.com/index.php), then add all the extra stuff
(http://utumno.medicinestorm.com/index.p ... GameClient)

The "../" means "go back one folder". Since we want to go back two folders, we use "../../index.php" to get to index.php two folders back from here. If you have the fully qualified url (with the http:// at the beginning) that will work. If you just use the relative path (with the "../") that will also work.

Code: Select all
[urlsid=http://utumno.medicinestorm.com/index.php?area=Downloads&vine=1#GameClient]Good address[/urlsid]
good

Code: Select all
[urlsid=../../index.php?area=Downloads&vine=1#GameClient
]Good address[/urlsid]
good

Code: Select all
[urlsid=utumno.medicinestorm.com/index.php?area=Downloads&vine=1#GameClient]Bad address[/urlsid]
Bad

Code: Select all
[urlsid=....index.php?area=Downloads&vine=1#GameClient
]Bad address[/urlsid]
Bad

The most important part of the urlsid bbcode is that it keeps the user logged in when going from the main page to the archive to the forum, etc. The user will not have to log in again just to download the file that you were linking to. The user's sid (the login credential) are automatically added to the address as soon as they click the link!
You do not have the required permissions to view the files attached to this post.
Code: Select all
-Medicine Storm
User avatar
MedicineStorm
Site Admin
Site Admin
 
Posts: 454
Joined: Thu Jul 10, 2008 9:34 pm
Location: Arizona, USA

Return to Frequently Asked Questions

Who is online

Users browsing this forum: No registered users and 1 guest

cron