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 3: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
the "urlsid" bbcode quick-button
urlsid.JPG (7.04 KiB) Viewed 4755 times


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:
which looks like this when another user sees it:


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:



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.php?area=Downloads&vine=1#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.









The most important part of the urlsid bbcode is that it 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!
User avatar
MedicineStorm
Site Admin
Site Admin
 
Posts: 1132
Joined: Thu Jul 10, 2008 6:34 pm
Location: Arizona, USA

Return to Frequently Asked Questions

Who is online

Users browsing this forum: No registered users and 3 guests

cron