You don't need any custom script to open a popup. Mybb has all the function built in. Look at the "Open Buddylist" link.
To open the chatroom in a popup, use something like this.
Quote:<a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/PATH TO CHAT INDEX HERE', 'chatroom', 700, 700);">Chatroom</a>
Thanks, that's allowed me to get it working in a popup. I preferred this
<a href="{$mybb->settings['bburl']}/chat" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/chat/', 'chatroom', 800, 600);return false;">
ie. with the correct address in the href because it looks better when the mouse is hovering over the link, but the "return false" is essential in this case.
Where I can found plugin Who Is On Chat for MyBB 1.6?
I downloaded Ajax chat, but don't know where to put upload the files and install... can anyone help?
Would be even better if it didn't have to use another MySQL database.
You can add it to the existing database using prefixes.
(2010-09-22, 08:40 AM)ecanikajo Wrote: [ -> ]Where I can found plugin Who Is On Chat for MyBB 1.6?
In my sig
(2010-09-09, 02:24 PM)x-Treme Wrote: [ -> ]You don't need any custom script to open a popup. Mybb has all the function built in. Look at the "Open Buddylist" link.
To open the chatroom in a popup, use something like this.
Quote:<a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/PATH TO CHAT INDEX HERE', 'chatroom', 700, 700);">Chatroom</a>
I found that this worked for me :
<a href="#" onclick="MyBB.popupWindow('{$mybb->settings['bburl']}/chat/?action=buddypopup', 'buddyList', 700, 700);">Chatroom</a>
(2010-10-13, 06:33 AM)drankur Wrote: [ -> ]i am not able to download the version 8.3 from sourceforge site, it said link broken.. i am trying to download myBB version
http://sourceforge.net/projects/ajax-chat/files/
I just tried it - I used the choose another mirror link and it worked.
thanks i tried with superb internet and it worked.