I've just set phpfreechat (using beta9 as the docs specify). Brilliant work there! Very nice.

My issue is I don't seem to be able to find a way to moderate a chat channel. On Firefox I'm connecting as the default Drupal admin user. In Opera I'm connecting as another (ordinary, unprivileged but still registered) user. As the admin user, I don't see a way to be able to boot the unprivileged user out of the room. (I may be wrongly assuming that 'moderate' means to be able to give unwanted chatters the heave-ho.)

Please let me know what I might be overlooking, and/or clarify what is meant by 'moderate' if I've misunderstood this. Thanks!

Comments

owen barton’s picture

I think you are looking for:
/kick username
(incluse the /)

LoongFei’s picture

Ah cool, very IRC-like. Nice. :)

Er, hang on a sec. I just tried it and got "You are not allowed to run 'kick' command". Interestingly, I'm logged in as the site admin. And as near as I can tell, I should have the appropriate privs. Or?

udvranto’s picture

Version: 5.x-1.x-dev » 4.7.x-1.x-dev

I am having the same problem and I am using 4.7.x!

udvranto’s picture

Replace all the occurrences of user_access("admin phpfreechat") to user_access("moderate chat channels"). Then clear the cache. This should do the trick. But it still says "you are not allowed to run the /kick" command. At the time of testing there was no user in it.

owahab’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)

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