Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I'm prety sure this cannot be very complicated. I want to add some badges depending on the number of post counts user have in the forum (advanced forum). The user stats module provides the post count statistic. There's event User post count increased
provided by user stats which provides with the variable statistic-value
. My question is how to check statistic-value == 5
or any other integer?
I ask here because user stats seem to not answer many questions.
Thank you
Comments
Comment #1
TR CreditAttribution: TR commentedI guess you didn't get much help here either ...
Regardless, it would be easy to add a new Rules condition to compare the statistic-value with a value of your choice. This is only a few lines of code. That integration would have to go into user_stats (which is not maintained anymore) or into your own custom module.