pgn4spip

Chess games in your SPIP articles

♟ pgn4spip 2.61.0 plug-in for SPIP 3 and SPIP 2 displays the chessboard and the chess game in Portable Game Notation (PGN).

Usage

Enter the [pgn]...[/pgn] tags in lowercase or uppercase inside the article :

Before
[pgn] 1. e4 Nf6 [/pgn]
After

Main features

Demo

Setup of the plug-in

Unzip pgn4spip-2.61.0.zip in the folder of SPIP plug-ins.
Example : D:\Xampp\Xampp177\htdocs\spip{plugins\

The zip archive of pgn4spip does not include the required pgn4web.
Download the latest version of pgn4web : pgn4web-2.61.zip

Unzip pgn4web-2.61.zip in the pgn4spip folder
Example : D:\Xampp\Xampp177\htdocs\spip\plugins{pgn4spip

The name of plug-in folder is always in lowercase.

Remove the version number :
rename pgn4spip\pgn4web-2.61 into pgn4spip\pgn4web
Example : D:\Xampp\Xampp177\htdocs\spip\plugins\pgn4spip{pgn4web

The pgn4web folder has a size of 13 MB. In the case of site having a limited hard disk, one can eventually delete certain unused fonts among alpha, merida, svgchess or big demo files. Keep at least uscf/20 and 26 fonts.

Configuration

  • Configure module, chessboard and PGN,
  • Run in SPIP3 without CFG 3.x or in SPIP2 with CFG 1.x,
  • Manage local attributes of the [pgn] tag or <pgn1> model in an article,
  • Must be enabled after Swiss Knife 1.8.x tool « Curly inverted commas, »
  • Does not require Swiss Knife.

Credits

pgn4spip is the SPIP interface of pgn4web 2.61 by Paolo Casaschi.

Freeware

♟ pgn4spip — copyright © 2012 Matt Chesstale — is licensed under GNU GPLv3 :

This program is free software : you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY ; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

Discussion

Aucune discussion

Ajouter un commentaire

Avant de faire part d’un problème sur un plugin X, merci de lire ce qui suit :

  • Désactiver tous les plugins que vous ne voulez pas tester afin de vous assurer que le bug vient bien du plugin X. Cela vous évitera d’écrire sur le forum d’une contribution qui n’est finalement pas en cause.
  • Cherchez et notez les numéros de version de tout ce qui est en place au moment du test :
    • version de SPIP, en bas de la partie privée
    • version du plugin testé et des éventuels plugins nécessités
    • version de PHP (exec=info en partie privée)
    • version de MySQL / SQLite
  • Si votre problème concerne la partie publique de votre site, donnez une URL où le bug est visible, pour que les gens puissent voir par eux-mêmes.
  • En cas de page blanche, merci d’activer l’affichage des erreurs, et d’indiquer ensuite l’erreur qui apparaît.

Merci d’avance pour les personnes qui vous aideront !

Par ailleurs, n’oubliez pas que les contributeurs et contributrices ont une vie en dehors de SPIP.

Qui êtes-vous ?
[Se connecter]

Pour afficher votre trombine avec votre message, enregistrez-la d’abord sur gravatar.com (gratuit et indolore) et n’oubliez pas d’indiquer votre adresse e-mail ici.

Ajoutez votre commentaire ici

Ce champ accepte les raccourcis SPIP {{gras}} {italique} -*liste [texte->url] <quote> <code> et le code HTML <q> <del> <ins>. Pour créer des paragraphes, laissez simplement des lignes vides.

Ajouter un document

Suivre les commentaires : RSS 2.0 | Atom