Skip to main content

A basic member badge system for Plone

Project description



This package adds a content type for representing badges that can be assigned to users.

Each badge has an image and a roster (provided using collective.workspace) which includes:

  • User
  • Date Assigned
  • Assigned By
  • Expiration

The package is developed and tested on Plone 5.

An example of its use is on, e.g.


  • Add collective.badge to your buildout eggs.
  • Activate collective.badge in the ‘Add-ons’ section of Plone’s Site Setup.


Assign a badge to a user:

>>> badge.assign_to_user(user_id='admin')

Check if a badge is active for a user (includes checking that the badge has not expired):

>>> badge.is_assigned_to_user(user_id='admin')

List user ids of all active users for a badge:

>>> badge.list_active_users()

Remove a badge from a user:

>>> badge.remove_from_user(user_id='admin')

Get a user’s active badges (sorted alphabetically):

>>> from collective.badge.api import badges_for_user
>>> badges_for_user(user_id='admin')
[<Badge at /Plone/badges/awesome-badge>]


  • David Glick - Original Author


1.0.1 (2017-03-04)

  • add PyPi classifiers for Plone 5.0, 5.1 [tkimnguyen]

1.0 (2017-03-04)

  • Initial release

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
collective.badge-1.0.1.tar.gz (19.3 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page