Displaying users in rooms (cBB chat 1.1.3)


no_avatar
lexter
 
Posts: 2
Joined: Fri Mar 17, 2017 4:38 pm
 Thu Mar 30, 2017 11:38 am • via Web
Its possible to hide user`s name in a list when this user switches to another room?

As for me, the best solution would be an addition class with a general room number to span class="js-user-{YOUR_USER_NUMBER}". The room number will change to number of other room when you click on a other room`s tab. The main point is to show users in a list with the active room number in a user span class.
Then after chat refresh all lists in all rooms should be updated to show correct number of users in each room.

Can you add this in next version?
User avatar
IvanPF
Administrator
 
Posts: 2010
Joined: Fri Jun 17, 2011 12:15 am
Location: España (Spain)
 Thu Mar 30, 2017 1:05 pm • via Web
Hi,

It is not easy to implement due to the structure of the chat, but I will review it for the next version. If possible, I will add it.
no_avatar
lexter
 
Posts: 2
Joined: Fri Mar 17, 2017 4:38 pm
 Sun Apr 02, 2017 10:40 pm • via Web
See your email for my rough example of solution.
Maybe it will help you to implement this

p.s.
the chat structure is perfect for modifications. Thank you for your work!

Who is online

Users browsing this forum: No registered users and 0 guests