Hi
I have phpfreechat installed and working great in Wordpress, thanks for the plugin.
My site is educational and I use s2Member to create two levels of access, all users are registered, one level can read only the chatroom and the second level can read and write in the chatroom:
1. The simplest solution would be to password protect write to the chatroom and just give s2member Level 2 users the password, however I couldn't find a option for this.
2. Alternatively, I wasn't sure if it was possible to modify the code where the plugin pickups the wordpress registered user and automatically joins them in the chatroom, so that it is 'if user is registered && is a s2member Level 2 then add to chatroom users'. However I'm not sure where the code is that handles the setting Registered Users Only? and whether s2member Level 1 users would just be able to add themselves as a guest anyway because they are also a registered user?
3. Or I have the chatroom in a page only s2member Level 2 users have access to and then add the two widgets phpfreechat Latest Chatter and phpfreechat Who's Online in a page (not the sidebar) s2member Level 1 users have access to. I'd need to have the chat widget inside a div that refreshes using AJAX so that s2member Level 1 users can watch the chatroom in realtime without actually being able to chat.
I'd be very grateful for advise on the best solution, either one of the above or an alternative suggestion, and then a bit of help how to implement.
Many thanks
Katie