Attendance Manager

描述

Visit The User’s Guide (ja)/(en) for more info.

An administrator can do all users’ attendance management.
And each user can do attendance management by themselves.

An attendance schedule is displayed by shortcords.
* Today’s staff
* Weekly schedule
* Monthly schedule

屏幕截图

安装

This plug-in makes several pages and data base tables automatically.

Installation

  1. Donwload plugin file (“attendance-manager.zip”)

  2. Upload plugin file from Administrator menu “Plugins > Add New > Upload Plugin”.

  3. Activate the plugin.

Plugin set up

  1. Open the WordPress admin panel, and go to the plugin option page “Attendance Manager”.

  2. Set up option item of some.

User registration as “staff”

  1. Register staff of your workplace as user.

  2. When registering user, check “This user is a staff”.

  3. In case of the registered user, check “This user is a staff” in a profile edit page of that user.

Post each staff’s introduction article

Post each staff’s introduction article. (For example into a “staff” category etc.)
And insert short cord [attmgr_weekly id=”xx”] to that article.

  • “id” is ID number of each user in your WordPress.

Post a staff’s information

Post each staff’s information article. (For example, into a “staff” category etc.)
And insert short cord [attmgr_weekly id=”xx”] to that article.
This short code displays the weekly schedule of this staff.

  • “id” is ID number of each user in your WordPress.

Attendance management

  • An administrator does all the user’s attendance management by a scheduler for admin.

  • A staff logs in and does the attendance management by a scheduler for a staff.

常见问题

If you encounter some problems, please ask me.
Visit Trouble shooting (ja) for more info.

When the number of staff increases, the schedule is not reflected.

If the number of staff increases too much, the schedule may not be reflected.
This may be the upper limit of the number of POST items in your PHP.
In that case increase the value of “max_input_vars” in php.ini.
e.g.)
max_input_vars = 5000

评价

2021 年 9 月 1 日
Unfortunately, I never understood how to use this plugin. It lacks documentation and video tutorials. I followed the ReadMe documentation, yet staff never showed up on admin’s end. Sorry to give only 2 stars.
2021 年 8 月 24 日
Straightforward, simple plugin. No bells and whistles. If you’re for example looking for a very simple tool to keep track of staff presence in the office, this will do it. In these “hybrid” (post-covid) times I find it very useful to be able to see who will be present in the office on which days and hours. Easier than using a shared on-line calendar. I hope the author will continue the development…
2019 年 3 月 24 日
great plugin and really helped me a lot! though i hope you find a way for it to display only a specific user role in “Today’s Staff” something like this: [attmgr_daily role="administrator"] or [attmgr_daily role="accounting_department"] to check and see attendance of staff per department instead of the whole staff Also i hope you find a way to get the current user ID and display the weekly attendance of the current user like this: [attmgr_weekly id="$current_user"] because the only available shortcode the plugin has is the attendance of a specific user: [attmgr_weekly id="xx"] This would save me a lot! Thanks!
2017 年 4 月 25 日
This is exactly what I was looking for. The plugin works great and when I ran into small trouble (which was caused by the Theme I was using) the developer responded very quickly when I send a mail. Try this! It works, my client is very happy now.
阅读所有5条评价

贡献者及开发者

「Attendance Manager」是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Attendance Manager」插件已被翻译至 4 种本地化语言。 感谢所有译者为本插件所做的贡献。

帮助将「Attendance Manager」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

0.6.5

  • Fixed an issue with incorrect display times.

0.6.4

  • Fixed a bug that caused deleted schedules to remain in the database.

0.6.3

  • Fixed an authenticated SQL injection vulnerability via the ‘attmgr_off’ parameter.
  • Added capability checks and improved nonce verification for administrative actions.
  • Improved input validation and sanitization throughout the plugin.
  • Improved WordPress coding standards and compatibility.

0.6.2

  • Fixed some deprecated automatic conversions.

0.6.1

  • Fixed warning in shortcode [attmgr_daily].

0.6.0

  • Fixed a link error with the shortcode [attmgr_daily] when business hours exceed midnight.

0.5.9

  • Fixed a shortcode error when editing with the block editor.

0.5.8

  • Fixed cURL timeout issue.

0.5.7

  • Fixed a vulnerability issue.

0.5.6

  • ‘Screen_icon’ on the admin-page has been deleted. And fixed some PHP ‘Notice’.

0.5.5

  • Fixed some notices and warnings displayed in “WP_DEBUG” mode has been corrected.

0.5.4

  • Bug fix in calendar navi.

0.5.3

  • Shortcode ‘[attmgr_today_work id=”xx”]’ is added.
  • The opening hours during midnight will be regarded as “Today”.
  • Bug fix in calendar.

0.5.2

  • The link of each staff can be given by “Edit User: Website(user_url)”.
  • An option to use the user avatar on a staff’s portrait was added.

0.5.1

  • An “action” URL of the “Settings” form was changed.
  • Action hook “parse_request” was changed to “template_redirect”.
  • These functions were changed, ATTMGR::current_page(), ATTMGR::current_user(), ATTMGR_Form::action(), ATTMGR_Form::access_control().

0.5.0

  • A “Date/Time Format” was added to the plugin option.
    Several filter hook were added.

    • ‘attmgr_date_format’
    • ‘attmgr_month_format’
    • ‘attmgr_time_format’
    • ‘attmgr_time_format_editor’
  • The schedule table name is given from a filter.

    • ‘attmgr_schedule_table_name’
  • Several filter hook parameter were changed.

    • ‘attmgr_shortcode_staff_scheduler’
    • ‘attmgr_shortcode_admin_scheduler’
    • ‘attmgr_shortcode_daily’
    • ‘attmgr_shortcode_weekly’
    • ‘attmgr_shortcode_weekly_all’
    • ‘attmgr_shortcode_monthly_all’
  • Bug fix about submit processing in the scheduler.

  • Dutch translation (by Kleijheeg-san) was added.

0.4.5

  • Parameter “guide” was added to short code [attmgr_daily].
    usage: [attmgr_daily guide="week"]
    In this case, the link to each date in a week is shown.
    The value of parameter “guide” are “week” or “1week”.
    In a case of “1week”, the link to next week and previous week are not shown.
    Parameter “guide” may omit. If “guide” is omitted, the link to each date is not shown.

  • Parameter “past” was added to short code [attmgr_daily] and [attmgr_weekly_all] and [attmgr_monthly_all].
    usage(1): [attmgr_daily guide="week" past="0"]
    usage(2): [attmgr_weekly_all past="0"]
    In this case, the link to the past is not shown.
    Parameter “past” may omit, and default value of “past” is “true”.

  • “font-size” in the of schedule table was changed.(front.css)

0.4.4

  • Parameter “hide” was added to short code [attmgr_weekly].
    usage: [attmgr_weekly id="xx" hide="1"]
    In this case, it doesn’t show anything.
    Parameter “hide” may omit, and default value of “hide” is “false”.

0.4.3

  • Bug fix.
  • Some filters were added.
  • Media query is added to “front.css”.

0.4.2

  • Some filters were added.

0.4.1

  • Bug fix in “Monthly schedule”.

0.4.0

  • When time table is up to the next day like “23:00~08:00”, the schedule which continues from the previous day is displayed in “Today’s staff” until end time. (In this case, It is until 8:00.)

  • Time selection of a scheduler is helped.
    When the start time was chosen, standard end time is chosen automatically.
    And, the choices of end time are limited to time which is later from the start time.
    If start time which is later from the end time is chosen, end time would be reset.

0.3.1

  • Bug fix.

0.3.0

  • Some style classes were added.
  • Bug fix.

0.2.0

  • first release.