2012-02-11, 12:36 PM
I've built PHP & Ajax Chatroom. It works pretty good, except I don't know how to integrate this so on the users who signed up on the forums can use it only.
I'm guessing I'd need to use the MyBB Cookies or Sessions, but I'm really kinda new to PHP to be able to think this through. (I'm good with javascript though)
Let's say the forum is on http://example.com/forum, and the chat is on http://example.com/chat. How can I get this chat room to work so it displays the current users on that page, and only allow the users to chat in it?
I'm guessing I'd need to use the MyBB Cookies or Sessions, but I'm really kinda new to PHP to be able to think this through. (I'm good with javascript though)
Let's say the forum is on http://example.com/forum, and the chat is on http://example.com/chat. How can I get this chat room to work so it displays the current users on that page, and only allow the users to chat in it?