Membership Card

Membership Pro can generate a PDF membership card for each subscription. Subscribers can download it from their profile, you can attach it to the subscription emails, and administrators can download it from the subscriptions list.

Enable Member Card

  1. Go to Membership Pro -> Configuration and open the Member Card Settings tab.
  2. Set Activate Member Card Feature to Yes and save.
  3. Edit each plan that should have a card, open its Member Card Settings tab, and set Activate Member Card Feature to Yes.

The plan's Member Card Settings tab is shown only when the feature is enabled in the configuration. New plans have the option set to Yes by default. Plans created earlier need to be updated one by one.

Configuration Settings

In Membership Pro -> Configuration -> Member Card Settings:

  • Activate Member Card Feature: turns the feature on or off for the whole site.
  • Send Member Card Via Email: if Yes, the card is attached to the subscription email when the subscription is paid or approved by an administrator. Only plans with the card enabled are affected.
  • Page Orientation: Portrait or Landscape.
  • Page Format: A4, A5, A6, A7 or Custom.
  • Custom Page Format Width (mm) and Custom Page Format Height (mm): shown when Page Format is Custom. Use them for a credit-card-sized card, for example 86 x 54.
  • Background Image: an image placed behind the card text.
  • Background Position: the Left and Top offset of the background image.
  • Background Size: the Width and Height of the background image.
  • Show Download Member Card For Admin: if Yes, the subscriptions list in the back end shows a member card download icon for each subscription.
  • QRCODE Image Width and QRCODE Image Height: a fixed size, in pixels, for the [QRCODE] image. Leave empty for the default size.
  • Member Card Layout: the HTML layout of the card.

membercard_settings

The PDF Settings tab also affects the card. It sets the PDF font and page margins.

Design the Card

Edit the Member Card Layout to design the default card for all plans. For a plan that needs a different design, edit the plan, open Member Card Settings and enter a layout in Member Card Layout. You can also choose a separate Background Image there. The plan layout overrides the global one. Page orientation, format and background position and size always come from the configuration.

Insert a Joomla page break in the layout to start a new page in the PDF.

Tags

The editor lists all tags available on your site. The main ones are below. Any tag from the invoice and email tag lists also works, such as the amount and payment tags.

Tag Description
[PLAN_TITLE], [PLAN_SHORT_DESCRIPTION], [PLAN_DESCRIPTION] Plan information.
[FIRST_NAME], [LAST_NAME] Member's name.
[NAME] First name and last name combined.
[EMAIL], [ORGANIZATION], [ADDRESS], [ADDRESS2], [CITY], [STATE], [ZIP], [COUNTRY], [PHONE], [FAX], [COMMENT] Values of the matching profile fields.
Custom fields Use the field name in uppercase. For a custom field named registration_type, the tag is [REGISTRATION_TYPE].
[USER_ID], [MEMBERSHIP_ID], [PROFILE_ID] IDs of the user, the membership and the profile.
[CREATED_DATE] or [REGISTER_DATE] Date the subscription was created.
[FROM_DATE], [TO_DATE] Start and end date of this subscription record.
[PLAN_SUBSCRIPTION_FROM_DATE], [PLAN_SUBSCRIPTION_TO_DATE] Start and end date of the member's subscription to this plan, counting all renewals.
[INVOICE_NUMBER] Invoice number of the subscription.
[SUBSCRIPTIONS] A list of all the member's subscriptions.
[QRCODE] A QR code that identifies the subscription.
[MEMBER_DATA_QRCODE] A QR code containing the member's user ID, first name and last name.

Download the Card

  • Subscribers: when a subscriber logs in and opens the User Profile page, each active or expired subscription whose plan has the card enabled shows a Download link in the member card column.
  • Administrators: enable Show Download Member Card For Admin. The subscriptions list and the group members list then show a download icon.
  • By email: enable Send Member Card Via Email.

Download Member Cards

Use [QRCODE] To Check Membership Status

Add the [QRCODE] tag to the card layout. You can then scan the code with the built-in QR code scanner to check the member's status. See QRCODE Scanner.

Clean Up Generated Cards

Generated cards are stored in media/com_osmembership/membercards. To delete old files automatically, use the Delete Old Member Cards scheduled task.