Digital Sovereignty for everyone

Abilities

Check In

lh-buddypress-check-ins/check-in Idempotent

Checks the current user in to one event. Check-in must be open for that event, exactly as for the check-in form: the event is flagged for check-ins, has an eligible status and is running today (GMT), and no plugin refuses it. Calling it again returns the existing check-in with status already_checked_in rather than adding another. To check other people in, or to record attendance at a past event, use record-check-ins. Any signed-in user who can see the event may call it. Requires read, plus read_post on the event. Pass site_id to act on another site you belong to.

Parameter Type Required Default Description
event_id integer Yes ID of the event to check in to.
task_id integer No Optional. The lh-tasks task this call is working on. Pass with claim_token: the call is refused unless you hold that claim, and a successful call renews it.
claim_token string No Optional. The claim_token from claim-next-task for task_id. Required when task_id is given.
site_id integer No Optional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.

List Check-ins

lh-buddypress-check-ins/list-check-ins Read-only Idempotent

Lists everyone checked in to an event, earliest first, with their user ID, display name and the time recorded. Each check-in gives its ID, user ID, display name, the time recorded (GMT) and, when it was recorded on their behalf, who recorded it. No email addresses are returned. Requires promote_users. Pass site_id to act on another site you belong to.

Parameter Type Required Default Description
event_id integer Yes ID of the event.
site_id integer No Optional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.

Record Check-ins

lh-buddypress-check-ins/record-check-ins Idempotent

Records site members as checked in to an event that has started, on their behalf, and returns a result per user. The event can be today or in the past: for taking attendance at a meeting or backfilling an old one. Check-in does not need to be open for the event, and the lh_bp_check_ins_check_if_can_check_in filter is not applied. Each user must be a member of this site; others are skipped with a reason. Users already checked in are reported as already_checked_in and left alone, so repeating a call is safe. checked_in_gmt sets the time recorded for every new check-in (default now) and may not be in the future. Each new check-in records who recorded it. At most 100 users per call. Requires promote_users. Pass site_id to act on another site you belong to.

Parameter Type Required Default Description
event_id integer Yes ID of the event. It must have started.
user_ids array of integer Yes Users to check in, 1 to 100.
checked_in_gmt string No Time to record for every new check-in, GMT, Y-m-d H:i:s. Defaults to now. May not be in the future.
task_id integer No Optional. The lh-tasks task this call is working on. Pass with claim_token: the call is refused unless you hold that claim, and a successful call renews it.
claim_token string No Optional. The claim_token from claim-next-task for task_id. Required when task_id is given.
site_id integer No Optional. ID of another site in the network to act on; list-my-sites gives the sites you belong to. Permissions are checked on that site. Omit for this site.

If you like this plugin please consider making a donation to further development

Install LHero.org

lhero.org

Open it straight from your home screen, full screen and quicker to load.

  1. Tap the Share button . If you cannot see it, tap ••• first.
  2. Scroll down and tap Add to Home Screen.
  3. Tap Add.
  1. Tap the browser menu â‹®.
  2. Tap Install app or Add to Home screen.
  1. In the menu bar, choose File, then Add to Dock.

Use your browser's menu to install this site or add it to your home screen.