Shopping at LEGO or Amazon?
Please use our links: LEGO.comAmazon
As an Amazon Associate we earn from qualifying purchases.

Forum hyperlinks to database.

EricEric Queensland, AustraliaMember Posts: 376
edited June 2011 in Forum Operation
I know it's a bit lazy, but I have noticed a few 'automatic' hyperlinks pop up around the place that are seemingly useless.

For example:
There, legohair refers to set #810 which is oddly hyperlinked to search the forum. They were obviously meaning to link to the set page in the database.

So really my question is two fold, how, if I'm referring to a set can I create the appropriate hyperlink to the database? and Why does legohairs link search the forum not the database? This is a problem with code in the database, or user error?

Hope you get what I'm trying to say, I think my wording is a bit muddled.



  • rocaorocao Administrator Posts: 4,290
    BricksetForum is hosted by VanillaForums and consequently is running the base VanillaForum software. The # tag is a built-in feature to search the forum and has no integration with the Brickset site. It would be nice to have integration for a number of different features, but that's not going to happen until the forum is hosted on an independent web server which is not currently on Huw's near-term radar as the trade-off involves devoting more time than is presently desirable.
  • EricEric Queensland, AustraliaMember Posts: 376
    Okay, I understand, would be handy though. Permission to close and delete. :)
  • EnbricEnbric Member Posts: 64
    edited June 2011
    To answer your other question... you can link to the database like this...

    {a href="810 url"}810{/a}

    Simply replace the { and } with < and > respectively and you will get this (Bricklink url used since 810 predates Brickset's database range).

  • rocaorocao Administrator Posts: 4,290
    edited June 2011
    ^ Well... that's bricklink, not brickset :P

    If you wish to manually hotlink a set entry, the forum software honors html:

    "[a href=""]375/6075 Yellow Castle[/a] is the quintessential set of a LEGO castle collection"

    where one would replace [ ] with < > to form:

    "375/6075 Yellow Castle is the quintessential set of a LEGO castle collection"
  • EnbricEnbric Member Posts: 64
    The process works the same way for any website, as you demonstrated. I assumed he could infer that "810 url" could be used interchangeably for any url, Bricklink or Brickset, or anything else, and since he was inquiring about 810 I figured I would just show him that.

    Regardless, now he definitely knows how to link to whatever he wants.
  • EricEric Queensland, AustraliaMember Posts: 376
    Haha, There you go, learn something everyday. Thanks guys, good to know. :)
  • rocaorocao Administrator Posts: 4,290
    @Enbric: I posted after I saw your original post that just had 810 hot-linked twice without the HTML syntax visibly demonstrated. I see now that you've since edited it so that my post looks redundant... no worries :P
  • EnbricEnbric Member Posts: 64
    Ah yes I was very surprised to see that adding a period before the a in the tags still produced the link so I had to quickly edit! Seems like I wasn't quick enough for you =).
  • legohairlegohair Member Posts: 41
    Eric, I'm really grateful for you asking this quetion on my behalf. Thanks, man! I was indeed trying to insert a link and had seen the #link used by others, so thought I'd try it (I'm an utter HTML novice). But, of course it didn't work, not least because 810 isn't in the Brickset database! And thanks to you guys for providing the answer too :-)
  • EricEric Queensland, AustraliaMember Posts: 376
    ^ Haha, it had me stumped a while back and when I saw your post it prompted this thread. :o)
Sign In or Register to comment.

Shopping at or Amazon?

Please use our links: Amazon

Recent discussions Categories Privacy Policy

Howdy, Stranger!

It looks like you're new here. Sign in or register to get started. is a participant in the Amazon Services LLC Associates Program, the, Inc. Associates Program and the Amazon EU Associates Programme, which are affiliate advertising programs designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.

As an Amazon Associate we earn from qualifying purchases.