• Resolved joeanthony1900

    (@joeanthony1900)


    Please help me..

    I have no tech background at all. I’ve amazingly gotten some sort of chess board embedded into my new blog. but:

    1) on desktop only the top half of the board appears. Why?
    2) What do all of these mean:

    layout=horizontal|vertical
    height=auto|number
    showMoves=figurine|text|puzzle|hidden
    initialGame=first|last|random|number
    initialVariation=number
    initialHalfmove=start|end|random|comment|number
    autoplayMode=game|loop|none

    Are any of these a way to embed a specific position and allow the player to play it out with arrows, without seeing the whole game?

    Is there a way to have just a board set up to a position where it doesn’t autoplay.

    Please pardon me… I freely admit I don’t know a damn thing. I’m a pretty strong chess player though and I’d like to get a good learning source to the high school kids I teach.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author pgn4web

    (@pgn4web)

    1) I don’t know why only the top half of the chessboard is shown and I can’t debug without knowing the exact text input and the syntax you use for the pgn bbcode. It might be an unexpected interaction with your wordpress template. Or it might be an misuse of the “height” parameter, I noticed something unexpected related to a possible misuse of the “height” bbcode parameter. The best suggestion is to remove any use of the “height” bbcode parameter first (if any) then trying using something like height=1000 and see what happens. You could also remove the “height” parameter and try setting layout=horizontal and see what happens again.

    2) those are the bbcode parameters; for example to avoid autoplay you could use:

    [pgn autoplayMode=none] e4 e6 d4 d5 [/pgn]

    This would change the behavior for that one chessboard only, there’s a plugin option settings to change the behavior for all the chessboards on the site.

    In order to show a position instead of a full game, you should enter a pgn fragment using the FEN string, like:

    [Result "0-1"]
    [SetUp "1"]
    [FEN "4r1k1/2p2ppp/5q2/2Pp4/1Pn2Bn1/r5P1/5PBP/1Q1R1K1R b - - 0 1"]
    1... Nd2+ 2. Rxd2 (2. Bxd2 Qxf2#) 2... Ra1 0-1

    See here for more info on FEN strings: https://en.wikipedia.org/wiki/Forsyth%E2%80%93Edwards_Notation

    Sorry for your problems with the chess plugin, however a minimal amount of knowledge both with respect to the standard chess notation and with managing a wordpress site is required.

    Sorry I can’t provide more specific help, but I really can’t debug the interaction of the chess plugin with wordpress templates.

    Thread Starter joeanthony1900

    (@joeanthony1900)

    Okay, the height thing totally helped. Next question.. is there a bbcode parameter to have the game be viewed from black’s perspective, instead of white appearing on the bottom?

    Plugin Author pgn4web

    (@pgn4web)

    Sorry, a bbcode parameter is not available to flip the board; it’s a design choice to have White on bottom as default.

    The user can flip the board after load by clicking the shortcut square E7.

    • This reply was modified 6 years, 11 months ago by pgn4web.
    • This reply was modified 6 years, 11 months ago by pgn4web.
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘I have no tech background; just a strong chess player’ is closed to new replies.