[OzzModz] Badges

[OzzModz] Badges 2.3.2 Patch Level 9

No permission to download

Ozzy47

Offline
Joined
Apr 2, 2021
Messages
4,900
Reaction score
3,649
FP$
583,217
Ozzy47 submitted a new resource:

[OzzModz] Badges - Reward your users with collectible badges, and control how your users get them.

Requirements:
XenForo 2.2.0+

Description:
Reward your users with collectible badges, and control how your users get them.

Features

  • Award users badges based on criteria.
  • Manually award users badges.
  • Display badges on users profiles, and profile cards.
  • CRON Job for automatically applying badges when a user meets criteria.
  • Notification options (User controlled emails, global disable)
  • Uses caching to escape extra DB queries
  • Data importer from...

Read more about this resource...
 
I'm confused how this works. I made 6 badges with 15 min time interval. It's based on number of posts. I also made one for the Admin (me). Do they show up automatically?
 
k, cool. I'll give it some time. It is set at 15 mins, will that get all users (currently I have 20 members).
 
Do you have your badges integrated with the DragonBytes shop here at FP?
 
ah okay i see you can buy badges in the shop here so i was curious if they were done manually or if you had integrated yours with the shop.
 
Can we get the option to award a badge from this page? Award multiple people the same badge by pasting in a comma-delimited line of user names? This was a great feature in BD Medals.


We have hundreds of badges and some badges are awarded to 50 or more people in one go. This is painful if we have to go to each user profile, select "award a badge", then scroll through hundreds of badges to find the right one.

Or, this feature exists but I can't find it 😀

EDIT: Although I suppose we can add the comma delimited list of user names - there is that I suppose.
 
Last edited:
On the flip side, having more options in the Admin CP to view awardees, add a badge to an individual (or group of users), or remove a badge from an individual and so on would be a great help in managing our badges.
 
You can award/unaward multiple users in the ACP from the dropdown on the badges page.
 
Getting an error in the logs:


Code:
Server error log
Exception: Could not get runner for job OzzModz\Badges:UserBadgeUpdate (unique: badgeUpdate77336). Skipping.
src/XF/Job/Manager.php:246
Generated by: Unknown account
Apr 7, 2022 at 6:35 PM


Stack trace
#0 src/XF/Job/Manager.php(202): XF\Job\Manager->runJobInternal(Array, 8)
#1 src/XF/Job/Manager.php(86): XF\Job\Manager->runJobEntry(Array, 8)
#2 job.php(43): XF\Job\Manager->runQueue(false, 8)
#3 {main}
Request state
array(4) {
["url"] => string(14) "/forum/job.php"
["referrer"] => string(50) "https://www.bigfooty.com/forum/forums/richmond.16/"
["_GET"] => array(0) {
}
["_POST"] => array(0) {
}
}



Any thoughts?
 
I did the following:
I listed a Custom Item in the DragonByte Tech Shop, after a user buys this item, a badge will be unlocked (so in fact they just buy the item and the badge will be triggered, which unlocks it). However, I need to run the cron manually (or wait until it does this automatically) to let the Badge add-on check if there's been a trigger.

Is there a way to let the add-on run every x minutes, or just trigger it whenever there's done a purchase on the Dragobyte Shop? (Even if it's not a custom-item at all).

Just so whenever someone purchases something o the dragonbyte shop, that the Update User Badges cron also runs?

@Ozzy47
 
Hello, thank you for this add-on as it solved my badges idea.

I just wonder, I would like to award my active members and it would be amazing if I can award badges when:

Examples:
Active member: Was active in last 3 days = gets badge for being online in the last 3 days
Active chatter: Has 10 posts in last 7 days = gets badge for actively posting in the forum

Do you think this would be possible to add?

Thank you,
Lucas, Betfather

Edit: Solved with [TH] User Criteria Extended addon.
 
Last edited:
hello, how can I adjust the size of the badges that appear in the postbit section?
 
Back
Top Bottom