edivad Posted December 2, 2009 Share Posted December 2, 2009 will you let us do it once it go final? i add: will you allow an api that shows how many users are online on the chat? Link to comment Share on other sites More sharing options...
bfarber Posted December 2, 2009 Share Posted December 2, 2009 We will not be offering a self-hosted option for the first release. This was mentioned in the original chat testing topic: Link to comment Share on other sites More sharing options...
edivad Posted December 2, 2009 Author Share Posted December 2, 2009 than no "online members in chat" api. That is bad imo. Link to comment Share on other sites More sharing options...
bfarber Posted December 2, 2009 Share Posted December 2, 2009 The online count is cached locally in $this->caches['chatting'] - programmatically you can use this local cache in your IPB install to retrieve the members who are online in chat. Link to comment Share on other sites More sharing options...
edivad Posted December 2, 2009 Author Share Posted December 2, 2009 Huhu that is great, thank you Can i ask if there is a variable that keeps the userid(s) of the chatting user or do i have to add it? Link to comment Share on other sites More sharing options...
bfarber Posted December 2, 2009 Share Posted December 2, 2009 The 'chatting' cache keys are the forum user ids, and the array data holds last update timestamp, chat user id (random id assigned on our side) and the members display name. Link to comment Share on other sites More sharing options...
edivad Posted December 2, 2009 Author Share Posted December 2, 2009 rep++; thank you a lot, and thanks to ipb to exist :) Link to comment Share on other sites More sharing options...
Rheddy Posted December 5, 2009 Share Posted December 5, 2009 Guys, I think hosting the chat might be a bad thing. I know that my webhost doesn't allow scripts that abuse their system resources and I know from experience that IPB3 already consumes a lot of server load. I've seen it spike to around 10-15, at the highest. I do know that most webhost providers do have a limit on system resources that you are allowed to consume. I'd rather have it set up this way, as it allows me to have a chat-cased system through my forums as well as not having the problem of high server loads. Link to comment Share on other sites More sharing options...
AtariAge Posted December 8, 2009 Share Posted December 8, 2009 Guys, I think hosting the chat might be a bad thing. I know that my webhost doesn't allow scripts that abuse their system resources and I know from experience that IPB3 already consumes a lot of server load. I've seen it spike to around 10-15, at the highest. I do know that most webhost providers do have a limit on system resources that you are allowed to consume. I'd rather have it set up this way, as it allows me to have a chat-cased system through my forums as well as not having the problem of high server loads. Then don't host it on your server. Just because it's something you don't want to do, doesn't mean there aren't others who wouldn't take advantage of hosting their own chat server. ..Al Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.