Chatpod bot
Page 1 of 1
Chatpod bot
Is there a way to add a chatpod bot to the chatpod, that says like: "Hello", "Welcome" "welcome" when a new user comes in?
Re: Chatpod bot
Thanks. Do I need to include the other HTML codes? or have you already fixed that. And I don`t understand where it shows how to make a bot. I`ll try the other link, though.
Re: Chatpod bot
Yeah. I just found that. I generated the code, but nothing happened. I added it into a widget, and I added the CSS, but nothing came up.
Re: Chatpod bot
Nothing changed. no chat appeared, and the original one didn`t change. I set the code for phpBB3, and still nothing. I even put the CSS code at the bottom of the style sheet.
Here are the codes i`m using:
Java script:
CSS code:
Here are the codes i`m using:
Java script:
- Code:
(function () {
window.fmchat_config = {
popup: true,
toggle: 'normal',
title: 'RPM Chat',
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: '',
delay: 2000,
mod_sign: '@',
sound: false,
sound_src: 'http://sd-1.archive-host.com/membres/up/137670929941788204/script/1943.mp3',
auto_sound: 'off',
change_title: false,
change_title_value: '',
see_pms: '♠♠KingOfSpades♠♠, Nanoad',
timeout: true,
forum_version: 'phpBB3',
bot: {
activated: true,
username: 'RPM 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);
CSS code:
- 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*/
Re: Chatpod bot
Rideem3 wrote:What original one? Are you talking about the old FMChat? You must delete everything of the old FMChat to install this.
I mean the one that came with the site.
Re: Chatpod bot
Yes. The Oekaki didn`t work, because I didn`t code it properly, and I didn`t have time to remove it. I also realized that the chat works fine on Chrome, but won`t come up on EI9. Thanks for adding the chat, and deleting one of those two codes. I wasn`t the one who named them, so I had no clue what they were, and I didn`t want to do anything, until I knew what they did/were. But all the chat bot says is: Example logged on 12:00AM m/d/y. Is it supposed to do anything more?
Re: Chatpod bot
It only "announces" who enters the chat.Rideem3 wrote:It's not supposed to. It just makes a fake user to announce the other things.
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum