Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Haazi

    (@haazi)

    I have found a workaround for second issue: copy folder /wp-content/plugins/wp-shoutbox-live-chat/img to /wp-content/plugins/shoutbox/img

    …or you may change in file wp-shoutbox-live-chat/js/shoutbox-core.js line:
    var replace = '<img src="/wp-content/plugins/shoutbox/img/'+Shoutbox['smilies'][smile]+'" alt="'+Shoutbox['smilies'][smile]+'"/>'
    with:
    var replace = '<img src="/wp-content/plugins/wp-shoutbox-live-chat/img/'+Shoutbox['smilies'][smile]+'" alt="'+Shoutbox['smilies'][smile]+'"/>'

    and in file wp-shoutbox-live-chat/js/shoutbox-init.js line:
    string += '<div class="shoutbox-smile-container shoutbox-smile" title="'+smile+'"><img src="/wp-content/plugins/shoutbox/img/'+Shoutbox['smilies'][smile]+'" alt="'+Shoutbox['smilies'][smile]+'"/></div>'
    with:
    string += '<div class="shoutbox-smile-container shoutbox-smile" title="'+smile+'"><img src="/wp-content/plugins/wp-shoutbox-live-chat/img/'+Shoutbox['smilies'][smile]+'" alt="'+Shoutbox['smilies'][smile]+'"/></div>'

    To change the default text box content,
    go to plugins/wp-shoutbox-live-chat/js/shoutbox-init.js
    replace the text in the placeholder on 77th line with your desired sentence
    string += '<textarea class="shoutbox-message" placeholder="Ваше сообщение"></textarea>';

    And to change the default time from Russian to English

    Open shoutbox.php
    on line 514, replace
    date_i18n('d-m-Y_H-i-s', time()+$this->gmt_offset);
    with
    date_i18n('d-m-Y', time()+$this->gmt_offset);

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘not showing smiles’ is closed to new replies.