Diagrams
- Jordus
- Site Admin
- Posts: 1125
- Joined: Fri Dec 04, 2009 6:06 pm
- Rank: KGS 9k
- GD Posts: 0
- Universal go server handle: Jordus
- Location: Allegan, MI, USA
- Has thanked: 16 times
- Been thanked: 116 times
- Contact:
Diagrams
In case you missed the section in introductions and guidelines,
Diagrams do not work yet.
If anyone thinks they can contribute to helping this issue I am all ears. For i have been trying different things to no avail...
I have attempted to contact Ross and Hikaru79 to see if they had any luck in their project.
*As a temp solution suggested by one member, We can create a diagram on sensei's library and then copy it. As long as it doesnt violate any of Sensei's Library rules and regulations it could temporarily let us post diagrams*
Diagrams do not work yet.
If anyone thinks they can contribute to helping this issue I am all ears. For i have been trying different things to no avail...
I have attempted to contact Ross and Hikaru79 to see if they had any luck in their project.
*As a temp solution suggested by one member, We can create a diagram on sensei's library and then copy it. As long as it doesnt violate any of Sensei's Library rules and regulations it could temporarily let us post diagrams*
I'm thinking...
-
Kirby
- Honinbo
- Posts: 9553
- Joined: Wed Feb 24, 2010 6:04 pm
- GD Posts: 0
- KGS: Kirby
- Tygem: 커비라고해
- Has thanked: 1583 times
- Been thanked: 1707 times
Re: Diagrams
I think that there are three advantages that GD has over this site right now:
1.) When people only want to use a forum, the front page of lifein19x19.com might be distracting to them. I think that the stuff on the front page is pretty cool, but it might be distracting to somebody that's only interested in the forum. I'm not sure about the best solution to this, since the features on the front page are kind of cool (particularly the pro game database)... Maybe you could show the most recent posts on the front page as well...? I'm not sure what the best option is with this. Maybe other people have different opinions about it.
2.) The diagram issue that you've brought up. I'm kind of busy these days, but you can PM me if you'd like with details of what needs to be done. If it seems like a feasible amount of work, maybe I could help you with this.
3.) Popularity - This one will probably fix itself in time, if people enjoy all of the other aspects of the site.
1.) When people only want to use a forum, the front page of lifein19x19.com might be distracting to them. I think that the stuff on the front page is pretty cool, but it might be distracting to somebody that's only interested in the forum. I'm not sure about the best solution to this, since the features on the front page are kind of cool (particularly the pro game database)... Maybe you could show the most recent posts on the front page as well...? I'm not sure what the best option is with this. Maybe other people have different opinions about it.
2.) The diagram issue that you've brought up. I'm kind of busy these days, but you can PM me if you'd like with details of what needs to be done. If it seems like a feasible amount of work, maybe I could help you with this.
3.) Popularity - This one will probably fix itself in time, if people enjoy all of the other aspects of the site.
be immersed
- Jordus
- Site Admin
- Posts: 1125
- Joined: Fri Dec 04, 2009 6:06 pm
- Rank: KGS 9k
- GD Posts: 0
- Universal go server handle: Jordus
- Location: Allegan, MI, USA
- Has thanked: 16 times
- Been thanked: 116 times
- Contact:
Re: Diagrams
I agree with the thing about the main page. The chat window is a test. The recent postings is displayed further down the page. i will be ending the main page a bit in the next day or so.
As far as the diagrams go, its not the amount of work that is preventing the diagrams from working. It is the fact that I am not sure how to get it to work. I had started with more superficial ideas and have recently graduated to trying to mess with the hard coding of the forum(in a test forum first of course).
As far as the diagrams go, its not the amount of work that is preventing the diagrams from working. It is the fact that I am not sure how to get it to work. I had started with more superficial ideas and have recently graduated to trying to mess with the hard coding of the forum(in a test forum first of course).
I'm thinking...
- fwiffo
- Gosei
- Posts: 1435
- Joined: Tue Apr 20, 2010 6:22 am
- Rank: Out of practice
- GD Posts: 1104
- KGS: fwiffo
- Location: California
- Has thanked: 49 times
- Been thanked: 168 times
Re: Diagrams
Looking at the PHPBB docs, it seems like bbcode is kinda limited in terms of how it works. One roundabout way is to have the bbcode substitute the diagram code with some javascript that calls a separate script on the server which calls sltxt2png and returns the appropriate <img> tag to insert. It's kinda a hack though. I'm gonna install phpbb on my own web space and see if I can get something working. Assuming I get some time...
- Joaz Banbeck
- Judan
- Posts: 5546
- Joined: Sun Dec 06, 2009 11:30 am
- Rank: 1D AGA
- GD Posts: 1512
- Kaya handle: Test
- Location: Banbeck Vale
- Has thanked: 1080 times
- Been thanked: 1434 times
Re: Diagrams
Here is an attempt. I don't think that it is practical.
|---------|---------|---------|---------|---------|---------|---------|---------|
|............|............|............|............|............|............|............|............|
|---------|---------|---------|---------|---------|---------|---------|---------|
|............|............|............|............|............|............|............|............|
|---------|-------
-----
-------|---------|---------|---------|---------|
|............|............|............|............|............|............|............|............|
|---------|-------
-----
-------|---------|---------|---------|---------|
|............|............|............|............|............|............|............|............|
|---------|-------
-------|---------|---------|---------|---------|---------|
|............|............|............|............|............|............|............|............|
|---------|---------|---------|---------|---------|---------|---------|---------|
|............|............|............|............|............|............|............|............|
|---------|---------|---------|---------|---------|---------|---------|---------|
|............|............|............|............|............|............|............|............|
|---------|---------|---------|---------|---------|---------|---------|---------|
|............|............|............|............|............|............|............|............|
|---------|---------|---------|---------|---------|---------|---------|---------|
|---------|---------|---------|---------|---------|---------|---------|---------|
|............|............|............|............|............|............|............|............|
|---------|---------|---------|---------|---------|---------|---------|---------|
|............|............|............|............|............|............|............|............|
|---------|-------
|............|............|............|............|............|............|............|............|
|---------|-------
|............|............|............|............|............|............|............|............|
|---------|-------
|............|............|............|............|............|............|............|............|
|---------|---------|---------|---------|---------|---------|---------|---------|
|............|............|............|............|............|............|............|............|
|---------|---------|---------|---------|---------|---------|---------|---------|
|............|............|............|............|............|............|............|............|
|---------|---------|---------|---------|---------|---------|---------|---------|
|............|............|............|............|............|............|............|............|
|---------|---------|---------|---------|---------|---------|---------|---------|
Help make L19 more organized. Make an index: https://lifein19x19.com/viewtopic.php?f=14&t=5207
- Chew Terr
- Gosei
- Posts: 2060
- Joined: Mon Apr 19, 2010 12:45 pm
- Rank: KGS 3k
- GD Posts: 264
- KGS: Chew
- Location: Texas
- Has thanked: 546 times
- Been thanked: 172 times
- Contact:
Re: Diagrams
Once diagrams work, I request the addition of a Malkovich forum. =D
Someday I want to be strong enough to earn KGS[-].
-
xed_over
- Oza
- Posts: 2264
- Joined: Mon Apr 19, 2010 11:51 am
- Has thanked: 1179 times
- Been thanked: 553 times
Re: Diagrams
what about using the [ code ] tags with the ascii text diagrams?
Code: Select all
[go]$$B The ear-reddening move
$$ ---------------------------------------
$$ | . . . . . . . . . X O O . . . . . . . |
$$ | . . . X . . . . . X O . O . O O X . . |
$$ | . . O O . X . . O X X O O . O X . . . |
$$ | . . . , . . . . . , . X X X . , X . . |
$$ | . . . . . X . . . . X . . . . X X . . |
$$ | . . O . . . . . . . . . . . . X O O . |
$$ | . . . . . . . . . . . . . O O O X X X |
$$ | . . . . . . . . . . . . . . X O O O X |
$$ | . . . . . 2 . . . 1 . . X O O X X X . |
$$ | . . . , . . . . . , . . O O X , X O . |
$$ | . . O . . . . . . . . . . . O X X O . |
$$ | . . . . . . . . . . . . . . O X O X . |
$$ | . . . . . . . . . . . . O . O X O O . |
$$ | . . O . . . . . . X . X O . O X . . . |
$$ | . . . . . . X . W . . X O X O X O . . |
$$ | . . X , X . . X . , . X O O X O O . . |
$$ | . . . . . X O X O . O O X X X X O O . |
$$ | . . . . . . X O . O O . O X X . X O . |
$$ | . . . . . . . . O . . O . X . X . X . |
$$ ---------------------------------------
$$ [1|http://senseis.xmp.net/?EarReddeningMove][/go]
- Joaz Banbeck
- Judan
- Posts: 5546
- Joined: Sun Dec 06, 2009 11:30 am
- Rank: 1D AGA
- GD Posts: 1512
- Kaya handle: Test
- Location: Banbeck Vale
- Has thanked: 1080 times
- Been thanked: 1434 times
Re: Diagrams
Anyone know how to print extended ascii?
Help make L19 more organized. Make an index: https://lifein19x19.com/viewtopic.php?f=14&t=5207
-
xed_over
- Oza
- Posts: 2264
- Joined: Mon Apr 19, 2010 11:51 am
- Has thanked: 1179 times
- Been thanked: 553 times
Re: Diagrams
Joaz Banbeck wrote:Anyone know how to print extended ascii?
which encoding? Its different depending on the encoding.
- Joaz Banbeck
- Judan
- Posts: 5546
- Joined: Sun Dec 06, 2009 11:30 am
- Rank: 1D AGA
- GD Posts: 1512
- Kaya handle: Test
- Location: Banbeck Vale
- Has thanked: 1080 times
- Been thanked: 1434 times
Re: Diagrams
xed_over wrote:Joaz Banbeck wrote:Anyone know how to print extended ascii?
which encoding? Its different depending on the encoding.
Any encoding will do for experimenting. I just need a character that fills the whole character block, then using different colors, a board should be easy.
Last edited by Joaz Banbeck on Tue Apr 20, 2010 9:14 am, edited 1 time in total.
Help make L19 more organized. Make an index: https://lifein19x19.com/viewtopic.php?f=14&t=5207
- fwiffo
- Gosei
- Posts: 1435
- Joined: Tue Apr 20, 2010 6:22 am
- Rank: Out of practice
- GD Posts: 1104
- KGS: fwiffo
- Location: California
- Has thanked: 49 times
- Been thanked: 168 times
Re: Diagrams
The forum seems to be using UTF-8. If you have the appropriate fonts, you should be able to see some fancy symbols:
☎☠☣☢☃♔♕♖♗♘♙♚♛♜♝♞♟
☎☠☣☢☃♔♕♖♗♘♙♚♛♜♝♞♟
- freegame
- Lives in gote
- Posts: 399
- Joined: Tue Apr 20, 2010 8:40 am
- Rank: EGF 2d KGS 3d
- GD Posts: 353
- KGS: freegame
- Location: Shanghai, China
- Has thanked: 5 times
- Been thanked: 35 times
- Contact:
- fwiffo
- Gosei
- Posts: 1435
- Joined: Tue Apr 20, 2010 6:22 am
- Rank: Out of practice
- GD Posts: 1104
- KGS: fwiffo
- Location: California
- Has thanked: 49 times
- Been thanked: 168 times
Re: Diagrams
But they are chess pieces preceeded by a skull and crossbones, biohazard symbol and radiation symbol (and a telephone and a snowman...)
- apetresc
- Lives with ko
- Posts: 256
- Joined: Wed Apr 21, 2010 3:42 pm
- Rank: AGA 1k
- GD Posts: 1190
- KGS: apetresc
- IGS: apetresc
- OGS: apetresc
- Universal go server handle: apetresc
- Location: Waterloo, Ontario (Canada)
- Has thanked: 110 times
- Been thanked: 146 times
- Contact:
Re: Diagrams
Hey guys, so here's the story about diagram embedding.
The reason why the default BBCode is not really good enough is because the default BBCode replacement engine only makes one pass through the text, doing a straight string substitution. That's all it's good for. The Sensei's Library diagram generator, however, is a PHP call that operates on the diagram string, so we need two passes.
I've got the code for doing these two passes written. Half of the code is in this GitHub repository. However, it's written for what appears to be a newer version of phpBB than what Jordus seems to have chosen. I'm not sure how straightforward it'll be to port my commits over to this one, but it shouldn't be too hard. You can see the diffs of the commits themselves here.
The second half of the code necessary for the updated engine still hasn't been committed even though Ross has reminded me, like, twice. I'll get on that
Once the changes there are ported over to this phpBB, the admin can actually use the BBCode panel in the admin center to add the diagrams. It's kind of a cool improvement to the BBCode engine that might even have a chance of being merged into the phpBB codebase properly. Maybe this can be a pilot project for that, for whichever admin wants to take it up.
Anyway, I think this is the way to go for diagram integration. I'll be glad to help further however I can.
The reason why the default BBCode is not really good enough is because the default BBCode replacement engine only makes one pass through the text, doing a straight string substitution. That's all it's good for. The Sensei's Library diagram generator, however, is a PHP call that operates on the diagram string, so we need two passes.
I've got the code for doing these two passes written. Half of the code is in this GitHub repository. However, it's written for what appears to be a newer version of phpBB than what Jordus seems to have chosen. I'm not sure how straightforward it'll be to port my commits over to this one, but it shouldn't be too hard. You can see the diffs of the commits themselves here.
The second half of the code necessary for the updated engine still hasn't been committed even though Ross has reminded me, like, twice. I'll get on that
Once the changes there are ported over to this phpBB, the admin can actually use the BBCode panel in the admin center to add the diagrams. It's kind of a cool improvement to the BBCode engine that might even have a chance of being merged into the phpBB codebase properly. Maybe this can be a pilot project for that, for whichever admin wants to take it up.
Anyway, I think this is the way to go for diagram integration. I'll be glad to help further however I can.
- fwiffo
- Gosei
- Posts: 1435
- Joined: Tue Apr 20, 2010 6:22 am
- Rank: Out of practice
- GD Posts: 1104
- KGS: fwiffo
- Location: California
- Has thanked: 49 times
- Been thanked: 168 times
Re: Diagrams
Well, it's a good idea to upgrade to the latest phpbb regardless, but aren't diagrams working fine now?



