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 Thu Apr 25, 2013 8:48 am

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 Thu Apr 25, 2013 9:24 am; 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 Thu Apr 25, 2013 8:53 am

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 : 17922
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

Solved It won't work

Post by Cain@Xtremlygamersforum Thu Apr 25, 2013 10:40 am

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 Thu Apr 25, 2013 10:48 am

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 Thu Apr 25, 2013 10:54 am

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 Thu Apr 25, 2013 11:56 am

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 Thu Apr 25, 2013 10:17 pm

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 : 17922
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

Solved Re: Chatbox Coding

Post by killerjoe8pie Fri Apr 26, 2013 9:38 am

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 Sun Apr 28, 2013 8:02 am

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 Mon Apr 29, 2013 12: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 : 17922
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

Solved Re: Chatbox Coding

Post by Rum Mon Apr 29, 2013 12: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 Mon Apr 29, 2013 9:11 am

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™ Mon Apr 29, 2013 9:12 am

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

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

https://aforums.org

Back to top Go down

Back to top

- Similar topics

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