跳到内容

Biljartteams

v2.4

biljartteller · 2026年11月26日 上架

The Biljartteams plugin displays Biljartteams competition and tournament tables.

正在使用
10 以下
评分
暂无
累计下载
0
最近更新
2026年11月26日
需要 WordPress 6.0+已测试到 7.1.5PHP 8.1+

贡献者

The Biljartteams plugin displays Biljartteams competition and tournament tables.

What This Plugin Does

The Biljartteams plugin displays Biljartteams competition and tournament tables on WordPress pages. Biljartteams is a management system for organizing billiards leagues and tournaments and supports both individual and team competitions. For more information, visit: https://app.biljartmanager.nl and https://biljartteams.nl.

Biljartteams is a product of Biljartteller (https://www.biljartteller.nl).

The Biljartteams plugin can show:

  • competition information
  • standings
  • player rankings
  • results
  • schedules
  • table allocations (for tournaments)
  • teams and players
  • playing locations
  • period standings
  • changes
  • team, player, and match detail pages

Requirements

Your WordPress server needs:

  • WordPress 6.0 or newer
  • PHP 8.1 or newer
  • internet access from the server to:

    https://leagues.biljartmanager.nl/

The plugin does not require API login credentials.

External services

This plugin relies on the BiljartManager public API, operated by Biljartteller, to retrieve published competition and tournament information. By default, requests go to https://leagues.biljartmanager.nl/. If an administrator configures another API address, the same requests go to that address.

When a page with a Biljartteams shortcode needs activity data or settings and a cached response is unavailable, the WordPress server sends the activity ID and requests the relevant API endpoint. Depending on the table and filters, the request may also include a team ID or team name, a BiljartManager player record ID, a match ID, a round, or a segment. These parameters select records already held by BiljartManager. The plugin does not send the visitor’s name, email address, WordPress account details, or browser IP address. The API receives the requesting server’s IP address as part of the server-to-server connection.

The overview also provides optional Biljartcomputer and Biljartteller player-list links. Opening one of these links, including opening the destination after scanning its QR code, sends the activity ID and, for the Biljartteller list, the activity name to the same service. Displaying the link or QR code alone does not make that download request.

Biljartteller publishes its general terms and privacy policy.

Installing In WordPress

  1. Log in to WordPress as an administrator.
  2. Go to Plugins > Add New Plugin.
  3. Click Upload Plugin.
  4. Choose biljartteams.zip.
  5. Click Install Now.
  6. Click Activate Plugin.

After activation, a settings page is available at:

Settings > Biljartteams<h3>Configuring Activities</h3>

1. Go to Settings > Biljartteams.
2. Click Add activity.
3. Enter a recognizable Name. You will use this name in WordPress shortcodes.
4. Enter the BiljartManager competition or tournament ID in BT code.
5. Leave Team name (optional) empty unless the page should show only one team.
6. Click Save Changes.

Use Add activity again to configure another competition or tournament. Existing activities can be edited directly. To remove one, click Delete in its row and then click Save Changes.

Click Archive next to a current activity to copy its BT code to Archived activities. This does not change or remove the current activity; update that activity yourself when a new season starts. Archived activities do not have a manually entered name. The plugin retrieves the activity configuration and uses its league and season values as the archive name.

Debug Setting

Leave Debug turned off for normal visitors.

Turn Debug on only while testing if a page does not show anything. It may display technical API errors on the front end.

Turn Debug off again after troubleshooting.

Adding A Competition Page

Create or edit a WordPress page.

Add this shortcode:

[biljartteams name="Main Competition"]

This renders the results table.

To add navigation links above the table, use:

[biljartteams_nav]

[biljartteams name="Main Competition"]

Visitors can then click between the available tables.

Adding An Archive Page

Create a WordPress page for the archive and add:

[biljartteams_archive]

The page lists all configured archived activities. Clicking an activity opens its results and table navigation on the same page. Add or remove BT codes under Settings > Biljartteams > Archived activities.

Showing A Specific Table

You can show a specific table by adding the table option:

[biljartteams name="Main Competition" table="teamranking"]

Supported table values are:

stats
results
schedule
tables
teamranking
playerranking
periods
teams
locations
changes
team
player
result

Usually you should place only these directly on pages:

stats
results
schedule
tables
teamranking
playerranking
periods
teams
locations
changes

The team, player, and result views are normally opened by clicking links inside other tables.

Using A BT Code Directly

If you do not want to configure a league first, you can use a BT code directly:

[biljartteams bt-code="xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"]

For regular editors, configured league names are easier to manage.

Recommended Page Setup

For a normal competition page:

[biljartteams_nav]

[biljartteams name="Main Competition"]

For a club-filtered page:

[biljartteams_nav]

[biljartteams name="BC Delft"]

For two competitions on one page, use the same competition name for for and name:

[biljartteams_nav for="Main Competition"]

[biljartteams name="Main Competition"]

[biljartteams_nav for="BC Delft"]

[biljartteams name="BC Delft"]<h3>Charts</h3>

The plugin shows charts for team, player, and match result views.

Biljartteams loads Chart.js automatically on pages where the [biljartteams] table shortcode is used. You do not need to install another plugin or paste script tags into WordPress.

Tables still render normally if Chart.js cannot be loaded. In that case only the charts are missing.

Updating The Plugin

To install a newer version:

  1. Make a backup of the WordPress site.
  2. Make a note of the activities currently listed under Settings > Biljartteams.
  3. Go to Plugins.
  4. Deactivate the old Biljartteams plugin.
  5. Delete the old Biljartteams plugin.
  6. Upload the new biljartteams.zip.
  7. Activate the plugin.
  8. Check Settings > Biljartteams and confirm the settings are still present.

WordPress normally keeps plugin options after deleting a plugin, but making a backup first is safer.

Troubleshooting

If nothing appears on the page:

  1. Check that the shortcode uses the exact configured league name.
  2. Check that the BT code is correct.
  3. Go to Settings > Biljartteams.
  4. Turn Debug on.
  5. Reload the page.
  6. Copy any visible error message for the developer.
  7. Turn Debug off again.

If tables appear but charts do not:

  • Check whether the site blocks external JavaScript/CDN files.
  • Clear any cache plugin and reload the page.
  • The tables still work even when charts cannot be loaded.

If labels appear like this:

[missing: key]

That means the API response is missing a translation key. This is intentional and helps detect incomplete API data.

Segments (Advanced)

Activities with pools, preliminary rounds, or playoffs can publish multiple match segments. The results, schedule, and teamranking tables show every segment in the appropriate order by default and add links that let visitors select one segment. Existing activities without segments keep their previous presentation.

Supported segment keys are main, poule_1 through poule_8, preround_1 through preround_8, and playoffs. Use all to show every segment.

You can initially restrict a shortcode to one segment:

[biljartteams name="Main Competition" table="results" segment="poule_1"]

Visitors can make the same selection through the URL, for example ?segment=playoffs. When a page contains multiple Biljartteams shortcodes, the plugin automatically uses each competition name to keep the blocks separate. For name="Main Competition", the corresponding URL parameter is bt_maincompetition_segment=poule_2; this prevents one block’s segment selection from affecting another block.

Custom Keys (Advanced)

Normally you do not need a key. A custom key is useful when the same competition appears more than once on a page, when two competition names simplify to the same value, or for existing pages that already use keys.

In that case, connect for to the same value used by key:

[biljartteams_nav for="main"]

[biljartteams name="Main Competition" key="main"]

[biljartteams_nav for="club"]

[biljartteams name="BC Delft" key="club"]

For key="main", the plugin uses URL parameters such as main_table and bt_main_segment.

Verifying The Plugin In This Repository

From the repository root, a developer can run:

php tests/smoke-render.php

This checks that all fixture-backed renderers produce output.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums