Users

User Blueprint

The Klub plugin assumes that there is a user blueprint with a name/role member.

Since you will most likely add other fields to that blueprint, the plugin does not pre-install it; you need to create the blueprint definition yourself. You can use the example below to get started.

Ensure you set the user permissions to prevent the members from logging into the Panel.

You will also need to add a field with the key stripe into which the plugin will store data related to Stripe. When you enable the encryption this field will be encrypted.

site/blueprints/users/member.yml
title: Member

permissions:
  access:
    panel: false

fields:
  stripe:
    translate: false
    type: hidden
    # or extends: fields/klub/stripe
You can use the klub/stripe-field to get started quickly.
Kirby Klub is not affiliated with the developers of Kirby CMS. We are merely standing on the shoulder of giants.
© 2024 Bruno Meilick All rights reserved.