Description
Clanbite helps you run team and player profiles, schedules, and community features inside WordPress.
- Players — Extended player profiles and settings.
- Teams — Rosters, roles, and team-facing templates and blocks.
- Matches — Match records with editor and front-end blocks (requires Teams).
- Events & RSVP — Event posts with RSVP storage for teams and groups.
- Notifications — In-site notifications with a block-ready bell.
- Extensions — Enable bundled features from Clanbite Extensions; third-party plugins can register their own extensions via hooks.
The plugin follows modern WordPress APIs (blocks, REST where used, block themes). See README.md in the plugin package for developer hooks and architecture notes.
Human-readable JavaScript and CSS: minified files under build/ and assets/dist/ are produced from the sources described in the Human-readable source code section below. Clone the public repository linked there to review or fork the same sources used to build this package.
External services
- Gravatar (Automattic): In-site notifications can show an actor portrait using WordPress
get_avatar_url(), which may resolve to Gravatar when the user has no local Clanbite player avatar. The visitor’s browser loads that image URL (standard<img>request). No passwords are transmitted to Gravatar. Terms: https://wordpress.com/tos/ — Privacy: https://automattic.com/privacy/
Human-readable source code
JavaScript and CSS shipped in this plugin (for example build/**/index.js, block view.js bundles, and assets/dist/clanbite-admin.js) are compiled and minified for performance. Per the WordPress plugin guidelines, the original source is publicly available so it can be reviewed, studied, and forked.
Public repository (canonical source tree): https://github.com/Kernow-dev/Clanbite
The WordPress.org plugin download omits the src/ tree and Node tooling to keep installs small; those files are in the repository above at the same paths as this release’s tag/branch.
Where to read the non-compiled code
- Block editor and front-end blocks —
src/blocks/(matches, players, teams, events, notifications, core blocks). Each block’sindex.js,edit.js,view.js, and related modules compile into matching paths underbuild/(for examplesrc/blocks/events/event-calendar/build/events/event-calendar/). - Clanbite admin (React settings shell) —
src/admin/assets/dist/clanbite-admin.js(seewebpack.config.cjsin the repository). - Match post editor sidebar —
src/cp-match-editor/src/build/cp-match-editor/.
Third-party JavaScript used at build time (for example @wordpress/scripts and @wordpress/* packages) is declared in package.json / package-lock.json in that repository. Those packages are open-source; versions are pinned in the lockfile for reproducible builds.
Rebuild production assets (from a clone of the repository, with Node.js and npm installed):
npm cinpm run build:production— runs the admin webpack build, then the block build (including block manifests and related steps). Equivalent to the assets in a release ZIP.- Optional:
npm run build:adminornpm run build:blocksto rebuild only the admin bundle or only blocks (seepackage.json"scripts"for other targets such asplugin-zip).
For PHP architecture, hooks, and REST, see the bundled README.md.
Support
- Documentation: see the bundled
README.mdfor developers (hooks, extensions, REST). - Plugin site: https://clanbite.com
- Help and bug reports: https://github.com/Kernow-dev/Clanbite/issues
- WordPress.org: after the plugin is listed on the directory, use the support forum at https://wordpress.org/support/plugin/clanbite/ for site-owner questions.
Blocks
This plugin provides 42 blocks.
- Player description Displays the player profile description (bio) when set. Allows basic formatting from profile settings.
- Player @ handle Displays the player’s @ handle (WordPress nicename) on profiles and in player loops — the taggable username form.
- Player birthday Displays the player birthday when set (profile and player loops).
- Player Cover Example block scaffolded with Create Block tool.
- Player settings link Link to player account settings. Only shown when the viewer is the profile owner.
- Player template Layout repeated for each team member. Use only inside a Player query block.
- Player Profile Navigation Displays the player profile subpage navigation.
- Player website Displays the player public website when set. Optional link to the URL.
- Player tagline Displays the player tagline when set (profile and player loops).
- Player country Displays the player country on player profile and roster templates.
- Player city Displays the player city when set (profile and player loops).
- Player query Loops members of a team. Add a Player template inside, then place player blocks (avatar, display name, …) within the template.
- Player social links Shows the player’s social profile links from Profile → Social Networks as icon buttons.
- Player display name Displays the player display name on player profile templates.
- Player Avatar Example block scaffolded with Create Block tool.
- User Navigation Displays login/register links for guests, or user avatar with dropdown menu for logged-in users.
- Player Settings Block for outputting player settings for their profile.
- Team wins Displays the team’s win count with optional prefix and postfix text.
- Team draws Displays the team’s draw count with optional prefix and postfix text.
- Team name Displays the team name (post title) on single team templates.
- Team Create Form Render a block-based team creation form.
- Team code Displays the short team code.
- Team motto Displays the team motto.
- Team Profile Navigation Displays the team profile subpage navigation.
- Team description Displays the team description (post content).
- Manage team link Link to the team manage screen. Only shown to users who can edit the team.
- Team challenge button Lets guests and team managers challenge this team when challenges are enabled.
- Team losses Displays the team’s loss count with optional prefix and postfix text.
- Team cover Displays the team cover image on single team templates.
- Team members count Displays the number of roster members (excluding banned).
- Team country Displays the team country on single team templates.
- Team avatar Displays the team avatar image on single team templates.
- Team Card Display a simple team profile card.
- Visibility container Show or hide inner blocks for guests, logged-in users, or specific roles.
- Notification Bell Displays a notification bell with unread count and dropdown.
- Event detail Show a single scheduled event (title, schedule, venue or link, RSVP).
- Event list List scheduled events for the current team or group context.
- Event RSVP Let members respond to an event (match, group event, etc.) and optionally show who is attending.
- Event calendar Month, week, day, and list views of scheduled events for the current team, group, or (own) player profile.
- Create event Create a team or group event (in-person or virtual) via the REST API.
- Match card Display one match (title, teams, time, score).
- Match list List published matches with optional filters.
Installation
- Upload the plugin files to
/wp-content/plugins/clanbiteor install the ZIP from the Plugins screen. - Activate Clanbite through the Plugins menu.
- Open Clanbite in the admin menu, review General settings, and enable the extensions you need (Players is a common starting point).
- Visit Settings Permalinks and click Save once if routes for teams or events do not resolve (the plugin flushes rules on upgrade, but a manual save fixes edge cases).
FAQ
-
Does this work with block themes?
-
Yes. Clanbite registers block types and plugin block templates for full-site editing where applicable.
-
Where are the settings?
-
Use the Clanbite top-level admin menu for core options and extension toggles. On the Plugins screen, use the Settings link (administrators) or Website to open clanbite.com.
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Clanbite: Team Management System” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Clanbite: Team Management System” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial WordPress.org release.
- Unified maintenance step and database schema versioning for new installs.
