Hi there,

I am unable to find any way to unban/unblock a user if kicked or banned.

From what I am able to tell from other threads, (e.g. http://drupal.org/node/82517), unbanning is done via the edit interface for the chat or chatroom node in question.

Unfortunately, I have no such option included in the edit interface (6.x-2.12 OR 6.x-2.x-dev). Also, I note that I'm basing this on a thread from 2006.. Anyone with some more recent experience?

Thanks.

CommentFileSizeAuthor
#3 unban-967384-3.patch2.32 KBgilgabar

Comments

Anonymous’s picture

i'll see if i can reproduce this. thanks for the report.

guysung’s picture

I am having same issue. How do I un-ban a banned user or unblock a user who was kicked out of a chat?

gilgabar’s picture

Component: User interface » Code
Status: Active » Needs review
StatusFileSize
new2.32 KB

It doesn't work because it is not implemented. There is a stubbed out form implementation for unbanning that uses the wrong variables, but otherwise there does not appear to be any code that handles unbanning or unkicking. The attached patch fixes the chat form implementation and adds some handling for the actual unbanning. It does not deal with unkicking.

The chatroom node type also appears to have some stubbed code for unbanning, but as I am unable to see how it is possible to ban a user from a chatroom node I did not bother implementing that.

Anonymous’s picture

thanks for the patch, i'll review shortly.

Anonymous’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.