The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

problem for pop out chat box

3 posters

Go down

Solved problem for pop out chat box

Post by Guest October 8th 2011, 9:54 am

my forum url is

global-greece.snob.tv

and i want create a pop out chat box

https://help.forumotion.com/t88458-how-to-create-a-pop-out-chat-box-v20?highlight=Pop+-Out+Chat+Box


but i cant ... my forum verision is phpbb2 any help ?

http://global-greece.snob.tv/h1-page for chat pop out ??

please help me study


Last edited by Anony-psychology on October 10th 2011, 9:08 pm; edited 1 time in total
avatar
Guest
Guest


Back to top Go down

Solved Re: problem for pop out chat box

Post by LGforum October 8th 2011, 4:52 pm

Just follow the tutorial carefully.
Does it not work for phpbb2?

It doesn't state anywhere that it doesn't work for phpbb2.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: problem for pop out chat box

Post by Guest October 10th 2011, 12:08 pm

i Follow the tutorial carefully !!!!

but i cant do it !!

please give me the code..


color for "color here " is

#EBFEFF

for everything color code


avatar
Guest
Guest


Back to top Go down

Solved Re: problem for pop out chat box

Post by Nera. October 10th 2011, 3:38 pm

Hi,

The chat works fine on phpBB2, I have tried it. What do you want to change color of? The chat will be customized according to the skin you are using.
Nera.
Nera.
Energetic

Female Posts : 7078
Reputation : 2017
Language : English
Location : -

Back to top Go down

Solved Re: problem for pop out chat box

Post by Guest October 10th 2011, 4:49 pm

not play the code nera ...

give me your forum code to trie ...
avatar
Guest
Guest


Back to top Go down

Solved Re: problem for pop out chat box

Post by Guest October 10th 2011, 8:59 pm

Activate the ChatBox : YES

ChatBox display : do not desplay


html page :

title : Chatbox

header and footer ? : NO

Use this page as homepage ? : NO

CODE :

Code:
Report abuse

var cb_new=1;
var cbmp3='http://bit.ly/rupblD';
jQuery(document).ready(function(){
jQuery('body').append('<span id="cbalarm"></span>');
});
jQuery('body').append('<div style="border-top: 7px solid #EBFEFF;border-left: 7px solid #EBFEFF; border-radius: 20px 0 0 0; z-index: 10000; -moz-border-radius: 20px 0 0 0; -webkit-border-radius: 20px 0 0 0; background-color: #EBFEFF; position: fixed; bottom: 0px; right: 0px;" onMousever="stopINT()" onClick="stopINT()" onClick="stopINT()" onMouseOut="stopINT()" id="chatbox_ret_cont"><div style="font-size: 12px; font-family: \'trebuchet ms\', serif; cursor: pointer; padding: 3px;"  onClick="(document.getElementById(\'chatbox_ret\').style.display==\'block\')?my_setcookie(\'chatbox_ret\',\'0\',0,0):my_setcookie(\'chatbox_ret\',\'1\',0,0); jQuery(\'#chatbox_ret\').toggle(\'normal\');"><span style="color:black" id="chat1">ChatBox</span><span id="chat2"></span></div><iframe src="/chatbox/index.forum" id="chatbox_ret" name="chatbox_ret" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" style="width: 740px; height: 400px; display: none;" onLoad="if(cb_new) { cb_start(); cb_new=0; }"></iframe></div>')
if(parseInt(my_getcookie('chatbox_ret'))==1) document.getElementById('chatbox_ret').style.display='block';
if(!document.getElementById('i_icon_mini_login')){var oldCCB;var oldDCB;var pageTitle=document.title; var INTCB;function stopINT(){ if(INTCB!=undefined){clearInterval(INTCB);document.title=pageTitle;} return true;} function checkCB(){ if(parent.chatbox_ret.connected){ if(parent.chatbox_ret.document.getElementById('chatbox_members').childNodes.length==2) { if(parent.chatbox_ret.document.getElementById('chatbox_members').childNodes[0].className=='member-title away') { document.getElementById('chat1').innerHTML="Chat";document.getElementById('chat2').innerHTML="Box"; } else { document.getElementById('chat2').innerHTML="Box";document.getElementById('chat1').innerHTML="Chat"; } } else if(parent.chatbox_ret.document.getElementById('chatbox_members').childNodes.length>2) { document.getElementById('chatbox_ret_online').innerHTML=parent.chatbox_ret.document.getElementById('chatbox_members').childNodes[1].childNodes.length;document.getElementById('chatbox_ret_offline').innerHTML=parent.chatbox_ret.document.getElementById('chatbox_members').childNodes[5].childNodes.length; }
 parent.chatbox_ret.document.getElementById('refresh_auto').checked=true; var newDCB= parent.chatbox_ret.document.getElementById('chatbox').childNodes[ parent.chatbox_ret.document.getElementById('chatbox').childNodes.length-1].firstChild.innerHTML; if(newDCB!=oldDCB){oldDCB=newDCB;var newCCB= parent.chatbox_ret.document.getElementById('chatbox').childNodes[ parent.chatbox_ret.document.getElementById('chatbox').childNodes.length-1].childNodes[2].innerHTML; stopINT();if(newCCB!=oldCCB){ oldCCB=newCCB; jQuery('#cbalarm').html('<object id="cbalarm" type="application/x-shockwave-flash" data="http://tinyurl.com/minidew-fa" width="0" height="0" style="visibility:hidden"><param name="movie" value="http://tinyurl.com/minidew-fa" /><param name="flashvars" value="mp3='+cbmp3+'&autoplay=1" /></object>');INTCB=setInterval("document.title=(document.title==pageTitle)?'!!! New Message !!!':pageTitle;",500); setTimeout('stopINT()',300000);}}}else {  stopINT();}} function cb_start() { if(parent.chatbox_ret.connected) { oldDCB= parent.chatbox_ret.document.getElementById('chatbox').childNodes[ parent.chatbox_ret.document.getElementById('chatbox').childNodes.length-1].firstChild.innerHTML;oldCCB= parent.chatbox_ret.document.getElementById('chatbox').childNodes[ parent.chatbox_ret.document.getElementById('chatbox').childNodes.length-1].childNodes[2].innerHTML; } else { oldDCB=''; oldCCB=''; } setInterval('checkCB()',1000); parent.chatbox_ret.onfocus= parent.chatbox_ret.onkeypress= parent.chatbox_ret.onclick= parent.chatbox_ret.onblur=stopINT;}}


NEXT ...

Display forum widgets : YES

Widget name : Chatbox v2.0

Widget title : Leave this blank!

CODE :

<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="http://global-greece.snob.tv/h1-page" type="text/javascript"></script>


AND ADD THIS CODE IN CSS

.resize_process img.resize_img {
display: block;
}



avatar
Guest
Guest


Back to top Go down

Solved Re: problem for pop out chat box

Post by Guest October 10th 2011, 9:07 pm

:wouhou:

very thanks my friend

solved
avatar
Guest
Guest


Back to top Go down

Solved Re: problem for pop out chat box

Post by kirk October 10th 2011, 10:35 pm

Since the topic was marked as solved, i will now lock.
kirk
kirk
Forumaster

Male Posts : 11037
Reputation : 653
Language : English,Vulcan,Klingon, Romulan,& Gorn

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum