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 Coding

View previous topic View next topic Go down

Solved Chatbox Coding

Post by Cain@Xtremlygamersforum on 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

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 on 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
ForumGuru

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

Back to top Go down

Solved It won't work

Post by Cain@Xtremlygamersforum on 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.

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 on April 25th 2013, 5:48 pm

it works on homepage message try

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 on 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
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 on 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

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 on 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:
http://help.forumotion.com/t35636-enabling-html

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

Jophy
ForumGuru

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

Back to top Go down

Solved Re: Chatbox Coding

Post by killerjoe8pie on 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?

killerjoe8pie
New Member

Posts : 1
Reputation : 1
Language : English

Back to top Go down

Solved Re: Chatbox Coding

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

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

Rum
Forumember

Male Posts : 63
Reputation : 0
Language : english

Back to top Go down

Solved Re: Chatbox Coding

Post by Jophy on 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
ForumGuru

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

Back to top Go down

Solved Re: Chatbox Coding

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

Thank You

Rum
Forumember

Male Posts : 63
Reputation : 0
Language : english

Back to top Go down

Solved I got it!

Post by Cain@Xtremlygamersforum on 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:

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™ on April 29th 2013, 4:12 pm

Topic Solved & Locked



Attention!
- Please provide your forum URL at all times.
- When the issue is solved, please mark it as solved.



Sir Chivas™
Support Moderator
Support Moderator

Male Posts : 6756
Reputation : 428
Language : English, Spanish, and French
Location : || CSS || HTML || Graphics Designs || Support ||

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