pgn4web
Forum Replies Created
-
Forum: Plugins
In reply to: [Plugin: Embed Chessboard] Change displayIt could be done.
Reason why the plugin default is with the moves underneath the chessboard is that most wordpress templates leave a rather narrow column for the article, making it difficult to fit chessboard and games horizontally.
Said that, if you really want to do that, follow these instructions:
1. locate the file:
wp-content/plugins/embed-chessboard/embedchessboard.php2. locate the line with this code:
$replacement .= "&fp=13&hl=f";3. change the above to:
$replacement .= "&fp=13&hl=t";
it’s just changing an ‘f’ to a ‘t’Done. This should get you an horizontal layout.
For better understanding of all the parameters look at:
http://pgn4web.casaschi.net/board-generator.html
Issue with a manual fix is that you’d need to manually repeat the fix every time you upgrade the plugin.
Also, you’d need to manually set theheighttag option; otherwise the plugin will estimate height assuming a vertical layout.Please post here or email me the URL of your site!
pgn4web
got other similar requests, so now v1.08 of the embed chessboard as a new configuration option (admin panel -> Settings -> Embed Chessboard) to configure the autoplay mode.
pgn4web
Thanks for the feedback.
The automatic play should not load the plugin much slower, the issue is that the overall javascript underneath is not lightweight, the main task being parsing the PGN moves… and that needs to be done even when autoplay is off, in order to display chess moves as a clickable link to the position.
If the autoplay REALLY bothers you, it’s easy to fix manually.
You need to edit the embedchessboard.php file and change the line
$replacement .= "am=l&d=3000&ss=26&ps=d&pf=d";
to
$replacement .= "am=n&d=3000&ss=26&ps=d&pf=d";
That’s it, just change thelto ann.There are many other flags you can change, they are somehow documented here:
http://code.google.com/p/pgn4web/wiki/BoardWidget_instructionsIn the plugin I cant make everything configurable… I had to make some choices…
pgn4web (author of Embed Chessboard)
Forum: Fixing WordPress
In reply to: Chess replayer can it be embedded in html?try the embed chessboard plugin
http://wordpress.org/extend/plugins/embed-chessboard/Forum: Requests and Feedback
In reply to: No good Chess pluginstry the embed chessboard plugin
http://wordpress.org/extend/plugins/embed-chessboard/Forum: Everything else WordPress
In reply to: chess boar installationtry the embed chessbaord plugin
http://wordpress.org/extend/plugins/embed-chessboard/Forum: Plugins
In reply to: developer issue in checking out pluginhmmm, issue sort of fixed itself, still no clue what happened
empty post (entered a second copy of the above and cant find how to delete it 🙁
thanks for the feedback.
about your issues:
1) this should be fixed in the updated version 1.03, please update the plugin and let me know if it works for you as well (I did not use proper detection of the wordpress installation URI and your permalink scheme highlighted the problem; it should be fixed in v1.03 but I’d like to check with your site as well… dont have many wordpress configurations to test with)
2) I dont think this is a problem with the plugin itself, rather you might have introduced unwanted html tags when entering post content. Try editing your post IN HTML MODE, there should be there some spurious tags like “pre” and “code”. Best way to enter the PGN data is to start the new article in html mode, paste the PGN data and only then enter the rest of the text and format the rest of the text in normal editing mode… but DONT FORMAT THE PGN DATA TEXT!Hope this works for you!
Forum: Plugins
In reply to: [Plugin: Embed Chessboard] Big Trouble!Thanks for the feedback.
I was able to replicate the warning on a fresh install of wordpress 2.9.1
The current version 1.02 of the Embed Chessboard plugin does not get the warning.
Please try version 1.02 and let me know.Thanks.
Forum: Plugins
In reply to: [Plugin: Embed Chessboard] How to avoid Warning?Thanks for the feedback.
I was able to replicate the warning on a fresh install of wordpress 2.9.1
The current version 1.02 of the Embed Chessboard plugin does not get the warning.
Please try version 1.02 and let me know.Thanks.
Forum: Plugins
In reply to: [Plugin: Embed Chessboard] Big Trouble!hello, I’m the author of Embed Chessboard.
Could you share a bit more info about your problem?
I might give it a shot to fix it 🙂1) could you let me know which steps you did to install the plugin?
Installed from the admin panel? Or manually uploaded the files to your site? Or?2) any error/warning message during/after installation?
3) any error/warning message when you tried to login after installing the plugin?
4) what is the address of your site? what other plugins do you have installed at the moment? which version of wordpress are you running (I could test only on 2.9 so far, no test with versions earlier than 2.9 or with 2.9.1)
Thanks for the feedback!
Forum: Plugins
In reply to: [Plugin: Embed Chessboard] How to avoid Warning?Hello, I’m the author of Embed Chessboard.
I dont have much experience with wordpress plugins, so be patient with me.
First question is: does the plugin actually work (regardless of the warning message)? I’ll check, but I might have reduce the amount of warnings displayed by my test site.
Second question: how did you install the plugin? I just deleted and reinstalled the plugin from my test site, using the tools in the “manage
plugins” section of the worpress admin section of my site (so no manual download and ftp, everything done from the admin panel). If you did something different (like manual download and ftp) you might want to try this.Last suggestion (for now): the “wordpress” part of the plugin has been copied very much from another plugin called “Embed Iframe”. First thing to understand what’s going on and what’s causing the error/conflict would be to follow the instruction of the wordpress.org section of this page to use “Emebd Iframe” and then use it to display chess games.
I would be interested to know if “Embed Iframe” works on your site or if it shows the same warning (good thing is that if the Embed Iframe method works you could actually ditch Embed Chessboard and add your chess games using Embed Iframe, but I should not advertise this too much).Good luck and thanks for trying the Embed Chessboard plugin!