We now have /kick, /ban, /block, /invite (more?). I'd like to expose these to users in the Who's online block for the current chat. my thinking is to add 4 radio buttons grouped into an radios form element called Action. The kick and ban actions only appear for admins. Below that, we add a username autocomplete textfield. Below that, a submit button.

One alternative that folks might like is to add a k and b link (right aligned) beside each name in the block. by clicking on those, admins issue the appropriate command. we still would need a username type in field for inviting users and blocking users.

CommentFileSizeAuthor
#10 chatroom.module_8.patch1.81 KBdarren oh

Comments

pacheco’s picture

I saw one beta test for the invite UI that Justin is developing that used that kind of "click one username -> expose options" interface, i belive he will commit that in a feel days.

This other options could be exposed after user's click on some user name in the Who's online block.
That would make the username autocomplete textfield unnecessary.

what do you think?

pacheco’s picture

god, we could fill a room with so many "that"s from my last post, sorry :)

moshe weitzman’s picture

i like that click UI for kick and ban and block. need something else for invite though.

Anonymous’s picture

Assigned: Unassigned »

just assigning this to me.

i like that click UI for kick and ban and block. need something else for invite though.

thats actually invites with the DOM goodness (not committed yet). i agree with the need to add in more help, and with maybe extending the DOM goodness.

moshe weitzman’s picture

any progress here? i'd like to add this to a client site.

Anonymous’s picture

sorry for the delay. should have something committed by sunday night.

Anonymous’s picture

Assigned: » Unassigned
darren oh’s picture

Title: expose hidden commands in local who's online block » Show available commands in block
Component: Code » User interface

Marked issue 75485 as a duplicate of this issue.

darren oh’s picture

Version: master » 4.7.x-1.x-dev
darren oh’s picture

Status: Active » Fixed
StatusFileSize
new1.81 KB

I created a block to list commands on chat pages. If anyone wants to create a more elegant solution, I will accept a patch.

Anonymous’s picture

Status: Fixed » Closed (fixed)