View Full Version : Forum "code" tags?
Schluppy
05-21-2007, 01:37 PM
The VBCode "code" tags, a useful feature common to most bulletin boards, are curiously missing here. Any chance they could be brought back?
The code tags format the enclosed text in a fixed-width font; each character takes up the same amount of space and preserves white-space, which would be useful for posting tablature.
Compare: (an example posted by mister (http://guitarscanada.com/Board/showthread.php?p=45782#post45782))
E|-|---|---|---|---|---|-o-|---|-o-|
B|-|---|---|---|---|---|-o-|---|-O-|
G|-|---|---|-o-|---|-o-|---|-o-|---|
D|-|---|---|-o-|---|-O-|---|---|---|
A|-|-o-|---|-o-|---|-o-|---|---|---|
E|-|-o-|---|-O-|---|---|---|---|---|
vs
http://www.uncharted.ca/images/users/ksigurdur/gc.monospace.png
I imagine that, with a little bit of template editing, the tag itself could be changed to "tab" as well.
GuitaristZ
05-21-2007, 01:45 PM
sweeeeet...we definately need that here. typing tab is so messy without it.
iaresee
05-21-2007, 02:39 PM
You can set the font to Courier New or Fixedsys or Lucida Console or System to get a mono-spaced entry.
This a test
e - 1 -
B - 1 -
G - 0 -
D - 0 -
A - x -
E - 1 -
Did it work?
Stratocaster
05-21-2007, 03:42 PM
It's a good idea.
Schluppy
05-21-2007, 03:54 PM
Did it work?
Not here. They all showed up as serifs, likely due to my choice of operating system.
iaresee
05-21-2007, 10:05 PM
Not here. They all showed up as serifs, likely due to my choice of operating system.
What would be what? I see it on Winblows and Linux (RHEL4).
Schluppy
05-21-2007, 10:33 PM
Ubuntu
http://www.uncharted.ca/images/users/ksigurdur/gc.serifs.png
Generic <pre> and/or <code> tags eliminate such issues by allowing the browser/OS to decide which mono-spaced font to display.
GuitaristZ
05-21-2007, 11:10 PM
man...ubuntu sounds like a species of african warthog....seriously...
violation
05-22-2007, 12:01 AM
Let's just blame Ubuntu, haha. It's the noobest (hell yeah, I invented a word) Linux distro available... that and SuSe, lol.
But hey, it still beats Winblows, so props to you sir.
iaresee
05-22-2007, 12:53 AM
Ubuntu
Try installing the Microsoft TT font package through the Ubuntu Add Software... link.
Schluppy
05-22-2007, 08:58 AM
Try installing the Microsoft TT font package through the Ubuntu Add Software... link.
I could but it'd be rather silly to expect every user either to have or install the appropriate fonts to utilize a basic forum feature when a generic and universal tag, expressly designed for the purpose, could take care of it.
iaresee
05-22-2007, 09:15 AM
I could but it'd be rather silly to expect every user either to have or install the appropriate fonts to utilize a basic forum feature when a generic and universal tag, expressly designed for the purpose, could take care of it.
Not everyone. Just people who want to run Firefox on Ubunutu. I'm looking at this now from Firefox on my RHEL3 machine and it's not showing mono-spaced fonts.
Looks like someone added the code modifier thought so problem solved.
Schluppy
05-22-2007, 09:55 AM
E5 Badd11 E
xx oo xx oo xx o
7-|||||| 7- |||||| 7-||||||
|||||| |||1|| ||||||
||23|| ||2||| ||234|
<mr.burns>Excellent!</mr.burns>
Schluppy
05-22-2007, 09:58 AM
Just people who want to run Firefox on Ubunutu.
You're correct. I fired up Opera (on Ubuntu) and the font tags work correctly.
vBulletin® v3.7.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.