Linux 软件免费装

Farahabadi Staff Attendance

开发者 hamedfarahabady
更新时间 2026年9月15日 19:25
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

persian employee attendance gps jalali

下载

详情介绍:

Farahabadi Staff Attendance adds a front-end attendance form for logged-in WordPress users and an administration area for attendance records. Features include: Use the [farastat_attendance] shortcode on a published page for attendance registration. Use [farastat_my_attendance_report] on another published page to show each logged-in user only their own records, daily work time, and selected-range total. Browser geolocation normally requires HTTPS or localhost. The plugin checks the submitted coordinates against the workplace coordinates stored in WordPress settings. Privacy The plugin always stores the WordPress user ID, event type, and event time for each attendance record. Depending on administrator settings, it can also store: All records are stored in the site's own WordPress database. The plugin does not transmit attendance data to an external service. Suggested privacy-policy text is added to WordPress under Settings > Privacy. Site administrators are responsible for informing users and applying any local employment, privacy, and retention requirements. Source code The deployed plugin contains its readable PHP, JavaScript, and CSS source. The Jalali date picker is implemented locally without a remote service or bundled third-party JavaScript library.

安装:

  1. Upload the plugin ZIP from Plugins > Add New > Upload Plugin, or place the plugin directory in /wp-content/plugins/.
  2. Activate Farahabadi Staff Attendance.
  3. Open Attendance > Settings.
  4. Enter the workplace latitude, longitude, and allowed radius.
  5. Add [farastat_attendance] to a published page.
  6. Add [farastat_my_attendance_report] to another published page for employee self-service reports.
  7. Ensure the site uses HTTPS so browsers can provide geolocation.
Existing records from private versions 1.0.x are copied into the new prefixed database table, and the old location settings are migrated. The legacy table is retained as a non-destructive backup.

升级注意事项:

1.2.2 Adds the missing front-end Jalali date picker and improves compatibility with theme typography. 1.2.1 Restores attendance history from legacy and PAMGR-prefixed tables without deleting the old tables. 1.2.0 Adds employee self-service reports and administrator report totals. Place [farastat_my_attendance_report] on a published page for logged-in employees. 1.1.1 Directory naming update only; existing attendance data and the [farastat_attendance] shortcode remain unchanged. 1.1.0 This release is a security, privacy, and WordPress.org compliance refactor. Existing attendance records are migrated; replace the old [attendance] shortcode with [farastat_attendance].

常见问题:

Does the plugin send location data to another server?

No. The browser sends the position only to the site's own WordPress AJAX endpoint. The plugin does not call a mapping or analytics service.

Why does the browser refuse to provide a location?

Geolocation normally requires HTTPS, browser permission, and an available GPS or network location provider.

Who can use the attendance form?

Any logged-in WordPress user who can view the page containing the shortcode. Administration pages require the manage_farastat_attendance capability, which is added to administrators on activation.

Is browser geolocation tamper-proof?

No. The validation uses coordinates submitted by the user's browser. It is useful as a workplace-radius check, but it should not be treated as fraud-proof identity or location verification.

Can an administrator correct a forgotten record?

Yes. Open Attendance > Logs and Manual Entry. The plugin validates the daily entry and exit sequence before saving a manual record.

Does uninstalling remove records?

Not by default. Enable "Delete all data on uninstall" in the plugin settings before uninstalling if the table and settings should be permanently deleted.

更新日志:

1.2.2 1.2.1 1.2.0 1.1.1 1.1.0