Page 1 of 1

New bbcode: post and thread

Posted: Thu May 14, 2009 2:43 pm
by Lagomorph
The forums are now updated to include "post" and "thread" bbcodes. These two bbcodes are intended to serve as shorthand for linking to posts and threads on the forums. You can do the same thing using the "url" bbcode, however, these two bbcodes accomplish it in much less space.

The syntax is as follows:

Code: Select all

[post=POST-ID]TEXT[/post]
[thread=THREAD-ID]TEXT[/thread]
Here's some examples that demonstrate these bbcodes versus the url bbcode

Code: Select all

[url=http://www.superhighschool.com/sjs/forums/viewtopic.php?p=34356#p34356]Link to a post using the url bbcode[/url]
[post=34356]Link to the same post using the post bbcode[/post]

[url=http://www.superhighschool.com/sjs/forums/viewtopic.php?f=9&t=3056]Link to a thread using the url bbcode[/url]
[thread=3056]Link to the same thread using the thread bbode[/thread]
These render as:
As you can see, they accomplish the same thing as the url bbcode but with less text.

For the post bbcode, use the number after the "p=" in the URL. For the thread bbcode, use the number after the "t=" in the URL.