Badges don't work in private / restricted topics

faq-material

(Lars) #1

A user on my forum, who apparently is really into his “Nice reply”-badges, notified me that his “Nice reply”-badge count went from >200 to 36 - and that it no longer counts… I am guessing this a bug.

This is the user:

http://forum.e-liquid-recipes.com/badges/6/nice-reply?username=ringling

Here is a thread with >3000 replies in it, where a lot of his replies have >10 likes and should be counted…

http://forum.e-liquid-recipes.com/t/just-plain-funnies/63255

If you need any info from me, just shout :slight_smile: He’s pretty torn up about it :stuck_out_tongue:


Badges disappearing
(Lars) #2

I got a message from him today. He got a notification that another one of his replies earned “Nice reply”. His badge count also went from 36 to 37 - Later it went back to 36 again. There is definitely something going on.

Any thoughts?


(Lars) #3

Any ideas?

If at some point I rebake all posts, will that rebuild the badge stuff as well?


(Lars) #4

Since no replies have come I will elaborate a bit:

The badge “Nice reply” is supposed to be automatically granted to replies that gets 10 or more likes.

ringling’s bagde list says his last “Nice reply” badge was granted May 31st.

I just skimmed through some of his replies and these got 10 or more likes:

This reply from July 26th: http://forum.e-liquid-recipes.com/t/just-plain-funnies/63255/3579

This reply from June 22nd: http://forum.e-liquid-recipes.com/t/just-plain-funnies/63255/3352

This reply from June 22nd: http://forum.e-liquid-recipes.com/t/just-plain-funnies/63255/3348

This reply from June 20th: http://forum.e-liquid-recipes.com/t/just-plain-funnies/63255/3333

He says he sometimes gets notified of a new badge, it goes from 36 to 37 and later it goes back to 36 again…

At one point he had a good deal over 200 of them. Now it’s 36.


(Lars) #5

In his badge list the thread “Just plain funnies” is not there at all - And that’s where he has most of his 10-like-posts - Is the badge-thing choking on really long threads?!


(Lars) #6

Heh. I think I may have figured it out, but I am not sure. At one point the post was moved to a restricted area - it now sits under a category that only trust_level_1 and above can access. Is that why it no longer counts?! Shouldn’t it, though?

Incidentally, moving 500 posts results in a “502 Bad Gateway”-message…


(Mittineague) #7

I don’t know about the “bad gateway” but AFAIK badges that involve posts use the “badge posts view” (as in derived database table). So it is very possible that moving those posts into a restricted category could have removed them from “badge posts”.
By any chance, do you know if the “nice reply” badge is “revocable”?


(Lars) #8

OK. I don’t know if I’ll move the topic back - but if I do, I hope the badges re-appear :slight_smile:

I wouldn’t think so, but I don’t really know :slight_smile:


(Jeff Atwood) #9

Possible this is related to @sam’s old work on making badges only work in certain categories, I can’t recall the details.


(Sam Saffron) #10

Well yeah, if any topic is in a restricted area it is no longer a candidate for badges. Category must be accessible by all users of the forum for it to be badgeable.


Badges not being granted for restricted categories
(Jeff Atwood) #11