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 sound?

View previous topic View next topic Go down

In progress ChatBox sound?

Post by koolkat96 on February 20th 2013, 11:57 am

Hello!

I really love the chatbox we have.But....

Is there way/code/settings to enable sound?

koolkat96
Forumember

Female Posts : 584
Reputation : 7
Language : English
Location : Bangalore, India

http://houkago-tea-time.forumakers.com/

Back to top Go down

In progress Re: ChatBox sound?

Post by zenzo on February 20th 2013, 1:25 pm

are you using fm chat or default

zenzo
Forumember

Posts : 464
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

In progress Re: ChatBox sound?

Post by koolkat96 on February 20th 2013, 1:31 pm

@zenzo wrote:are you using fm chat or default

Huh? What's fm chat? IS it a type of ChatBox?

koolkat96
Forumember

Female Posts : 584
Reputation : 7
Language : English
Location : Bangalore, India

http://houkago-tea-time.forumakers.com/

Back to top Go down

In progress Re: ChatBox sound?

Post by zenzo on February 20th 2013, 1:42 pm

yes a pop up chat box.

read here
http://help.forumotion.com/t88458-how-to-create-a-pop-up-chat-box-fmchat

if your are using default chatbox try this one

on your CSS
Code:
/*BEGIN FMChat Design*/
#fmchat_button {
 /*FMChat Button*/
    width: auto;
    height: auto;
    position: fixed;
    right: 10px;
    bottom: 2px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    -moz-box-shadow: inset 0px 1px 0px 0px #54a3f7;
    -webkit-box-shadow: inset 0px 1px 0px 0px #54a3f7;
    box-shadow: inset 0px 1px 0px 0px #54a3f7;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #007dc1), color-stop(1, #0061a7));
    background: -moz-linear-gradient(top, #007dc1 5%, #0061a7 100%);
    background: -webkit-linear-gradient(top, #007dc1 5%, #0061a7 100%);
    background: -o-linear-gradient(top, #007dc1 5%, #0061a7 100%);
    background: -ms-linear-gradient(top, #007dc1 5%, #0061a7 100%);
    background: linear-gradient(to bottom, #007dc1 5%, #0061a7 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#007dc1', endColorstr='#0061a7',GradientType=0);
    background-color: #007dc1;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    border: 1px solid #124d77;
    display: inline-block;
    color: #ffffff;
    font-weight: bold;
    padding: 6px 24px;
    text-decoration: none;
    text-shadow: 0px 1px 0px #154682;
    cursor: pointer;
    z-index: 999;
}

#fmchat_button:hover {
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #0061a7), color-stop(1, #007dc1));
    background: -moz-linear-gradient(top, #0061a7 5%, #007dc1 100%);
    background: -webkit-linear-gradient(top, #0061a7 5%, #007dc1 100%);
    background: -o-linear-gradient(top, #0061a7 5%, #007dc1 100%);
    background: -ms-linear-gradient(top, #0061a7 5%, #007dc1 100%);
    background: linear-gradient(to bottom, #0061a7 5%, #007dc1 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0061a7', endColorstr='#007dc1',GradientType=0);
    background-color: #0061a7;
}

#fmchat_wrap {
 /*Box surrounding FMChat iFrame*/
    width: 70%;
    height: 60%;
    position: fixed;
    right: 10px;
    bottom: 40px;
    z-index: 999;
    border: 2px solid #bababa;
    -moz-box-shadow: 0px 1px 3px rgba(000,000,000,0.5),
      inset 0px 0px 1px rgba(255,255,255,0.7);
    -webkit-box-shadow: 0px 1px 3px rgba(000,000,000,0.5),
      inset 0px 0px 1px rgba(255,255,255,0.7);
    box-shadow: 0px 1px 3px rgba(000,000,000,0.5),
      inset 0px 0px 1px rgba(255,255,255,0.7);
}

#fmchat_frame {
 /*FMChat iFrame of Chatbox*/
    width: 100%;
    height: 100%;
    border: medium none;
    z-index: 999;
}

.chatbox #submit_button, .chatbox .fmcbutton {
 /*Chatbox "Send" Button*/
    background-color: #EEE;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #EEE), color-stop(100%, #CCC));
    background-image: -webkit-linear-gradient(top, #EEE, #CCC);
    background-image: -moz-linear-gradient(top, #EEE, #CCC);
    background-image: -ms-linear-gradient(top, #EEE, #CCC);
    background-image: -o-linear-gradient(top, #EEE, #CCC);
    background-image: linear-gradient(top, #EEE, #CCC);
    border: 1px solid #CCC;
    border-bottom: 1px solid #BBB;
    border-radius: 3px;
    color: #333;
    font: bold 11px/1 "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Geneva, Verdana, sans-serif;
    padding: 8px 0;
    text-align: center;
    text-shadow: 0 1px 0 #EEE;
    width: auto;
    padding: 5px;
    height: auto !important;
}

.chatbox #message {
  /*Chatbox message box*/
    border: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 0 5px #666 inset;
    -moz-box-shadow: 0 0 5px #666 inset;
    box-shadow: 0 0 5px #666 inset;
    height: 25px;
    line-height: 25px;
    width: 200px;
    text-indent: 5px;
    margin-bottom: 1px;
    cursor: text;
    width: 500px;
}

#fmchat_sticky {
  /*FMChat Sticky Message*/
    background-color: #C9341C;
    border-bottom: 1px solid #C43D3D;
    color: #FFFFFF;
    padding: 5px;
    font-weight: bold;
    z-index: 999;
    height: 2%;
}

#fmchat_sticky.phpbb2_sticky {
        /*FMChat Sticky Message Patch For phpBB2*/
    padding-bottom: 12px !important;
}

.chatbox .right-box.style-buttons {
  /*Remove default buttons - DO NOT EDIT!*/
    display: block !important;
    float: left;
}

.fmchat_pm {
  /*FMChat PM Design*/
    border: 1px solid #CCC;
    color: #666;
    background-color: #E8E8E8;
    background-image: -webkit-gradient(linear,50% 0%,50% 100%,color-stop(0%,#F4F4F4),color-stop(100%,#E0E0E0));
    background-image: -webkit-linear-gradient(#F4F4F4,#E0E0E0);
    background-image: -moz-linear-gradient(#F4F4F4,#E0E0E0);
    background-image: -o-linear-gradient(#F4F4F4,#E0E0E0);
    background-image: linear-gradient(#F4F4F4,#E0E0E0);
    -moz-text-shadow: 0px 1px rgba(255,255,255,0.2);
    text-shadow: 0px 1px rgba(255, 255, 255, 0.2);
    padding: 5px;
    margin-left: 5px;
    margin-right: 5px;
}

.chatbox.punbb .right {
      /*PunBB Design Patch*/
    float: left !important;
}

.chatbox.invision .right {
      /*Invision Patch: Hiding Default Buttons - DO NOT REMOVE*/
    display: none;
}

.chatbox.invision .right.style-buttons {
      /*Invision Patch: Showing Custom Buttons - DO NOT REMOVE*/
    display: block !important;
    float: left !important;
}
/*END FMChat Design*/

add javascript for punbb
Code:
(function () {
window.fmchat_config = {
popup: false,
toggle: 'normal',
title: 'FMChat',
auto_login: true,
replacements: {
'Refresh': 'Reload Chatbox',
'Log in': 'Sign in',
'Log out': 'Sign out',
'Auto refresh': 'Automatically Refresh',
'Archives': 'View Old Messages',
'Without archives': 'Hide Old Messages',
'Message :': ''
},
sticky: 'To pm a member type: /pm <usernames>: Message.',
delay: 2000,
mod_sign: '@',
sound: true,
sound_src: 'http://dc532.4shared.com/img/1284135996/83742a4f/dlink__2Fdownload_2FlAy229Kk_3Ftsid_3D20130220-74346-8cd1d740/preview.mp3',
auto_sound: 'on',
change_title: false,
change_title_value: 'FMChat: New Message!',
see_pms: '',
timeout: true,
forum_version: 'punbb',
bot: {
activated: false,
username: 'Chatbox Bot',
avatar: 'http://i13.servimg.com/u/f13/17/48/49/15/robot10.png'
},
draggable: false
};
})();
var script = document.createElement('script');
script.src = "http://fmquery.forumotion.com/16000.js";
script.type = "text/javascript";
document.head.appendChild(script);

the sound is like facebook chat

zenzo
Forumember

Posts : 464
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

In progress Re: ChatBox sound?

Post by koolkat96 on February 21st 2013, 11:25 am

I tried the FMChat but just one question...........Where does it appear?

koolkat96
Forumember

Female Posts : 584
Reputation : 7
Language : English
Location : Bangalore, India

http://houkago-tea-time.forumakers.com/

Back to top Go down

In progress Re: ChatBox sound?

Post by Sanket on February 21st 2013, 1:33 pm

I believe on the bottom right.

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

In progress Re: ChatBox sound?

Post by koolkat96 on February 21st 2013, 1:53 pm

I can't see it!

koolkat96
Forumember

Female Posts : 584
Reputation : 7
Language : English
Location : Bangalore, India

http://houkago-tea-time.forumakers.com/

Back to top Go down

In progress Re: ChatBox sound?

Post by Sanket on February 21st 2013, 1:55 pm


Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

In progress Re: ChatBox sound?

Post by koolkat96 on February 21st 2013, 1:57 pm

Yes, I did.

I selected this option :FMChat as a Popup (Click a button, a popup comes up). If unchecked, FMChat will replace the default chatbox that appears on your home page: as Yes.

Did I do something wrong?

koolkat96
Forumember

Female Posts : 584
Reputation : 7
Language : English
Location : Bangalore, India

http://houkago-tea-time.forumakers.com/

Back to top Go down

In progress Re: ChatBox sound?

Post by Sanket on February 21st 2013, 1:59 pm

Can you post the codes here which you added?

Is this the forum in question?
http://houkago-tea-time.forumakers.com/

Edit: Did you activate the forumotion chatbox from the admin panel?

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

In progress Re: ChatBox sound?

Post by koolkat96 on February 21st 2013, 3:10 pm

Yes, that is my forum.

And this is the code I used :-
Code:
(function () {
window.fmchat_config = {
popup: true,
toggle: 'fade',
title: 'ShoutBox',
auto_login: false,
replacements: {
'Refresh': 'Reload Chatbox',
'Log in': 'Sign in',
'Log out': 'Sign out',
'Auto refresh': 'Automatically Refresh',
'Archives': 'View Old Messages',
'Without archives': 'Hide Old Messages',
'Message :': ''
},
sticky: 'To pm a member type: /pm <usernames>: Message.',
delay: 2000,
mod_sign: '*',
sound: true,
sound_src: 'http://sd-1.archive-host.com/membres/up/137670929941788204/script/1943.mp3',
auto_sound: 'on',
change_title: false,
change_title_value: 'FMChat: New Message!',
see_pms: 'koolkat96, tonymiller, Daz',
timeout: false,
forum_version: 'punbb',
bot: {
activated: false,
username: 'Chatbox Bot',
avatar: 'http://i13.servimg.com/u/f13/17/48/49/15/robot10.png'
},
draggable: true
};
})();
var script = document.createElement('script');
script.src = "http://fmquery.forumotion.com/16000.js";
script.type = "text/javascript";
document.head.appendChild(script);

Anything wrong with the code I use?

EDIT :- Please lock this topic, I don't need this anymore.
Sorry for the trouble!


Last edited by koolkat96 on February 22nd 2013, 9:58 am; edited 1 time in total

koolkat96
Forumember

Female Posts : 584
Reputation : 7
Language : English
Location : Bangalore, India

http://houkago-tea-time.forumakers.com/

Back to top Go down

In progress Re: ChatBox sound?

Post by Sanket on February 21st 2013, 7:41 pm


Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

In progress Re: ChatBox sound?

Post by zenzo on February 21st 2013, 11:15 pm

@koolkat96 wrote:I can't see it!

if you follow my givin codes it appears at the top where your default chatbox

check also AP>Muodules>Chatbox>Configuration

see it if where you locate it


also in your css check this

Code:
width: auto;
    height: auto;
    position: fixed;
    right: 10px;
    bottom: 2px;

adjust bottom position try higher number 20 or higher than that

zenzo
Forumember

Posts : 464
Reputation : 13
Language : english,tagalog
Location : philippines

Back to top Go down

In progress Re: ChatBox sound?

Post by Sanket on February 22nd 2013, 9:31 am

zenzo, did you read the post I made above?

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.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