Latest Updates:
Page Index Toggle Pages: 1 2 [3] 
Topic Tools
Very Hot Topic (More than 25 Replies) How to insert diagrams! (Read 36962 times)
Markovich
God Member
*****
Offline



Posts: 6099
Location: Columbus, Ohio
Joined: 09/17/04
Re: How to insert diagrams!
Reply #11 - 01/08/08 at 20:09:08
Post Tools
With firefox, I see an unremitting field of black (but I do see the white pieces and the white parts of the black pieces). I admit I have my system background set to black (saves on eyestrain) and my foreground to light green.  I suspect that instead of the system default foreground, it puts "black," which is what most of the world uses for a default foreground.  A persistent problem for black-background users.
  

The Great Oz has spoken!
Back to top
 
IP Logged
 
Fernando Semprun
Senior Member
****
Offline


Be nice to others. Life
is to be enjoyed!

Posts: 402
Location: Madrid
Joined: 04/29/03
Gender: Male
Re: How to insert diagrams!
Reply #10 - 01/08/08 at 18:55:22
Post Tools
I am trying it out myself...

* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
*

FANTASTIC. WOW!
  

Fernando Semprun
Back to top
 
IP Logged
 
Scholar
God Member
*****
Offline



Posts: 557
Location: Chicago
Joined: 04/26/04
Re: How to insert diagrams!
Reply #9 - 01/07/08 at 01:31:58
Post Tools
Very nice job, Odd Gunnar Malin!  Relying on external servers to provide the board images always made me nervous, and this is simpler than inserting a link to the French site anyway.
  
Back to top
 
IP Logged
 
Viking
God Member
*****
Offline



Posts: 673
Location: Norway
Joined: 10/12/04
Gender: Male
Re: How to insert diagrams!
Reply #8 - 01/06/08 at 22:12:04
Post Tools
Has to test this out...

* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
*

Wow!

Mange takk Odd Gunnar!
  
Back to top
 
IP Logged
 
GMTonyKosten
YaBB Administrator
*****
Offline


Mr Dynamic?

Posts: 3117
Location: Clermont-Ferrand
Joined: 12/19/02
Gender: Male
Re: Sticky HOW TO thread on diagram insertion, please!
Reply #7 - 01/06/08 at 18:31:05
Post Tools
OK, I've added the code and the images. Now, according to the instructions all we have to do is
Code
Select All
write the tag '[fen]'followed by the Fen output
(from ChessBase, say) then'[/fen]' 



* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
* * * * * * * *
*

It works! What a classic game!
  
Back to top
IP Logged
 
Odd Gunnar Malin
YaBB Newbies
*
Offline



Posts: 26
Location: Vadsø, Norway
Joined: 08/15/07
Gender: Male
Re: Sticky HOWTO thread on diagram insertion, please!
Reply #6 - 01/06/08 at 11:07:01
Post Tools
Markovich wrote on 01/06/08 at 04:10:30:
@TopNotch: Thanks!

Neat.  But using Firefox, I don't see shading on those squares.


Thanks! Just a minor problem with trust to much on my memory when writing code. (If someone downloaded Chess.pl, they better do it again.)
  
Back to top
WWW  
IP Logged
 
Markovich
God Member
*****
Offline



Posts: 6099
Location: Columbus, Ohio
Joined: 09/17/04
Re: Sticky HOWTO thread on diagram insertion, please!
Reply #5 - 01/06/08 at 04:10:30
Post Tools
@TopNotch: Thanks!

Odd Gunnar Malin wrote on 01/05/08 at 21:37:29:
I did a test to create an addon to YaBB forum software to be able to do this like an internal feature. If the owner here want to add such a feature to this forum I will help them out.

My test forum: http://forum.sjakk.biz/cgi-bin/yabb2/YaBB.pl?num=1199273275


Neat.  But using Firefox, I don't see shading on those squares.
  

The Great Oz has spoken!
Back to top
 
IP Logged
 
Odd Gunnar Malin
YaBB Newbies
*
Offline



Posts: 26
Location: Vadsø, Norway
Joined: 08/15/07
Gender: Male
Re: Sticky HOWTO thread on diagram insertion, please!
Reply #4 - 01/05/08 at 23:26:17
Post Tools
GMTonyKosten wrote on 01/05/08 at 22:04:12:
Sure, great idea! What do I need to do? Smiley


Hi.

I added some instruction to the message in the link above. If you need more help please come back.

This is really my first attemt to look at this. I downloaded YaBB a few days back (2.jan) to see if I could use it for my purposes. And of course I had to add a chessdiagram to it. I didn't know perl but that was an easy task compared with learning the anti-moscow gambit.

Since it is my first contact with both the yabb software and the perl language, it probably be improvement. First I want to let the server set together the images in stead of using many small images like in the above and then test the server load to see what is fastest. Then I could look at how to create a button in the message editor so a user could create diagrams without knowing the fen/epd format eg. a chessboard editor.
  
Back to top
WWW  
IP Logged
 
GMTonyKosten
YaBB Administrator
*****
Offline


Mr Dynamic?

Posts: 3117
Location: Clermont-Ferrand
Joined: 12/19/02
Gender: Male
Re: Sticky HOWTO thread on diagram insertion, please!
Reply #3 - 01/05/08 at 22:04:12
Post Tools
Sure, great idea! What do I need to do? Smiley
  
Back to top
IP Logged
 
Odd Gunnar Malin
YaBB Newbies
*
Offline



Posts: 26
Location: Vadsø, Norway
Joined: 08/15/07
Gender: Male
Re: Sticky HOWTO thread on diagram insertion, please!
Reply #2 - 01/05/08 at 21:37:29
Post Tools
I did a test to create an addon to YaBB forum software to be able to do this like an internal feature. If the owner here want to add such a feature to this forum I will help them out.

My test forum: http://forum.sjakk.biz/cgi-bin/yabb2/YaBB.pl?num=1199273275
  
Back to top
WWW  
IP Logged
 
TopNotch
God Member
*****
Offline


I only look 1 move ahead,
but its always the best

Posts: 2145
Joined: 01/04/03
Gender: Male
Re: Sticky HOWTO thread on diagram insertion, please!
Reply #1 - 01/05/08 at 21:02:10
Post Tools
Markovich wrote on 01/05/08 at 19:41:21:
I can NEVER remember how to do this, and I always wind up searching, for a long time, for an example.  It would be SO useful to have a sticky HOWTO on this subject.


Utilise the quote feature to see a breakdown of the code I used to generate the following diagram.

Please note that fen notation can be generated using Chessbase.

For easy recall, save the format to a Word document on your comp with a filename such as Fen Notation or similiar. Remember to place the appropriate Fen Notation after fen= in the supplied example:


WHITE TO PLAY


Let me know if the above instructions were successful.

Toppy Smiley

Postscript: There are other diagram examples in the 1.e4 e5 section, just check out the Philidor threads on the Antoshin and Shirov's refutation.

  

The man who tries to do something and fails is infinitely better than he who tries to do nothing and succeeds - Lloyd Jones Smiley
Back to top
 
IP Logged
 
Markovich
God Member
*****
Offline



Posts: 6099
Location: Columbus, Ohio
Joined: 09/17/04
How to insert diagrams!
01/05/08 at 19:41:21
Post Tools
I can NEVER remember how to do this, and I always wind up searching, for a long time, for an example.  It would be SO useful to have a sticky HOWTO on this subject.
« Last Edit: 01/06/08 at 18:44:36 by GMTonyKosten »  

The Great Oz has spoken!
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 2 [3] 
Topic Tools
Bookmarks: del.icio.us Digg Facebook Google Google+ Linked in reddit StumbleUpon Twitter Yahoo