JivoChat Live Chat [Official] - Version 1.1

Version Description

  • Agent app url changed
Download this release

Release Info

Developer JivoChat
Plugin Icon 128x128 JivoChat Live Chat [Official]
Version 1.1
Comparing to
See all releases

Version 1.1

assets/banner-1544x500.png ADDED
Binary file
assets/banner-772x250.png ADDED
Binary file
assets/icon-128x128.png ADDED
Binary file
assets/icon-256x256.png ADDED
Binary file
assets/icon-512x512.png ADDED
Binary file
assets/screenshot-1.png ADDED
Binary file
assets/screenshot-2.png ADDED
Binary file
assets/screenshot-3.png ADDED
Binary file
assets/screenshot-4.png ADDED
Binary file
assets/screenshot-5.png ADDED
Binary file
img/icon.png ADDED
Binary file
img/logo.png ADDED
Binary file
img/logo_ru.png ADDED
Binary file
img/success.png ADDED
Binary file
jivosite-ru_RU.mo ADDED
Binary file
jivosite-ru_RU.po ADDED
@@ -0,0 +1,147 @@
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: JivoChat v1.0\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2014-09-04 09:54+0400\n"
6
+ "PO-Revision-Date: 2014-09-26 05:49:22+0000\n"
7
+ "Last-Translator: \n"
8
+ "Language-Team: \n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "Plural-Forms: nplurals=3; plural=n%100/10==1 ? 2 : n%10==1 ? 0 : (n+9)%10>3 ? 2 : 1;\n"
13
+ "X-Generator: Poedit 1.6.8\n"
14
+ "X-Poedit-Language: \n"
15
+ "X-Poedit-Country: \n"
16
+ "X-Poedit-SourceCharset: UTF-8\n"
17
+ "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;\n"
18
+ "X-Poedit-Basepath: \n"
19
+ "X-Poedit-Bookmarks: \n"
20
+ "X-Poedit-SearchPath-0: .\n"
21
+ "X-Textdomain-Support: yes"
22
+
23
+ #. translators: plugin header field 'Name'
24
+ #. translators: plugin header field 'Author'
25
+ #: jivosite.php:0
26
+ #: jivosite.php:40
27
+ #@ jivosite
28
+ msgid "JivoChat"
29
+ msgstr "JivoSite"
30
+
31
+ #: jivosite.php:212
32
+ #@ jivosite
33
+ msgid "Connection error"
34
+ msgstr "Ошибка соединения"
35
+
36
+ #: templates/page.php:10
37
+ #@ jivosite
38
+ msgid "To install JivoChat, please create a new account, or use your existing one"
39
+ msgstr "Чтобы установить JivoSite, зарегистрируйте новый аккаунт, либо используйте существующий."
40
+
41
+ #: templates/page.php:11
42
+ #: templates/page.php:105
43
+ #, php-format
44
+ #@ jivosite
45
+ msgid "If you need help, please chat with us on <a href=\"%JIVO_URL%\">jivochat.com</a> or use <a href=\"%JIVO_URL%/support\">our forum</a>"
46
+ msgstr "Если вам нужна помощь – напишите нам на info@jivosite.ru или задайте вопрос на <a href=\"%JIVO_URL%/support\">форуме</a>"
47
+
48
+ #: templates/page.php:19
49
+ #@ jivosite
50
+ msgid "Your Email (login name)"
51
+ msgstr "Ваш email (он же логин)"
52
+
53
+ #: templates/page.php:24
54
+ #@ jivosite
55
+ msgid "Please specify the email you will use to login to the agent’s app and admin panel. If you already have a JivoChat account, please enter the email address you use for it here."
56
+ msgstr "Введите адрес e-mail, который вы будете использовать для входа в панель управления JivoSite, а также для входа в приложение агента. Если у вас уже есть аккаунт – укажите его здесь"
57
+
58
+ #: templates/page.php:28
59
+ #@ jivosite
60
+ msgid "JivoChat Password"
61
+ msgstr "Пароль к JivoSite"
62
+
63
+ #: templates/page.php:33
64
+ #@ jivosite
65
+ msgid "Please create a new JivoChat account password. If you already have an account, please enter the password for it here."
66
+ msgstr "Придумайте пароль к сервису JivoSite. В целях безопасности, этот пароль не должен совпадать с паролем от Wordpress. Если у вас уже есть аккаунт JivoSite – укажите пароль от него"
67
+
68
+ #: templates/page.php:37
69
+ #@ jivosite
70
+ msgid "Agent Name"
71
+ msgstr "Ваше имя"
72
+
73
+ #: templates/page.php:42
74
+ #@ jivosite
75
+ msgid "The agent name that will be displayed to website visitors in the JivoChat chat window."
76
+ msgstr "Ваше имя по-русски, которое будет отображаться посетителям сайта в чате."
77
+
78
+ #: templates/page.php:45
79
+ #@ jivosite
80
+ msgid "Install JivoChat Now"
81
+ msgstr "Установить онлайн-консультант JivoSite"
82
+
83
+ #: templates/page.php:54
84
+ #@ jivosite
85
+ msgid "Congratulations! You have successfully installed JivoChat on your website. Now you need to install the agent’s app on your computer and customize the chat window in the admin panel."
86
+ msgstr "Поздравляем, вы успешно установили онлайн-консультант на свой сайт! Теперь необходимо установить приложение оператора и задать настройки в личном кабинете JivoSite."
87
+
88
+ #: templates/page.php:57
89
+ #@ jivosite
90
+ msgid "Install Agent’s App"
91
+ msgstr "Установите приложение оператора"
92
+
93
+ #: templates/page.php:100
94
+ #@ jivosite
95
+ msgid "Customize Settings and add Agents in the Admin Panel"
96
+ msgstr "Задайте настройки и добавьте операторов в личном кабинете"
97
+
98
+ #: templates/page.php:101
99
+ #@ jivosite
100
+ msgid "After you have installed the agent’s app, please login to the admin panel to add more agents’ accounts, customize the chat window settings and set up proactive invitations to get the most from your new live chat!"
101
+ msgstr "После завершения установки приложения вы можете перейти в личный кабинет JivoSite, чтобы добавить аккаунты пользователей, настроить дизайн виджета и задать параметры активных приглашений."
102
+
103
+ #: templates/page.php:102
104
+ #@ jivosite
105
+ msgid "Go to JivoChat Admin Panel"
106
+ msgstr "Перейти в личный кабинет JivoSite"
107
+
108
+ #: templates/page.php:103
109
+ #@ jivosite
110
+ msgid "Reset account info"
111
+ msgstr "Сбросить информацию о виджете"
112
+
113
+ #. translators: plugin header field 'PluginURI'
114
+ #: jivosite.php:0
115
+ #@ jivosite
116
+ msgid "http://jivochat.com/"
117
+ msgstr "http://jivosite.ru/"
118
+
119
+ #. translators: plugin header field 'Description'
120
+ #: jivosite.php:0
121
+ #@ jivosite
122
+ msgid "With JivoChat you can chat with visitors on your website to increase conversion and sales"
123
+ msgstr "Живой Сайт позволяет вам общаться с посетителями на вашем сайте для увеличения конверсии и продаж"
124
+
125
+ #. translators: plugin header field 'AuthorURI'
126
+ #: jivosite.php:0
127
+ #@ jivosite
128
+ msgid "www.jivochat.com"
129
+ msgstr "www.jivosite.ru"
130
+
131
+ #. translators: plugin header field 'Version'
132
+ #: jivosite.php:0
133
+ #@ jivosite
134
+ msgid "1.0"
135
+ msgstr "1.0"
136
+
137
+ #: templates/error.php:5
138
+ #: templates/page.php:5
139
+ #@ jivosite
140
+ msgid "logo.png"
141
+ msgstr "logo_ru.png"
142
+
143
+ #: templates/error.php:10
144
+ #@ jivosite
145
+ msgid "Unfortunately, your server configuration does not allow the plugin to connect to JivoChat servers to create account. Please, go to <a target=\"_blank\" href=\"https://admin.jivosite.com/autoreg?lang=en\">https://admin.jivosite.com/autoreg?lang=en</a> and sign up. During the signup process you will be offered to download another Wordpress module that does not require to communicate over the network"
146
+ msgstr "К сожалению, конфигурация вашего сервера не позволяет подключиться к серверу JivoSite, чтобы создать аккаунт. Пожалуйста, перейдите на адрес <a target=\"_blank\" href=\"https://admin.jivosite.com/autoreg\">https://admin.jivosite.com/autoreg</a>, зарегистрируйтесь, и при регистрации вам будет предложено загрузить другой модуль для Wordpress, который работает без необходимости обращения к внешнему сервису"
147
+
jivosite.css ADDED
@@ -0,0 +1,41 @@
1
+ p.gray{
2
+ color: #808080;
3
+ }
4
+
5
+ div.gray_form {
6
+ background-color: #ebebeb;
7
+ padding: 20px;
8
+ max-width: 1000px;
9
+ }
10
+ div.gray_form p{
11
+ color: #666666;
12
+ max-width:500px;
13
+ }
14
+ td.gray div{
15
+ max-width: 400px;
16
+ color: #666666;
17
+ float: left;
18
+ }
19
+
20
+ td.input {
21
+ max-width: 27em;
22
+ }
23
+
24
+ div.success {
25
+ background: url("img/success.png") no-repeat scroll left center transparent;
26
+ font-size: 110%;
27
+ font-weight: bold;
28
+ margin-left: 10px;
29
+ max-width: 500px;
30
+ padding: 20px 20px 20px 80px;
31
+ margin-bottom: 15px;
32
+ }
33
+ p.small {
34
+ font-size: 70%;
35
+ }
36
+ input.regular-text{
37
+ width: 18em;
38
+ }
39
+ .form-table td {
40
+ vertical-align: top;
41
+ }
jivosite.php ADDED
@@ -0,0 +1,272 @@
1
+ <?php
2
+ /**
3
+ * Plugin Name: JivoChat
4
+ * Author: JivoChat
5
+ * Author URI: www.jivochat.com
6
+ * Plugin URI: http://jivochat.com/
7
+ * Description: With JivoChat you can chat with visitors on your website to increase conversion and sales
8
+ * Version: 1.1
9
+ *
10
+ * Text Domain: jivosite
11
+ * Domain Path: /
12
+ */
13
+
14
+
15
+ if (!defined('ABSPATH')) die("go away!");
16
+
17
+ load_plugin_textdomain('jivosite', PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)));
18
+ $lang = get_bloginfo("language");
19
+ if ($lang=="ru_RU") {
20
+ $jivo_addr = 'http://www.jivosite.ru';
21
+ } else {
22
+ $jivo_addr = 'https://www.jivochat.com';
23
+ }
24
+
25
+ define ("JIVO_LANG", substr($lang,0,2));
26
+
27
+ define("JIVOSITE_URL","https://admin.jivosite.com");
28
+ define("JIVOSITE_WIDGET_URL","code.jivosite.com");
29
+ define("JIVO_URL",$jivo_addr);
30
+ define("JIVO_INTEGRATION_URL",JIVOSITE_URL."/integration");
31
+ define("JIVO_PLUGIN_URL",plugin_dir_url(__FILE__));
32
+ define("JIVO_IMG_URL",plugin_dir_url(__FILE__)."/img/");
33
+ // //register hooks for plugin
34
+ register_activation_hook(__FILE__, 'jivositeInstall');
35
+ register_deactivation_hook(__FILE__, 'jivositeDelete');
36
+
37
+ //add plugin to options menu
38
+ function catalog_admin_menu(){
39
+ load_plugin_textdomain('jivosite', PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)));
40
+ add_menu_page(__('JivoChat','jivosite'), __('JivoChat','jivosite'), 8, basename(__FILE__), 'jivositePreferences',JIVO_IMG_URL."icon.png");
41
+ }
42
+ add_action('admin_menu', 'catalog_admin_menu');
43
+
44
+ function jivosite_options_validate($args){
45
+ return $args;
46
+ }
47
+
48
+ /*
49
+ * Register the settings
50
+ */
51
+ add_action('admin_init', 'jivosite_register_settings');
52
+ function jivosite_register_settings(){
53
+ register_setting('jivosite_token', 'jivosite_token', 'jivosite_options_validate');
54
+ register_setting('jivosite_widget_id', 'jivosite_widget_id', 'jivosite_options_validate');
55
+ }
56
+
57
+
58
+ add_action('wp_footer', 'jivositeAppend', 100000);
59
+
60
+ function jivositeInstall(){
61
+ return jivosite::getInstance()->install();
62
+ }
63
+
64
+ function jivositeDelete(){
65
+ return jivosite::getInstance()->delete();
66
+ }
67
+
68
+ function jivositeAppend(){
69
+ echo jivosite::getInstance()->append(
70
+ jivosite::getInstance()->getId()
71
+ );
72
+ }
73
+
74
+ function jivositePreferences(){
75
+ if(isset($_POST["widget_id"]))
76
+ jivosite::getInstance()->save();
77
+
78
+ load_plugin_textdomain('jivosite', PLUGINDIR.'/'.dirname(plugin_basename(__FILE__)));
79
+
80
+ wp_register_style('jivosite_style', plugins_url('jivosite.css', __FILE__));
81
+ wp_enqueue_style('jivosite_style');
82
+
83
+ echo jivosite::getInstance()->render();
84
+ }
85
+
86
+ class jivosite {
87
+
88
+ protected static $instance, $db, $table, $lang;
89
+
90
+ private function __construct(){
91
+ $this->token = get_option( 'jivosite_token');
92
+ $this->widget_id = get_option( 'jivosite_widget_id');
93
+ }
94
+ private function __clone() {}
95
+ private function __wakeup() {}
96
+
97
+ private $widget_id = '';
98
+ private $token = '';
99
+
100
+ public static function getInstance() {
101
+
102
+ if ( is_null(self::$instance) ) {
103
+ self::$instance = new jivosite();
104
+ }
105
+ self::$lang = "en";
106
+ if(isset($_GET["lang"])){
107
+ switch ($_GET["lang"]) {
108
+ case 'ru': self::$lang = "ru"; break;
109
+ default: self::$lang = "en"; break;
110
+ }
111
+ }
112
+ return self::$instance;
113
+ }
114
+
115
+ public function setID($id){
116
+ $this->widget_id = $id;
117
+ }
118
+
119
+ public function setToken($token){
120
+ $this->token = $token;
121
+ }
122
+
123
+ /**
124
+ * Install
125
+ */
126
+ public function install() {
127
+
128
+ if (!$this->widget_id) {
129
+ $default_widget_id ='';
130
+ if (file_exists(realpath(dirname(__FILE__))."/id") ){
131
+ $default_widget_id = file_get_contents(realpath(dirname(__FILE__))."/id");
132
+ }
133
+ }
134
+ $this->widget_id = $default_widget_id;
135
+ $this->save();
136
+ }
137
+
138
+ public function catchPost(){
139
+ if(isset($_GET['mode'])&&$_GET['mode']=='reset'){
140
+ $this->widget_id = '';
141
+ $this->token = '';
142
+ $this->save();
143
+ }
144
+ if(isset($_POST['widget_id'])){
145
+ $this->widget_id = $_POST['widget_id'];
146
+ $this->save();
147
+ }elseif(isset($_POST['email'])&&isset($_POST['userPassword'])){
148
+ // получаем данные для запроса
149
+ $query = $_POST;
150
+ $query['siteUrl'] = get_site_url();
151
+ $query['partnerId'] = "wordpress";
152
+ $authToken = md5(time().get_site_url());
153
+ $query['authToken'] = $authToken;
154
+ if(!$query['agent_id']){
155
+ $query['agent_id'] = 0;
156
+ }
157
+ $query['lang'] = JIVO_LANG;
158
+ $content = http_build_query($query);
159
+
160
+ if(ini_get('allow_url_fopen')){
161
+ $useCurl = false;
162
+ }elseif(!extension_loaded('curl')) {
163
+ if (!dl('curl.so')) {
164
+ $useCurl = false;
165
+ } else {
166
+ $useCurl = true;
167
+ }
168
+ } else {
169
+ $useCurl = true;
170
+ }
171
+ // отправляем запрос
172
+ try{
173
+ $path = JIVO_INTEGRATION_URL."/install";
174
+ if(!extension_loaded('openssl')){
175
+ $path = str_replace('https:','http:',$path);
176
+ }
177
+ if($useCurl){
178
+ if ( $curl = curl_init() ) {
179
+ curl_setopt($curl, CURLOPT_URL, $path);
180
+ curl_setopt($curl, CURLOPT_RETURNTRANSFER,true);
181
+ curl_setopt($curl, CURLOPT_POST, true);
182
+ curl_setopt($curl, CURLOPT_POSTFIELDS, $content);
183
+ $responce = curl_exec($curl);
184
+ curl_close($curl);
185
+ }
186
+ } else {
187
+ $responce = file_get_contents(
188
+ $path,
189
+ false,
190
+ stream_context_create(
191
+ array(
192
+ 'http' => array(
193
+ 'method' => 'POST',
194
+ 'header' => 'Content-Type: application/x-www-form-urlencoded',
195
+ 'content' => $content
196
+ )
197
+ )
198
+ )
199
+ );
200
+ }
201
+ if ($responce) {
202
+ if(strstr($responce,'Error')){
203
+ return array("error"=>$responce);
204
+ } else {
205
+ $this->widget_id = $responce;
206
+ $this->token = $authToken;
207
+ $this->save();
208
+ return true;
209
+ }
210
+ }
211
+ } catch (Exception $e) {
212
+ _e("Connection error",'jivosite');
213
+ }
214
+ }
215
+
216
+ }
217
+
218
+ /**
219
+ * delete plugin
220
+ */
221
+ public function delete(){
222
+
223
+ }
224
+
225
+
226
+ public function getId(){
227
+ return $this->widget_id;
228
+ }
229
+
230
+ /**
231
+ * render admin page
232
+ */
233
+ public function render(){
234
+ $result = $this->catchPost();
235
+ $error = '';
236
+ $widget_id = $this->widget_id;
237
+ if (is_array($result)&&isset($result['error'])) {
238
+ $error = $result['error'];
239
+ }
240
+
241
+ if (ini_get('allow_url_fopen')) {
242
+ $requirementsOk = true;
243
+ } elseif(!extension_loaded('curl')) {
244
+ if (!dl('curl.so')) {
245
+ $requirementsOk = false;
246
+ } else {
247
+ $requirementsOk = true;
248
+ }
249
+ } else {
250
+ $requirementsOk = true;
251
+ }
252
+
253
+ if ($requirementsOk) {
254
+ require_once "templates/page.php";
255
+ }else{
256
+ require_once "templates/error.php";
257
+ }
258
+ }
259
+
260
+ public function append($widget_id = false){
261
+ if($widget_id)
262
+ require_once "templates/script.php";
263
+ }
264
+
265
+ public function save(){
266
+ do_settings_sections( __FILE__ );
267
+
268
+ update_option('jivosite_widget_id',$this->widget_id);
269
+ update_option('jivosite_token',$this->token);
270
+ }
271
+
272
+ }
lang/en.php ADDED
@@ -0,0 +1,8 @@
1
+ <?php
2
+
3
+ return $lang = array(
4
+ "language" => "en",
5
+ "description" => "Live Chat is an effective tool for increasing online e-commerce revenue. Answer incoming questions and proactively engage visitors in online chat — and get higher conversion rate! JivoSite live chat is simple and effective solution that boosts income without increasing the ad budget.",
6
+ "title" => "Just insert your widget ID here",
7
+ "hint" => "Show hint"
8
+ );
lang/ru.php ADDED
@@ -0,0 +1,8 @@
1
+ <?php
2
+
3
+ return $lang = array(
4
+ "language" => "ru",
5
+ "description" => "Онлайн консультант — это эффективный инструмент для увеличения конверсии Вашего интернет-магазина. Отвечайте на вопросы потенциальных клиентов и активно приглашайте их в чат, тем самым увеличивая продажи. Простой и эффективный способ увеличения числа обращений клиентов с помощью онлайн консультанта, без дополнительных расходов на рекламу и продвижение!",
6
+ "title" => "Вставьте ваш идентификатор виджета",
7
+ "hint" => "Показать подсказку"
8
+ );
readme.txt ADDED
@@ -0,0 +1,85 @@
1
+ === JivoChat Live Chat [Official] ===
2
+ Contributors: JivoChat
3
+ Donate link: http://jivochat.com/
4
+ Tags: jivochat, jivo, chat, livechat, chat for website, chat online, chat software, click desk, clickdesk, contact plugin, contact us, customer support, free chat, IM Chat, live chat, live chat services, live chat software, live chatting, live help, live support, live web chat, livechat, online chat, online support, php live chat, snapengage, support software, wordpress chat, wordpress live chat, wordpress live chat plugin, живосайт, живой сайт, дживосайт, jivosite, zendesk, zopim, zopim live chat, zendesk chat, tawk, tawkto, tawk.to, chatra, чатра, pure chat, pureсhat, smartsupp, smart supp, happyfox, happy fox, siteheart, site heart, chatnox, liveagent, live agent, slack, subiz, casengo, chatpirate, tagove, wp live chat support, wise chat, wisechat, wise, chatbro, chat bro, iflychat, tidio, flyzoo, yith, livetex, webisonline, redhelper, red helper, mylivechat, my live chat, live chat inc, livechatinc, olark, userlike, user like, zoho, zoho chat, livezilla, intercom, chatrify, onicon, callbackhunter, callback, callback widget, venyoo, comagic, talk-me, talkme, NetroxSC, boldchat, velaro, bitrix24, bitrix
5
+ Requires at least: 3.0.1
6
+ Tested up to: 4.7.3
7
+ Stable tag: 1.1
8
+ License: GPLv2 or later
9
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
+
11
+ Perfectly designed for you to chat with your visitors in real time on your Website, Facebook, Viber or Telegram and increase your online sales. 100% FREE!
12
+
13
+ == Description ==
14
+
15
+ [JivoChat](https://www.jivochat.com) is the best communication app for online business owners to chat with their website visitors to increase customer retention and sales. Yes! It's free, no kidding.
16
+
17
+ JivoChat is much more than just a Live Chat, it's the most powerful communication tool for you to use for your online business. Your customers aren't only browsing your website for more info, they are constantly checking your Facebook profile, your Viber/Telegram/Whatsapp accounts, etc. You must be completely ready to provide great Customer Service wherever they are. No worries though, WE GOT YOUR BACK!
18
+
19
+ <iframe width="560" height="315" src="https://www.youtube.com/embed/YUzy6tr0Mak" frameborder="0" allowfullscreen></iframe>
20
+
21
+
22
+ = Kick-Ass Features =
23
+
24
+ * **Easy installation:** It takes 30 seconds to install the chat and start interacting with your visitors. The chat widget is fully customizable to match your website's personal style. You'll look great, I'm sure of it!
25
+ * **Be available all the time:** You can take chats anywhere, anytime using the desktop app for Mac/Windows, Mobile app for iOS and Android or using the Browser Chat Application.
26
+ * **Increase your Sales:** Our proactive invitation feature makes it much more easy to increase the number of chats and also the number of sales. The chat widget will pop up and say whatever you wanna say. Just a tip: Offering a little discount works flawlessly.
27
+
28
+
29
+
30
+ = Ok, so... Why JivoChat instead of any other Live Chat tool out there? =
31
+
32
+ * **More than 165k websites** help over 1.5 million customers per month with our Chat app
33
+ * Extremely easy to use, beautiful design with amazing and powerfull features
34
+ * Easy to monitor your customers and get all of their information
35
+ * **24/7 chat support** on our website, check [JivoChat.com](https://www.jivochat.com)
36
+ * Not only a Live Chat, a complete communication tool
37
+
38
+
39
+
40
+ = For Geeks Only =
41
+ * Messages are delivered instantaneously over websockets, with fallback to HTTPS available
42
+ * 100% reliability, with a scalable and fault-tolerant geographically-distributed backend on Amazon
43
+ * Desktop agent app (works on Win/Mac), browser-based app and mobile app available
44
+ * All chats have SSL Encryption for much more privacy
45
+
46
+ Questions? Just reach out to us through our live chat at [www.JivoChat.com](https://www.jivochat.com) or send an email to [support@jivochat.com](mailto:support@jivochat.com). Once you've found your answers, download the JivoChat plugin today and start turning your website traffic into cash. Your free account will be created upon installation!
47
+
48
+
49
+ == Installation ==
50
+
51
+ * Install and activate the Wordpress Plugin
52
+ * After installation, click the JivoChat section in the left toolbar
53
+ * Create a new JivoChat account, or use your existing one
54
+ * Download and install the agent's app on your computer or mobile, or use our browser-based app
55
+
56
+
57
+ == Frequently Asked Questions ==
58
+
59
+ = Can I use JivoChat for free? =
60
+
61
+ Absolutely! You can use JivoChat for free with up to 5 online agents and with limited features. For the first 14 days all features will be available too.
62
+
63
+ = Do I need any software on my server for JivoChat to work? =
64
+
65
+ No, you don't! JivoChat is a SaaS service, which means all the server stuff is on us. You just need to install the Wordpress module, and you're all set.
66
+
67
+ = How will I receive messages from my customers? =
68
+
69
+ You can choose to install the desktop app, or you can install our JivoChat app on your iOS or android device, or you can use our web-based app right in your browser!
70
+
71
+ == Screenshots ==
72
+
73
+ 1. The JivoChat widget
74
+ 2. JivoChat's Agent App
75
+ 3. Quick Phrases Helper
76
+ 4. Real-time Visitor Monitor
77
+ 5. Mobile Agent App
78
+
79
+ == Changelog ==
80
+
81
+ = 1.1 =
82
+ * Agent app url changed
83
+
84
+ = 1.0 =
85
+ * Welcome our very first version of the plugin!
templates/error.php ADDED
@@ -0,0 +1,12 @@
1
+ <script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js" type="text/javascript"></script>
2
+ <div class="wrap">
3
+ <h1>
4
+ <a href="http://www.jivosite.com" target="_blank">
5
+ <img src="<?php echo JIVO_PLUGIN_URL; ?>img/<?php _e('logo.png','jivosite');?>" />
6
+ </a>
7
+ </h1>
8
+ <b><?php echo $error; ?></b>
9
+ <div class="gray_form">
10
+ <?php _e('Unfortunately, your server configuration does not allow the plugin to connect to JivoChat servers to create account. Please, go to <a target="_blank" href="https://admin.jivosite.com/autoreg?lang=en">https://admin.jivosite.com/autoreg?lang=en</a> and sign up. During the signup process you will be offered to download another Wordpress module that does not require to communicate over the network','jivosite'); ?>
11
+ </div>
12
+ </div>
templates/page.php ADDED
@@ -0,0 +1,66 @@
1
+ <script src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js" type="text/javascript"></script>
2
+ <div class="wrap">
3
+ <h1>
4
+ <a href="http://www.jivosite.com" target="_blank">
5
+ <img src="<?php echo JIVO_PLUGIN_URL; ?>img/<?php _e('logo.png','jivosite');?>" />
6
+ </a>
7
+ </h1>
8
+ <b><?php echo $error; ?></b>
9
+ <?php if(!$this->widget_id){ ?>
10
+ <p style="margin-bottom: 0px;"><?php _e('To install JivoChat, please create a new account, or use your existing one','jivosite'); ?></p>
11
+ <p class="gray" style="margin-top: 0px;"><?php echo str_replace('%JIVO_URL%',JIVO_URL,__('If you need help, please chat with us on <a href="%JIVO_URL%">jivochat.com</a> or use <a href="%JIVO_URL%/support">our forum</a>','jivosite')); ?></p>
12
+
13
+ <div class="gray_form">
14
+ <form method="POST">
15
+ <table class="form-table">
16
+ <tbody>
17
+ <tr>
18
+ <th scope="row">
19
+ <label for="email"><?php _e('Your Email (login name)','jivosite'); ?></label>
20
+ </th>
21
+ <td class="input">
22
+ <input id="email" class="regular-text" type="text" value="" name="email">
23
+ </td>
24
+ <td class="gray"><div><?php _e('Please specify the email you will use to login to the agent’s app and admin panel. If you already have a JivoChat account, please enter the email address you use for it here.','jivosite'); ?></div></td>
25
+ </tr>
26
+ <tr>
27
+ <th scope="row">
28
+ <label for="userPassword"><?php _e('JivoChat Password','jivosite'); ?></label>
29
+ </th>
30
+ <td class="input">
31
+ <input id="userPassword" class="regular-text" type="password" value="" name="userPassword">
32
+ </td>
33
+ <td class="gray"><div><?php _e('Please create a new JivoChat account password. If you already have an account, please enter the password for it here.','jivosite'); ?></div></td>
34
+ </tr>
35
+ <tr>
36
+ <th scope="row">
37
+ <label for="userDisplayName"><?php _e('Agent Name','jivosite'); ?></label>
38
+ </th>
39
+ <td class="input">
40
+ <input id="userDisplayName" class="regular-text" type="text" value="" name="userDisplayName">
41
+ </td>
42
+ <td class="gray"><div><?php _e('The agent name that will be displayed to website visitors in the JivoChat chat window.','jivosite'); ?></div></td>
43
+ </tr>
44
+ <tr>
45
+ <td colspan="3"><input class="button button-primary" type="submit" value="<?php _e('Install JivoChat Now','jivosite'); ?>"></td>
46
+ </tr>
47
+ </tbody>
48
+ </table>
49
+ </form>
50
+ </div>
51
+ <?php }else{
52
+ ?>
53
+ <div class="success">
54
+ <?php _e('Congratulations! You have successfully installed JivoChat on your website. Now you need to install the agent’s app on your computer and customize the chat window in the admin panel.','jivosite'); ?>
55
+ </div>
56
+ <div class="gray_form">
57
+ <h3>1. <?php _e('Install Agent’s App','jivosite'); ?></h3>
58
+ <a class="button button-primary" href="http://<?php _e('www.jivochat.com','jivosite'); ?>/apps" target="_blank"><?php _e('Install Agent’s App','jivosite'); ?></a>
59
+ <h3>2. <?php _e('Customize Settings and add Agents in the Admin Panel','jivosite'); ?></h3>
60
+ <p><?php _e('After you have installed the agent’s app, please login to the admin panel to add more agents’ accounts, customize the chat window settings and set up proactive invitations to get the most from your new live chat!','jivosite'); ?></p>
61
+ <a class="button button-primary" href='<?php if($this->token){ echo JIVO_INTEGRATION_URL.'/login?token='.$this->token.(JIVO_LANG!='ru'?"&lang=".JIVO_LANG:''); }else{echo JIVOSITE_URL;} ?>' target="_blank"><?php _e('Go to JivoChat Admin Panel','jivosite'); ?></a>
62
+ <p><a href="?<?php echo http_build_query($_GET) ?>&mode=reset"><?php _e('Reset account info','jivosite'); ?></a></p>
63
+ </div>
64
+ <p class="gray"><?php echo str_replace('%JIVO_URL%',JIVO_URL,__('If you need help, please chat with us on <a href="%JIVO_URL%">jivochat.com</a> or use <a href="%JIVO_URL%/support">our forum</a>','jivosite')); ?></p>
65
+ <?php } ?>
66
+ </div>
templates/script.php ADDED
@@ -0,0 +1,4 @@
1
+ <script type='text/javascript'>
2
+ (function(){ var widget_id = '<?php echo $widget_id; ?>';
3
+ var s = document.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = '//<?php echo JIVOSITE_WIDGET_URL; ?>/script/widget/'+widget_id+'?plugin=wp'; var ss = document.getElementsByTagName('script')[0]; ss.parentNode.insertBefore(s, ss);})();
4
+ </script>