plots2 icon indicating copy to clipboard operation
plots2 copied to clipboard

Banned user still showing up as a "top answerer"

Open ebarry opened this issue 7 years ago • 7 comments

Please describe the problem (or idea)

I was on this page: https://publiclab.org/questions/pataxte/11-14-2018/any-pole-photos-of-community-gardens and saw a profile name in the sidebar that turned out to be a banned user:

Screen Shot 2019-10-15 at 2 39 27 PM

What did you expect to see that you didn't?

I expected to not see any banned users featured on our website.

Please show us where to look

https://publiclab.org/questions/pataxte/11-14-2018/any-pole-photos-of-community-gardens

Thank you for any ideas!

ebarry avatar Oct 15 '19 18:10 ebarry

The banned user also appears in the comments. Should the user comments be removed as well?

simonastefan avatar Oct 16 '19 21:10 simonastefan

Yes, comments by a banned user should be hidden from the site. Thanks @simonastefan !

ebarry avatar Oct 31 '19 17:10 ebarry

Hi, wanted to check in on this. What's the status? I'm about to post a similar issue about when a comment is marked as spam, it should also ban the user.

steviepubliclab avatar Jan 07 '20 14:01 steviepubliclab

when a comment is marked as spam, it should also ban the user.

I believe that is already the case.

As for this issue, shall we just remove that section "Top answerers"?

https://github.com/publiclab/plots2/blob/e09dba207359887bc0ce7e233156a3c621f3abbc/app/views/sidebar/_question.html.erb#L17-L25

If so, this can be marked as an FTO. Thanks!

jywarren avatar Jan 07 '20 22:01 jywarren

@jywarren instead of removing the top answerers, we can try checking if the user is banned or not and then while iterating the list we can choose to display names of non-banned users only.. If this sounds okay I would be interested to take it up :)

priyanka-choubey avatar Jan 17 '20 16:01 priyanka-choubey

Sure, that sounds good! Thank you!

On Fri, Jan 17, 2020 at 11:54 AM priyanka choubey [email protected] wrote:

@jywarren https://github.com/jywarren instead of removing the top answerers, we can try checking if the user is banned or not and then while iterating the list we can choose to display names of non-banned users only.. If this sounds okay I would be interested to take it up :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/publiclab/plots2/issues/6476?email_source=notifications&email_token=AAAF6J6UGY6KSSQQDHPOXCLQ6HPFTA5CNFSM4JBAQA62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJIJX2I#issuecomment-575708137, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAF6J6K2LPJXATOYI4ER5DQ6HPFTANCNFSM4JBAQA6Q .

jywarren avatar Jan 17 '20 20:01 jywarren

Is this Issue still open?? @priyanka-choubey @jywarren

keshavsethi avatar Feb 12 '20 08:02 keshavsethi