"chatList" inside of loggedOut.html
Fully customizable web chat created using AJAX.
Brought to you by:
frug,
madblueimp
Hi all
well, I'd want to have the chatList be displayed on the 'loggedOut' page
simply moving 'new' javascripts and
<div id="chatList"></div>
into loggedOut.html does just not work
(I also gave that div tag a z-index of 1024 to make sure it won't be overlapped by another tag)
could someone pls help me getting the chatList displayed?
thanks in advance,
Bird-Kid
Logged In: YES
user_id=1999877
Originator: NO
There is a getOnlineUsers function available and it should be enough to modify some integration code into the login page. I took this from the phpbb3 integration in the wiki:
function getChatOnlineUsers() {
return ($chatInterface = getChatInterface()) ? $chatInterface->getOnlineUsers() : array();
}
I don't have any of the chat code available to me right now, but this should give you an array of the chat users. From there you would just have to display them.
I may take a look at doing this on my own forums if I find time.
hey there
thanks a bunch for the answer, though .. the cbox hasn't been working for over 6 months now
of course we had to take another free cbox instead (unfortunately), as neither reporting our problem here, nor on our hoster's support board could solve it
see: https://sourceforge.net/forum/forum.php?thread_id=2058818&forum_id=774132
afaik the sitiuation was the following:
----------------
connecting ajax cbox to our existing board:
error 12152 (worked at the beginning)
connecting ajax cbox to a completely new board/sql table etc.:
error 12152
connecting ajax cbox to a completely new board/sql table etc. on my PC using some offline-server program thingy:
works!
using standalone version online:
works!
----------------
of course we would love to re-use ur ajax cbox, tho there's no need to worry and to spend hours in trying to solve this 12152 problem, as we got used to our current pre-hosted flash cbox
greetings,
thanks for all the support
and a happy new year!
Bird-Kid