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.

Custom chatbox error

3 posters

Go down

Custom chatbox error Empty Custom chatbox error

Post by meghrajbaria 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
avatar
meghrajbaria
New Member

Posts : 13
Reputation : 1
Language : English

Back to top Go down

Custom chatbox error Empty Re: Custom chatbox error

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

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

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

Back to top Go down

Custom chatbox error Empty Re: Custom chatbox error

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

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

Posts : 13
Reputation : 1
Language : English

Back to top Go down

Custom chatbox error Empty Re: Custom chatbox error

Post by Klemen 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
Klemen
Forumember

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

http://www.bannedbrotherhood.com

Back to top Go down

Custom chatbox error Empty Re: Custom chatbox error

Post by meghrajbaria 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
avatar
meghrajbaria
New Member

Posts : 13
Reputation : 1
Language : English

Back to top Go down

Custom chatbox error Empty Re: Custom chatbox error

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

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

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

Back to top Go down

Back to top

- Similar topics

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