Extending Rewardable Actions and Inbox Notifications in Init User Engine

Init User Engine offers a powerful framework to gamify your WordPress site. Beyond built-in systems for levels, coins, and inbox messages, you can hook into any user action on your site and reward it accordingly. Whether it’s commenting, publishing, or custom events, everything can become an opportunity for engagement and growth.

Extending Rewardable Actions and Inbox Notifications in Init User Engine

1. Built-in rewardable actions

Here are the actions that are already integrated into the plugin by default:

  • Daily login (first login of the day)
  • User registration
  • Profile update (first time only)
  • Post a comment
  • Publish a post (first-time)
  • Complete a WooCommerce order
  • Receive a reply to your comment
  • Register via referral code
  • Invite someone who registers using your referral code

Each action above can automatically trigger EXP, coin rewards, and optionally an inbox message.

2. Suggested advanced use cases

You can create custom rewardable actions to suit your website’s engagement strategy. Here are some ideas:

  • Complete 100% profile info (avatar, bio, links)
  • Join special events (from a custom post type or plugin)
  • Submit a poll or vote
  • Read a post for more than X minutes (tracked via JS or a reading plugin)
  • Share a post to social media
  • Complete weekly/monthly tasks (tracked via user_meta)
  • Win a minigame, contest, or live stream event

3. Hooking into custom events with rewards

For example, let’s reward users who subscribe to your newsletter:

// When user subscribes to newsletter
add_action( 'your_newsletter_subscribe_hook', function ( $user_id ) {
    do_action( 'init_plugin_suite_user_engine_add_exp',  $user_id, 15, 'subscribe_newsletter' );
    do_action( 'init_plugin_suite_user_engine_add_coin', $user_id, 5,  'subscribe_newsletter' );
});

4. Sending inbox messages alongside rewards

init_plugin_suite_user_engine_send_inbox(
    $user_id,
    'Thanks for subscribing',
    'You just received +15 EXP and +5 coins for subscribing to our newsletter.',
    'newsletter',
    [],
    null,
    'normal',
    home_url()
);

5. Integrating with external or third-party systems

Since Init User Engine works via action hooks, you can reward users from almost any context:

  • From other plugins (forums, learning management systems, etc.)
  • Via REST API or webhooks (external service triggers a reward)
  • Via WP-Cron for scheduled rewards (weekly/monthly missions)

6. Bonus scenarios to implement

  • Top 3 most active commenters each week
  • First person to comment on a new post
  • User reads three posts in a row in one day
  • User completes an online course or lesson
  • User answers a quiz correctly or unlocks a badge

Conclusion

Init User Engine is more than just a user system. It’s a customizable engagement platform. By leveraging the flexible hook system, you can create dynamic reward mechanisms that drive activity, personalize experience, and grow community loyalty. The only limit is your creativity.

Comments


  • No comments yet.

Init Toolbox

Press Ctrl + \ on desktop, or swipe left anywhere on mobile.

Login