We found some weird behavior with the stacking badges. When the "Force stacking badge featuring" option is checked in the addon, any user that merely has a stackable badge awarded starts losing feature slots, 1 for each stackable badge they have. For example, here's my normal profile with 6 non-stackable badges featured (our set maximum for users), and no stackable badges earned:
I was on the train earlier and misread this.
I have the same issue, except I don't allow anyone to feature badges, so everything should show up.
But same as Fullmental here, if the option "Force stacking badge featuring" is enabled and someone has some stacked badges, then another spot will be removed.
Edit: Ok, it's 1am here, but I might have found a clue.
According to the logic on line
89
of
repository/userbadge.php
- if
Force stacking badge featuring
is true then any badge that is NOT featured, but is a badge that CAN BE STACKED will become featured.
This causes a problem, as if any featured badges are returned to
XF/entity/user
line
136
, then these will be used instead of then calling
getRecentBadges
.
Which in this case, will mean if you haven't manually featured any badges (but have stackable ones) any non-stackable badges won't show up.