====== Sms:chat ======
==== Service description ====
**sms:chat** is one more service that can make your website more profiting. Its installation is trivial and
it is easy to implement it to any design; besides, while giving your visitors an opportunity to share
their thoughts online, you raise their interest in your project, rendering it easier to remember and
more likely to re-visit.
==== How does it work ====
Should you decide to spend some time on the sms:chat installation (see below), you will get
convenient facility for accepting SMS-payments for the services you provide. Let your visitors
engage in conversation, participate in quizzes and polls! By taking a creative approach, you will not
only succeed as a webmaster, but also make some profit out of your website.
==== Installation and setup process ====
In order to get started with sms:chat service proceed to the [[http://www.smscoin.net/account/ |Control panel]], [[http://www.smscoin.net/chats/ | Chats]] section. Press
Add to create new sms:chat; carefully fill in the form. Follow the "HTML code" link in your
sms:chat settings and copy/paste the code given into the appropriate place on your webpage; the
installation is now complete! Technical details on the service implementation are given below.
==== Technical info: ====
=== Installation ===
In order to integrate your **sms:chat** with your project, use the following markup (don't
forget to replace chat id with your actual **sms:chat** id.
The markup given must reside at the appropriate place of the target webpage.
=== Adjusting ===
In order to adjust the chat to your needs, use the following optional parameters:
^ Параметр ^ Тип ^ Описание ^ По умолчанию ^
| lang | char(2) | Biliteral \\ language code | RU |
| limit | int | How many messages are displayed | 20 |
| css_path | string | Path to the CSS stylesheet | http://chat.smscoin.com/chat/style.css |
For example, in order to reduce the number of simultaneously displayed messages to
10, use
Instead of //style.css// parameter you should provide the path to Stylesheets saved on
your server.
Providing your own cascading style sheets (CSS) lets you adapt the appearance of the
server to the website design. If necessary you can hide certain elements of the chat. For
example, in order to hide the time when the message was sent and the nickname of the
sender insert the following line in CSS:
.time, .nick { display: none; }
The list of classes in use is given in the [[http://chat.smscoin.com/chat/style.css |original CSS]].
/* sms:chat CSS v1.01 */
.sms_wnd * {
font: 12px 'Arial', sans-serif;
text-align: justify;
}
/* headstrip */
.sms_head {
border-bottom: 1px black dotted;
}
.sms_head a {
color: #800000;
background: inherit;
text-decoration: none;
}
.sms_msg {
color: #0033cc;
background: inherit;
}
.sms_num {
font-weight: bold;
}
/* chat window */
.time {
color: #0033cc;
background: inherit;
}
.nick {
font-weight: bold;
color: #800000;
background: inherit;
}
.message {
font-style: italic;
}
/* instructions */
.sms_iframe {
border: none;
height: 400px;
width: 90%;
}