Creating multiple chat rooms and tracking these with 'Who is chatting' block
matshep1 - December 24, 2008 - 22:43
| Project: | phpfreechat |
| Version: | 5.x-1.2 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Hi,
First of all I would like to thank everyone who has worked on this module. The latest release has solved a lot of issues for me and is working very nicely on my site.
One issue that I have not yet managed to figure out is how to create several nodes each with their own chat room that can be tracked by one 'Who is chatting' block. It seems if I create more than one chat room (using seperate nodes) then the 'Who is chatting block' ceases to function. Right now the block works fine when I have just one chat room.
If anyone could provide me with some guidance on how to do this it would be very much appreciated.
With thanks,
Mat

#1
The "who is chatting" block code isn't very well-written. I did it in a quick-and-dirty way because fixing the bugs was higher priority, and the "who is chatting" logic can potentially be very complex. So basically, the module can't currently do what you want, and I don't think I'm going to have the time to add this. Maybe someone else will want to.
Note that I'm going to be uploading an update later this week that you should use. It enables some features in the admin panel that don't currently work and - most importantly - it fixes a bad bug that overloads the server with hugely long queries to the sessions table. When the chat on my site got very active, my Web host temporarily shut down my account because the overly long queries threatened the stability of the shared server. So it's an important update, coming shortly. I've already fixed it in my copy - I just need to package it up.
#2
Thanks for that information. Keep up the good work.
#3
Somebody introduced me to the idea of funded contributions recently. People can chip in to pay an open source developer to create new features. I might try to set that up for this and similar requests. Or you can just email me and offer me money and that will certainly move the project up on my to-do list. :)