What's new
[XB] Badges

[XB] Badges 2.3.7 Patch Level 1

No permission to download

Painbaker

Administrator
Painbaker submitted a new resource:

[XB] Badges - Reward your users with collectible profile badges — automatically or manually

Reward your users with collectible profile badges — automatically or manually.

✨ Features:​

  • ✅ Award badges based on user criteria (via CRON job)
  • 🛠️ Manual badge assignment
  • 👤 Display badges on user profile & profile card
  • 🔔 Notification options (email, alert)
  • ⚙️ Efficient caching system
  • 📚 Badge stacking support
  • 🪜 Badge tiers for progression
  • 📥 Import from [VersoBit] Badges

🚀 Getting Started: Automatic Installation​

...

Read more about this resource...
 
Thanks for building this add-on! One thing I'm doing a hacky-workaround for is using the user's xf_user_option.receive_admin_email state as a trigger for receiving a badge. I'd love it if this option could be rolled in to Badges natively.
 
Thanks for building this add-on! One thing I'm doing a hacky-workaround for is using the user's xf_user_option.receive_admin_email state as a trigger for receiving a badge. I'd love it if this option could be rolled in to Badges natively.
This user criteria must be added as a separate add-on
 
I don't observe this problem on a clean XF setup.
Make sure that it is not caused by a third-party add-on that adds or modifies user criteria.

Everything was working fine until the last update. The last update is the only thing that changed in the forum and now the birthday criteria is not working properly. If you want to check I can provide AdminCP.
 
@Painbaker can you please explain how badge stacking works? I'm trying to get a similar setup to IPS' gamification system.

I probably spent about 20 minutes trying to figure out how badge stacking works. I figured it be a domino affect and each badge stacks with the previous badge. But I think finally figured it out. Each badge after the first stacks with the first badge?

Screenshot 2025-07-09 at 16-36-01 Badges altBoards - Admin control panel.png
Screenshot 2025-07-09 at 16-37-13 Matthew altBoards.png

Is that setup the right way to do this?

Edit:
On member profile it shows level 6 on the stacked badges, but it shows the level 2 badge? Shouldn't it be the most recent?
Screenshot 2025-07-09 at 17-02-19 Matthew altBoards.png

Edit: Read on the XF that you stack all the badges to the highest. So fixed that, but on the profile the second badge still shows
 
Last edited:
@Painbaker can you please explain how badge stacking works? I'm trying to get a similar setup to IPS' gamification system.

I probably spent about 20 minutes trying to figure out how badge stacking works. I figured it be a domino affect and each badge stacks with the previous badge. But I think finally figured it out. Each badge after the first stacks with the first badge?

View attachment 2707
View attachment 2708

Is that setup the right way to do this?

Edit:
On member profile it shows level 6 on the stacked badges, but it shows the level 2 badge? Shouldn't it be the most recent?
View attachment 2709

Edit: Read on the XF that you stack all the badges to the highest. So fixed that, but on the profile the second badge still shows
Make sure that the badges are correctly sorted by display order.

You may see them differently in ACP, as it uses DB sorting by multiple columns. Staking sorting is performed on PHP with only one column.

Just open the tool and save without making any changes to automatically set the display order with a number jump

1752106702054.png
 
Anyway to disable the transparency effect that is put on badges when viewing as a guest, or when logged in if you do not have a certain award? Thanks!

1753111229420.png
 
Well, I am earning my Q&A wings lately... everywhere. ❤️

@Painbaker it seems when the system sends out the new badge awarded email, the address being attached to the badge so you can click and view it -- is not pulling the full site URL.

Highlighted in the attachment.

Thanks for your help!
 

Attachments

  • VB-error.png
    89 KB · Views: 2
We are currently experiencing issues with the Badges addon
1759770968418.webp

The badges do not show up, the error is showing tens of errors every second. I've got the latest version: [XB] Badges 2.3.7 Patch Level 1

Xenforo v2.2.11

Tried to rebuild the cache and got the following error:
InvalidArgumentException: Unknown entity option: ozzmodzBadgesForceFeaturedStacking in src/XF/Mvc/Entity/Entity.php at line 1005

  1. XF\Mvc\Entity\Entity->setOption() in src/addons/OzzModz/Badges/XF/Entity/User.php at line 170
  2. OzzModz\Badges\XF\Entity\User->rebuildBadgeCache() in src/addons/OzzModz/Badges/Job/UserBadgeCacheRebuild.php at line 29
  3. OzzModz\Badges\Job\UserBadgeCacheRebuild->rebuildById() in src/XF/Job/AbstractRebuildJob.php at line 47
  4. XF\Job\AbstractRebuildJob->run() in src/XF/Job/Manager.php at line 260
  5. XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 202
  6. XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 118
  7. XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 122
  8. XF\Admin\Controller\Tools->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 352
  9. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
  10. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  11. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  12. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2353
  13. XF\App->run() in src/XF.php at line 524
  14. XF::runApp() in admin.php at line 13

Any support would be highly appreciated! We've disabled the addon for the time being
 
We are currently experiencing issues with the Badges addon
View attachment 3127

The badges do not show up, the error is showing tens of errors every second. I've got the latest version: [XB] Badges 2.3.7 Patch Level 1

Xenforo v2.2.11

Tried to rebuild the cache and got the following error:
InvalidArgumentException: Unknown entity option: ozzmodzBadgesForceFeaturedStacking in src/XF/Mvc/Entity/Entity.php at line 1005

  1. XF\Mvc\Entity\Entity->setOption() in src/addons/OzzModz/Badges/XF/Entity/User.php at line 170
  2. OzzModz\Badges\XF\Entity\User->rebuildBadgeCache() in src/addons/OzzModz/Badges/Job/UserBadgeCacheRebuild.php at line 29
  3. OzzModz\Badges\Job\UserBadgeCacheRebuild->rebuildById() in src/XF/Job/AbstractRebuildJob.php at line 47
  4. XF\Job\AbstractRebuildJob->run() in src/XF/Job/Manager.php at line 260
  5. XF\Job\Manager->runJobInternal() in src/XF/Job/Manager.php at line 202
  6. XF\Job\Manager->runJobEntry() in src/XF/Job/Manager.php at line 118
  7. XF\Job\Manager->runByIds() in src/XF/Admin/Controller/Tools.php at line 122
  8. XF\Admin\Controller\Tools->actionRunJob() in src/XF/Mvc/Dispatcher.php at line 352
  9. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
  10. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
  11. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
  12. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2353
  13. XF\App->run() in src/XF.php at line 524
  14. XF::runApp() in admin.php at line 13

Any support would be highly appreciated! We've disabled the addon for the time being
This error states a broken event listener chain.
Previously, users reported that this occurred with a specific version of the [AL] Core add-on.
Try disabling all add-ons to identifying the source of the issue.
 
Back
Top