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.

Chatbox Coding

+3
Cr4ZyBoY
Jophy
Cain@Xtremlygamersforum
7 posters

Go down

Solved Chatbox Coding

Post by Cain@Xtremlygamersforum April 25th 2013, 3:48 pm

I'm looking for a widget code for a new chatbox. I'm very new to java and html coding and I know a fair bit of batch file coding. But I cannot code an improved version of the chatbox if anyone could do this for me I'd be very grateful. I'm not sure if this is the right topic to post this in but if it is not moderators please move it.

Please make it have all of the commands the old one has and also have a command for a single member to clear his screen but not everyone else's. Like this /clearmyscreen

*You cleared your own chatbox





Last edited by Cain@Xtremlygamersforum on April 25th 2013, 4:24 pm; edited 1 time in total
avatar
Cain@Xtremlygamersforum
New Member

Male Posts : 12
Reputation : 3
Language : English

http://xtremlygamers.forumotion.com/

Back to top Go down

Solved Re: Chatbox Coding

Post by Jophy April 25th 2013, 3:53 pm

Hello,

Please change the title of your topic, that is related to your question/issue, so that other users will be able to find their question/issue using the search engine.

Try the avacweb chat:
http://www.avacweb.com/t532-avacweb-chat
Jophy
Jophy
ForumGuru

Male Posts : 17924
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

Solved It won't work

Post by Cain@Xtremlygamersforum April 25th 2013, 5:40 pm

Thanks for the help but I'm putting the code it gives me into java script, html, widgets managment, ect. The code won't work.
avatar
Cain@Xtremlygamersforum
New Member

Male Posts : 12
Reputation : 3
Language : English

http://xtremlygamers.forumotion.com/

Back to top Go down

Solved Re: Chatbox Coding

Post by Cr4ZyBoY April 25th 2013, 5:48 pm

it works on homepage message try
Cr4ZyBoY
Cr4ZyBoY
Forumember

Male Posts : 141
Reputation : 6
Language : English
Location : Israel

http://www.iron-players.forumhe.com

Back to top Go down

Solved Re: Chatbox Coding

Post by BL-Khane April 25th 2013, 5:54 pm

Try this

Modules > Portal & Widgets > Forum Widget Management> Create Widget
Add this Code:
Code:
 <style type="text/css">
/*<![CDATA[*/
  div.c4 {z-index: 10000; position: fixed; bottom: -5pt; right: -5pt;}
  iframe.c3 {width: 850px; height: 350px; display: none; border-top: 3px solid rgb(148, 11, 11); border-left: 3px solid rgb(148, 11, 11); border-bottom: 10px solid rgb(148, 11, 11); border-right: 10px solid rgb(148, 11, 11);}
  div.c2 {font-size: 12px; font-family: 'trebuchet ms',serif; cursor: pointer; padding: 3px;}
  span.c1 {color: red;}
  /*]]>*/
  </style>

  <div id="chatbox_ret_cont" onmouseout="" onclick="" onmousever="" class="c4">
    <div onclick=
    "(document.getElementById('chatbox_ret').style.display=='block')?my_setcookie('chatbox_ret','0',0,0):my_setcookie('chatbox_ret','1',1,0); $('#chatbox_ret').toggle('normal');"
    class="c2">
      <img src="http://i1356.photobucket.com/albums/q739/Cristian_Lee_Agustin/Chatbox_zps2cbd0393.png" />
    </div>
<iframe scrolling="no" frameborder="1" onload=
    "if(cb_new) { cb_start(); cb_new=0; };" class="c3" marginheight="0" marginwidth="0"
    name="chatbox_ret" id="chatbox_ret" src="/chatbox/index.forum"></iframe>
  </div>
BL-Khane
BL-Khane
New Member

Male Posts : 16
Reputation : 1
Language : English
Location : Philippines

Back to top Go down

Solved Still, all codes won't work

Post by Cain@Xtremlygamersforum April 25th 2013, 6:56 pm

BL-Khane wrote:Try this

Modules > Portal & Widgets > Forum Widget Management> Create Widget
Add this Code:
Code:
 <style type="text/css">
/*<![CDATA[*/
  div.c4 {z-index: 10000; position: fixed; bottom: -5pt; right: -5pt;}
  iframe.c3 {width: 850px; height: 350px; display: none; border-top: 3px solid rgb(148, 11, 11); border-left: 3px solid rgb(148, 11, 11); border-bottom: 10px solid rgb(148, 11, 11); border-right: 10px solid rgb(148, 11, 11);}
  div.c2 {font-size: 12px; font-family: 'trebuchet ms',serif; cursor: pointer; padding: 3px;}
  span.c1 {color: red;}
  /*]]>*/
  </style>

  <div id="chatbox_ret_cont" onmouseout="" onclick="" onmousever="" class="c4">
    <div onclick=
    "(document.getElementById('chatbox_ret').style.display=='block')?my_setcookie('chatbox_ret','0',0,0):my_setcookie('chatbox_ret','1',1,0); $('#chatbox_ret').toggle('normal');"
    class="c2">
      <img src="http://i1356.photobucket.com/albums/q739/Cristian_Lee_Agustin/Chatbox_zps2cbd0393.png" />
    </div>
<iframe scrolling="no" frameborder="1" onload=
    "if(cb_new) { cb_start(); cb_new=0; };" class="c3" marginheight="0" marginwidth="0"
    name="chatbox_ret" id="chatbox_ret" src="/chatbox/index.forum"></iframe>
  </div>

It's so strange it won't work either! I'd love it if I had an admin on my side who could help me with this stuff Razz
avatar
Cain@Xtremlygamersforum
New Member

Male Posts : 12
Reputation : 3
Language : English

http://xtremlygamers.forumotion.com/

Back to top Go down

Solved Re: Chatbox Coding

Post by Jophy April 26th 2013, 5:17 am

Jophy wrote:Hello,

Please change the title of your topic, that is related to your question/issue, so that other users will be able to find their question/issue using the search engine.

Try the avacweb chat:
http://www.avacweb.com/t532-avacweb-chat
That should work since this already installed on so many forums, make sure you put the codes correctly, try enabling your HTML first:
https://help.forumotion.com/t35636-enabling-html

Also, make sure you enable your Javascript:
Admin panel > Modules > Javascript Management > Enable Javascript > Save
Jophy
Jophy
ForumGuru

Male Posts : 17924
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

Solved Re: Chatbox Coding

Post by killerjoe8pie April 26th 2013, 4:38 pm

Jophy wrote:Hello,

Try the avacweb chat:
http://www.avacweb.com/t532-avacweb-chat

I tried this, but for some reason, I just get a blank white screen when trying to go to the website. Could you possibly post the java code here please?
avatar
killerjoe8pie
New Member

Posts : 1
Reputation : 1
Language : English

Back to top Go down

Solved Re: Chatbox Coding

Post by Rum April 28th 2013, 3:02 pm

You just put this code in the javascript code box and click submit correct?
Rum
Rum
Forumember

Male Posts : 63
Reputation : 0
Language : english

Back to top Go down

Solved Re: Chatbox Coding

Post by Jophy April 29th 2013, 7:03 am

Rum wrote:You just put this code in the javascript code box and click submit correct?
Yes.
Admin Panel > Modules > Javascript Codes management > Create a new one.

Make sure to enable javascript there too.

Just follow what is provided on the tutorial. Wink
Jophy
Jophy
ForumGuru

Male Posts : 17924
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

Solved Re: Chatbox Coding

Post by Rum April 29th 2013, 7:08 am

Thank You
Rum
Rum
Forumember

Male Posts : 63
Reputation : 0
Language : english

Back to top Go down

Solved I got it!

Post by Cain@Xtremlygamersforum April 29th 2013, 4:11 pm

I've figured how to make it work, but I still can't add new commands. Good enough :wouhou:
avatar
Cain@Xtremlygamersforum
New Member

Male Posts : 12
Reputation : 3
Language : English

http://xtremlygamers.forumotion.com/

Back to top Go down

Solved Re: Chatbox Coding

Post by Sir Chivas™ April 29th 2013, 4:12 pm

Topic Solved & Locked
Sir Chivas™
Sir Chivas™
Helper
Helper

Male Posts : 6965
Reputation : 457
Language : EN, FR, ES
Location : || CSS || HTML || Graphics Designs || Support ||

Back to top Go down

Back to top


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