1.6 KiB
1.6 KiB
WordPress plugin for managing Go (Baduk/Weiqi) tournament registrations. Collects player data via frontend forms and exports entries to tournament management systems (Pairgoth, OpenGotha, McMahon, CSV).
Relevant files:
main.php- Plugin entry point with WordPress hooksgo-form-plugin/go-form-plugin.php- Core plugin logic (forms, entries, EGD integration, exports)go-form-plugin/database-schema.sql- MySQL schema for 4 tables (forms, entries, custom_fields, entry_custom_values)go-form-plugin/export/csv.php- CSV export handlergo-form-plugin/export/pairgoth.php- Pairgoth JSON export handlergo-form-plugin/export/opengotha.php- OpenGotha XML export handlergo-form-plugin/export/mcmahon.php- McMahon XML export handlergo-form-plugin/export/mcmahon-help.php- McMahon documentation/referencego-form-plugin/templates/form-shortcode.php- Frontend form templatego-form-plugin/templates/settings-page.php- Admin dashboard templatego-form-plugin/templates/table.php- Entries table displayREADME.md- Full documentation
Nuances:
- Ranks stored as integers (0-47): 0-29=30k-1k, 30-38=1d-9d, 39-47=1p-9p
- Rating auto-calculated:
rating = (rank * 100) - 900 - EGD integration: searches
https://europeangodatabase.eu/EGD/GetPlayerDataByData.phpandGetPlayerDataByPIN.php - Uses WordPress nonces,
manage_optionscapability,$wpdb->prepare()for security - Foreign keys with CASCADE delete
To LLM
Update this file if the changes you have done are worth updating here. The intent of this file is to give you a rough idea of the project, from where you can explore further, if needed.