[bd] Medal

[bd] Medal 1.5.5b

No permission to download
When I click on a profile and click on the awarded tabs profile its always blank even if I assigned a user that medal, any info on this?
Blank may indicate an AJAX problem (check your JavaScript console for error message). Likely caused by a conflict with another add-on.
 
i have the blank probleme too and it started since i installed mark as best answer add-on, when i disable it it work fine
 
Bug Report #1

Maximum Awarded Users
If this option is set (larger than 0), the list of awarded users in the Help page will be limit to a maximum of this value.

Setting this to a numerical value such as 3 or 5 (when there is clearly more than that) results in an incorrect display. It never removes "3 others". This has been occurring in the last 2 versions at least, I just forgot to report it back when I first encountered it.

View attachment 57141

Bug Report #2

Maximum Awarded Users
If this option is set (larger than 0), the list of awarded users in the Help page will be limit to a maximum of this value.

Setting this to a numerical value of 5, when there are 6 total, results in showing all of them when I asked it to only display 5. It's not obeying my setting. OBEY! OBEY!

View attachment 57142
v1.4.3c has been released to fix #1.

#2 is by design though. Actually, it was quite dumb to not do that. In your example, you set to show 5 and there are 6 users. If the add-on works the way you describe, it will show

PHP:
user1, user2, user3, user4, user5 and 1 another

So user have to click "1 another" to see the name of the last user.
 
#2 is by design though. Actually, it was quite dumb to not do that. In your example, you set to show 5 and there are 6 users. If the add-on works the way you describe, it will show

PHP:
user1, user2, user3, user4, user5 and 1 another

So user have to click "1 another" to see the name of the last user.

Bug #2: This still confuses me with 1.4.3c. With the latest version, it fixes bug #1 well. However, bug #2 still stands. In this specific case, if you list "7" as the maximum you want to show, it still displays 8 if there are exactly 8. It does not say "and one other". It actually displays the one name. When it is 2 or more "others", it looks like it correctly displays the word others instead of the usernames.
 
Bug #2: This still confuses me with 1.4.3c. With the latest version, it fixes bug #1 well. However, bug #2 still stands. In this specific case, if you list "7" as the maximum you want to show, it still displays 8 if there are exactly 8. It does not say "and one other". It actually displays the one name. When it is 2 or more "others", it looks like it correctly displays the word others instead of the usernames.
Please reread by post. It does not show "and one another" because that is silly. The idea behind hiding users from the list is to save space, if it shows "and one another", that will take more space than just display the username (also, doing that will require an additional click to reveal one username).
 
Please reread by post. It does not show "and one another" because that is silly. The idea behind hiding users from the list is to save space, if it shows "and one another", that will take more space than just display the username (also, doing that will require an additional click to reveal one username).

Sorry about that misunderstanding, I did read it more than once and simply wasn't quite clear on the way it was stated. I didn't think the extra code required to do that calculation (2+ only) was there. That's wonderful, and a testament to your forward thinking.

Thanks a bunch!
 
Solved by editing the offset to be:
data-offsetX="{xen:calc '-{xen:helper bdMedal_imageSize, @bdMedal_messageImageSize} / 2'}"

In the medal template.
 
I have been trying to create a medal, but every time I click Save Medal I am sent to a blank page.

Anyone think they may know what's going on? I have reinstalled the add-on but I still get the same thing. Any help would be appreciated, been fiddling with it for about 4 hours now.
 
I have been trying to create a medal, but every time I click Save Medal I am sent to a blank page.

Anyone think they may know what's going on? I have reinstalled the add-on but I still get the same thing. Any help would be appreciated, been fiddling with it for about 4 hours now.
What is the address of the blank page? Also, have you checked server error log?
 
Back
Top Bottom