[OzzModz] Badges

[OzzModz] Badges 2.3.6 Beta 1

No permission to download
ErrorException: Fatal Error: Declaration of OzzModz\Badges\XF\Pub\Controller\Member::getUserBadgeRepo() must be compatible with CMTV\Badges\XF\Pub\Controller\Member::getUserBadgeRepo(): CMTV\Badges\Repository\UserBadge src/addons/OzzModz/Badges/XF/Pub/Controller/Member.php:223 Generated by: Pix May 7, 2024 at 12:32 PM
Are you having the CMTV badge addon active?
This add-on does not support importing directly out of it
 
I have this problem only on my phone display. Maybe something about responsive and resolution. I had a print in another comment
 
Hello, I have seen that IPS has medals with labels that differentiate them from others, for example they can be "Rare", does this currently exist?

1715695410324.webp
 
You can use Fonte Awesome, HTML code icon, by URL, and Upload image. I use PNG, never used SVG. So I don't know, but maybe is posible.
 
I understood. Strange. Will it be something related to Featured Badges? There is a permission where the user can choose the featured badges to display.
 
I understood. Strange. Will it be something related to Featured Badges? There is a permission where the user can choose the featured badges to display.
That very well could be the case, which seems to be bugged as well. Especially as even with all badges featured, the little "2" box still shows.
 
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.
 
Last edited:
When I click on a badge in the post profile, I go to the list of the user, but the button of the Badge stay with a black border.

image.png


image.png


"Insígnias" is how I translated Badges.
When I click on an option, this little visual bug disappears. It's a small thing, but it happens every time I take this action.
 
When I click on a badge in the post profile, I go to the list of the user, but the button of the Badge stay with a black border.

image.png


image.png


"Insígnias" is how I translated Badges.
When I click on an option, this little visual bug disappears. It's a small thing, but it happens every time I take this action.
Same issue on my side.
 

Attachments

  • badge-border-bug.webp
    badge-border-bug.webp
    1.2 KB · Views: 7
I don't know if it's a CSS or configuration problem. I use the default Xenforo theme without modifications.

I noticed that when viewed on my cell phone, the badges look like this, a little above the date. I believe that only in some cell phone resolutions there is a layout break like this. I thought it would be interesting to inform you.

I don't know if the reason is that the original images are 512x512 and I added "1x". I don't know if that influences it.

And congratulations on the Add-on. It's super fun and replaces Profile Flair very well (phpBB add-on where I came from)
View attachment 301957

EDIT:
I would also like to suggest a feature.

Rarity.

It would be cool if we could add an option to activate the rarity of a badge. With this, we can place, for example, a badge that if 5% (or some value defined by the Administrator) of the total number of people have this badge, it will be considered rare, adding a small notification about the badge icon.

I saw this functionality in Invision and thought it was really cool.

I fixed this problem on mobile. Just go to Appearances > Styles & Templates > Groups: Ozzmods Badges

In Profile featured badges the Size of badge in mobile profile was on 40px. I reduced to 30px and solved the problem.



1716620389371.webp
 
Badges on the profile make the avatar move up a little. I saw that I had been having problems with the avatar's position for a long time. Until I saw that the Badges were actually the problem.

I think it would be interesting to see some way to resolve this, or perhaps change the position badges. I still like how they stand out on the profile, but somehow they affect the avatar layout.

I detailed the problem a little in this post:

 
How can I remove the display of tiers?
1716678905749.webp
I want to remove from here (on posts) and from here:
1716678942707.webp

1716679069787.webp

I think it takes up space and I want to save. I didn't find an option in Style Properties
 
Top Bottom