International Chess School Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Display Testing Ground

4 posters

Go down

Display Testing Ground Empty Display Testing Ground

Post by Blue Devil Knight April 23rd 2009, 8:40 am

Test out your ability to post pictures, flash animations, and such in this thread.

This will probably have a lot of jibberish as people try to figure out to do things in the forum.

rowson_initiative.pgn
embedCfBasic("3162603632", "100%", "350", "pgnurl=bd_knight/rowson_initiative.pgn&orientation=horizontal&tabmode=false", "", "");


Last edited by Blue Devil Knight on October 30th 2009, 9:53 am; edited 10 times in total
Blue Devil Knight
Blue Devil Knight
Grandmaster
Grandmaster

Posts : 616
Join date : 2009-04-12

http://chessconfessions.blogspot.com

Back to top Go down

Display Testing Ground Empty Test 3

Post by Blue Devil Knight April 23rd 2009, 11:01 am

I think the following chess flash display may work here:

I'll post instructions sometime in the next week on how to do this.


Last edited by Blue Devil Knight on April 23rd 2009, 2:39 pm; edited 3 times in total
Blue Devil Knight
Blue Devil Knight
Grandmaster
Grandmaster

Posts : 616
Join date : 2009-04-12

http://chessconfessions.blogspot.com

Back to top Go down

Display Testing Ground Empty Re: Display Testing Ground

Post by HangingKing April 23rd 2009, 11:03 am

What's your version of phpbb and forumactif ?

Maybe i can help, i will install the same forum version with easy php on my PC and give you back the modified files if i succeed.

I have a mod that does [pgn]... pgn text ...[/pgn]
HangingKing
HangingKing
International Master
International Master

Posts : 371
Join date : 2009-04-21

Back to top Go down

Display Testing Ground Empty Re: Display Testing Ground

Post by Blue Devil Knight April 23rd 2009, 11:07 am

HangingKing: I think I finally figured it out. I had to unclick 'disable html in this post' and 'disable BBCode in this post' at the bottom of the reply editor. Also, users may need to go to their profile and under preferences make sure to set 'Always allow BBCode' and 'Always allow HTML' to 'Yes.'

Also, I had to change an admin setting to accept html in posts.
Blue Devil Knight
Blue Devil Knight
Grandmaster
Grandmaster

Posts : 616
Join date : 2009-04-12

http://chessconfessions.blogspot.com

Back to top Go down

Display Testing Ground Empty Re: Display Testing Ground

Post by HangingKing April 23rd 2009, 11:24 am

There is a trick for displaying FEN also, without integrating fancy flash or java.
The forum supports censure i think ?

So if you replace
[fen]* by <img width=200 src="http://things.thingmajig.org/mfen/mfen.php?fen=
and [/fen] by ">

You will have this :

HangingKing
HangingKing
International Master
International Master

Posts : 371
Join date : 2009-04-21

Back to top Go down

Display Testing Ground Empty Re: Display Testing Ground

Post by Blue Devil Knight April 23rd 2009, 11:27 am

HK: that is very cool!!!
Blue Devil Knight
Blue Devil Knight
Grandmaster
Grandmaster

Posts : 616
Join date : 2009-04-12

http://chessconfessions.blogspot.com

Back to top Go down

Display Testing Ground Empty Re: Display Testing Ground

Post by HangingKing April 23rd 2009, 11:29 am

And i think you can apply the same principle with [pgn]* and [/pgn] and replace with all the stuff of your flash header.

The user has to copy only the pgn between the bbcode tags.
HangingKing
HangingKing
International Master
International Master

Posts : 371
Join date : 2009-04-21

Back to top Go down

Display Testing Ground Empty Re: Display Testing Ground

Post by Blue Devil Knight April 23rd 2009, 11:32 am

Let me try.

[pgn][ECO "D08"]
[Annotator "Rowson and Shereshevsky"]
[PlyCount "32"]
[TimeControl "120+12"]

1. d4 d5 2. c4 e5 3. dxe5 d4 4. a3 Nc6 5. e3 dxe3 6.Qxd8+ Kxd8 7. Bxe3 Nxe5 8. Nf3 Nxf3+ 9. gxf3 Be6 10. Nc3 Kc8 11. O-O-O Nf6 12. Ne4 Nd7 13. Ng5 Bd6 14. Nxe6 fxe6 15. Bh3 Re8 16. Rhe1 a5 [/pgn]


Last edited by Blue Devil Knight on April 23rd 2009, 11:35 am; edited 1 time in total
Blue Devil Knight
Blue Devil Knight
Grandmaster
Grandmaster

Posts : 616
Join date : 2009-04-12

http://chessconfessions.blogspot.com

Back to top Go down

Display Testing Ground Empty Re: Display Testing Ground

Post by Blue Devil Knight April 23rd 2009, 11:34 am

You can use flashviewer in a less computationally expensive way, so it only shows the board when you click it (though it doesn't seem to be working right now):

(show chess board)(hide chess board)


Last edited by Blue Devil Knight on April 23rd 2009, 2:36 pm; edited 1 time in total
Blue Devil Knight
Blue Devil Knight
Grandmaster
Grandmaster

Posts : 616
Join date : 2009-04-12

http://chessconfessions.blogspot.com

Back to top Go down

Display Testing Ground Empty Re: Display Testing Ground

Post by HangingKing April 23rd 2009, 12:27 pm

HangingKing
HangingKing
International Master
International Master

Posts : 371
Join date : 2009-04-21

Back to top Go down

Display Testing Ground Empty Re: Display Testing Ground

Post by HangingKing April 23rd 2009, 12:30 pm

So normally if in the censure you replace

[pgn]* by the long string below

<div><object type="application/x-shockwave-flash" data="http://chessflash.com/releases/latest/ChessFlash.swf" width="100%" height="350"><param name="movie" value="http://chessflash.com/releases/latest/ChessFlash.swf" /><param name="flashvars" value='orientation=H&tabmode=true&light=f4f4fF&dark=0072b9&bordertext=494949&headerforeground=ffffff&mtforeground=000000&mtvariations=FF0000&mtmainline=000000&mtbackground=ffffff&pgndata="

and [/pgn] by this one

'"/></object></div>

It should work.
I do not know how the censure is working on forumactif, but it should not be more different than phphBB standard.
HangingKing
HangingKing
International Master
International Master

Posts : 371
Join date : 2009-04-21

Back to top Go down

Display Testing Ground Empty Re: Display Testing Ground

Post by HangingKing April 23rd 2009, 12:37 pm

I just tested on my forum, not working. The censure doesn't understand, the string is too complicated.

Sorry, but basically this is the idea.
HangingKing
HangingKing
International Master
International Master

Posts : 371
Join date : 2009-04-21

Back to top Go down

Display Testing Ground Empty Re: Display Testing Ground

Post by Blue Devil Knight April 23rd 2009, 12:40 pm

HangingKing wrote:I just tested on my forum, not working. The censure doesn't understand, the string is too complicated.

Sorry, but basically this is the idea.

Oh well. The flash viewer seems good on its own. I just posted on how to post using the chessflash site. Sweet!
Blue Devil Knight
Blue Devil Knight
Grandmaster
Grandmaster

Posts : 616
Join date : 2009-04-12

http://chessconfessions.blogspot.com

Back to top Go down

Display Testing Ground Empty Re: Display Testing Ground

Post by HangingKing April 23rd 2009, 12:57 pm

Admin advice, do not allow every html tag, since it can become a security issue.
In the admin panel if you can, allow only the tags you need : <img>, <div> and <object>
HangingKing
HangingKing
International Master
International Master

Posts : 371
Join date : 2009-04-21

Back to top Go down

Display Testing Ground Empty Re: Display Testing Ground

Post by Blue Devil Knight April 23rd 2009, 1:01 pm

It only gives me the general option of allowing html in posts, not of picking which tags. Forumotion assures me they take measures to ensure security. Let's hope they are right.
Blue Devil Knight
Blue Devil Knight
Grandmaster
Grandmaster

Posts : 616
Join date : 2009-04-12

http://chessconfessions.blogspot.com

Back to top Go down

Display Testing Ground Empty Re: Display Testing Ground

Post by HangingKing May 23rd 2009, 10:35 pm

It seems that things.thingmajig.org is not working anymore.
Anyone knows an alternative to display FEN ?
HangingKing
HangingKing
International Master
International Master

Posts : 371
Join date : 2009-04-21

Back to top Go down

Display Testing Ground Empty Re: Display Testing Ground

Post by HangingKing October 28th 2009, 3:02 pm

I have found a tool to host FEN diagrams, very simple usage.
You can paste a fen string or draw with the mouse.

http://www.chessvideos.tv/chess-diagram-generator.php


Here is the result.

Display Testing Ground 1s55z02g7ug0k
HangingKing
HangingKing
International Master
International Master

Posts : 371
Join date : 2009-04-21

Back to top Go down

Display Testing Ground Empty Re: Display Testing Ground

Post by Hoskins September 2nd 2020, 6:26 pm

I am having problems pasting a PGN as a game in the forum here.

I have tried chessflash, but that seems to now be KnightVision - it does the same job, but when I post the code here it comes up with "connection closed by Knightvision"

Any ideas as to what utility I need to use or if I am doing something wrong with chessflash/Knightvision?

Hoskins
Hoskins
Club Player
Club Player

Posts : 45
Join date : 2020-07-21
Location : East Side

Back to top Go down

Display Testing Ground Empty Re: Display Testing Ground

Post by ChessAdmin September 3rd 2020, 1:30 pm

This topic is quite old and the technology for publishing games (as well as the forum software, one hopes) has moved on. Flash has been mostly dead for several years and is going away completely by the end of this year. As you can see above, the previously posted games no longer show.

You can always share a game on the forum as PGN text with copy/paste and people will then be able to copy/paste it into their viewer app of choice, either on their own computer or online. Unless the forum software is configured to allow outside apps to be accessed, you won't be able to embed the game in an actual replayer. One partial solution would be to paste the PGN and then a GIF replay of the game, for example Chess.com offers this capability: https://www.chess.com/gifs - although the GIF isn't controllable.

Here's a sample PGN below, Annotated Game #1 from my blog. There I've configured it to use the ChessBase replayer, so live it looks like this: https://www.pathtochessmastery.com/2011/07/annotated-game-1-walter-browne-simul.html

[Event "Simul"]
[Site "Las Vegas"]
[Date "????.??.??"]
[Round "?"]
[White "Browne, Walter"]
[Black "ChessAdmin"]
[Result "1/2-1/2"]
[ECO "B19"]
[Annotator "ChessAdmin/Fritz/Houdini"]
[PlyCount "87"]
[EventDate "2006.??.??"]

{B19: Classical Caro-Kann: 4...Bf5 main line} 1. e4 c6 2. d4 d5 3. Nc3 dxe4 4.
Nxe4 Bf5 5. Ng3 Bg6 6. h4 h6 7. Nf3 Nf6 {This sub-variation is relatively rare
in practice, with Nd7 being played most often. I evaluate it as just as sound
and less famiiliar for most White players, making it good for Black.} 8. Ne5
Bh7 9. Bc4 e6 10. Qe2 Nd5 {This last sequence is essentially forced after Ne5,
which is White's all-out attacking attempt.} 11. Bb3 Nd7 12. Bd2 Qc7 $146 ({
My personal opening book is} 12... a5 13. a4 Nxe5 14. dxe5 Qb6 15. O-O-O O-O-O
{as the a5/a4 moves give the Nd5 an outpost on b4 if needed. In general, the
idea is to exchange the e5 knight and castle queenside, with the queen
deployed to either b6 or occasionally c7, depending on white's play. In the
actual game, this is the point where I did not remember the book continuation,
although I did remember the idea behind it.}) 13. O-O Nxe5 14. dxe5 O-O-O 15.
h5 Bc5 16. Rad1 Rd7 17. Rfe1 Rhd8 18. Bc1 Qb6 {This illustrates why the normal
move earlier is Qb6 rather than Qc7, that would have saved a tempo on the
position.} 19. c3 Ne7 20. Rxd7 Rxd7 21. Bc4 Nd5 {This rook exchange sequence
gains Black the d-file and reduces the number of heavy pieces available for
White to attack with.} 22. Qf3 Qd8 {Both Fritz and Houdini at this point
prefer Qc7, which in words means the queen pressures e5 and also helps cover
the 7th rank on defense. While doubling up on the d-file looks good, the
points of potential rook invasion are at this point well covered by White.} 23.
Ne4 Bxe4 24. Qxe4 Be7 {Not the best. Houdini recommends f5 first, which would
prevent a future queen invasion on h7.} 25. g3 {Prevents any funny business
from Black on h4} Bc5 26. Kg2 Ne7 {It would be better to anticipate the
queenside pawn advance with Bb6} 27. b4 Bb6 28. a4 Rd1 29. a5 {Qe2 is
necessary to prevent the tactical shot on f2, which however...} Rxe1 ({I also
miss.} 29... Bxf2 $5 30. Kxf2 Rxc1 31. Rxc1 Qd2+ {employs a queen fork and
highlights the value of the queen on the open file.}) 30. Qxe1 $14 Bc7 31. Qe4
{This allows the black queen to penetrate, thereby fully offsetting white's
space advantage and two bishops.} Qd1 $11 32. Be3 Qxh5 33. f4 Nd5 {Houdini
says a6 would have been slightly better, although I thought getting the knight
into play was more important at the time.} 34. Bxa7 Nxc3 ({Here both Fritz and
Houdini originally thought that} 34... Qg4 {was better, as the queen stays
active near white's king with the possibility of advancing the h-pawn to
attack. However, Houdini eventually came around to my way of thinking. Both
moves are essentially equal.}) 35. Qd3 (35. Qh7 $142 $5 $16 {was Fritz's
evaluation, although I wasn't afraid of it at the time, believing my piece
activity would compensate. Houdini agrees with me.}) 35... Nd5 $11 36. b5 Qg4 {
Fritz agrees taking the pawn too early is bad.} ({Not} 36... Bxa5 37. bxc6 bxc6
38. Bxd5 exd5 39. Qa6+ Kd7 40. Qxa5 Qe2+ 41. Bf2 Qe4+ 42. Kh2 $18) 37. Bxd5
exd5 38. bxc6 Bxa5 $4 ({Unfortunately I didn't remember this and admittedly
was a bit flustered by White's apparent attack. Better is} 38... Qe6 39. cxb7+
Kxb7 40. Bd4 $14 Bxa5) 39. cxb7+ $4 ({Both Browne and I missed} 39. Qxd5 $142 {
and White wins} Qe2+ 40. Bf2 $18) 39... Kxb7 $16 40. Be3 Qd7 $11 {At this
point we have reached a dead-even endgame where neither side can hope to make
progress with good play.} 41. Qd4 Kc8 42. Qc5+ Qc7 43. Qxd5 Bb4 ({This allows
white too much space. Better was} 43... Qb7 44. Qxb7+ Kxb7) 44. f5 {After this
move, either Qc2 or Qb7 allows Black to comfortably hold. Something like Kh2
could have been tried to keep the queens on and white's space advantage.}
1/2-1/2
ChessAdmin
ChessAdmin
Scholastic Player
Scholastic Player

Posts : 11
Join date : 2011-10-09

https://www.pathtochessmastery.com/

Back to top Go down

Display Testing Ground Empty Re: Display Testing Ground

Post by Hoskins September 3rd 2020, 6:14 pm

Thanks for taking the time to reply, CA (nice game, too).

It is a shame if there is no postable game functionality here - I could just upload a chessbase file and link to it, but so much nicer to have it playthroughable in the forum and some folk are less inclined just to click links etc.

I wonder if BQ as site admin has any ideas? I have seen during my Googling various stuff about in-post players for phpBB, but whether they are safe, current and easy to install is beyond the ken of this reporter.
Hoskins
Hoskins
Club Player
Club Player

Posts : 45
Join date : 2020-07-21
Location : East Side

Back to top Go down

Display Testing Ground Empty Re: Display Testing Ground

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum