1. Getting Started
  2. Events

Events

Events are the conditional action that a user needs to perform in order to complete an achievement step, a points award or deductions or a rank requirement.

Check the following image to get a more direct idea of where you can find them:

Built-in Events

GamiPress was designed to be extensible, for that, the default built-in events are focused on the default WordPress events that could be performed on a basic install. GamiPress comes bundled with the next events:

WordPress Events

Register to website: When a new user gets registered to your WordPress.
Log in to website: When user logs in your WordPress.
Comment on a post: When user comments on any post or page.
Comment on a a post: When user comments on a specific post or page.
Comment on a post of a type: When user comments on a post of a specific type.
Get a comment on a post: When user gets a comment on a post or page.
Get a comment on a a post: When user gets a comment on a specific post or page.
Get a comment on a post of a type: When user gets a comment on a post of a specific type.
Get a comment marked as spam: When user gets a comment marked as spam.
Get a comment of a a post marked as spam: When user gets a comment of a specific post or page marked as spam.
Get a comment on a post of a type marked as spam: When user gets a comment on a post of a specific type marked as spam.
Publish a new post: When user publishes a new post.
Publish a new page: When user publishes a new page.
Publish a new post of a type: When user publishes a post of a specific type.
Delete a post: When user deletes a post.
Delete a page: When user deletes a page.
Delete a post of a type: When user deletes a post of a specific type.
Get added to any role: When user gets added to any role.
Get added to a role: When user gets added to a specific role.
Get assigned to any role: When user gets assigned to any role.
Get assigned to a role: When user gets assigned to a specific role.
Get removed from any role: When user gets removed from any role.
Get removed from a a role: When user gets removed from a specific role.
Get user meta updated with any value: When user meta gets updated with any value.
Get user meta updated with a value: When user meta gets updated with a specific value.
Post meta updated with any value: When user post meta gets updated with any value.
Post meta updated with a value: When user post meta gets updated with a specific value.

Important: The log in to website event is based on how WordPress log in the user and the event just will be triggered when session gets expired and user is force to log in (or auto-log in) again (that is when WordPress triggers it). So, sometimes when you log in, WordPress is not really log in you, is just rescuing your session from a cookie. More information.

Site Interactions

Daily visit the website: When user visits your WordPress.
Daily visit a a post: When user visits a post or page.
Daily visit a post of a type: When user visits a post of a specific type.
Get visits on any post: When user gets visits on a post or page.
Get visits on a a post: When user gets visits on a specific post or page.
Get visits on a post of a a type: When user gets visits on a post of a specific type.

GamiPress Events

Unlock a a achievement: When user unlocks a specific achievement.
Unlock any achievement of type: When user unlocks any achievement of a specific achievement type. (more about achievement types)
Unlock all achievements of type: When user unlocks all achievements of a specific achievement type.
Get an achievement revoked: When user gets a specific achievement revoked.
Get any achievement of type revoked: When user gets any achievement of a specific achievement type revoked. (more about achievement types)
Earn an amount of points: When user earns a desired amount of points. (more about points types)
Reach a points balance: When user reaches a desired total balance of points.
Expend an amount of points: When user expends a desired amount of points. (more about expending points)
Reach a rank: When user reaches a specific rank of a specific rank type. (more about rank types)
Get a rank revoked: When user gets a specific rank of a specific rank type revoked. (more about rank types)

Events from integrations

Since GamiPress 2.6.3 update events from integrations will appear automatically at the moment you have GamiPress and the other plugin installed in your site.

If you have WooCommerce on your WordPress, GamiPress will add automatically a list of events based on this plugin, for example, product purchases.

Also, the same happens if you have Contact Form 7 installed, GamiPress will again to add new events automation based on contact form submissions.

You can view the full list of integrations and their events here.

Was this article helpful to you? No Yes 8

How can we help?