TechSpot

Hyperlinks, BB code and Hyperlink icon

By LookinAround
Mar 30, 2009
Post New Reply
  1. I believe most UI's display hyperlinks with underscores. (And, in fact, the "automated" hyperlinks on this site are, in fact, underscored.) Could both the url BB code and the hyperlink icon insert the underscore as well? I think readers (and posters!) would find that helpful.
     
  2. kimsland

    kimsland Ex-TechSpotter Posts: 18,353

    You are talking about making the default class_bbcode.php from this line:

    return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";

    And then modifying it to have this instead:

    return "<a href=\"$rightlink\" target=\"_blank\"><span style=\"text-decoration:underline\">$text</span></a>";


    Well the BBCode on this forum is totally standard. (ie default) Which makes it easier when update versions are released

    Certainly sites using BBCode do not automatically have underlined links as standard
    Obviously you can still underline your link ie: http://www.google.com this by adding to the beginning and the same at the end, except with a preceding forward /

    you can see all BBCodes available at TechSpot here: http://www.techspot.com/vb/misc.php?do=bbcode

    Personally I don't like the underlines on links, but I would prefer an underline shown once my mouse moves over the link (of which it doesn't)

    Here you can find a basic BBCode guide

    Note:
    Not all BBCodes are implemented (or "Modded") into the currently used BBCode at TechSpot ie I've been asking for
    Mod for some time now
     
  3. Julio Franco

    Julio Franco TechSpot Editor Posts: 6,577   +344

    The BBcode talk goes beyond LookinAround suggestion, he just wants links to have an underline although we have gone without them on the main site and here on the forum for quite some time now and only use a blue color highlight.

    Like many things, it's a matter of taste, but if you really want all links to have underlines that bad I'm sure there's at least one Firefox add-on that can permanently modify TechSpot's CSS (Cascading Style Sheet) to do that for you.

    The only thing standing between you and that setting is to remove the "text-decoration: none;" property in the a:link, body_alink class right on top of our CSS.
     
  4. kimsland

    kimsland Ex-TechSpotter Posts: 18,353

    Well I don't want it :D
     
  5. LookinAround

    LookinAround TechSpot Chancellor Topic Starter Posts: 8,374   +167

    I had to remark on the irony of that one statement. It made me chuckle... :D

    Aren't I the one who first pointed out BB code to you about a year ago? ;)
     
  6. kimsland

    kimsland Ex-TechSpotter Posts: 18,353

    I'm not aware of any kimsland TS Special Forces, a year ago :p

    Hmm. No comment :D
    Lets just say I've learned a lot since then ;)

    Oh and um, oh, ... Thanks :blush:
     


Add New Comment

TechSpot Members
Login or sign up for free,
it takes about 30 seconds.
You may also...


Get complete access to the TechSpot community. Join thousands of technology enthusiasts that contribute and share knowledge in our forum. Get a private inbox, upload your own photo gallery and more.