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.

Custom chatbox error

View previous topic View next topic Go down

Custom chatbox error

Post by meghrajbaria on March 3rd 2012, 12:30 pm

Hello, i want to add a custom chatbox to my forum. I made a CHAT ROOM forum where there will be many chatrooms to reduce load. But, when i add the HTML code in a new topic, it doesn't come (only the codes show up!). I tried to press the a/A button, but i can see the chatbox only in the message field, but when i SEND it, it doesn't show up. Below is the HTML CODE for chatbox:
Code:
<script type="text/javascript" language="JavaScript">
document.writeln('<iframe src="http://www.spinchat.com/cb/start?chn=Gaming%20Debates%20Chatroom;srv=1;cat=3;id=AL9FtyNl4RGREPN34-3XMA;st=1;w=640;h=480;url='+escape(location)+'" width="640" height="480" border="0" frameborder="0"></iframe>');
</script><noscript>
<iframe src="http://www.spinchat.com/cb/start?chn=Gaming%20Debates%20Chatroom;srv=1;cat=3;id=AL9FtyNl4RGREPN34-3XMA;st=1;w=640;h=480" width="640" height="480" border="0" frameborder="0">
</iframe></noscript><br>Get your own chat on spinchat.com!

Help will be appreciated Very Happy

meghrajbaria
New Member

Posts : 13
Reputation : 1
Language : English

Back to top Go down

Re: Custom chatbox error

Post by LGforum on March 3rd 2012, 2:09 pm

Why are you adding it to a topic? Add it to a widget or announcement.

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Re: Custom chatbox error

Post by meghrajbaria on March 3rd 2012, 2:10 pm

I've made different chatzones, like general discusison chat, gaming chat, ps chat .. .so thats the reason :d

meghrajbaria
New Member

Posts : 13
Reputation : 1
Language : English

Back to top Go down

Re: Custom chatbox error

Post by Klemen on March 3rd 2012, 2:25 pm

You could make a few different html pages (for each of your chatzone one) and put the script in there. Then add each HTML page into the navigation bar.

Just a suggestion...

Klemen
Forumember

Male Posts : 292
Reputation : 32
Language : English, German, Slovene

http://www.bannedbrotherhood.com

Back to top Go down

Re: Custom chatbox error

Post by meghrajbaria on March 3rd 2012, 3:23 pm

I want to add them in topics, not navigation bar... visit my forum at http://www.gamingdebates.co.cc then go to CHAT ZONE ... i want to make topics there and add chatboxes there

meghrajbaria
New Member

Posts : 13
Reputation : 1
Language : English

Back to top Go down

Re: Custom chatbox error

Post by LGforum on March 4th 2012, 3:29 am

Depends if javascript works inside posts?
And EVEN if it does, document.write might not.

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

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