Life In 19x19
http://www.lifein19x19.com/

auto linking to sensei's library
http://www.lifein19x19.com/viewtopic.php?f=14&t=782
Page 1 of 1

Author:  willemien [ Tue Jun 08, 2010 5:48 am ]
Post subject:  auto linking to sensei's library

Is maybe far fetched and impossible, but what i would like is that (as on sensei's library we can link to other pages (in sensei's library ) by putting them in [brackets] without haveing to use to typ thewhole http link.

(I am rather lazy :lazy:)

Author:  Harleqin [ Tue Jun 08, 2010 6:43 am ]
Post subject:  Re: auto linking to sensei's library

That would be difficult to do without interfering with the BBCode parsing. Some alternate syntax would need to be devised, e.g.:

Code:
[sl]takabasami[/sl]
[sl=niken tobi]

Author:  schultz [ Tue Jun 08, 2010 8:30 pm ]
Post subject:  Re: auto linking to sensei's library

It should be doable just with the bbcode, at least as much as I know about it. Not sure how much work it would actually be, though, so I'll leave it up to an actual admin to say that.

Maybe I'll take a look at it and see if I can come up with anything.

Author:  fwiffo [ Tue Jun 08, 2010 8:51 pm ]
Post subject:  Re: auto linking to sensei's library

Added. You can use two syntaxes:
Code:
[sl=TanukiNoHaraTsuzumi]Cool Tesuji[/sl]
[sl]TanukiNoHaraTsuzumi[/sl]

Cool Tesuji
TanukiNoHaraTsuzumi

Author:  schultz [ Tue Jun 08, 2010 8:56 pm ]
Post subject:  Re: auto linking to sensei's library

fwiffo wrote:
Added. You can use two syntaxes:
Code:
[sl=TanukiNoHaraTsuzumi]Cool Tesuji[/sl]
[sl]TanukiNoHaraTsuzumi[/sl]

Cool Tesuji
TanukiNoHaraTsuzumi

Or I could just wait a few minutes and watch fwiffo get it done. ;)

Author:  fwiffo [ Tue Jun 08, 2010 10:00 pm ]
Post subject:  Re: auto linking to sensei's library

Well, it's the exact kind of thing that BBCode is good at. One technical limitation of BBCode though - it (probably) won't work to link to SL subpages; you'll have to use the [url] tag for that.

Author:  schultz [ Tue Jun 08, 2010 11:15 pm ]
Post subject:  Re: auto linking to sensei's library

fwiffo wrote:
Well, it's the exact kind of thing that BBCode is good at. One technical limitation of BBCode though - it (probably) won't work to link to SL subpages; you'll have to use the [url] tag for that.

Yeah, I was pretty sure this was the case, but didn't want to say "Oh this is super easy" and then get everyone's hopes up and have one of you guys mumbling under your breath at me.

Author:  willemien [ Sat Jun 12, 2010 9:49 am ]
Post subject:  Re: auto linking to sensei's library

Thanks

another problem

i see al those nice go related bbc codes but how do they work?

(They are not explained on the faq)

Author:  fwiffo [ Sat Jun 12, 2010 6:29 pm ]
Post subject:  Re: auto linking to sensei's library

I just posted a new thread describing the different ways of embedding SGF files. There's also this thread describing how to make diagrams.

Author:  willemien [ Sun Jun 13, 2010 4:01 am ]
Post subject:  Re: auto linking to sensei's library

That is good but maybe better as announcement (above the bar)

also plost something about the nice sl tag

Author:  fwiffo [ Sun Jun 13, 2010 12:51 pm ]
Post subject:  Re: auto linking to sensei's library

Alright, I've made the SGF and Diagram explanations global announcements, and I've added another describing the misc. other features like the sl tag and smilies. They're above the line everywhere, so nobody should have any trouble finding them.

Author:  xed_over [ Sun Jun 13, 2010 2:57 pm ]
Post subject:  Re: auto linking to sensei's library

then the other two announcement threads are no longer necessary, right?

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/