* Graham In the "social" blocks There is now a "chat" function
This is all the information I have at this time more to follow as I get it

Chat Translations
To translate the heading texts for the chat function first create a folder in your main file browser (root directory)
_xtgem_translations
Then create a plain text file named xtchat
Copy this code to xtchat
login_or_signup_to_post=Please <a href="{a:1}">login</a> or <a href="{a:2}">signup</a> in order to chat
provide_community_name=Please provide community name
name_submit=Submit
confirm_email_first=Please confirm your email before posting
enter_your_name=Enter your name
name_already_registered=This name is already registered!
posting_as=You are chatting as
message=Your message
submit_message=Send
refresh_every_x_seconds=Refresh every {a:1} seconds
refresh_every_x_minutes=Refresh every {a:1} minutes
set_refresh=Set refresh
please_enter_captcha=Please enter the text you can see on the image below
captcha_code=Code
captcha_submit=OK
no_messages=There are no messages
online=Online
view_user_profile=View {a:1} profile
guests=Guests

Copy code

The format of the translations is: translation_key = translation_text // comment
Each translation must be on a separate line

If the xtchat file exists no default translations for chat will be loaded unless you delete this file.

Chat css (form only)

Currently the css can only be overridden by adding to your xtgem_template or global_stylesheet files and using !important to override the default css (hopefully this will change)
Here is the current css
/* Chat posting message container default font */

            .xt_chat_write_a_message
            {
                font-family: sans-serif;
                font-size: small;
            }

            /* Submit buttons (using default XtGem colors) */
            .xt_chat_write_a_message .xt_button
            {
                -webkit-appearance: none;
                height: 28px;
                line-height: 28px;
                margin: 0;
                padding: 0 4px;
                overflow: visible;
                font-size: 12px;
                font-weight: bold;
                text-align: center;
                vertical-align: top;
                white-space: nowrap;
                background-color: #86c219;
                color: #fff;
                border: 0;
                cursor: pointer;
                font-family: sans-serif;
                border-radius: 0;
            }

            /* Text input and select */

            .xt_chat_write_a_message .xt_input input[type="text"], .xt_chat_write_a_message .xt_chat_controls select
            {
                height: 24px;
                margin: 0;
                padding: 0;
                border-radius: 0;
            }

                .xt_chat_write_a_message .xt_chat_controls select
                {
                    margin-top: 5px;
                }

            /* Default focus state */

            .xt_chat_write_a_message input:focus
            {
                outline-width: 2px;
            }

            /* Error message default look */

            .xt_chat_write_a_message .xt_chat_error
            {
                display: inline-block;
                padding: 2px;
                margin-top: 5px;
                margin-bottom: 5px;
                font-size: 12px;
                text-align: left;
                background-color: #febebe;
                color: #930b0d;
            }

            .xt_chat_write_a_message #xt_chat_captcha_holder
            {
                margin: 0 0 5px 0;
            }

Copy code
2014-06-12 19:00 (edited 2014-06-14 23:40 by Graham ) · (0)

Online: Guests: 1