Title: Gestion Location d&#039;Arc
Author: Florian Bossard
Published: <strong>2026 年 7 月 5 日</strong>
Last modified: 2026 年 7 月 15 日

---

搜索插件

![](https://s.w.org/plugins/geopattern-icon/gestion-location-darc.svg)

# Gestion Location d'Arc

 作者：[Florian Bossard](https://profiles.wordpress.org/tuonick/)

[下载](https://downloads.wordpress.org/plugin/gestion-location-darc.0.4.2.zip)

 * [详情](https://cn.wordpress.org/plugins/gestion-location-darc/#description)
 * [评价](https://cn.wordpress.org/plugins/gestion-location-darc/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/gestion-location-darc/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/gestion-location-darc/#developers)

 [支持](https://wordpress.org/support/plugin/gestion-location-darc/)

## 描述

Location d’Arc helps archery clubs manage rental contracts, handles, limbs, sights,
initiation bows, PDF documents, and contract email delivery.

**Features:**

 * Create and manage rental contracts with configurable types (full bow, bare bow,
   junior, limbs only, custom).
 * Equipment inventory: handles, limbs, sights, initiation bows.
 * PDF contract generation and delivery by email.
 * Member import from CSV (French federation export format).
 * Automatic email alerts for expiring and unpaid contracts.
 * Frontend shortcodes: available equipment lists (`[locarc_poignees_disponibles]`,`[
   locarc_branches_disponibles]`), a logged-in member’s current rental (`[locarc_mon_materiel]`),
   and an admin-only dashboard for managing rentals outside wp-admin (`[locarc_dashboard]`).
 * WordPress privacy tools integration (GDPR export and erasure).
 * Full audit log of all plugin actions.

**PDF generation:**

Rental contract and invoice PDFs are generated with the bundled FPDF library. No
external Composer dependency is required.

### Data removal

Deactivating the plugin keeps all contracts, members, inventory records, logs, and
settings.

Deleting the plugin from the WordPress Plugins screen permanently removes all plugin
tables and settings through the standard WordPress uninstall process. Export any
data you need to retain before clicking _Delete_.

## 屏幕截图

[⌊Contracts list with status indicators and quick actions.⌉⌊Contracts list with 
status indicators and quick actions.⌉[

Contracts list with status indicators and quick actions.

[⌊New contract form with equipment assignment.⌉⌊New contract form with equipment
assignment.⌉[

New contract form with equipment assignment.

[⌊Equipment inventory (handles).⌉⌊Equipment inventory (handles).⌉[

Equipment inventory (handles).

[⌊PDF contract generated by the plugin.⌉⌊PDF contract generated by the plugin.⌉[

PDF contract generated by the plugin.

## 安装

 1. Upload the plugin folder to `wp-content/plugins`.
 2. Activate the plugin from the WordPress admin.
 3. Configure club details, SIRET and VAT wording from the _Location d’Arc_ menu.

## 常见问题

### Does PDF generation require an external dependency?

No. FPDF is bundled with the plugin.

### Which CSV format is expected for member import?

The plugin accepts CSV exports from the French archery federation (FFTir) software.
Required columns: Code Adhérent (or Licence), Nom, Prénom. Additional columns (date
of birth, email, phone, address) are imported if present. Both `;` and `,` delimiters
are supported; UTF-8 BOM is handled automatically.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Gestion Location d'Arc」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Florian Bossard ](https://profiles.wordpress.org/tuonick/)

[帮助将「Gestion Location d'Arc」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/gestion-location-darc)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/gestion-location-darc/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/gestion-location-darc/)，或通过[RSS](https://plugins.trac.wordpress.org/log/gestion-location-darc/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/gestion-location-darc/)。

## 更新日志

#### 0.4.2

 * Added a monthly payments tab with export functionality.
 * Added a comment field for contracts.
 * Added user account permissions for managing the plugin’s front-end features.

#### 0.4.1

 * Cheque payment method split into “Chèque (1)”, “Chèques (2)” and “Chèques (4)”
   instalment counts (was a single generic “Chèque” option with a fixed quarterly
   schedule). Legacy `cheque` values are still read as 4 instalments for backward
   compatibility.
 * “Mensualités” tab: past months are now grouped under a single collapsible “Mensualités
   précédentes” bar instead of one fold per month; CSV export limited to the current
   and upcoming months.

#### 0.4.0

 * Added a “Comptes” admin tab (Administration group) to authorize specific WordPress
   user accounts (not just admins) to use the `[locarc_dashboard]` frontend shortcode,
   with add/remove handled via AJAX (no page reload).
 * Added a “Mensualités” tab (Gestion group) listing, month by month, every cheque
   instalment due on active, non-expired contracts, with a CSV export.
 * Added a “Commentaires” field on rental contracts, editable from both wp-admin
   and the frontend dashboard, printed on the generated PDF.
 * Fixed the frontend dashboard script using a hardcoded cache-busting version, 
   which could serve a stale cached `frontend-dashboard.js` to visitors after an
   update.

#### 0.3.0

 * Replaced Dompdf with the bundled FPDF library.
 * PDF documents now combine the rental contract and invoice information.
 * Added configurable SIRET and VAT wording fields in the plugin settings.
 * Added persistent chronological invoice numbers using the `FAC-YYYY-0001` format.

#### 0.2.64

 * Replaced dynamic IN-list placeholders in locarc_prime_member_names() with static
   queries (load all members + JOIN-based WP users/usermeta lookups) to eliminate
   ReplacementsWrongNumber warnings.

#### 0.2.63

 * All SQL queries now use a single wpdb::prepare() call with %i placeholders for
   table names (WordPress.org security review).
 * Removed intermediate $sql/$u_sql/$m_sql variables from wpdb calls; SQL strings
   are now inline in prepare() to satisfy static analysis.
 * Fixed LIKE wildcard in uninstall.php to use $wpdb->esc_like() and a %s placeholder.
 * Simplified dynamic IN-list UPDATE queries from double-prepare to single prepare()
   call.
 * Validated ALTER TABLE column definitions against static whitelist in db.php.
 * Extracted PDF contract CSS to assets/pdf-contract.css; template loads it dynamically(
   no literal style tag in PHP).

#### 0.2.60

 * Added GDPR privacy data exporter and eraser (wp_privacy hooks).
 * Data removal now follows the standard WordPress uninstall flow.
 * Replaced all file_put_contents() and fopen/fgetcsv calls with WP_Filesystem API.
 * Added uninstall.php for clean data removal on plugin deletion.
 * Fixed unescaped SVG output in frontend dashboard (wp_kses with explicit allowlist).
 * Fixed missing esc_attr() on dynamic class attribute in contracts table.
 * Added load_plugin_textdomain() for i18n readiness.
 * Added index.php guards in all subdirectories.

#### 0.2.0

 * Initial public release with contracts, inventory, PDF generation, email delivery,
   CSV import, and audit log.

## 额外信息

 *  版本 **0.4.2**
 *  最后更新：**2 天前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.2 或更高版本 **
 *  已测试的最高版本为 **7.0.1**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/gestion-location-darc/)
 * 标签
 * [contracts](https://cn.wordpress.org/plugins/tags/contracts/)[inventory](https://cn.wordpress.org/plugins/tags/inventory/)
   [Rental](https://cn.wordpress.org/plugins/tags/rental/)
 *  [高级视图](https://cn.wordpress.org/plugins/gestion-location-darc/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/gestion-location-darc/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/gestion-location-darc/reviews/)

## 贡献者

 *   [ Florian Bossard ](https://profiles.wordpress.org/tuonick/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/gestion-location-darc/)