Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

User Coins

No security coverage
View on drupal.org

The user coins module by itself implements a virtual coins system associated to users.

  • Users gets a coins balance
  • Administrators can add/remove coins to users manually
  • Users can earn/spend their coins based on users coins transactions based on entity api (Developers can easily write a custom module that leverage on the entity api in order to implements custom logic that triggers earning/spending coins)
  • With the help of the "user coins fields" sub module, user coins fields can be attached to nodes and makes it possible to earn or spend coins when creating a node.
  • With the help of the "user coins commerce" sub module, it is possible to buy coins using Drupal commerce.

The use case that originated the developement of this module is as follows:
Some users on the website need to spend an amount of coins in order to publish some content. They can buy coins beforehand on the website. They can also unlock more features on some content based on the amount of coins spent.

However, the module was made to be flexible and usable in any other use cases. For example, it would be possible to do the opposite and earn coins by publishing content instead. You could also create games, rewards etc. A lot of possibilites.

This module is a bit similar to Commerce Funds in some ways.
But the biggest difference is that Commerce funds is based on real currencies: For example, you buy USD and hold them in your Commerce funds wallet and then you use them to buy products.
Whereas this module use virtual "coins" that are an integer number in the user balance. Then they can be used/earned/spent in the way you define it (you do not need Drupal commerce and can do anything with them inside your Drupal website).

PS: Coins here does not mean cryptocurrency coins, the user coins here are virtual coins.

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Dec 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core Release date
1.0.0-alpha13 Pre-release Dec 18, 2023