The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Chatbox v2.0

View previous topic View next topic Go down

Chatbox v2.0

Post by Jessica C on December 21st 2011, 11:26 pm

I've followed the directions here but the chatbox is not showing up at all. I've added the HTML page, added the forum widget, pasted code in the CSS stylesheet...pretty much did everything but it's not working :/ I don't know what I did wrong.

Jessica C
Forumember

Female Posts : 86
Reputation : 4
Language : English
Location : Pennsylvania

Back to top Go down

Re: Chatbox v2.0

Post by PorkyPine V10 on December 21st 2011, 11:30 pm

did u allow the widgets to be shown?

PorkyPine V10
Forumember

Male Posts : 387
Reputation : 19
Language : English, Spanish, French, Japanese

http://gfx-creators.forumotion.com/

Back to top Go down

Re: Chatbox v2.0

Post by Jessica C on December 21st 2011, 11:30 pm

Yes.

Jessica C
Forumember

Female Posts : 86
Reputation : 4
Language : English
Location : Pennsylvania

Back to top Go down

Re: Chatbox v2.0

Post by PorkyPine V10 on December 21st 2011, 11:32 pm

did u put the html in a widget? this

Code:
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="PASTE HTML PAGE URL HERE" type="text/javascript"></script>

PorkyPine V10
Forumember

Male Posts : 387
Reputation : 19
Language : English, Spanish, French, Japanese

http://gfx-creators.forumotion.com/

Back to top Go down

Re: Chatbox v2.0

Post by Jessica C on December 21st 2011, 11:34 pm

yes. I told you I did everything in the directions

Jessica C
Forumember

Female Posts : 86
Reputation : 4
Language : English
Location : Pennsylvania

Back to top Go down

Re: Chatbox v2.0

Post by PorkyPine V10 on December 21st 2011, 11:37 pm

hmm, then i dont know, u probably did something wrong, bcuz i just did it and it worked fine

PorkyPine V10
Forumember

Male Posts : 387
Reputation : 19
Language : English, Spanish, French, Japanese

http://gfx-creators.forumotion.com/

Back to top Go down

Re: Chatbox v2.0

Post by Jessica C on December 21st 2011, 11:39 pm

if you go to the HTML page I created: http://www.virtualkid.org/h1-chatbox

I just get a page with the code I pasted. I reckon it's something to do with that.

Jessica C
Forumember

Female Posts : 86
Reputation : 4
Language : English
Location : Pennsylvania

Back to top Go down

Re: Chatbox v2.0

Post by PorkyPine V10 on December 21st 2011, 11:46 pm

hmmm, sorry but i cant figuire out what your problem is

PorkyPine V10
Forumember

Male Posts : 387
Reputation : 19
Language : English, Spanish, French, Japanese

http://gfx-creators.forumotion.com/

Back to top Go down

Re: Chatbox v2.0

Post by Jessica C on December 22nd 2011, 1:16 am

okay...

can someone else help me please??

Jessica C
Forumember

Female Posts : 86
Reputation : 4
Language : English
Location : Pennsylvania

Back to top Go down

Re: Chatbox v2.0

Post by Jessica C on December 23rd 2011, 2:26 am

bump. still having trouble

Jessica C
Forumember

Female Posts : 86
Reputation : 4
Language : English
Location : Pennsylvania

Back to top Go down

Re: Chatbox v2.0

Post by ProphecyCSS on December 23rd 2011, 2:35 am

problem could be did you add your head tags
ex. <head></head>

ProphecyCSS
Forumember

Posts : 97
Reputation : 7
Language : English

Back to top Go down

Re: Chatbox v2.0

Post by Jessica C on December 23rd 2011, 1:41 pm

nope I didn't...I added them and it still hasn't appeared. I went to that HTML page I created and I just get a blank page now

Jessica C
Forumember

Female Posts : 86
Reputation : 4
Language : English
Location : Pennsylvania

Back to top Go down

Same Problem

Post by XDirect12345 on December 29th 2011, 8:19 pm

Yeah, im having the same problem. Also is there anyway to move it to the top right hand corner instead of the bottom right corner? I have a toolbar and im worried that users wont see it.

XDirect12345
Forumember

Male Posts : 361
Reputation : 3
Language : English

http://xdirect12345.forummotion.com

Back to top Go down

Re: Chatbox v2.0

Post by Guest on December 29th 2011, 8:35 pm

you put your colors in hmtl page ? (COLOREHERE)


Guest
Guest


Back to top Go down

Re: Chatbox v2.0

Post by XDirect12345 on December 29th 2011, 9:16 pm

Anony-psychology wrote:you put your colors in hmtl page ? (COLOREHERE)


Yes, I think I added something like this:

-- I added this to my HTML Management
Code:
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: border: 1px solid #FF0000;
box-shadow: 0px 0px 20px #FF0000; border-left: border: 1px solid #FF0000;
box-shadow: 0px 0px 20px #FF0000; 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: #000000; 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:white" 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;}}

-- For my in my widget management
Code:
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="http://xdirect12345.forumotion.com/h2-chatbox" type="text/javascript"></script>

-- I pasted this in my css stylesheet
Code:
.resize_process img.resize_img {
display: inline;
}

Will it work if a wibiya toolbar is displayed? Is there anyway to display it on the top right corner?

XDirect12345
Forumember

Male Posts : 361
Reputation : 3
Language : English

http://xdirect12345.forummotion.com

Back to top Go down

Re: Chatbox v2.0

Post by Guest on December 29th 2011, 9:24 pm

your widgets is "online" ?

Guest
Guest


Back to top Go down

Re: Chatbox v2.0

Post by XDirect12345 on December 29th 2011, 9:32 pm

yep

XDirect12345
Forumember

Male Posts : 361
Reputation : 3
Language : English

http://xdirect12345.forummotion.com

Back to top Go down

Re: Chatbox v2.0

Post by Guest on December 30th 2011, 11:02 am

delete all codes and start again becarefully!

Guest
Guest


Back to top Go down

Re: Chatbox v2.0

Post by XDirect12345 on December 31st 2011, 12:34 am

Ehhh -_-, doesnt look good, still has a few glitches, i'll just make a different popup chat.

XDirect12345
Forumember

Male Posts : 361
Reputation : 3
Language : English

http://xdirect12345.forummotion.com

Back to top Go down

Re: Chatbox v2.0

Post by XDirect12345 on December 31st 2011, 1:46 am

Okay turns out you can make a popup window of the chat and put the code in a forum widget.

XDirect12345
Forumember

Male Posts : 361
Reputation : 3
Language : English

http://xdirect12345.forummotion.com

Back to top Go down

Re: Chatbox v2.0

Post by Jessica C on January 4th 2012, 7:49 pm

Anony-psychology wrote:delete all codes and start again becarefully!

did that. still won't work.

Jessica C
Forumember

Female Posts : 86
Reputation : 4
Language : English
Location : Pennsylvania

Back to top Go down

Re: Chatbox v2.0

Post by Guest on January 4th 2012, 7:52 pm

your forum url ?

Guest
Guest


Back to top Go down

Re: Chatbox v2.0

Post by Jessica C on January 6th 2012, 11:54 pm


Jessica C
Forumember

Female Posts : 86
Reputation : 4
Language : English
Location : Pennsylvania

Back to top Go down

Re: Chatbox v2.0

Post by Derri on January 7th 2012, 12:48 am

I had the exact same issue the other day there when I was creating the add on for virtual kid Jessica, I tried to make the pop up chat and it neverr worked


Forum Rules: :Forumotion Staff: :Appeal A Warning: :FAQ: :Tips & Tricks: :Forgotten Password/Login Issues
You need one post to send a PM
When your topic has been solved, ensure you mark the topic solved
Never post your email in public


Derri
Administrator
Administrator

Male Posts : 8385
Reputation : 576
Language : English & Basic French
Location : Scotland, United Kingdom

Back to top Go down

Re: Chatbox v2.0

Post by lBlacKl on January 8th 2012, 6:19 am

I try it yesterday and it works fine for me might be not following some directions

lBlacKl
Forumember

Male Posts : 202
Reputation : 2
Language : English and Tagalog

http://gfxtutorials.netboarder.com

Back to top Go down

Re: Chatbox v2.0

Post by SLGray on January 8th 2012, 6:31 am

@XDirect12345 wrote:-- For my in my widget management
Code:
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="http://xdirect12345.forumotion.com/h2-chatbox" type="text/javascript"></script>

This could be where you went wrong:

The widget code should be this:
<script src="http://xdirect12345.forumotion.com/h2-chatbox" type="text/javascript"></script>
(Just this.)

SLGray
Administrator
Administrator

Male Posts : 36701
Reputation : 2445
Language : English
Location : United States

http://ztwds.forumotion.com/

Back to top Go down

Re: Chatbox v2.0

Post by Jessica C on January 9th 2012, 10:18 pm

so this should be removed?

Code:
<script src="http://code.jquery.com/jquery-latest.js"></script>

I hope that'll make it work..


EDIT: still doesn't work.

Jessica C
Forumember

Female Posts : 86
Reputation : 4
Language : English
Location : Pennsylvania

Back to top Go down

View previous topic View next topic Back to top


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