REVE Chat – WP Live Chat Support plugin - Version 6.2.0

Version Description

  • new UI design
  • updating singup and login procedure

=

Download this release

Release Info

Developer revechat
Plugin Icon 128x128 REVE Chat – WP Live Chat Support plugin
Version 6.2.0
Comparing to
See all releases

Code changes from version 6.1.10 to 6.2.0

Files changed (469) hide show
  1. assets/banner-772x250.png +0 -0
  2. assets/css/intlTelInput.css +324 -0
  3. assets/css/styles.css +53 -0
  4. assets/fonts/revechat-signup.eot +0 -0
  5. assets/fonts/revechat-signup.svg +16 -0
  6. assets/fonts/revechat-signup.ttf +0 -0
  7. assets/fonts/revechat-signup.woff +0 -0
  8. assets/icon-128x128.png +0 -0
  9. assets/icon-256x256.png +0 -0
  10. {tags/2.0.0/css → assets/images}/ajax_loader.gif +0 -0
  11. {tags/2.0.0 → assets}/images/favicon.png +0 -0
  12. assets/images/flags.png +0 -0
  13. assets/images/flags@2x.png +0 -0
  14. {tags/2.0.0 → assets}/images/logo.png +0 -0
  15. assets/js/intlTelInput.min.js +7 -0
  16. assets/js/jquery-validation.js +2 -0
  17. assets/js/scripts.js +471 -0
  18. assets/screenshot-1.jpg +0 -0
  19. assets/screenshot-2.jpg +0 -0
  20. assets/screenshot-3.jpg +0 -0
  21. assets/screenshot-4.jpg +0 -0
  22. assets/screenshot-5.jpg +0 -0
  23. assets/screenshot-6.jpg +0 -0
  24. assets/screenshot-7.jpg +0 -0
  25. assets/screenshot-8.jpg +0 -0
  26. assets/screenshot-9.jpg +0 -0
  27. tags/2.0.2/index.html → index.html +0 -0
  28. tags/6.1.9/trunk/readme.txt → readme.txt +75 -18
  29. revechat.php +284 -0
  30. tags/1.2.2/assets/banner-772x250.png +0 -0
  31. tags/1.2.2/assets/icon-128x128.png +0 -0
  32. tags/1.2.2/assets/icon-256x256.png +0 -0
  33. tags/1.2.2/assets/screenshot-1.png +0 -0
  34. tags/1.2.2/assets/screenshot-2.png +0 -0
  35. tags/1.2.2/assets/screenshot-3.png +0 -0
  36. tags/1.2.2/assets/screenshot-4.png +0 -0
  37. tags/1.2.2/trunk/index.html +0 -1
  38. tags/1.2.2/trunk/readme.txt +0 -1
  39. tags/1.2.2/trunk/revechat.php +0 -146
  40. tags/1.2.2/trunk/screenshot-1.png +0 -0
  41. tags/1.2.2/trunk/screenshot-2.png +0 -0
  42. tags/1.2.2/trunk/screenshot-3.png +0 -0
  43. tags/1.2.2/trunk/screenshot-4.png +0 -0
  44. tags/1.2.3/index.html +0 -1
  45. tags/1.2.3/readme.txt +0 -1
  46. tags/1.2.3/revechat.php +0 -125
  47. tags/1.2.3/screenshot-1.png +0 -0
  48. tags/1.2.3/screenshot-2.png +0 -0
  49. tags/1.2.3/screenshot-3.png +0 -0
  50. tags/1.2.3/screenshot-4.png +0 -0
  51. tags/1.2.4/index.html +0 -1
  52. tags/1.2.4/readme.txt +0 -1
  53. tags/1.2.4/revechat.php +0 -140
  54. tags/1.2.4/screenshot-1.png +0 -0
  55. tags/1.2.4/screenshot-2.png +0 -0
  56. tags/1.2.4/screenshot-3.png +0 -0
  57. tags/1.2.4/screenshot-4.png +0 -0
  58. tags/2.0.0/css/admin-styles.css +0 -106
  59. tags/2.0.0/includes/choose-form.php +0 -13
  60. tags/2.0.0/includes/login-form.php +0 -20
  61. tags/2.0.0/includes/remove-form.php +0 -9
  62. tags/2.0.0/includes/signup-form.php +0 -46
  63. tags/2.0.0/index.html +0 -1
  64. tags/2.0.0/js/revechat-admin.js +0 -189
  65. tags/2.0.0/readme.txt +0 -1
  66. tags/2.0.0/revechat.php +0 -162
  67. tags/2.0.0/screenshot-1.png +0 -0
  68. tags/2.0.0/screenshot-2.png +0 -0
  69. tags/2.0.0/screenshot-3.png +0 -0
  70. tags/2.0.0/screenshot-4.png +0 -0
  71. tags/2.0.1/css/admin-styles.css +0 -106
  72. tags/2.0.1/css/ajax_loader.gif +0 -0
  73. tags/2.0.1/images/favicon.png +0 -0
  74. tags/2.0.1/images/logo.png +0 -0
  75. tags/2.0.1/includes/choose-form.php +0 -13
  76. tags/2.0.1/includes/login-form.php +0 -20
  77. tags/2.0.1/includes/remove-form.php +0 -9
  78. tags/2.0.1/includes/signup-form.php +0 -46
  79. tags/2.0.1/index.html +0 -1
  80. tags/2.0.1/js/revechat-admin.js +0 -189
  81. tags/2.0.1/readme.txt +0 -201
  82. tags/2.0.1/revechat.php +0 -160
  83. tags/2.0.1/screenshot-1.png +0 -0
  84. tags/2.0.1/screenshot-2.png +0 -0
  85. tags/2.0.1/screenshot-3.png +0 -0
  86. tags/2.0.1/screenshot-4.png +0 -0
  87. tags/2.0.2/css/admin-styles.css +0 -113
  88. tags/2.0.2/css/ajax_loader.gif +0 -0
  89. tags/2.0.2/images/favicon.png +0 -0
  90. tags/2.0.2/images/logo.png +0 -0
  91. tags/2.0.2/includes/choose-form.php +0 -13
  92. tags/2.0.2/includes/login-form.php +0 -20
  93. tags/2.0.2/includes/remove-form.php +0 -23
  94. tags/2.0.2/includes/signup-form.php +0 -73
  95. tags/2.0.2/js/revechat-admin.js +0 -222
  96. tags/2.0.2/readme.txt +0 -203
  97. tags/2.0.2/revechat.php +0 -162
  98. tags/2.0.2/screenshot-1.png +0 -0
  99. tags/2.0.2/screenshot-2.png +0 -0
  100. tags/2.0.2/screenshot-3.png +0 -0
  101. tags/2.0.2/screenshot-4.png +0 -0
  102. tags/2.0.3/css/admin-styles.css +0 -109
  103. tags/2.0.3/css/ajax_loader.gif +0 -0
  104. tags/2.0.3/images/favicon.png +0 -0
  105. tags/2.0.3/images/logo.png +0 -0
  106. tags/2.0.3/includes/choose-form.php +0 -13
  107. tags/2.0.3/includes/login-form.php +0 -23
  108. tags/2.0.3/includes/remove-form.php +0 -23
  109. tags/2.0.3/includes/signup-form.php +0 -75
  110. tags/2.0.3/index.html +0 -1
  111. tags/2.0.3/js/revechat-admin.js +0 -220
  112. tags/2.0.3/readme.txt +0 -207
  113. tags/2.0.3/revechat.php +0 -162
  114. tags/2.0.3/screenshot-1.jpg +0 -0
  115. tags/2.0.3/screenshot-2.jpg +0 -0
  116. tags/2.0.3/screenshot-3.jpg +0 -0
  117. tags/2.0.3/screenshot-4.jpg +0 -0
  118. tags/2.0.4/css/admin-styles.css +0 -109
  119. tags/2.0.4/css/ajax_loader.gif +0 -0
  120. tags/2.0.4/images/favicon.png +0 -0
  121. tags/2.0.4/images/logo.png +0 -0
  122. tags/2.0.4/includes/choose-form.php +0 -13
  123. tags/2.0.4/includes/login-form.php +0 -23
  124. tags/2.0.4/includes/remove-form.php +0 -23
  125. tags/2.0.4/includes/signup-form.php +0 -75
  126. tags/2.0.4/index.html +0 -1
  127. tags/2.0.4/js/revechat-admin.js +0 -220
  128. tags/2.0.4/readme.txt +0 -213
  129. tags/2.0.4/revechat.php +0 -162
  130. tags/2.0.4/screenshot-1.jpg +0 -0
  131. tags/2.0.4/screenshot-2.jpg +0 -0
  132. tags/2.0.4/screenshot-3.jpg +0 -0
  133. tags/2.0.4/screenshot-4.jpg +0 -0
  134. tags/2.0/css/admin-styles.css +0 -106
  135. tags/2.0/css/ajax_loader.gif +0 -0
  136. tags/2.0/images/favicon.png +0 -0
  137. tags/2.0/images/logo.png +0 -0
  138. tags/2.0/includes/choose-form.php +0 -13
  139. tags/2.0/includes/login-form.php +0 -20
  140. tags/2.0/includes/remove-form.php +0 -9
  141. tags/2.0/includes/signup-form.php +0 -46
  142. tags/2.0/index.html +0 -1
  143. tags/2.0/js/revechat-admin.js +0 -189
  144. tags/2.0/readme.txt +0 -201
  145. tags/2.0/revechat.php +0 -162
  146. tags/2.0/screenshot-1.png +0 -0
  147. tags/2.0/screenshot-2.png +0 -0
  148. tags/2.0/screenshot-3.png +0 -0
  149. tags/2.0/screenshot-4.png +0 -0
  150. tags/3.0/css/admin-styles.css +0 -109
  151. tags/3.0/css/ajax_loader.gif +0 -0
  152. tags/3.0/images/favicon.png +0 -0
  153. tags/3.0/images/logo.png +0 -0
  154. tags/3.0/includes/choose-form.php +0 -13
  155. tags/3.0/includes/login-form.php +0 -23
  156. tags/3.0/includes/remove-form.php +0 -23
  157. tags/3.0/includes/signup-form.php +0 -75
  158. tags/3.0/index.html +0 -1
  159. tags/3.0/js/revechat-admin.js +0 -228
  160. tags/3.0/readme.txt +0 -214
  161. tags/3.0/revechat.php +0 -162
  162. tags/3.0/screenshot-1.jpg +0 -0
  163. tags/3.0/screenshot-2.jpg +0 -0
  164. tags/3.0/screenshot-3.jpg +0 -0
  165. tags/3.0/screenshot-4.jpg +0 -0
  166. tags/4.0/css/admin-styles.css +0 -109
  167. tags/4.0/css/ajax_loader.gif +0 -0
  168. tags/4.0/images/favicon.png +0 -0
  169. tags/4.0/images/logo.png +0 -0
  170. tags/4.0/includes/choose-form.php +0 -13
  171. tags/4.0/includes/login-form.php +0 -23
  172. tags/4.0/includes/remove-form.php +0 -10
  173. tags/4.0/includes/signup-form.php +0 -75
  174. tags/4.0/index.html +0 -1
  175. tags/4.0/js/revechat-admin.js +0 -208
  176. tags/4.0/readme.txt +0 -209
  177. tags/4.0/revechat.php +0 -166
  178. tags/4.0/screenshot-1.jpg +0 -0
  179. tags/4.0/screenshot-2.jpg +0 -0
  180. tags/4.0/screenshot-3.jpg +0 -0
  181. tags/4.0/screenshot-4.jpg +0 -0
  182. tags/4.0/screenshot-5.jpg +0 -0
  183. tags/4.0/screenshot-6.jpg +0 -0
  184. tags/4.0/screenshot-7.jpg +0 -0
  185. tags/4.0/screenshot-8.jpg +0 -0
  186. tags/4.0/screenshot-9.jpg +0 -0
  187. tags/5.0/css/admin-styles.css +0 -109
  188. tags/5.0/css/ajax_loader.gif +0 -0
  189. tags/5.0/images/favicon.png +0 -0
  190. tags/5.0/images/logo.png +0 -0
  191. tags/5.0/includes/choose-form.php +0 -13
  192. tags/5.0/includes/login-form.php +0 -23
  193. tags/5.0/includes/remove-form.php +0 -10
  194. tags/5.0/includes/signup-form.php +0 -75
  195. tags/5.0/index.html +0 -1
  196. tags/5.0/js/revechat-admin.js +0 -208
  197. tags/5.0/readme.txt +0 -209
  198. tags/5.0/revechat.php +0 -203
  199. tags/5.0/screenshot-1.jpg +0 -0
  200. tags/5.0/screenshot-2.jpg +0 -0
  201. tags/5.0/screenshot-3.jpg +0 -0
  202. tags/5.0/screenshot-4.jpg +0 -0
  203. tags/5.0/screenshot-5.jpg +0 -0
  204. tags/5.0/screenshot-6.jpg +0 -0
  205. tags/5.0/screenshot-7.jpg +0 -0
  206. tags/5.0/screenshot-8.jpg +0 -0
  207. tags/5.0/screenshot-9.jpg +0 -0
  208. tags/6.1.0/css/admin-styles.css +0 -109
  209. tags/6.1.0/css/ajax_loader.gif +0 -0
  210. tags/6.1.0/images/favicon.png +0 -0
  211. tags/6.1.0/images/logo.png +0 -0
  212. tags/6.1.0/includes/choose-form.php +0 -13
  213. tags/6.1.0/includes/login-form.php +0 -23
  214. tags/6.1.0/includes/remove-form.php +0 -10
  215. tags/6.1.0/includes/signup-form.php +0 -75
  216. tags/6.1.0/index.html +0 -1
  217. tags/6.1.0/js/revechat-admin.js +0 -208
  218. tags/6.1.0/readme.txt +0 -219
  219. tags/6.1.0/revechat.php +0 -203
  220. tags/6.1.0/screenshot-1.jpg +0 -0
  221. tags/6.1.0/screenshot-2.jpg +0 -0
  222. tags/6.1.0/screenshot-3.jpg +0 -0
  223. tags/6.1.0/screenshot-4.jpg +0 -0
  224. tags/6.1.0/screenshot-5.jpg +0 -0
  225. tags/6.1.0/screenshot-6.jpg +0 -0
  226. tags/6.1.0/screenshot-7.jpg +0 -0
  227. tags/6.1.0/screenshot-8.jpg +0 -0
  228. tags/6.1.0/screenshot-9.jpg +0 -0
  229. tags/6.1.1/css/admin-styles.css +0 -109
  230. tags/6.1.1/css/ajax_loader.gif +0 -0
  231. tags/6.1.1/images/favicon.png +0 -0
  232. tags/6.1.1/images/logo.png +0 -0
  233. tags/6.1.1/includes/choose-form.php +0 -13
  234. tags/6.1.1/includes/login-form.php +0 -23
  235. tags/6.1.1/includes/remove-form.php +0 -10
  236. tags/6.1.1/includes/signup-form.php +0 -75
  237. tags/6.1.1/index.html +0 -1
  238. tags/6.1.1/js/revechat-admin.js +0 -208
  239. tags/6.1.1/readme.txt +0 -165
  240. tags/6.1.1/revechat.php +0 -203
  241. tags/6.1.1/screenshot-1.jpg +0 -0
  242. tags/6.1.1/screenshot-2.jpg +0 -0
  243. tags/6.1.1/screenshot-3.jpg +0 -0
  244. tags/6.1.1/screenshot-4.jpg +0 -0
  245. tags/6.1.1/screenshot-5.jpg +0 -0
  246. tags/6.1.1/screenshot-6.jpg +0 -0
  247. tags/6.1.1/screenshot-7.jpg +0 -0
  248. tags/6.1.1/screenshot-8.jpg +0 -0
  249. tags/6.1.1/screenshot-9.jpg +0 -0
  250. tags/6.1.2/css/admin-styles.css +0 -109
  251. tags/6.1.2/css/ajax_loader.gif +0 -0
  252. tags/6.1.2/images/favicon.png +0 -0
  253. tags/6.1.2/images/logo.png +0 -0
  254. tags/6.1.2/includes/choose-form.php +0 -13
  255. tags/6.1.2/includes/login-form.php +0 -23
  256. tags/6.1.2/includes/remove-form.php +0 -10
  257. tags/6.1.2/includes/signup-form.php +0 -75
  258. tags/6.1.2/index.html +0 -1
  259. tags/6.1.2/js/revechat-admin.js +0 -208
  260. tags/6.1.2/readme.txt +0 -165
  261. tags/6.1.2/revechat.php +0 -203
  262. tags/6.1.2/screenshot-1.jpg +0 -0
  263. tags/6.1.2/screenshot-2.jpg +0 -0
  264. tags/6.1.2/screenshot-3.jpg +0 -0
  265. tags/6.1.2/screenshot-4.jpg +0 -0
  266. tags/6.1.2/screenshot-5.jpg +0 -0
  267. tags/6.1.2/screenshot-6.jpg +0 -0
  268. tags/6.1.2/screenshot-7.jpg +0 -0
  269. tags/6.1.2/screenshot-8.jpg +0 -0
  270. tags/6.1.2/screenshot-9.jpg +0 -0
  271. tags/6.1.3/css/admin-styles.css +0 -109
  272. tags/6.1.3/css/ajax_loader.gif +0 -0
  273. tags/6.1.3/images/favicon.png +0 -0
  274. tags/6.1.3/images/logo.png +0 -0
  275. tags/6.1.3/includes/choose-form.php +0 -13
  276. tags/6.1.3/includes/login-form.php +0 -23
  277. tags/6.1.3/includes/remove-form.php +0 -10
  278. tags/6.1.3/includes/signup-form.php +0 -75
  279. tags/6.1.3/index.html +0 -1
  280. tags/6.1.3/js/revechat-admin.js +0 -208
  281. tags/6.1.3/readme.txt +0 -178
  282. tags/6.1.3/revechat.php +0 -203
  283. tags/6.1.3/screenshot-1.jpg +0 -0
  284. tags/6.1.3/screenshot-2.jpg +0 -0
  285. tags/6.1.3/screenshot-3.jpg +0 -0
  286. tags/6.1.3/screenshot-4.jpg +0 -0
  287. tags/6.1.3/screenshot-5.jpg +0 -0
  288. tags/6.1.3/screenshot-6.jpg +0 -0
  289. tags/6.1.3/screenshot-7.jpg +0 -0
  290. tags/6.1.3/screenshot-8.jpg +0 -0
  291. tags/6.1.3/screenshot-9.jpg +0 -0
  292. tags/6.1.5/css/admin-styles.css +0 -109
  293. tags/6.1.5/css/ajax_loader.gif +0 -0
  294. tags/6.1.5/images/favicon.png +0 -0
  295. tags/6.1.5/images/logo.png +0 -0
  296. tags/6.1.5/includes/choose-form.php +0 -13
  297. tags/6.1.5/includes/login-form.php +0 -23
  298. tags/6.1.5/includes/remove-form.php +0 -10
  299. tags/6.1.5/includes/signup-form.php +0 -75
  300. tags/6.1.5/index.html +0 -1
  301. tags/6.1.5/js/revechat-admin.js +0 -208
  302. tags/6.1.5/readme.txt +0 -181
  303. tags/6.1.5/revechat.php +0 -203
  304. tags/6.1.5/screenshot-1.jpg +0 -0
  305. tags/6.1.5/screenshot-2.jpg +0 -0
  306. tags/6.1.5/screenshot-3.jpg +0 -0
  307. tags/6.1.5/screenshot-4.jpg +0 -0
  308. tags/6.1.5/screenshot-5.jpg +0 -0
  309. tags/6.1.5/screenshot-6.jpg +0 -0
  310. tags/6.1.5/screenshot-7.jpg +0 -0
  311. tags/6.1.5/screenshot-8.jpg +0 -0
  312. tags/6.1.5/screenshot-9.jpg +0 -0
  313. tags/6.1.6/css/admin-styles.css +0 -109
  314. tags/6.1.6/css/ajax_loader.gif +0 -0
  315. tags/6.1.6/images/favicon.png +0 -0
  316. tags/6.1.6/images/logo.png +0 -0
  317. tags/6.1.6/includes/choose-form.php +0 -13
  318. tags/6.1.6/includes/login-form.php +0 -23
  319. tags/6.1.6/includes/remove-form.php +0 -10
  320. tags/6.1.6/includes/signup-form.php +0 -75
  321. tags/6.1.6/index.html +0 -1
  322. tags/6.1.6/js/revechat-admin.js +0 -208
  323. tags/6.1.6/readme.txt +0 -190
  324. tags/6.1.6/revechat.php +0 -203
  325. tags/6.1.6/screenshot-1.jpg +0 -0
  326. tags/6.1.6/screenshot-2.jpg +0 -0
  327. tags/6.1.6/screenshot-3.jpg +0 -0
  328. tags/6.1.6/screenshot-4.jpg +0 -0
  329. tags/6.1.6/screenshot-5.jpg +0 -0
  330. tags/6.1.6/screenshot-6.jpg +0 -0
  331. tags/6.1.6/screenshot-7.jpg +0 -0
  332. tags/6.1.6/screenshot-8.jpg +0 -0
  333. tags/6.1.6/screenshot-9.jpg +0 -0
  334. tags/6.1.7/css/admin-styles.css +0 -109
  335. tags/6.1.7/css/ajax_loader.gif +0 -0
  336. tags/6.1.7/images/favicon.png +0 -0
  337. tags/6.1.7/images/logo.png +0 -0
  338. tags/6.1.7/includes/choose-form.php +0 -13
  339. tags/6.1.7/includes/login-form.php +0 -23
  340. tags/6.1.7/includes/remove-form.php +0 -10
  341. tags/6.1.7/includes/signup-form.php +0 -75
  342. tags/6.1.7/index.html +0 -1
  343. tags/6.1.7/js/revechat-admin.js +0 -208
  344. tags/6.1.7/readme.txt +0 -190
  345. tags/6.1.7/revechat.php +0 -203
  346. tags/6.1.7/screenshot-1.jpg +0 -0
  347. tags/6.1.7/screenshot-2.jpg +0 -0
  348. tags/6.1.7/screenshot-3.jpg +0 -0
  349. tags/6.1.7/screenshot-4.jpg +0 -0
  350. tags/6.1.7/screenshot-5.jpg +0 -0
  351. tags/6.1.7/screenshot-6.jpg +0 -0
  352. tags/6.1.7/screenshot-7.jpg +0 -0
  353. tags/6.1.7/screenshot-8.jpg +0 -0
  354. tags/6.1.7/screenshot-9.jpg +0 -0
  355. tags/6.1.8/assets/banner-772x250.png +0 -0
  356. tags/6.1.8/assets/icon-128x128.png +0 -0
  357. tags/6.1.8/assets/icon-256x256.png +0 -0
  358. tags/6.1.8/assets/screenshot-1.jpg +0 -0
  359. tags/6.1.8/assets/screenshot-2.jpg +0 -0
  360. tags/6.1.8/assets/screenshot-3.jpg +0 -0
  361. tags/6.1.8/assets/screenshot-4.jpg +0 -0
  362. tags/6.1.8/assets/screenshot-5.jpg +0 -0
  363. tags/6.1.8/assets/screenshot-6.jpg +0 -0
  364. tags/6.1.8/assets/screenshot-7.jpg +0 -0
  365. tags/6.1.8/assets/screenshot-8.jpg +0 -0
  366. tags/6.1.8/assets/screenshot-9.jpg +0 -0
  367. tags/6.1.8/tags/1.2.2/assets/banner-772x250.png +0 -0
  368. tags/6.1.8/tags/1.2.2/assets/icon-128x128.png +0 -0
  369. tags/6.1.8/tags/1.2.2/assets/icon-256x256.png +0 -0
  370. tags/6.1.8/tags/1.2.2/assets/screenshot-1.png +0 -0
  371. tags/6.1.8/tags/1.2.2/assets/screenshot-2.png +0 -0
  372. tags/6.1.8/tags/1.2.2/assets/screenshot-3.png +0 -0
  373. tags/6.1.8/tags/1.2.2/assets/screenshot-4.png +0 -0
  374. tags/6.1.8/tags/1.2.2/trunk/index.html +0 -1
  375. tags/6.1.8/tags/1.2.2/trunk/readme.txt +0 -1
  376. tags/6.1.8/tags/1.2.2/trunk/revechat.php +0 -146
  377. tags/6.1.8/tags/1.2.2/trunk/screenshot-1.png +0 -0
  378. tags/6.1.8/tags/1.2.2/trunk/screenshot-2.png +0 -0
  379. tags/6.1.8/tags/1.2.2/trunk/screenshot-3.png +0 -0
  380. tags/6.1.8/tags/1.2.2/trunk/screenshot-4.png +0 -0
  381. tags/6.1.8/tags/1.2.3/index.html +0 -1
  382. tags/6.1.8/tags/1.2.3/readme.txt +0 -1
  383. tags/6.1.8/tags/1.2.3/revechat.php +0 -125
  384. tags/6.1.8/tags/1.2.3/screenshot-1.png +0 -0
  385. tags/6.1.8/tags/1.2.3/screenshot-2.png +0 -0
  386. tags/6.1.8/tags/1.2.3/screenshot-3.png +0 -0
  387. tags/6.1.8/tags/1.2.3/screenshot-4.png +0 -0
  388. tags/6.1.8/tags/1.2.4/index.html +0 -1
  389. tags/6.1.8/tags/1.2.4/readme.txt +0 -1
  390. tags/6.1.8/tags/1.2.4/revechat.php +0 -140
  391. tags/6.1.8/tags/1.2.4/screenshot-1.png +0 -0
  392. tags/6.1.8/tags/1.2.4/screenshot-2.png +0 -0
  393. tags/6.1.8/tags/1.2.4/screenshot-3.png +0 -0
  394. tags/6.1.8/tags/1.2.4/screenshot-4.png +0 -0
  395. tags/6.1.8/tags/2.0.0/css/admin-styles.css +0 -106
  396. tags/6.1.8/tags/2.0.0/css/ajax_loader.gif +0 -0
  397. tags/6.1.8/tags/2.0.0/images/favicon.png +0 -0
  398. tags/6.1.8/tags/2.0.0/images/logo.png +0 -0
  399. tags/6.1.8/tags/2.0.0/includes/choose-form.php +0 -13
  400. tags/6.1.8/tags/2.0.0/includes/login-form.php +0 -20
  401. tags/6.1.8/tags/2.0.0/includes/remove-form.php +0 -9
  402. tags/6.1.8/tags/2.0.0/includes/signup-form.php +0 -46
  403. tags/6.1.8/tags/2.0.0/index.html +0 -1
  404. tags/6.1.8/tags/2.0.0/js/revechat-admin.js +0 -189
  405. tags/6.1.8/tags/2.0.0/readme.txt +0 -1
  406. tags/6.1.8/tags/2.0.0/revechat.php +0 -162
  407. tags/6.1.8/tags/2.0.0/screenshot-1.png +0 -0
  408. tags/6.1.8/tags/2.0.0/screenshot-2.png +0 -0
  409. tags/6.1.8/tags/2.0.0/screenshot-3.png +0 -0
  410. tags/6.1.8/tags/2.0.0/screenshot-4.png +0 -0
  411. tags/6.1.8/tags/2.0.1/css/admin-styles.css +0 -106
  412. tags/6.1.8/tags/2.0.1/css/ajax_loader.gif +0 -0
  413. tags/6.1.8/tags/2.0.1/images/favicon.png +0 -0
  414. tags/6.1.8/tags/2.0.1/images/logo.png +0 -0
  415. tags/6.1.8/tags/2.0.1/includes/choose-form.php +0 -13
  416. tags/6.1.8/tags/2.0.1/includes/login-form.php +0 -20
  417. tags/6.1.8/tags/2.0.1/includes/remove-form.php +0 -9
  418. tags/6.1.8/tags/2.0.1/includes/signup-form.php +0 -46
  419. tags/6.1.8/tags/2.0.1/index.html +0 -1
  420. tags/6.1.8/tags/2.0.1/js/revechat-admin.js +0 -189
  421. tags/6.1.8/tags/2.0.1/readme.txt +0 -201
  422. tags/6.1.8/tags/2.0.1/revechat.php +0 -160
  423. tags/6.1.8/tags/2.0.1/screenshot-1.png +0 -0
  424. tags/6.1.8/tags/2.0.1/screenshot-2.png +0 -0
  425. tags/6.1.8/tags/2.0.1/screenshot-3.png +0 -0
  426. tags/6.1.8/tags/2.0.1/screenshot-4.png +0 -0
  427. tags/6.1.8/tags/2.0.2/css/admin-styles.css +0 -113
  428. tags/6.1.8/tags/2.0.2/css/ajax_loader.gif +0 -0
  429. tags/6.1.8/tags/2.0.2/images/favicon.png +0 -0
  430. tags/6.1.8/tags/2.0.2/images/logo.png +0 -0
  431. tags/6.1.8/tags/2.0.2/includes/choose-form.php +0 -13
  432. tags/6.1.8/tags/2.0.2/includes/login-form.php +0 -20
  433. tags/6.1.8/tags/2.0.2/includes/remove-form.php +0 -23
  434. tags/6.1.8/tags/2.0.2/includes/signup-form.php +0 -73
  435. tags/6.1.8/tags/2.0.2/index.html +0 -1
  436. tags/6.1.8/tags/2.0.2/js/revechat-admin.js +0 -222
  437. tags/6.1.8/tags/2.0.2/readme.txt +0 -203
  438. tags/6.1.8/tags/2.0.2/revechat.php +0 -162
  439. tags/6.1.8/tags/2.0.2/screenshot-1.png +0 -0
  440. tags/6.1.8/tags/2.0.2/screenshot-2.png +0 -0
  441. tags/6.1.8/tags/2.0.2/screenshot-3.png +0 -0
  442. tags/6.1.8/tags/2.0.2/screenshot-4.png +0 -0
  443. tags/6.1.8/tags/2.0.3/css/admin-styles.css +0 -109
  444. tags/6.1.8/tags/2.0.3/css/ajax_loader.gif +0 -0
  445. tags/6.1.8/tags/2.0.3/images/favicon.png +0 -0
  446. tags/6.1.8/tags/2.0.3/images/logo.png +0 -0
  447. tags/6.1.8/tags/2.0.3/includes/choose-form.php +0 -13
  448. tags/6.1.8/tags/2.0.3/includes/login-form.php +0 -23
  449. tags/6.1.8/tags/2.0.3/includes/remove-form.php +0 -23
  450. tags/6.1.8/tags/2.0.3/includes/signup-form.php +0 -75
  451. tags/6.1.8/tags/2.0.3/index.html +0 -1
  452. tags/6.1.8/tags/2.0.3/js/revechat-admin.js +0 -220
  453. tags/6.1.8/tags/2.0.3/readme.txt +0 -207
  454. tags/6.1.8/tags/2.0.3/revechat.php +0 -162
  455. tags/6.1.8/tags/2.0.3/screenshot-1.jpg +0 -0
  456. tags/6.1.8/tags/2.0.3/screenshot-2.jpg +0 -0
  457. tags/6.1.8/tags/2.0.3/screenshot-3.jpg +0 -0
  458. tags/6.1.8/tags/2.0.3/screenshot-4.jpg +0 -0
  459. tags/6.1.8/tags/2.0.4/css/admin-styles.css +0 -109
  460. tags/6.1.8/tags/2.0.4/css/ajax_loader.gif +0 -0
  461. tags/6.1.8/tags/2.0.4/images/favicon.png +0 -0
  462. tags/6.1.8/tags/2.0.4/images/logo.png +0 -0
  463. tags/6.1.8/tags/2.0.4/includes/choose-form.php +0 -13
  464. tags/6.1.8/tags/2.0.4/includes/login-form.php +0 -23
  465. tags/6.1.8/tags/2.0.4/includes/remove-form.php +0 -23
  466. tags/6.1.8/tags/2.0.4/includes/signup-form.php +0 -75
  467. tags/6.1.8/tags/2.0.4/index.html +0 -1
  468. tags/6.1.8/tags/2.0.4/js/revechat-admin.js +0 -220
  469. tags/6.1.8/tags/2.0.4/readme.txt +0 -122
assets/banner-772x250.png DELETED
Binary file
assets/css/intlTelInput.css ADDED
@@ -0,0 +1,324 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .intl-tel-input { position: relative; display: inline-block; }
2
+ .intl-tel-input * { box-sizing: border-box; -moz-box-sizing: border-box; }
3
+ .intl-tel-input .hide { display: none; }
4
+ .intl-tel-input .v-hide { visibility: hidden; }
5
+ .intl-tel-input input, .intl-tel-input input[type=text], .intl-tel-input input[type=tel] { position: relative; z-index: 0; margin-top: 0 !important; margin-bottom: 0 !important; padding-right: 36px; margin-right: 0; }
6
+ .intl-tel-input .flag-container { position: absolute; top: 0; bottom: 0; right: 0; padding: 1px; }
7
+ .intl-tel-input .selected-flag {z-index: 1;position: relative;width: 36px;height: 100%;padding: 0 0 0 15px;max-height: 40px;}
8
+ .intl-tel-input .selected-flag .iti-flag { position: absolute; top: 0; bottom: 0; margin: auto; }
9
+ .intl-tel-input .selected-flag .iti-arrow {position: absolute;top: 50%;margin-top: -2px;right: 6px;width: 0;height: 0;border-left: 3px solid transparent;border-right: 3px solid transparent;border-top: 4px solid #555;}
10
+ .intl-tel-input .selected-flag .iti-arrow.up { border-top: none; border-bottom: 4px solid #555; }
11
+ .intl-tel-input .country-list { position: absolute; z-index: 2; list-style: none; text-align: left; padding: 0; margin: 0 0 0 -1px; box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2); background-color: white; border: 1px solid #CCC; white-space: nowrap; max-height: 200px; overflow-y: scroll; }
12
+ .intl-tel-input .country-list.dropup { bottom: 100%; margin-bottom: -1px; }
13
+ .intl-tel-input .country-list .flag-box { display: inline-block; width: 20px; }
14
+ @media (max-width:500px) {
15
+ .intl-tel-input .country-list { white-space: normal; }
16
+ }
17
+ .intl-tel-input .country-list .divider { padding-bottom: 5px; margin-bottom: 5px; border-bottom: 1px solid #CCC; }
18
+ .intl-tel-input .country-list .country {padding: 5px 10px;color: #000;}
19
+ .intl-tel-input .country-list .country .dial-code { color: #999; }
20
+ .intl-tel-input .country-list .country.highlight {background-color: rgba(0, 0, 0, 0.05);color: #000;}
21
+ .intl-tel-input .country-list .flag-box, .intl-tel-input .country-list .country-name, .intl-tel-input .country-list .dial-code { vertical-align: middle; }
22
+ .intl-tel-input .country-list .flag-box, .intl-tel-input .country-list .country-name { margin-right: 6px; }
23
+ .intl-tel-input.allow-dropdown input, .intl-tel-input.allow-dropdown input[type=text], .intl-tel-input.allow-dropdown input[type=tel], .intl-tel-input.separate-dial-code input, .intl-tel-input.separate-dial-code input[type=text], .intl-tel-input.separate-dial-code input[type=tel] {padding-right: 35px;padding-left: 62px;margin-left: 0;}
24
+ .intl-tel-input.allow-dropdown .flag-container, .intl-tel-input.separate-dial-code .flag-container { right: auto; left: 0; }
25
+ .intl-tel-input.allow-dropdown .selected-flag, .intl-tel-input.separate-dial-code .selected-flag {width: 54px;}
26
+ .intl-tel-input.allow-dropdown .flag-container:hover { cursor: pointer; }
27
+ .intl-tel-input.allow-dropdown .flag-container:hover .selected-flag { background-color: rgba(0, 0, 0, 0.05); }
28
+ .intl-tel-input.allow-dropdown input[disabled] + .flag-container:hover, .intl-tel-input.allow-dropdown input[readonly] + .flag-container:hover { cursor: default; }
29
+ .intl-tel-input.allow-dropdown input[disabled] + .flag-container:hover .selected-flag, .intl-tel-input.allow-dropdown input[readonly] + .flag-container:hover .selected-flag { background-color: transparent; }
30
+ .intl-tel-input.separate-dial-code .selected-flag { background-color: rgba(0, 0, 0, 0.05); display: table; }
31
+ .intl-tel-input.separate-dial-code .selected-dial-code {display: table-cell;vertical-align: middle;padding-left: 28px;padding-right: 15px;font-size: 14px;}
32
+ .intl-tel-input.separate-dial-code.iti-sdc-2 input, .intl-tel-input.separate-dial-code.iti-sdc-2 input[type=text], .intl-tel-input.separate-dial-code.iti-sdc-2 input[type=tel] { padding-left: 66px; }
33
+ .intl-tel-input.separate-dial-code.iti-sdc-2 .selected-flag { width: 60px; }
34
+ .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input, .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input[type=text], .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 input[type=tel] {padding-left: 80px;}
35
+ .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-2 .selected-flag { width: 70px; }
36
+ .intl-tel-input.separate-dial-code.iti-sdc-3 input, .intl-tel-input.separate-dial-code.iti-sdc-3 input[type=text], .intl-tel-input.separate-dial-code.iti-sdc-3 input[type=tel] { padding-left: 74px; }
37
+ .intl-tel-input.separate-dial-code.iti-sdc-3 .selected-flag { width: 68px; }
38
+ .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input, .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input[type=text], .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 input[type=tel] {padding-left: 93px;}
39
+ .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-3 .selected-flag { width: 78px; }
40
+ .intl-tel-input.separate-dial-code.iti-sdc-4 input, .intl-tel-input.separate-dial-code.iti-sdc-4 input[type=text], .intl-tel-input.separate-dial-code.iti-sdc-4 input[type=tel] { padding-left: 82px; }
41
+ .intl-tel-input.separate-dial-code.iti-sdc-4 .selected-flag { width: 76px; }
42
+ .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 input, .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 input[type=text], .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 input[type=tel] {padding-left: 102px;}
43
+ .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-4 .selected-flag { width: 86px; }
44
+ .intl-tel-input.separate-dial-code.iti-sdc-5 input, .intl-tel-input.separate-dial-code.iti-sdc-5 input[type=text], .intl-tel-input.separate-dial-code.iti-sdc-5 input[type=tel] { padding-left: 90px; }
45
+ .intl-tel-input.separate-dial-code.iti-sdc-5 .selected-flag { width: 84px; }
46
+ .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 input, .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 input[type=text], .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 input[type=tel] {padding-left: 108px;}
47
+ .intl-tel-input.separate-dial-code.allow-dropdown.iti-sdc-5 .selected-flag { width: 94px; }
48
+ .intl-tel-input.iti-container { position: absolute; top: -1000px; left: -1000px; z-index: 1060; padding: 1px; }
49
+ .intl-tel-input.iti-container:hover { cursor: pointer; }
50
+ .iti-mobile .intl-tel-input.iti-container { top: 30px; bottom: 30px; left: 30px; right: 30px; position: fixed; }
51
+ .iti-mobile .intl-tel-input .country-list { max-height: 100%; width: 100%; }
52
+ .iti-mobile .intl-tel-input .country-list .country { padding: 10px 10px; line-height: 1.5em; }
53
+ .iti-flag { width: 20px; }
54
+ .iti-flag.be { width: 18px; }
55
+ .iti-flag.ch { width: 15px; }
56
+ .iti-flag.mc { width: 19px; }
57
+ .iti-flag.ne { width: 18px; }
58
+ .iti-flag.np { width: 13px; }
59
+ .iti-flag.va { width: 15px; }
60
+ @media only screen and (-webkit-min-device-pixel-ratio:2), only screen and (min--moz-device-pixel-ratio:2), only screen and (-o-min-device-pixel-ratio:2 / 1), only screen and (min-device-pixel-ratio:2), only screen and (min-resolution:192dpi), only screen and (min-resolution:2dppx) {
61
+ .iti-flag { background-size: 5630px 15px; }
62
+ }
63
+ .iti-flag.ac { height: 10px; background-position: 0px 0px; }
64
+ .iti-flag.ad { height: 14px; background-position: -22px 0px; }
65
+ .iti-flag.ae { height: 10px; background-position: -44px 0px; }
66
+ .iti-flag.af { height: 14px; background-position: -66px 0px; }
67
+ .iti-flag.ag { height: 14px; background-position: -88px 0px; }
68
+ .iti-flag.ai { height: 10px; background-position: -110px 0px; }
69
+ .iti-flag.al { height: 15px; background-position: -132px 0px; }
70
+ .iti-flag.am { height: 10px; background-position: -154px 0px; }
71
+ .iti-flag.ao { height: 14px; background-position: -176px 0px; }
72
+ .iti-flag.aq { height: 14px; background-position: -198px 0px; }
73
+ .iti-flag.ar { height: 13px; background-position: -220px 0px; }
74
+ .iti-flag.as { height: 10px; background-position: -242px 0px; }
75
+ .iti-flag.at { height: 14px; background-position: -264px 0px; }
76
+ .iti-flag.au { height: 10px; background-position: -286px 0px; }
77
+ .iti-flag.aw { height: 14px; background-position: -308px 0px; }
78
+ .iti-flag.ax { height: 13px; background-position: -330px 0px; }
79
+ .iti-flag.az { height: 10px; background-position: -352px 0px; }
80
+ .iti-flag.ba { height: 10px; background-position: -374px 0px; }
81
+ .iti-flag.bb { height: 14px; background-position: -396px 0px; }
82
+ .iti-flag.bd { height: 12px; background-position: -418px 0px; }
83
+ .iti-flag.be { height: 15px; background-position: -440px 0px; }
84
+ .iti-flag.bf { height: 14px; background-position: -460px 0px; }
85
+ .iti-flag.bg { height: 12px; background-position: -482px 0px; }
86
+ .iti-flag.bh { height: 12px; background-position: -504px 0px; }
87
+ .iti-flag.bi { height: 12px; background-position: -526px 0px; }
88
+ .iti-flag.bj { height: 14px; background-position: -548px 0px; }
89
+ .iti-flag.bl { height: 14px; background-position: -570px 0px; }
90
+ .iti-flag.bm { height: 10px; background-position: -592px 0px; }
91
+ .iti-flag.bn { height: 10px; background-position: -614px 0px; }
92
+ .iti-flag.bo { height: 14px; background-position: -636px 0px; }
93
+ .iti-flag.bq { height: 14px; background-position: -658px 0px; }
94
+ .iti-flag.br { height: 14px; background-position: -680px 0px; }
95
+ .iti-flag.bs { height: 10px; background-position: -702px 0px; }
96
+ .iti-flag.bt { height: 14px; background-position: -724px 0px; }
97
+ .iti-flag.bv { height: 15px; background-position: -746px 0px; }
98
+ .iti-flag.bw { height: 14px; background-position: -768px 0px; }
99
+ .iti-flag.by { height: 10px; background-position: -790px 0px; }
100
+ .iti-flag.bz { height: 14px; background-position: -812px 0px; }
101
+ .iti-flag.ca { height: 10px; background-position: -834px 0px; }
102
+ .iti-flag.cc { height: 10px; background-position: -856px 0px; }
103
+ .iti-flag.cd { height: 15px; background-position: -878px 0px; }
104
+ .iti-flag.cf { height: 14px; background-position: -900px 0px; }
105
+ .iti-flag.cg { height: 14px; background-position: -922px 0px; }
106
+ .iti-flag.ch { height: 15px; background-position: -944px 0px; }
107
+ .iti-flag.ci { height: 14px; background-position: -961px 0px; }
108
+ .iti-flag.ck { height: 10px; background-position: -983px 0px; }
109
+ .iti-flag.cl { height: 14px; background-position: -1005px 0px; }
110
+ .iti-flag.cm { height: 14px; background-position: -1027px 0px; }
111
+ .iti-flag.cn { height: 14px; background-position: -1049px 0px; }
112
+ .iti-flag.co { height: 14px; background-position: -1071px 0px; }
113
+ .iti-flag.cp { height: 14px; background-position: -1093px 0px; }
114
+ .iti-flag.cr { height: 12px; background-position: -1115px 0px; }
115
+ .iti-flag.cu { height: 10px; background-position: -1137px 0px; }
116
+ .iti-flag.cv { height: 12px; background-position: -1159px 0px; }
117
+ .iti-flag.cw { height: 14px; background-position: -1181px 0px; }
118
+ .iti-flag.cx { height: 10px; background-position: -1203px 0px; }
119
+ .iti-flag.cy { height: 13px; background-position: -1225px 0px; }
120
+ .iti-flag.cz { height: 14px; background-position: -1247px 0px; }
121
+ .iti-flag.de { height: 12px; background-position: -1269px 0px; }
122
+ .iti-flag.dg { height: 10px; background-position: -1291px 0px; }
123
+ .iti-flag.dj { height: 14px; background-position: -1313px 0px; }
124
+ .iti-flag.dk { height: 15px; background-position: -1335px 0px; }
125
+ .iti-flag.dm { height: 10px; background-position: -1357px 0px; }
126
+ .iti-flag.do { height: 13px; background-position: -1379px 0px; }
127
+ .iti-flag.dz { height: 14px; background-position: -1401px 0px; }
128
+ .iti-flag.ea { height: 14px; background-position: -1423px 0px; }
129
+ .iti-flag.ec { height: 14px; background-position: -1445px 0px; }
130
+ .iti-flag.ee { height: 13px; background-position: -1467px 0px; }
131
+ .iti-flag.eg { height: 14px; background-position: -1489px 0px; }
132
+ .iti-flag.eh { height: 10px; background-position: -1511px 0px; }
133
+ .iti-flag.er { height: 10px; background-position: -1533px 0px; }
134
+ .iti-flag.es { height: 14px; background-position: -1555px 0px; }
135
+ .iti-flag.et { height: 10px; background-position: -1577px 0px; }
136
+ .iti-flag.eu { height: 14px; background-position: -1599px 0px; }
137
+ .iti-flag.fi { height: 12px; background-position: -1621px 0px; }
138
+ .iti-flag.fj { height: 10px; background-position: -1643px 0px; }
139
+ .iti-flag.fk { height: 10px; background-position: -1665px 0px; }
140
+ .iti-flag.fm { height: 11px; background-position: -1687px 0px; }
141
+ .iti-flag.fo { height: 15px; background-position: -1709px 0px; }
142
+ .iti-flag.fr { height: 14px; background-position: -1731px 0px; }
143
+ .iti-flag.ga { height: 15px; background-position: -1753px 0px; }
144
+ .iti-flag.gb { height: 10px; background-position: -1775px 0px; }
145
+ .iti-flag.gd { height: 12px; background-position: -1797px 0px; }
146
+ .iti-flag.ge { height: 14px; background-position: -1819px 0px; }
147
+ .iti-flag.gf { height: 14px; background-position: -1841px 0px; }
148
+ .iti-flag.gg { height: 14px; background-position: -1863px 0px; }
149
+ .iti-flag.gh { height: 14px; background-position: -1885px 0px; }
150
+ .iti-flag.gi { height: 10px; background-position: -1907px 0px; }
151
+ .iti-flag.gl { height: 14px; background-position: -1929px 0px; }
152
+ .iti-flag.gm { height: 14px; background-position: -1951px 0px; }
153
+ .iti-flag.gn { height: 14px; background-position: -1973px 0px; }
154
+ .iti-flag.gp { height: 14px; background-position: -1995px 0px; }
155
+ .iti-flag.gq { height: 14px; background-position: -2017px 0px; }
156
+ .iti-flag.gr { height: 14px; background-position: -2039px 0px; }
157
+ .iti-flag.gs { height: 10px; background-position: -2061px 0px; }
158
+ .iti-flag.gt { height: 13px; background-position: -2083px 0px; }
159
+ .iti-flag.gu { height: 11px; background-position: -2105px 0px; }
160
+ .iti-flag.gw { height: 10px; background-position: -2127px 0px; }
161
+ .iti-flag.gy { height: 12px; background-position: -2149px 0px; }
162
+ .iti-flag.hk { height: 14px; background-position: -2171px 0px; }
163
+ .iti-flag.hm { height: 10px; background-position: -2193px 0px; }
164
+ .iti-flag.hn { height: 10px; background-position: -2215px 0px; }
165
+ .iti-flag.hr { height: 10px; background-position: -2237px 0px; }
166
+ .iti-flag.ht { height: 12px; background-position: -2259px 0px; }
167
+ .iti-flag.hu { height: 10px; background-position: -2281px 0px; }
168
+ .iti-flag.ic { height: 14px; background-position: -2303px 0px; }
169
+ .iti-flag.id { height: 14px; background-position: -2325px 0px; }
170
+ .iti-flag.ie { height: 10px; background-position: -2347px 0px; }
171
+ .iti-flag.il { height: 15px; background-position: -2369px 0px; }
172
+ .iti-flag.im { height: 10px; background-position: -2391px 0px; }
173
+ .iti-flag.in { height: 14px; background-position: -2413px 0px; }
174
+ .iti-flag.io { height: 10px; background-position: -2435px 0px; }
175
+ .iti-flag.iq { height: 14px; background-position: -2457px 0px; }
176
+ .iti-flag.ir { height: 12px; background-position: -2479px 0px; }
177
+ .iti-flag.is { height: 15px; background-position: -2501px 0px; }
178
+ .iti-flag.it { height: 14px; background-position: -2523px 0px; }
179
+ .iti-flag.je { height: 12px; background-position: -2545px 0px; }
180
+ .iti-flag.jm { height: 10px; background-position: -2567px 0px; }
181
+ .iti-flag.jo { height: 10px; background-position: -2589px 0px; }
182
+ .iti-flag.jp { height: 14px; background-position: -2611px 0px; }
183
+ .iti-flag.ke { height: 14px; background-position: -2633px 0px; }
184
+ .iti-flag.kg { height: 12px; background-position: -2655px 0px; }
185
+ .iti-flag.kh { height: 13px; background-position: -2677px 0px; }
186
+ .iti-flag.ki { height: 10px; background-position: -2699px 0px; }
187
+ .iti-flag.km { height: 12px; background-position: -2721px 0px; }
188
+ .iti-flag.kn { height: 14px; background-position: -2743px 0px; }
189
+ .iti-flag.kp { height: 10px; background-position: -2765px 0px; }
190
+ .iti-flag.kr { height: 14px; background-position: -2787px 0px; }
191
+ .iti-flag.kw { height: 10px; background-position: -2809px 0px; }
192
+ .iti-flag.ky { height: 10px; background-position: -2831px 0px; }
193
+ .iti-flag.kz { height: 10px; background-position: -2853px 0px; }
194
+ .iti-flag.la { height: 14px; background-position: -2875px 0px; }
195
+ .iti-flag.lb { height: 14px; background-position: -2897px 0px; }
196
+ .iti-flag.lc { height: 10px; background-position: -2919px 0px; }
197
+ .iti-flag.li { height: 12px; background-position: -2941px 0px; }
198
+ .iti-flag.lk { height: 10px; background-position: -2963px 0px; }
199
+ .iti-flag.lr { height: 11px; background-position: -2985px 0px; }
200
+ .iti-flag.ls { height: 14px; background-position: -3007px 0px; }
201
+ .iti-flag.lt { height: 12px; background-position: -3029px 0px; }
202
+ .iti-flag.lu { height: 12px; background-position: -3051px 0px; }
203
+ .iti-flag.lv { height: 10px; background-position: -3073px 0px; }
204
+ .iti-flag.ly { height: 10px; background-position: -3095px 0px; }
205
+ .iti-flag.ma { height: 14px; background-position: -3117px 0px; }
206
+ .iti-flag.mc { height: 15px; background-position: -3139px 0px; }
207
+ .iti-flag.md { height: 10px; background-position: -3160px 0px; }
208
+ .iti-flag.me { height: 10px; background-position: -3182px 0px; }
209
+ .iti-flag.mf { height: 14px; background-position: -3204px 0px; }
210
+ .iti-flag.mg { height: 14px; background-position: -3226px 0px; }
211
+ .iti-flag.mh { height: 11px; background-position: -3248px 0px; }
212
+ .iti-flag.mk { height: 10px; background-position: -3270px 0px; }
213
+ .iti-flag.ml { height: 14px; background-position: -3292px 0px; }
214
+ .iti-flag.mm { height: 14px; background-position: -3314px 0px; }
215
+ .iti-flag.mn { height: 10px; background-position: -3336px 0px; }
216
+ .iti-flag.mo { height: 14px; background-position: -3358px 0px; }
217
+ .iti-flag.mp { height: 10px; background-position: -3380px 0px; }
218
+ .iti-flag.mq { height: 14px; background-position: -3402px 0px; }
219
+ .iti-flag.mr { height: 14px; background-position: -3424px 0px; }
220
+ .iti-flag.ms { height: 10px; background-position: -3446px 0px; }
221
+ .iti-flag.mt { height: 14px; background-position: -3468px 0px; }
222
+ .iti-flag.mu { height: 14px; background-position: -3490px 0px; }
223
+ .iti-flag.mv { height: 14px; background-position: -3512px 0px; }
224
+ .iti-flag.mw { height: 14px; background-position: -3534px 0px; }
225
+ .iti-flag.mx { height: 12px; background-position: -3556px 0px; }
226
+ .iti-flag.my { height: 10px; background-position: -3578px 0px; }
227
+ .iti-flag.mz { height: 14px; background-position: -3600px 0px; }
228
+ .iti-flag.na { height: 14px; background-position: -3622px 0px; }
229
+ .iti-flag.nc { height: 10px; background-position: -3644px 0px; }
230
+ .iti-flag.ne { height: 15px; background-position: -3666px 0px; }
231
+ .iti-flag.nf { height: 10px; background-position: -3686px 0px; }
232
+ .iti-flag.ng { height: 10px; background-position: -3708px 0px; }
233
+ .iti-flag.ni { height: 12px; background-position: -3730px 0px; }
234
+ .iti-flag.nl { height: 14px; background-position: -3752px 0px; }
235
+ .iti-flag.no { height: 15px; background-position: -3774px 0px; }
236
+ .iti-flag.np { height: 15px; background-position: -3796px 0px; }
237
+ .iti-flag.nr { height: 10px; background-position: -3811px 0px; }
238
+ .iti-flag.nu { height: 10px; background-position: -3833px 0px; }
239
+ .iti-flag.nz { height: 10px; background-position: -3855px 0px; }
240
+ .iti-flag.om { height: 10px; background-position: -3877px 0px; }
241
+ .iti-flag.pa { height: 14px; background-position: -3899px 0px; }
242
+ .iti-flag.pe { height: 14px; background-position: -3921px 0px; }
243
+ .iti-flag.pf { height: 14px; background-position: -3943px 0px; }
244
+ .iti-flag.pg { height: 15px; background-position: -3965px 0px; }
245
+ .iti-flag.ph { height: 10px; background-position: -3987px 0px; }
246
+ .iti-flag.pk { height: 14px; background-position: -4009px 0px; }
247
+ .iti-flag.pl { height: 13px; background-position: -4031px 0px; }
248
+ .iti-flag.pm { height: 14px; background-position: -4053px 0px; }
249
+ .iti-flag.pn { height: 10px; background-position: -4075px 0px; }
250
+ .iti-flag.pr { height: 14px; background-position: -4097px 0px; }
251
+ .iti-flag.ps { height: 10px; background-position: -4119px 0px; }
252
+ .iti-flag.pt { height: 14px; background-position: -4141px 0px; }
253
+ .iti-flag.pw { height: 13px; background-position: -4163px 0px; }
254
+ .iti-flag.py { height: 11px; background-position: -4185px 0px; }
255
+ .iti-flag.qa { height: 8px; background-position: -4207px 0px; }
256
+ .iti-flag.re { height: 14px; background-position: -4229px 0px; }
257
+ .iti-flag.ro { height: 14px; background-position: -4251px 0px; }
258
+ .iti-flag.rs { height: 14px; background-position: -4273px 0px; }
259
+ .iti-flag.ru { height: 14px; background-position: -4295px 0px; }
260
+ .iti-flag.rw { height: 14px; background-position: -4317px 0px; }
261
+ .iti-flag.sa { height: 14px; background-position: -4339px 0px; }
262
+ .iti-flag.sb { height: 10px; background-position: -4361px 0px; }
263
+ .iti-flag.sc { height: 10px; background-position: -4383px 0px; }
264
+ .iti-flag.sd { height: 10px; background-position: -4405px 0px; }
265
+ .iti-flag.se { height: 13px; background-position: -4427px 0px; }
266
+ .iti-flag.sg { height: 14px; background-position: -4449px 0px; }
267
+ .iti-flag.sh { height: 10px; background-position: -4471px 0px; }
268
+ .iti-flag.si { height: 10px; background-position: -4493px 0px; }
269
+ .iti-flag.sj { height: 15px; background-position: -4515px 0px; }
270
+ .iti-flag.sk { height: 14px; background-position: -4537px 0px; }
271
+ .iti-flag.sl { height: 14px; background-position: -4559px 0px; }
272
+ .iti-flag.sm { height: 15px; background-position: -4581px 0px; }
273
+ .iti-flag.sn { height: 14px; background-position: -4603px 0px; }
274
+ .iti-flag.so { height: 14px; background-position: -4625px 0px; }
275
+ .iti-flag.sr { height: 14px; background-position: -4647px 0px; }
276
+ .iti-flag.ss { height: 10px; background-position: -4669px 0px; }
277
+ .iti-flag.st { height: 10px; background-position: -4691px 0px; }
278
+ .iti-flag.sv { height: 12px; background-position: -4713px 0px; }
279
+ .iti-flag.sx { height: 14px; background-position: -4735px 0px; }
280
+ .iti-flag.sy { height: 14px; background-position: -4757px 0px; }
281
+ .iti-flag.sz { height: 14px; background-position: -4779px 0px; }
282
+ .iti-flag.ta { height: 10px; background-position: -4801px 0px; }
283
+ .iti-flag.tc { height: 10px; background-position: -4823px 0px; }
284
+ .iti-flag.td { height: 14px; background-position: -4845px 0px; }
285
+ .iti-flag.tf { height: 14px; background-position: -4867px 0px; }
286
+ .iti-flag.tg { height: 13px; background-position: -4889px 0px; }
287
+ .iti-flag.th { height: 14px; background-position: -4911px 0px; }
288
+ .iti-flag.tj { height: 10px; background-position: -4933px 0px; }
289
+ .iti-flag.tk { height: 10px; background-position: -4955px 0px; }
290
+ .iti-flag.tl { height: 10px; background-position: -4977px 0px; }
291
+ .iti-flag.tm { height: 14px; background-position: -4999px 0px; }
292
+ .iti-flag.tn { height: 14px; background-position: -5021px 0px; }
293
+ .iti-flag.to { height: 10px; background-position: -5043px 0px; }
294
+ .iti-flag.tr { height: 14px; background-position: -5065px 0px; }
295
+ .iti-flag.tt { height: 12px; background-position: -5087px 0px; }
296
+ .iti-flag.tv { height: 10px; background-position: -5109px 0px; }
297
+ .iti-flag.tw { height: 14px; background-position: -5131px 0px; }
298
+ .iti-flag.tz { height: 14px; background-position: -5153px 0px; }
299
+ .iti-flag.ua { height: 14px; background-position: -5175px 0px; }
300
+ .iti-flag.ug { height: 14px; background-position: -5197px 0px; }
301
+ .iti-flag.um { height: 11px; background-position: -5219px 0px; }
302
+ .iti-flag.us { height: 11px; background-position: -5241px 0px; }
303
+ .iti-flag.uy { height: 14px; background-position: -5263px 0px; }
304
+ .iti-flag.uz { height: 10px; background-position: -5285px 0px; }
305
+ .iti-flag.va { height: 15px; background-position: -5307px 0px; }
306
+ .iti-flag.vc { height: 14px; background-position: -5324px 0px; }
307
+ .iti-flag.ve { height: 14px; background-position: -5346px 0px; }
308
+ .iti-flag.vg { height: 10px; background-position: -5368px 0px; }
309
+ .iti-flag.vi { height: 14px; background-position: -5390px 0px; }
310
+ .iti-flag.vn { height: 14px; background-position: -5412px 0px; }
311
+ .iti-flag.vu { height: 12px; background-position: -5434px 0px; }
312
+ .iti-flag.wf { height: 14px; background-position: -5456px 0px; }
313
+ .iti-flag.ws { height: 10px; background-position: -5478px 0px; }
314
+ .iti-flag.xk { height: 15px; background-position: -5500px 0px; }
315
+ .iti-flag.ye { height: 14px; background-position: -5522px 0px; }
316
+ .iti-flag.yt { height: 14px; background-position: -5544px 0px; }
317
+ .iti-flag.za { height: 14px; background-position: -5566px 0px; }
318
+ .iti-flag.zm { height: 14px; background-position: -5588px 0px; }
319
+ .iti-flag.zw { height: 10px; background-position: -5610px 0px; }
320
+ .iti-flag { width: 20px; height: 15px; box-shadow: 0px 0px 1px 0px #888; background-image: url("../images/flags.png"); background-repeat: no-repeat; background-color: #DBDBDB; background-position: 20px 0; }
321
+ @media only screen and (-webkit-min-device-pixel-ratio:2), only screen and (min--moz-device-pixel-ratio:2), only screen and (-o-min-device-pixel-ratio:2 / 1), only screen and (min-device-pixel-ratio:2), only screen and (min-resolution:192dpi), only screen and (min-resolution:2dppx) {
322
+ .iti-flag { background-image: url("../images/flags@2x.png"); }
323
+ }
324
+ .iti-flag.np { background-color: transparent; }
assets/css/styles.css ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #revechat {margin: 10px 20px 0 5px;}
2
+ #revechat .ajax_message { padding: 0; margin: 0; }
3
+ #revechat .ajax_message.wait { text-indent: 28px; background: url(../images/ajax_loader.gif) no-repeat 5px 60%; }
4
+ #revechat .ajax_message.message { background-image: none; text-indent: 0px; }
5
+ #revechat .ajax_message.message.alert { background-color: #f2dede; border-color: #ebccd1; color: #a94442; padding: 20px; }
6
+ #revechat .install_success_message, #revechat .revechat_success_message { -moz-border-bottom-colors: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; background: #fff none repeat scroll 0 0; border-color: #d7d7d7 #d7d7d7 #f16915; border-image: none; border-style: solid; border-width: 1px 1px 5px; height: auto; padding: 50px; width: 100%; box-sizing: border-box; }
7
+ #revechat .install_success_message { text-align: center; border-color: #d7d7d7 #d7d7d7 #2c9609; margin-bottom: 15px; }
8
+ #revechat .revechat_success_message h4 {font-weight: bold;border-bottom: 1px solid #B1B4B9;line-height: 2em;font-family: Roboto, "Helvetica", sans-serif;}
9
+ @font-face { font-family: revechat-signup; src: url(../fonts/revechat-signup.eot?483v0y); src: url(../fonts/revechat-signup.eot?483v0y#iefix) format('embedded-opentype'), url(../fonts/revechat-signup.ttf?483v0y) format('truetype'), url(../fonts/revechat-signup.woff?483v0y) format('woff'), url(../fonts/revechat-signup.svg?483v0y#revechat-signup) format('svg'); font-weight: 400; font-style: normal; font-display: block }
10
+ #revechat [class*=" icon-"], #revechat [class^=icon-] { font-family: revechat-signup !important; speak: none; font-style: normal; font-weight: 400; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale }
11
+ #revechat .icon-link:before { content: "\f268"; }
12
+ #revechat .icon-phone-handset:before { content: "\e927"; }
13
+ #revechat .icon-eye:before { content: "\f06e"; }
14
+ #revechat .icon-eye-slash:before { content: "\f070"; }
15
+ #revechat .icon-user:before { content: "\f364"; }
16
+ #revechat .icon-envelope-o:before { content: "\f1c7"; }
17
+ #revechat input[type=radio] { border: 1px solid #7e8993; background: #fff; color: #555; clear: none; cursor: pointer; display: inline-block; height: 1rem; margin: -.25rem .25rem 0 0; outline: 0; padding: 0 !important; text-align: center; vertical-align: middle; width: 1rem; min-width: 1rem; -webkit-appearance: none; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); transition: .05s border-color ease-in-out; border-radius: 50%; margin-right: .25rem; line-height: .71428571; }
18
+ #revechat input[type=radio]:focus { border-color: #007cba; box-shadow: 0 0 0 1px #007cba; outline: 2px solid transparent; }
19
+ #revechat input[type=radio]:checked::before { content: ""; border-radius: 50%; width: .5rem; height: .5rem; margin: .1875rem; background-color: #1e8cbe; line-height: 1; float: left; display: inline-block; vertical-align: middle; speak: none; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
20
+ #revechat .btn, #revechat button { color: #fff; margin-top: 15px; min-height: 48px; border-color: transparent; font-size: 16px; font-weight: 500; background: #0d9abf; cursor: pointer; }
21
+ #revechat .btn:focus, #revechat button:focus { box-shadow: none !important; outline: 0 !important; }
22
+ #revechat input.form-control:not(#phoneTaker) { padding-right: 35px; padding-left: 15px; }
23
+ #revechat input.form-control, #revechat .btn, #revechat button { display: block; height: 40px; width: 100%; border: 1px solid #ccc; border-radius: 6px; line-height: 1.42857143; background-image: none; -webkit-transition: all ease-in-out .15s; -o-transition: all ease-in-out .15s; transition: all ease-in-out .15s; }
24
+ #revechat input.form-control { color: #555; border-color: #e7e7e7; box-shadow: none; font-size: 14px; background-color: #fff; }
25
+ #revechat input.form-control:focus { color: #575962; background-color: #fff; border-color: #0d9abf !important; box-shadow: none !important; outline: 0; }
26
+ #revechat .form-group { margin-bottom: 10px }
27
+ #revechat .form-group { position: relative; margin-bottom: 10px; margin-top: 5px; }
28
+ #revechat .form-group i { position: absolute; top: 12px; right: 13px; z-index: 0; font-size: 16px; }
29
+ #revechat .form-group i.icon-eye, #revechat .form-group i.icon-eye-slash, #revechat .form-group i.icon-phone-handset { font-size: 13px; }
30
+ #revechat .form-group i.icon-user { font-size: 16px; }
31
+ #revechat .revechat_wrap { background: #fff; }
32
+ #revechat .intl-tel-input { width: 100% }
33
+ #revechat .iti-mobile .intl-tel-input .country-list { max-height: 100%; width: 100% }
34
+ #revechat .iti-mobile .intl-tel-input .country-list .country { padding: 10px; line-height: 1.5em }
35
+ #revechat .intl-tel-input .flag-container { width: 100% }
36
+ #revechat .intl-tel-input .country-list .country { white-space: normal }
37
+ #revechat #revechat_chooser { padding: 50px 20px; }
38
+ #revechat .revechat_forms .revechat_form h3, #revechat #revechat_chooser h3 { margin: 0; margin-bottom: 15px; line-height: 1; font-size: 16px; height: auto; border: none; padding: 0; font-weight: 600; text-transform: none; text-shadow: none; box-shadow: none; font-family: Roboto, "Helvetica", sans-serif; }
39
+ #revechat label { font-size: 14px; line-height: 18px; font-weight: normal; }
40
+ #revechat label.error { color: red; margin: 0; font-size: 14px; font-weight: 400; font-family: Roboto, "Helvetica", sans-serif; }
41
+ #revechat .revechat_form { margin: 0 auto; max-width: 474px; width: 100%; }
42
+ #revechat .revechat_forms { padding: 50px 20px; font-size: 16px; }
43
+ #revechat #revechat_remove_form { padding: 20px; }
44
+ #revechat #revechat_remove_form p { margin-top: 0; }
45
+ #revechat #revechat_remove_form .button-primary {display: inline-block;text-decoration: none;font-size: 13px;line-height: 2;min-height: 28px;margin: 0;padding: 0 10px;cursor: pointer;border-width: 1px;border-style: solid;-webkit-appearance: none;border-radius: 3px;white-space: nowrap;box-sizing: border-box;background: #007cba;border-color: #007cba;color: #fff;text-decoration: none;text-shadow: none;}
46
+ #revechat #revechat_remove_form .button-primary:hover { background: #0071a1; border-color: #0071a1; color: #fff; }
47
+ @media (min-width:767px) {
48
+ #revechat .revechat_wrap { display: flex; }
49
+ #revechat .revechat_forms { border-left: 1px solid rgba(0, 0, 0, .2); flex: 1; }
50
+ }
51
+
52
+ /* Prestashop */
53
+ .bootstrap .page-head h4.page-subtitle { margin-top: 70px; }
assets/fonts/revechat-signup.eot ADDED
Binary file
assets/fonts/revechat-signup.svg ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by IcoMoon</metadata>
5
+ <defs>
6
+ <font id="icomoon" horiz-adv-x="1024">
7
+ <font-face units-per-em="1024" ascent="960" descent="-64" />
8
+ <missing-glyph horiz-adv-x="1024" />
9
+ <glyph unicode="&#x20;" horiz-adv-x="512" d="" />
10
+ <glyph unicode="&#xe927;" glyph-name="phone-handset" d="M819.2-64c-90.675 0-187.136 25.702-286.72 76.39-91.802 46.746-182.477 113.664-262.246 193.536s-146.586 170.65-193.28 262.502c-50.586 99.635-76.288 196.096-76.288 286.771 0 58.778 54.784 115.558 78.285 137.216 33.843 31.181 87.091 67.584 125.798 67.584 19.251 0 41.779-12.595 71.014-39.629 21.76-20.173 46.285-47.514 70.81-79.053 14.797-19.046 88.576-116.275 88.576-162.918 0-38.246-43.264-64.87-89.037-92.979-17.715-10.854-35.994-22.118-49.203-32.717-14.131-11.315-16.64-17.306-17.050-18.637 48.589-121.139 197.12-269.67 318.208-318.208 1.075 0.358 7.066 2.714 18.586 17.050 10.598 13.21 21.862 31.539 32.717 49.203 28.16 45.773 54.733 89.037 92.979 89.037 46.643 0 143.872-73.779 162.918-88.576 31.539-24.525 58.88-49.050 79.053-70.81 27.034-29.184 39.629-51.763 39.629-71.014 0-38.707-36.403-92.109-67.533-126.106-21.709-23.654-78.49-78.694-137.267-78.694zM204.493 908.8c-13.722-0.256-50.637-17.050-90.778-54.016-38.093-35.123-61.798-73.267-61.798-99.584 0-344.525 423.117-768 767.283-768 26.266 0 64.41 23.808 99.533 62.106 37.018 40.346 53.811 77.414 54.067 91.187-1.638 9.728-28.57 47.565-102.246 104.294-63.334 48.742-114.688 74.906-127.898 75.213-0.922-0.256-6.656-2.458-18.278-17.203-10.086-12.851-20.89-30.413-31.386-47.411-28.672-46.643-55.757-90.726-95.13-90.726-6.349 0-12.595 1.229-18.586 3.635-134.4 53.76-293.325 212.685-347.085 347.085-6.451 16.128-7.475 41.421 24.269 70.195 16.896 15.309 40.243 29.645 62.874 43.571 16.998 10.445 34.611 21.248 47.411 31.386 14.746 11.622 16.947 17.357 17.203 18.278-0.358 13.21-26.47 64.563-75.213 127.898-56.73 73.677-94.566 100.557-104.294 102.246z" />
11
+ <glyph unicode="&#xf06e;" glyph-name="eye" d="M950.857 402.286q-86.857 134.857-217.714 201.714 34.857-59.429 34.857-128.571 0-105.714-75.143-180.857t-180.857-75.143-180.857 75.143-75.143 180.857q0 69.143 34.857 128.571-130.857-66.857-217.714-201.714 76-117.143 190.571-186.571t248.286-69.429 248.286 69.429 190.571 186.571zM539.429 621.714q0 11.429-8 19.429t-19.429 8q-71.429 0-122.571-51.143t-51.143-122.571q0-11.429 8-19.429t19.429-8 19.429 8 8 19.429q0 49.143 34.857 84t84 34.857q11.429 0 19.429 8t8 19.429zM1024 402.286q0-19.429-11.429-39.429-80-131.429-215.143-210.571t-285.429-79.143-285.429 79.429-215.143 210.286q-11.429 20-11.429 39.429t11.429 39.429q80 130.857 215.143 210.286t285.429 79.429 285.429-79.429 215.143-210.286q11.429-20 11.429-39.429z" />
12
+ <glyph unicode="&#xf070;" glyph-name="eye-slash" d="M317.143 188l44.571 80.571q-49.714 36-77.714 90.857t-28 116q0 69.143 34.857 128.571-130.857-66.857-217.714-201.714 95.429-147.429 244-214.286zM539.429 621.714q0 11.429-8 19.429t-19.429 8q-71.429 0-122.571-51.143t-51.143-122.571q0-11.429 8-19.429t19.429-8 19.429 8 8 19.429q0 49.143 34.857 84t84 34.857q11.429 0 19.429 8t8 19.429zM746.857 730.857q0-4-0.571-5.143-60-107.429-180-323.429t-180.571-324l-28-50.857q-5.714-9.143-16-9.143-6.857 0-76.571 40-9.143 5.714-9.143 16 0 6.857 25.143 49.714-81.714 37.143-150.571 98.857t-119.143 140q-11.429 17.714-11.429 39.429t11.429 39.429q87.429 134.286 217.143 212t283.429 77.714q50.857 0 102.857-9.714l30.857 55.429q5.714 9.143 16 9.143 2.857 0 10.286-3.429t17.714-8.857 18.857-10.571 18-10.571 11.143-6.571q9.143-5.714 9.143-15.429zM768 475.428q0-79.429-45.143-144.857t-119.429-94l160 286.857q4.571-25.714 4.571-48zM1024 402.286q0-20-11.429-39.429-22.286-36.571-62.286-82.857-85.714-98.286-198.571-152.571t-239.714-54.286l42.286 75.429q121.143 10.286 224.286 78.286t172.286 175.429q-65.714 102.286-161.143 168l36 64q54.286-36.571 104.286-87.429t82.571-105.143q11.429-19.429 11.429-39.429z" />
13
+ <glyph unicode="&#xf1c7;" glyph-name="envelope-o" d="M96 704h832v-576h-832v576zM234 640l278-185 278 185h-556zM160 612v-420h704v420l-334-223-18-11-18 11z" />
14
+ <glyph unicode="&#xf268;" glyph-name="link" d="M696 832c53.473 0 103.207-21.145 141-59 37.824-37.824 59-87.527 59-141s-21.176-104.176-59-142l-47-47c-37.793-37.855-88.527-59-142-59-25.375 0-50.088 4.881-73 14l52 52c6.881-1.217 13.832-2 21-2 36.416 0 71.24 14.24 97 40l47 47c53.119 53.119 53.119 139.912 0 193-25.729 25.76-59.615 40-96 40-36.416 0-71.271-14.207-97-40l-47-47c-31.904-31.871-44.527-76.561-38-118l-52-52c-9.119 22.912-14 47.592-14 73 0 53.473 21.176 104.176 59 142l47 47c37.793 37.855 88.527 59 142 59zM617 599l46-46-256-256-46 46zM376 512c25.377 0 50.088-4.881 73-14l-52-52c-6.881 1.217-13.832 2-21 2-36.416 0-71.24-14.24-97-40l-47-47c-53.119-53.119-53.119-139.912 0-193 25.729-25.76 59.615-40 96-40 36.416 0 71.271 14.207 97 40l47 47c31.904 31.871 44.527 76.561 38 118l52 52c9.119-22.912 14-47.592 14-73 0-53.473-21.176-104.176-59-142l-47-47c-37.793-37.855-88.527-59-142-59s-103.207 21.145-141 59c-37.824 37.824-59 87.527-59 141s21.176 104.176 59 142l47 47c37.793 37.855 88.527 59 142 59z" />
15
+ <glyph unicode="&#xf364;" glyph-name="user" d="M480 800c123.332 0 224-100.668 224-224 0-77.082-39.396-145.668-99-186 114.148-48.955 195-162.201 195-294h-64c0 141.781-114.219 256-256 256s-256-114.219-256-256h-64c0 131.799 80.852 245.044 195 294-59.604 40.332-99 108.918-99 186 0 123.332 100.668 224 224 224zM480 736c-88.744 0-160-71.256-160-160s71.256-160 160-160 160 71.256 160 160-71.256 160-160 160z" />
16
+ </font></defs></svg>
assets/fonts/revechat-signup.ttf ADDED
Binary file
assets/fonts/revechat-signup.woff ADDED
Binary file
assets/icon-128x128.png DELETED
Binary file
assets/icon-256x256.png DELETED
Binary file
{tags/2.0.0/css → assets/images}/ajax_loader.gif RENAMED
File without changes
{tags/2.0.0 → assets}/images/favicon.png RENAMED
File without changes
assets/images/flags.png ADDED
Binary file
assets/images/flags@2x.png ADDED
Binary file
{tags/2.0.0 → assets}/images/logo.png RENAMED
File without changes
assets/js/intlTelInput.min.js ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ /*
2
+ * International Telephone Input v12.0.1
3
+ * https://github.com/jackocnr/intl-tel-input.git
4
+ * Licensed under the MIT license
5
+ */
6
+
7
+ !function(a){"function"==typeof define&&define.amd?define(["jquery"],function(b){a(b,window,document)}):"object"==typeof module&&module.exports?module.exports=a(require("jquery"),window,document):a(jQuery,window,document)}(function(a,b,c,d){"use strict";function e(b,c){this.a=a(b),this.b=a.extend({},h,c),this.ns="."+f+g++,this.d=Boolean(b.setSelectionRange),this.e=Boolean(a(b).attr("placeholder"))}var f="intlTelInput",g=1,h={allowDropdown:!0,autoHideDialCode:!0,autoPlaceholder:"polite",customPlaceholder:null,dropdownContainer:"",excludeCountries:[],formatOnDisplay:!0,geoIpLookup:null,hiddenInput:"",initialCountry:"",nationalMode:!0,onlyCountries:[],placeholderNumberType:"MOBILE",preferredCountries:["us","gb"],separateDialCode:!1,utilsScript:""},i={b:38,c:40,d:13,e:27,f:43,A:65,Z:90,j:32,k:9},j=["800","822","833","844","855","866","877","880","881","882","883","884","885","886","887","888","889"];a(b).on("load",function(){a.fn[f].windowLoaded=!0}),e.prototype={_a:function(){return this.b.nationalMode&&(this.b.autoHideDialCode=!1),this.b.separateDialCode&&(this.b.autoHideDialCode=this.b.nationalMode=!1),this.g=/Android.+Mobile|webOS|iPhone|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),this.g&&(a("body").addClass("iti-mobile"),this.b.dropdownContainer||(this.b.dropdownContainer="body")),this.h=new a.Deferred,this.i=new a.Deferred,this.s={},this._b(),this._f(),this._h(),this._i(),this._i2(),[this.h,this.i]},_b:function(){this._d(),this._d2(),this._e()},_c:function(a,b,c){b in this.q||(this.q[b]=[]);var d=c||0;this.q[b][d]=a},_d:function(){if(this.b.onlyCountries.length){var a=this.b.onlyCountries.map(function(a){return a.toLowerCase()});this.p=k.filter(function(b){return a.indexOf(b.iso2)>-1})}else if(this.b.excludeCountries.length){var b=this.b.excludeCountries.map(function(a){return a.toLowerCase()});this.p=k.filter(function(a){return-1===b.indexOf(a.iso2)})}else this.p=k},_d2:function(){this.q={};for(var a=0;a<this.p.length;a++){var b=this.p[a];if(this._c(b.iso2,b.dialCode,b.priority),b.areaCodes)for(var c=0;c<b.areaCodes.length;c++)this._c(b.iso2,b.dialCode+b.areaCodes[c])}},_e:function(){this.preferredCountries=[];for(var a=0;a<this.b.preferredCountries.length;a++){var b=this.b.preferredCountries[a].toLowerCase(),c=this._y(b,!1,!0);c&&this.preferredCountries.push(c)}},_f:function(){this.a.attr("autocomplete","off");var b="intl-tel-input";this.b.allowDropdown&&(b+=" allow-dropdown"),this.b.separateDialCode&&(b+=" separate-dial-code"),this.a.wrap(a("<div>",{"class":b})),this.k=a("<div>",{"class":"flag-container"}).insertBefore(this.a);var c=a("<div>",{"class":"selected-flag"});c.appendTo(this.k),this.l=a("<div>",{"class":"iti-flag"}).appendTo(c),this.b.separateDialCode&&(this.t=a("<div>",{"class":"selected-dial-code"}).appendTo(c)),this.b.allowDropdown?(c.attr("tabindex","0"),a("<div>",{"class":"iti-arrow"}).appendTo(c),this.m=a("<ul>",{"class":"country-list hide"}),this.preferredCountries.length&&(this._g(this.preferredCountries,"preferred"),a("<li>",{"class":"divider"}).appendTo(this.m)),this._g(this.p,""),this.o=this.m.children(".country"),this.b.dropdownContainer?this.dropdown=a("<div>",{"class":"intl-tel-input iti-container"}).append(this.m):this.m.appendTo(this.k)):this.o=a(),this.b.hiddenInput&&(this.hiddenInput=a("<input>",{type:"hidden",name:this.b.hiddenInput}).insertBefore(this.a))},_g:function(a,b){for(var c="",d=0;d<a.length;d++){var e=a[d];c+="<li class='country "+b+"' data-dial-code='"+e.dialCode+"' data-country-code='"+e.iso2+"'>",c+="<div class='flag-box'><div class='iti-flag "+e.iso2+"'></div></div>",c+="<span class='country-name'>"+e.name+"</span>",c+="<span class='dial-code'>+"+e.dialCode+"</span>",c+="</li>"}this.m.append(c)},_h:function(){var a=this.a.val();this._af(a)&&(!this._isRegionlessNanp(a)||this.b.nationalMode&&!this.b.initialCountry)?this._v(a):"auto"!==this.b.initialCountry&&(this.b.initialCountry?this._z(this.b.initialCountry.toLowerCase()):(this.j=this.preferredCountries.length?this.preferredCountries[0].iso2:this.p[0].iso2,a||this._z(this.j)),a||this.b.nationalMode||this.b.autoHideDialCode||this.b.separateDialCode||this.a.val("+"+this.s.dialCode)),a&&this._u(a)},_i:function(){this._j(),this.b.autoHideDialCode&&this._l(),this.b.allowDropdown&&this._i1(),this.hiddenInput&&this._initHiddenInputListener()},_initHiddenInputListener:function(){var a=this,b=this.a.closest("form");b.length&&b.submit(function(){a.hiddenInput.val(a.getNumber())})},_i1:function(){var a=this,b=this.a.closest("label");b.length&&b.on("click"+this.ns,function(b){a.m.hasClass("hide")?a.a.focus():b.preventDefault()}),this.l.parent().on("click"+this.ns,function(b){!a.m.hasClass("hide")||a.a.prop("disabled")||a.a.prop("readonly")||a._n()}),this.k.on("keydown"+a.ns,function(b){!a.m.hasClass("hide")||b.which!=i.b&&b.which!=i.c&&b.which!=i.j&&b.which!=i.d||(b.preventDefault(),b.stopPropagation(),a._n()),b.which==i.k&&a._ac()})},_i2:function(){var c=this;this.b.utilsScript?a.fn[f].windowLoaded?a.fn[f].loadUtils(this.b.utilsScript,this.i):a(b).on("load",function(){a.fn[f].loadUtils(c.b.utilsScript,c.i)}):this.i.resolve(),"auto"===this.b.initialCountry?this._i3():this.h.resolve()},_i3:function(){a.fn[f].autoCountry?this.handleAutoCountry():a.fn[f].startedLoadingAutoCountry||(a.fn[f].startedLoadingAutoCountry=!0,"function"==typeof this.b.geoIpLookup&&this.b.geoIpLookup(function(b){a.fn[f].autoCountry=b.toLowerCase(),setTimeout(function(){a(".intl-tel-input input").intlTelInput("handleAutoCountry")})}))},_j:function(){var a=this;this.a.on("keyup"+this.ns,function(){a._v(a.a.val())&&a._triggerCountryChange()}),this.a.on("cut"+this.ns+" paste"+this.ns,function(){setTimeout(function(){a._v(a.a.val())&&a._triggerCountryChange()})})},_j2:function(a){var b=this.a.attr("maxlength");return b&&a.length>b?a.substr(0,b):a},_l:function(){var b=this;this.a.on("mousedown"+this.ns,function(a){b.a.is(":focus")||b.a.val()||(a.preventDefault(),b.a.focus())}),this.a.on("focus"+this.ns,function(a){b.a.val()||b.a.prop("readonly")||!b.s.dialCode||(b.a.val("+"+b.s.dialCode),b.a.one("keypress.plus"+b.ns,function(a){a.which==i.f&&b.a.val("")}),setTimeout(function(){var a=b.a[0];if(b.d){var c=b.a.val().length;a.setSelectionRange(c,c)}}))});var c=this.a.prop("form");c&&a(c).on("submit"+this.ns,function(){b._removeEmptyDialCode()}),this.a.on("blur"+this.ns,function(){b._removeEmptyDialCode()})},_removeEmptyDialCode:function(){var a=this.a.val();if("+"==a.charAt(0)){var b=this._m(a);b&&this.s.dialCode!=b||this.a.val("")}this.a.off("keypress.plus"+this.ns)},_m:function(a){return a.replace(/\D/g,"")},_n:function(){this._o();var a=this.m.children(".active");a.length&&(this._x(a),this._ad(a)),this._p(),this.l.children(".iti-arrow").addClass("up"),this.a.trigger("open:countrydropdown")},_o:function(){var c=this;if(this.b.dropdownContainer&&this.dropdown.appendTo(this.b.dropdownContainer),this.n=this.m.removeClass("hide").outerHeight(),!this.g){var d=this.a.offset(),e=d.top,f=a(b).scrollTop(),g=e+this.a.outerHeight()+this.n<f+a(b).height(),h=e-this.n>f;if(this.m.toggleClass("dropup",!g&&h),this.b.dropdownContainer){var i=!g&&h?0:this.a.innerHeight();this.dropdown.css({top:e+i,left:d.left}),a(b).on("scroll"+this.ns,function(){c._ac()})}}},_p:function(){var b=this;this.m.on("mouseover"+this.ns,".country",function(c){b._x(a(this))}),this.m.on("click"+this.ns,".country",function(c){b._ab(a(this))});var d=!0;a("html").on("click"+this.ns,function(a){d||b._ac(),d=!1});var e="",f=null;a(c).on("keydown"+this.ns,function(a){a.preventDefault(),a.which==i.b||a.which==i.c?b._q(a.which):a.which==i.d?b._r():a.which==i.e?b._ac():(a.which>=i.A&&a.which<=i.Z||a.which==i.j)&&(f&&clearTimeout(f),e+=String.fromCharCode(a.which),b._s(e),f=setTimeout(function(){e=""},1e3))})},_q:function(a){var b=this.m.children(".highlight").first(),c=a==i.b?b.prev():b.next();c.length&&(c.hasClass("divider")&&(c=a==i.b?c.prev():c.next()),this._x(c),this._ad(c))},_r:function(){var a=this.m.children(".highlight").first();a.length&&this._ab(a)},_s:function(a){for(var b=0;b<this.p.length;b++)if(this._t(this.p[b].name,a)){var c=this.m.children("[data-country-code="+this.p[b].iso2+"]").not(".preferred");this._x(c),this._ad(c,!0);break}},_t:function(a,b){return a.substr(0,b.length).toUpperCase()==b},_u:function(a){if(this.b.formatOnDisplay&&b.intlTelInputUtils&&this.s){var c=this.b.separateDialCode||!this.b.nationalMode&&"+"==a.charAt(0)?intlTelInputUtils.numberFormat.INTERNATIONAL:intlTelInputUtils.numberFormat.NATIONAL;a=intlTelInputUtils.formatNumber(a,this.s.iso2,c)}a=this._ah(a),this.a.val(a)},_v:function(b){b&&this.b.nationalMode&&"1"==this.s.dialCode&&"+"!=b.charAt(0)&&("1"!=b.charAt(0)&&(b="1"+b),b="+"+b);var c=this._af(b),d=null,e=this._m(b);if(c){var f=this.q[this._m(c)],g=a.inArray(this.s.iso2,f)>-1,h="+1"==c&&e.length>=4;if((!("1"==this.s.dialCode)||!this._isRegionlessNanp(e))&&(!g||h))for(var i=0;i<f.length;i++)if(f[i]){d=f[i];break}}else"+"==b.charAt(0)&&e.length?d="":b&&"+"!=b||(d=this.j);return null!==d&&this._z(d)},_isRegionlessNanp:function(b){var c=this._m(b);if("1"==c.charAt(0)){var d=c.substr(1,3);return a.inArray(d,j)>-1}return!1},_x:function(a){this.o.removeClass("highlight"),a.addClass("highlight")},_y:function(a,b,c){for(var d=b?k:this.p,e=0;e<d.length;e++)if(d[e].iso2==a)return d[e];if(c)return null;throw new Error("No country data for '"+a+"'")},_z:function(a){var b=this.s.iso2?this.s:{};this.s=a?this._y(a,!1,!1):{},this.s.iso2&&(this.j=this.s.iso2),this.l.attr("class","iti-flag "+a);var c=a?this.s.name+": +"+this.s.dialCode:"Unknown";if(this.l.parent().attr("title",c),this.b.separateDialCode){var d=this.s.dialCode?"+"+this.s.dialCode:"",e=this.a.parent();b.dialCode&&e.removeClass("iti-sdc-"+(b.dialCode.length+1)),d&&e.addClass("iti-sdc-"+d.length),this.t.text(d)}return this._aa(),this.o.removeClass("active"),a&&this.o.find(".iti-flag."+a).first().closest(".country").addClass("active"),b.iso2!==a},_aa:function(){var a="aggressive"===this.b.autoPlaceholder||!this.e&&(!0===this.b.autoPlaceholder||"polite"===this.b.autoPlaceholder);if(b.intlTelInputUtils&&a){var c=intlTelInputUtils.numberType[this.b.placeholderNumberType],d=this.s.iso2?intlTelInputUtils.getExampleNumber(this.s.iso2,this.b.nationalMode,c):"";d=this._ah(d),"function"==typeof this.b.customPlaceholder&&(d=this.b.customPlaceholder(d,this.s)),this.a.attr("placeholder",d)}},_ab:function(a){var b=this._z(a.attr("data-country-code"));if(this._ac(),this._ae(a.attr("data-dial-code"),!0),this.a.focus(),this.d){var c=this.a.val().length;this.a[0].setSelectionRange(c,c)}b&&this._triggerCountryChange()},_ac:function(){this.m.addClass("hide"),this.l.children(".iti-arrow").removeClass("up"),a(c).off(this.ns),a("html").off(this.ns),this.m.off(this.ns),this.b.dropdownContainer&&(this.g||a(b).off("scroll"+this.ns),this.dropdown.detach()),this.a.trigger("close:countrydropdown")},_ad:function(a,b){var c=this.m,d=c.height(),e=c.offset().top,f=e+d,g=a.outerHeight(),h=a.offset().top,i=h+g,j=h-e+c.scrollTop(),k=d/2-g/2;if(h<e)b&&(j-=k),c.scrollTop(j);else if(i>f){b&&(j+=k);var l=d-g;c.scrollTop(j-l)}},_ae:function(a,b){var c,d=this.a.val();if(a="+"+a,"+"==d.charAt(0)){var e=this._af(d);c=e?d.replace(e,a):a}else{if(this.b.nationalMode||this.b.separateDialCode)return;if(d)c=a+d;else{if(!b&&this.b.autoHideDialCode)return;c=a}}this.a.val(c)},_af:function(b){var c="";if("+"==b.charAt(0))for(var d="",e=0;e<b.length;e++){var f=b.charAt(e);if(a.isNumeric(f)&&(d+=f,this.q[d]&&(c=b.substr(0,e+1)),4==d.length))break}return c},_ag:function(){var b=a.trim(this.a.val()),c=this.s.dialCode,d=this._m(b),e="1"==d.charAt(0)?d:"1"+d;return(this.b.separateDialCode?"+"+c:"+"!=b.charAt(0)&&"1"!=b.charAt(0)&&c&&"1"==c.charAt(0)&&4==c.length&&c!=e.substr(0,4)?c.substr(1):"")+b},_ah:function(a){if(this.b.separateDialCode){var b=this._af(a);if(b){null!==this.s.areaCodes&&(b="+"+this.s.dialCode);var c=" "===a[b.length]||"-"===a[b.length]?b.length+1:b.length;a=a.substr(c)}}return this._j2(a)},_triggerCountryChange:function(){this.a.trigger("countrychange",this.s)},handleAutoCountry:function(){"auto"===this.b.initialCountry&&(this.j=a.fn[f].autoCountry,this.a.val()||this.setCountry(this.j),this.h.resolve())},handleUtils:function(){b.intlTelInputUtils&&(this.a.val()&&this._u(this.a.val()),this._aa()),this.i.resolve()},destroy:function(){if(this.allowDropdown&&(this._ac(),this.l.parent().off(this.ns),this.a.closest("label").off(this.ns)),this.b.autoHideDialCode){var b=this.a.prop("form");b&&a(b).off(this.ns)}this.a.off(this.ns),this.a.parent().before(this.a).remove()},getExtension:function(){return b.intlTelInputUtils?intlTelInputUtils.getExtension(this._ag(),this.s.iso2):""},getNumber:function(a){return b.intlTelInputUtils?intlTelInputUtils.formatNumber(this._ag(),this.s.iso2,a):""},getNumberType:function(){return b.intlTelInputUtils?intlTelInputUtils.getNumberType(this._ag(),this.s.iso2):-99},getSelectedCountryData:function(){return this.s},getValidationError:function(){return b.intlTelInputUtils?intlTelInputUtils.getValidationError(this._ag(),this.s.iso2):-99},isValidNumber:function(){var c=a.trim(this._ag()),d=this.b.nationalMode?this.s.iso2:"";return b.intlTelInputUtils?intlTelInputUtils.isValidNumber(c,d):null},setCountry:function(a){a=a.toLowerCase(),this.l.hasClass(a)||(this._z(a),this._ae(this.s.dialCode,!1),this._triggerCountryChange())},setNumber:function(a){var b=this._v(a);this._u(a),b&&this._triggerCountryChange()}},a.fn[f]=function(b){var c=arguments;if(b===d||"object"==typeof b){var g=[];return this.each(function(){if(!a.data(this,"plugin_"+f)){var c=new e(this,b),d=c._a();g.push(d[0]),g.push(d[1]),a.data(this,"plugin_"+f,c)}}),a.when.apply(null,g)}if("string"==typeof b&&"_"!==b[0]){var h;return this.each(function(){var d=a.data(this,"plugin_"+f);d instanceof e&&"function"==typeof d[b]&&(h=d[b].apply(d,Array.prototype.slice.call(c,1))),"destroy"===b&&a.data(this,"plugin_"+f,null)}),h!==d?h:this}},a.fn[f].getCountryData=function(){return k},a.fn[f].loadUtils=function(b,c){a.fn[f].loadedUtilsScript?c&&c.resolve():(a.fn[f].loadedUtilsScript=!0,a.ajax({type:"GET",url:b,complete:function(){a(".intl-tel-input input").intlTelInput("handleUtils")},dataType:"script",cache:!0}))},a.fn[f].defaults=h,a.fn[f].version="12.0.1";for(var k=[["Afghanistan (‫افغانستان‬‎)","af","93"],["Albania (Shqipëri)","al","355"],["Algeria (‫الجزائر‬‎)","dz","213"],["American Samoa","as","1684"],["Andorra","ad","376"],["Angola","ao","244"],["Anguilla","ai","1264"],["Antigua and Barbuda","ag","1268"],["Argentina","ar","54"],["Armenia (Հայաստան)","am","374"],["Aruba","aw","297"],["Australia","au","61",0],["Austria (Österreich)","at","43"],["Azerbaijan (Azərbaycan)","az","994"],["Bahamas","bs","1242"],["Bahrain (‫البحرين‬‎)","bh","973"],["Bangladesh (বাংলাদেশ)","bd","880"],["Barbados","bb","1246"],["Belarus (Беларусь)","by","375"],["Belgium (België)","be","32"],["Belize","bz","501"],["Benin (Bénin)","bj","229"],["Bermuda","bm","1441"],["Bhutan (འབྲུག)","bt","975"],["Bolivia","bo","591"],["Bosnia and Herzegovina (Босна и Херцеговина)","ba","387"],["Botswana","bw","267"],["Brazil (Brasil)","br","55"],["British Indian Ocean Territory","io","246"],["British Virgin Islands","vg","1284"],["Brunei","bn","673"],["Bulgaria (България)","bg","359"],["Burkina Faso","bf","226"],["Burundi (Uburundi)","bi","257"],["Cambodia (កម្ពុជា)","kh","855"],["Cameroon (Cameroun)","cm","237"],["Canada","ca","1",1,["204","226","236","249","250","289","306","343","365","387","403","416","418","431","437","438","450","506","514","519","548","579","581","587","604","613","639","647","672","705","709","742","778","780","782","807","819","825","867","873","902","905"]],["Cape Verde (Kabu Verdi)","cv","238"],["Caribbean Netherlands","bq","599",1],["Cayman Islands","ky","1345"],["Central African Republic (République centrafricaine)","cf","236"],["Chad (Tchad)","td","235"],["Chile","cl","56"],["China (中国)","cn","86"],["Christmas Island","cx","61",2],["Cocos (Keeling) Islands","cc","61",1],["Colombia","co","57"],["Comoros (‫جزر القمر‬‎)","km","269"],["Congo (DRC) (Jamhuri ya Kidemokrasia ya Kongo)","cd","243"],["Congo (Republic) (Congo-Brazzaville)","cg","242"],["Cook Islands","ck","682"],["Costa Rica","cr","506"],["Côte d’Ivoire","ci","225"],["Croatia (Hrvatska)","hr","385"],["Cuba","cu","53"],["Curaçao","cw","599",0],["Cyprus (Κύπρος)","cy","357"],["Czech Republic (Česká republika)","cz","420"],["Denmark (Danmark)","dk","45"],["Djibouti","dj","253"],["Dominica","dm","1767"],["Dominican Republic (República Dominicana)","do","1",2,["809","829","849"]],["Ecuador","ec","593"],["Egypt (‫مصر‬‎)","eg","20"],["El Salvador","sv","503"],["Equatorial Guinea (Guinea Ecuatorial)","gq","240"],["Eritrea","er","291"],["Estonia (Eesti)","ee","372"],["Ethiopia","et","251"],["Falkland Islands (Islas Malvinas)","fk","500"],["Faroe Islands (Føroyar)","fo","298"],["Fiji","fj","679"],["Finland (Suomi)","fi","358",0],["France","fr","33"],["French Guiana (Guyane française)","gf","594"],["French Polynesia (Polynésie française)","pf","689"],["Gabon","ga","241"],["Gambia","gm","220"],["Georgia (საქართველო)","ge","995"],["Germany (Deutschland)","de","49"],["Ghana (Gaana)","gh","233"],["Gibraltar","gi","350"],["Greece (Ελλάδα)","gr","30"],["Greenland (Kalaallit Nunaat)","gl","299"],["Grenada","gd","1473"],["Guadeloupe","gp","590",0],["Guam","gu","1671"],["Guatemala","gt","502"],["Guernsey","gg","44",1],["Guinea (Guinée)","gn","224"],["Guinea-Bissau (Guiné Bissau)","gw","245"],["Guyana","gy","592"],["Haiti","ht","509"],["Honduras","hn","504"],["Hong Kong (香港)","hk","852"],["Hungary (Magyarország)","hu","36"],["Iceland (Ísland)","is","354"],["India (भारत)","in","91"],["Indonesia","id","62"],["Iran (‫ایران‬‎)","ir","98"],["Iraq (‫العراق‬‎)","iq","964"],["Ireland","ie","353"],["Isle of Man","im","44",2],["Israel (‫ישראל‬‎)","il","972"],["Italy (Italia)","it","39",0],["Jamaica","jm","1876"],["Japan (日本)","jp","81"],["Jersey","je","44",3],["Jordan (‫الأردن‬‎)","jo","962"],["Kazakhstan (Казахстан)","kz","7",1],["Kenya","ke","254"],["Kiribati","ki","686"],["Kosovo","xk","383"],["Kuwait (‫الكويت‬‎)","kw","965"],["Kyrgyzstan (Кыргызстан)","kg","996"],["Laos (ລາວ)","la","856"],["Latvia (Latvija)","lv","371"],["Lebanon (‫لبنان‬‎)","lb","961"],["Lesotho","ls","266"],["Liberia","lr","231"],["Libya (‫ليبيا‬‎)","ly","218"],["Liechtenstein","li","423"],["Lithuania (Lietuva)","lt","370"],["Luxembourg","lu","352"],["Macau (澳門)","mo","853"],["Macedonia (FYROM) (Македонија)","mk","389"],["Madagascar (Madagasikara)","mg","261"],["Malawi","mw","265"],["Malaysia","my","60"],["Maldives","mv","960"],["Mali","ml","223"],["Malta","mt","356"],["Marshall Islands","mh","692"],["Martinique","mq","596"],["Mauritania (‫موريتانيا‬‎)","mr","222"],["Mauritius (Moris)","mu","230"],["Mayotte","yt","262",1],["Mexico (México)","mx","52"],["Micronesia","fm","691"],["Moldova (Republica Moldova)","md","373"],["Monaco","mc","377"],["Mongolia (Монгол)","mn","976"],["Montenegro (Crna Gora)","me","382"],["Montserrat","ms","1664"],["Morocco (‫المغرب‬‎)","ma","212",0],["Mozambique (Moçambique)","mz","258"],["Myanmar (Burma) (မြန်မာ)","mm","95"],["Namibia (Namibië)","na","264"],["Nauru","nr","674"],["Nepal (नेपाल)","np","977"],["Netherlands (Nederland)","nl","31"],["New Caledonia (Nouvelle-Calédonie)","nc","687"],["New Zealand","nz","64"],["Nicaragua","ni","505"],["Niger (Nijar)","ne","227"],["Nigeria","ng","234"],["Niue","nu","683"],["Norfolk Island","nf","672"],["North Korea (조선 민주주의 인민 공화국)","kp","850"],["Northern Mariana Islands","mp","1670"],["Norway (Norge)","no","47",0],["Oman (‫عُمان‬‎)","om","968"],["Pakistan (‫پاکستان‬‎)","pk","92"],["Palau","pw","680"],["Palestine (‫فلسطين‬‎)","ps","970"],["Panama (Panamá)","pa","507"],["Papua New Guinea","pg","675"],["Paraguay","py","595"],["Peru (Perú)","pe","51"],["Philippines","ph","63"],["Poland (Polska)","pl","48"],["Portugal","pt","351"],["Puerto Rico","pr","1",3,["787","939"]],["Qatar (‫قطر‬‎)","qa","974"],["Réunion (La Réunion)","re","262",0],["Romania (România)","ro","40"],["Russia (Россия)","ru","7",0],["Rwanda","rw","250"],["Saint Barthélemy","bl","590",1],["Saint Helena","sh","290"],["Saint Kitts and Nevis","kn","1869"],["Saint Lucia","lc","1758"],["Saint Martin (Saint-Martin (partie française))","mf","590",2],["Saint Pierre and Miquelon (Saint-Pierre-et-Miquelon)","pm","508"],["Saint Vincent and the Grenadines","vc","1784"],["Samoa","ws","685"],["San Marino","sm","378"],["São Tomé and Príncipe (São Tomé e Príncipe)","st","239"],["Saudi Arabia (‫المملكة العربية السعودية‬‎)","sa","966"],["Senegal (Sénégal)","sn","221"],["Serbia (Србија)","rs","381"],["Seychelles","sc","248"],["Sierra Leone","sl","232"],["Singapore","sg","65"],["Sint Maarten","sx","1721"],["Slovakia (Slovensko)","sk","421"],["Slovenia (Slovenija)","si","386"],["Solomon Islands","sb","677"],["Somalia (Soomaaliya)","so","252"],["South Africa","za","27"],["South Korea (대한민국)","kr","82"],["South Sudan (‫جنوب السودان‬‎)","ss","211"],["Spain (España)","es","34"],["Sri Lanka (ශ්‍රී ලංකාව)","lk","94"],["Sudan (‫السودان‬‎)","sd","249"],["Suriname","sr","597"],["Svalbard and Jan Mayen","sj","47",1],["Swaziland","sz","268"],["Sweden (Sverige)","se","46"],["Switzerland (Schweiz)","ch","41"],["Syria (‫سوريا‬‎)","sy","963"],["Taiwan (台灣)","tw","886"],["Tajikistan","tj","992"],["Tanzania","tz","255"],["Thailand (ไทย)","th","66"],["Timor-Leste","tl","670"],["Togo","tg","228"],["Tokelau","tk","690"],["Tonga","to","676"],["Trinidad and Tobago","tt","1868"],["Tunisia (‫تونس‬‎)","tn","216"],["Turkey (Türkiye)","tr","90"],["Turkmenistan","tm","993"],["Turks and Caicos Islands","tc","1649"],["Tuvalu","tv","688"],["U.S. Virgin Islands","vi","1340"],["Uganda","ug","256"],["Ukraine (Україна)","ua","380"],["United Arab Emirates (‫الإمارات العربية المتحدة‬‎)","ae","971"],["United Kingdom","gb","44",0],["United States","us","1",0],["Uruguay","uy","598"],["Uzbekistan (Oʻzbekiston)","uz","998"],["Vanuatu","vu","678"],["Vatican City (Città del Vaticano)","va","39",1],["Venezuela","ve","58"],["Vietnam (Việt Nam)","vn","84"],["Wallis and Futuna (Wallis-et-Futuna)","wf","681"],["Western Sahara (‫الصحراء الغربية‬‎)","eh","212",1],["Yemen (‫اليمن‬‎)","ye","967"],["Zambia","zm","260"],["Zimbabwe","zw","263"],["Åland Islands","ax","358",1]],l=0;l<k.length;l++){var m=k[l];k[l]={name:m[0],iso2:m[1],dialCode:m[2],priority:m[3]||0,areaCodes:m[4]||null}}});
assets/js/jquery-validation.js ADDED
@@ -0,0 +1,2 @@
 
 
1
+ /*! jQuery Validation Plugin - v1.11.1 - 3/22/2013\n* https://github.com/jzaefferer/jquery-validation
2
+ * Copyright (c) 2013 Jörn Zaefferer; Licensed MIT */(function(t){t.extend(t.fn,{validate:function(e){if(!this.length)return e&&e.debug&&window.console&&console.warn("Nothing selected, can't validate, returning nothing."),void 0;var i=t.data(this[0],"validator");return i?i:(this.attr("novalidate","novalidate"),i=new t.validator(e,this[0]),t.data(this[0],"validator",i),i.settings.onsubmit&&(this.validateDelegate(":submit","click",function(e){i.settings.submitHandler&&(i.submitButton=e.target),t(e.target).hasClass("cancel")&&(i.cancelSubmit=!0),void 0!==t(e.target).attr("formnovalidate")&&(i.cancelSubmit=!0)}),this.submit(function(e){function s(){var s;return i.settings.submitHandler?(i.submitButton&&(s=t("<input type='hidden'/>").attr("name",i.submitButton.name).val(t(i.submitButton).val()).appendTo(i.currentForm)),i.settings.submitHandler.call(i,i.currentForm,e),i.submitButton&&s.remove(),!1):!0}return i.settings.debug&&e.preventDefault(),i.cancelSubmit?(i.cancelSubmit=!1,s()):i.form()?i.pendingRequest?(i.formSubmitted=!0,!1):s():(i.focusInvalid(),!1)})),i)},valid:function(){if(t(this[0]).is("form"))return this.validate().form();var e=!0,i=t(this[0].form).validate();return this.each(function(){e=e&&i.element(this)}),e},removeAttrs:function(e){var i={},s=this;return t.each(e.split(/\s/),function(t,e){i[e]=s.attr(e),s.removeAttr(e)}),i},rules:function(e,i){var s=this[0];if(e){var r=t.data(s.form,"validator").settings,n=r.rules,a=t.validator.staticRules(s);switch(e){case"add":t.extend(a,t.validator.normalizeRule(i)),delete a.messages,n[s.name]=a,i.messages&&(r.messages[s.name]=t.extend(r.messages[s.name],i.messages));break;case"remove":if(!i)return delete n[s.name],a;var u={};return t.each(i.split(/\s/),function(t,e){u[e]=a[e],delete a[e]}),u}}var o=t.validator.normalizeRules(t.extend({},t.validator.classRules(s),t.validator.attributeRules(s),t.validator.dataRules(s),t.validator.staticRules(s)),s);if(o.required){var l=o.required;delete o.required,o=t.extend({required:l},o)}return o}}),t.extend(t.expr[":"],{blank:function(e){return!t.trim(""+t(e).val())},filled:function(e){return!!t.trim(""+t(e).val())},unchecked:function(e){return!t(e).prop("checked")}}),t.validator=function(e,i){this.settings=t.extend(!0,{},t.validator.defaults,e),this.currentForm=i,this.init()},t.validator.format=function(e,i){return 1===arguments.length?function(){var i=t.makeArray(arguments);return i.unshift(e),t.validator.format.apply(this,i)}:(arguments.length>2&&i.constructor!==Array&&(i=t.makeArray(arguments).slice(1)),i.constructor!==Array&&(i=[i]),t.each(i,function(t,i){e=e.replace(RegExp("\\{"+t+"\\}","g"),function(){return i})}),e)},t.extend(t.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:!0,errorContainer:t([]),errorLabelContainer:t([]),onsubmit:!0,ignore:":hidden",ignoreTitle:!1,onfocusin:function(t){this.lastActive=t,this.settings.focusCleanup&&!this.blockFocusCleanup&&(this.settings.unhighlight&&this.settings.unhighlight.call(this,t,this.settings.errorClass,this.settings.validClass),this.addWrapper(this.errorsFor(t)).hide())},onfocusout:function(t){this.checkable(t)||!(t.name in this.submitted)&&this.optional(t)||this.element(t)},onkeyup:function(t,e){(9!==e.which||""!==this.elementValue(t))&&(t.name in this.submitted||t===this.lastElement)&&this.element(t)},onclick:function(t){t.name in this.submitted?this.element(t):t.parentNode.name in this.submitted&&this.element(t.parentNode)},highlight:function(e,i,s){"radio"===e.type?this.findByName(e.name).addClass(i).removeClass(s):t(e).addClass(i).removeClass(s)},unhighlight:function(e,i,s){"radio"===e.type?this.findByName(e.name).removeClass(i).addClass(s):t(e).removeClass(i).addClass(s)}},setDefaults:function(e){t.extend(t.validator.defaults,e)},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",maxlength:t.validator.format("Please enter no more than {0} characters."),minlength:t.validator.format("Please enter at least {0} characters."),rangelength:t.validator.format("Please enter a value between {0} and {1} characters long."),range:t.validator.format("Please enter a value between {0} and {1}."),max:t.validator.format("Please enter a value less than or equal to {0}."),min:t.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:!1,prototype:{init:function(){function e(e){var i=t.data(this[0].form,"validator"),s="on"+e.type.replace(/^validate/,"");i.settings[s]&&i.settings[s].call(i,this[0],e)}this.labelContainer=t(this.settings.errorLabelContainer),this.errorContext=this.labelContainer.length&&this.labelContainer||t(this.currentForm),this.containers=t(this.settings.errorContainer).add(this.settings.errorLabelContainer),this.submitted={},this.valueCache={},this.pendingRequest=0,this.pending={},this.invalid={},this.reset();var i=this.groups={};t.each(this.settings.groups,function(e,s){"string"==typeof s&&(s=s.split(/\s/)),t.each(s,function(t,s){i[s]=e})});var s=this.settings.rules;t.each(s,function(e,i){s[e]=t.validator.normalizeRule(i)}),t(this.currentForm).validateDelegate(":text, [type='password'], [type='file'], select, textarea, [type='number'], [type='search'] ,[type='tel'], [type='url'], [type='email'], [type='datetime'], [type='date'], [type='month'], [type='week'], [type='time'], [type='datetime-local'], [type='range'], [type='color'] ","focusin focusout keyup",e).validateDelegate("[type='radio'], [type='checkbox'], select, option","click",e),this.settings.invalidHandler&&t(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler)},form:function(){return this.checkForm(),t.extend(this.submitted,this.errorMap),this.invalid=t.extend({},this.errorMap),this.valid()||t(this.currentForm).triggerHandler("invalid-form",[this]),this.showErrors(),this.valid()},checkForm:function(){this.prepareForm();for(var t=0,e=this.currentElements=this.elements();e[t];t++)this.check(e[t]);return this.valid()},element:function(e){e=this.validationTargetFor(this.clean(e)),this.lastElement=e,this.prepareElement(e),this.currentElements=t(e);var i=this.check(e)!==!1;return i?delete this.invalid[e.name]:this.invalid[e.name]=!0,this.numberOfInvalids()||(this.toHide=this.toHide.add(this.containers)),this.showErrors(),i},showErrors:function(e){if(e){t.extend(this.errorMap,e),this.errorList=[];for(var i in e)this.errorList.push({message:e[i],element:this.findByName(i)[0]});this.successList=t.grep(this.successList,function(t){return!(t.name in e)})}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors()},resetForm:function(){t.fn.resetForm&&t(this.currentForm).resetForm(),this.submitted={},this.lastElement=null,this.prepareForm(),this.hideErrors(),this.elements().removeClass(this.settings.errorClass).removeData("previousValue")},numberOfInvalids:function(){return this.objectLength(this.invalid)},objectLength:function(t){var e=0;for(var i in t)e++;return e},hideErrors:function(){this.addWrapper(this.toHide).hide()},valid:function(){return 0===this.size()},size:function(){return this.errorList.length},focusInvalid:function(){if(this.settings.focusInvalid)try{t(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin")}catch(e){}},findLastActive:function(){var e=this.lastActive;return e&&1===t.grep(this.errorList,function(t){return t.element.name===e.name}).length&&e},elements:function(){var e=this,i={};return t(this.currentForm).find("input, select, textarea").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){return!this.name&&e.settings.debug&&window.console&&console.error("%o has no name assigned",this),this.name in i||!e.objectLength(t(this).rules())?!1:(i[this.name]=!0,!0)})},clean:function(e){return t(e)[0]},errors:function(){var e=this.settings.errorClass.replace(" ",".");return t(this.settings.errorElement+"."+e,this.errorContext)},reset:function(){this.successList=[],this.errorList=[],this.errorMap={},this.toShow=t([]),this.toHide=t([]),this.currentElements=t([])},prepareForm:function(){this.reset(),this.toHide=this.errors().add(this.containers)},prepareElement:function(t){this.reset(),this.toHide=this.errorsFor(t)},elementValue:function(e){var i=t(e).attr("type"),s=t(e).val();return"radio"===i||"checkbox"===i?t("input[name='"+t(e).attr("name")+"']:checked").val():"string"==typeof s?s.replace(/\r/g,""):s},check:function(e){e=this.validationTargetFor(this.clean(e));var i,s=t(e).rules(),r=!1,n=this.elementValue(e);for(var a in s){var u={method:a,parameters:s[a]};try{if(i=t.validator.methods[a].call(this,n,e,u.parameters),"dependency-mismatch"===i){r=!0;continue}if(r=!1,"pending"===i)return this.toHide=this.toHide.not(this.errorsFor(e)),void 0;if(!i)return this.formatAndAdd(e,u),!1}catch(o){throw this.settings.debug&&window.console&&console.log("Exception occurred when checking element "+e.id+", check the '"+u.method+"' method.",o),o}}return r?void 0:(this.objectLength(s)&&this.successList.push(e),!0)},customDataMessage:function(e,i){return t(e).data("msg-"+i.toLowerCase())||e.attributes&&t(e).attr("data-msg-"+i.toLowerCase())},customMessage:function(t,e){var i=this.settings.messages[t];return i&&(i.constructor===String?i:i[e])},findDefined:function(){for(var t=0;arguments.length>t;t++)if(void 0!==arguments[t])return arguments[t];return void 0},defaultMessage:function(e,i){return this.findDefined(this.customMessage(e.name,i),this.customDataMessage(e,i),!this.settings.ignoreTitle&&e.title||void 0,t.validator.messages[i],"<strong>Warning: No message defined for "+e.name+"</strong>")},formatAndAdd:function(e,i){var s=this.defaultMessage(e,i.method),r=/\$?\{(\d+)\}/g;"function"==typeof s?s=s.call(this,i.parameters,e):r.test(s)&&(s=t.validator.format(s.replace(r,"{$1}"),i.parameters)),this.errorList.push({message:s,element:e}),this.errorMap[e.name]=s,this.submitted[e.name]=s},addWrapper:function(t){return this.settings.wrapper&&(t=t.add(t.parent(this.settings.wrapper))),t},defaultShowErrors:function(){var t,e;for(t=0;this.errorList[t];t++){var i=this.errorList[t];this.settings.highlight&&this.settings.highlight.call(this,i.element,this.settings.errorClass,this.settings.validClass),this.showLabel(i.element,i.message)}if(this.errorList.length&&(this.toShow=this.toShow.add(this.containers)),this.settings.success)for(t=0;this.successList[t];t++)this.showLabel(this.successList[t]);if(this.settings.unhighlight)for(t=0,e=this.validElements();e[t];t++)this.settings.unhighlight.call(this,e[t],this.settings.errorClass,this.settings.validClass);this.toHide=this.toHide.not(this.toShow),this.hideErrors(),this.addWrapper(this.toShow).show()},validElements:function(){return this.currentElements.not(this.invalidElements())},invalidElements:function(){return t(this.errorList).map(function(){return this.element})},showLabel:function(e,i){var s=this.errorsFor(e);s.length?(s.removeClass(this.settings.validClass).addClass(this.settings.errorClass),s.html(i)):(s=t("<"+this.settings.errorElement+">").attr("for",this.idOrName(e)).addClass(this.settings.errorClass).html(i||""),this.settings.wrapper&&(s=s.hide().show().wrap("<"+this.settings.wrapper+"/>").parent()),this.labelContainer.append(s).length||(this.settings.errorPlacement?this.settings.errorPlacement(s,t(e)):s.insertAfter(e))),!i&&this.settings.success&&(s.text(""),"string"==typeof this.settings.success?s.addClass(this.settings.success):this.settings.success(s,e)),this.toShow=this.toShow.add(s)},errorsFor:function(e){var i=this.idOrName(e);return this.errors().filter(function(){return t(this).attr("for")===i})},idOrName:function(t){return this.groups[t.name]||(this.checkable(t)?t.name:t.id||t.name)},validationTargetFor:function(t){return this.checkable(t)&&(t=this.findByName(t.name).not(this.settings.ignore)[0]),t},checkable:function(t){return/radio|checkbox/i.test(t.type)},findByName:function(e){return t(this.currentForm).find("[name='"+e+"']")},getLength:function(e,i){switch(i.nodeName.toLowerCase()){case"select":return t("option:selected",i).length;case"input":if(this.checkable(i))return this.findByName(i.name).filter(":checked").length}return e.length},depend:function(t,e){return this.dependTypes[typeof t]?this.dependTypes[typeof t](t,e):!0},dependTypes:{"boolean":function(t){return t},string:function(e,i){return!!t(e,i.form).length},"function":function(t,e){return t(e)}},optional:function(e){var i=this.elementValue(e);return!t.validator.methods.required.call(this,i,e)&&"dependency-mismatch"},startRequest:function(t){this.pending[t.name]||(this.pendingRequest++,this.pending[t.name]=!0)},stopRequest:function(e,i){this.pendingRequest--,0>this.pendingRequest&&(this.pendingRequest=0),delete this.pending[e.name],i&&0===this.pendingRequest&&this.formSubmitted&&this.form()?(t(this.currentForm).submit(),this.formSubmitted=!1):!i&&0===this.pendingRequest&&this.formSubmitted&&(t(this.currentForm).triggerHandler("invalid-form",[this]),this.formSubmitted=!1)},previousValue:function(e){return t.data(e,"previousValue")||t.data(e,"previousValue",{old:null,valid:!0,message:this.defaultMessage(e,"remote")})}},classRuleSettings:{required:{required:!0},email:{email:!0},url:{url:!0},date:{date:!0},dateISO:{dateISO:!0},number:{number:!0},digits:{digits:!0},creditcard:{creditcard:!0}},addClassRules:function(e,i){e.constructor===String?this.classRuleSettings[e]=i:t.extend(this.classRuleSettings,e)},classRules:function(e){var i={},s=t(e).attr("class");return s&&t.each(s.split(" "),function(){this in t.validator.classRuleSettings&&t.extend(i,t.validator.classRuleSettings[this])}),i},attributeRules:function(e){var i={},s=t(e),r=s[0].getAttribute("type");for(var n in t.validator.methods){var a;"required"===n?(a=s.get(0).getAttribute(n),""===a&&(a=!0),a=!!a):a=s.attr(n),/min|max/.test(n)&&(null===r||/number|range|text/.test(r))&&(a=Number(a)),a?i[n]=a:r===n&&"range"!==r&&(i[n]=!0)}return i.maxlength&&/-1|2147483647|524288/.test(i.maxlength)&&delete i.maxlength,i},dataRules:function(e){var i,s,r={},n=t(e);for(i in t.validator.methods)s=n.data("rule-"+i.toLowerCase()),void 0!==s&&(r[i]=s);return r},staticRules:function(e){var i={},s=t.data(e.form,"validator");return s.settings.rules&&(i=t.validator.normalizeRule(s.settings.rules[e.name])||{}),i},normalizeRules:function(e,i){return t.each(e,function(s,r){if(r===!1)return delete e[s],void 0;if(r.param||r.depends){var n=!0;switch(typeof r.depends){case"string":n=!!t(r.depends,i.form).length;break;case"function":n=r.depends.call(i,i)}n?e[s]=void 0!==r.param?r.param:!0:delete e[s]}}),t.each(e,function(s,r){e[s]=t.isFunction(r)?r(i):r}),t.each(["minlength","maxlength"],function(){e[this]&&(e[this]=Number(e[this]))}),t.each(["rangelength","range"],function(){var i;e[this]&&(t.isArray(e[this])?e[this]=[Number(e[this][0]),Number(e[this][1])]:"string"==typeof e[this]&&(i=e[this].split(/[\s,]+/),e[this]=[Number(i[0]),Number(i[1])]))}),t.validator.autoCreateRanges&&(e.min&&e.max&&(e.range=[e.min,e.max],delete e.min,delete e.max),e.minlength&&e.maxlength&&(e.rangelength=[e.minlength,e.maxlength],delete e.minlength,delete e.maxlength)),e},normalizeRule:function(e){if("string"==typeof e){var i={};t.each(e.split(/\s/),function(){i[this]=!0}),e=i}return e},addMethod:function(e,i,s){t.validator.methods[e]=i,t.validator.messages[e]=void 0!==s?s:t.validator.messages[e],3>i.length&&t.validator.addClassRules(e,t.validator.normalizeRule(e))},methods:{required:function(e,i,s){if(!this.depend(s,i))return"dependency-mismatch";if("select"===i.nodeName.toLowerCase()){var r=t(i).val();return r&&r.length>0}return this.checkable(i)?this.getLength(e,i)>0:t.trim(e).length>0},email:function(t,e){return this.optional(e)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))$/i.test(t)},url:function(t,e){return this.optional(e)||/^(https?|s?ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(t)},date:function(t,e){return this.optional(e)||!/Invalid|NaN/.test(""+new Date(t))},dateISO:function(t,e){return this.optional(e)||/^\d{4}[\/\-]\d{1,2}[\/\-]\d{1,2}$/.test(t)},number:function(t,e){return this.optional(e)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)?(?:\.\d+)?$/.test(t)},digits:function(t,e){return this.optional(e)||/^\d+$/.test(t)},creditcard:function(t,e){if(this.optional(e))return"dependency-mismatch";if(/[^0-9 \-]+/.test(t))return!1;var i=0,s=0,r=!1;t=t.replace(/\D/g,"");for(var n=t.length-1;n>=0;n--){var a=t.charAt(n);s=parseInt(a,10),r&&(s*=2)>9&&(s-=9),i+=s,r=!r}return 0===i%10},minlength:function(e,i,s){var r=t.isArray(e)?e.length:this.getLength(t.trim(e),i);return this.optional(i)||r>=s},maxlength:function(e,i,s){var r=t.isArray(e)?e.length:this.getLength(t.trim(e),i);return this.optional(i)||s>=r},rangelength:function(e,i,s){var r=t.isArray(e)?e.length:this.getLength(t.trim(e),i);return this.optional(i)||r>=s[0]&&s[1]>=r},min:function(t,e,i){return this.optional(e)||t>=i},max:function(t,e,i){return this.optional(e)||i>=t},range:function(t,e,i){return this.optional(e)||t>=i[0]&&i[1]>=t},equalTo:function(e,i,s){var r=t(s);return this.settings.onfocusout&&r.unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){t(i).valid()}),e===r.val()},remote:function(e,i,s){if(this.optional(i))return"dependency-mismatch";var r=this.previousValue(i);if(this.settings.messages[i.name]||(this.settings.messages[i.name]={}),r.originalMessage=this.settings.messages[i.name].remote,this.settings.messages[i.name].remote=r.message,s="string"==typeof s&&{url:s}||s,r.old===e)return r.valid;r.old=e;var n=this;this.startRequest(i);var a={};return a[i.name]=e,t.ajax(t.extend(!0,{url:s,mode:"abort",port:"validate"+i.name,dataType:"json",data:a,success:function(s){n.settings.messages[i.name].remote=r.originalMessage;var a=s===!0||"true"===s;if(a){var u=n.formSubmitted;n.prepareElement(i),n.formSubmitted=u,n.successList.push(i),delete n.invalid[i.name],n.showErrors()}else{var o={},l=s||n.defaultMessage(i,"remote");o[i.name]=r.message=t.isFunction(l)?l(e):l,n.invalid[i.name]=!0,n.showErrors(o)}r.valid=a,n.stopRequest(i,a)}},s)),"pending"}}}),t.format=t.validator.format})(jQuery),function(t){var e={};if(t.ajaxPrefilter)t.ajaxPrefilter(function(t,i,s){var r=t.port;"abort"===t.mode&&(e[r]&&e[r].abort(),e[r]=s)});else{var i=t.ajax;t.ajax=function(s){var r=("mode"in s?s:t.ajaxSettings).mode,n=("port"in s?s:t.ajaxSettings).port;return"abort"===r?(e[n]&&e[n].abort(),e[n]=i.apply(this,arguments),e[n]):i.apply(this,arguments)}}}(jQuery),function(t){t.extend(t.fn,{validateDelegate:function(e,i,s){return this.bind(i,function(i){var r=t(i.target);return r.is(e)?s.apply(r,arguments):void 0})}})}(jQuery);
assets/js/scripts.js ADDED
@@ -0,0 +1,471 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery.noConflict();
2
+ (function($) {
3
+ $(document).ready(function() {
4
+ var baseUrl = 'https://dashboard.revechat.com/';
5
+ // var baseUrl = 'https://staging-dev.revechat.com:5443/dashboard/';
6
+ var ajaxMessage = $('.ajax_message');
7
+
8
+ var newAccountInput = $('#newAccountInput');
9
+ var newAccountForm = $("#newAccountForm");
10
+ var newAccountBtn = $("#new-account-submit");
11
+ var newAccountID = newAccountForm.find('input[name=revechat_aid]');
12
+
13
+ var fullName = newAccountForm.find('#fullName');
14
+ var emailAddress = newAccountForm.find('#emailAddress');
15
+ var password = newAccountForm.find('#password');
16
+ var phoneTaker = newAccountForm.find('#phoneTaker');
17
+ var phoneNo = newAccountForm.find('#phoneNo');
18
+ var companyWebsite = newAccountForm.find('#companyWebsite');
19
+ var selectedCountryData = null;
20
+
21
+ var existingAccountInput = $('#existingAccountInput');
22
+ var existingAccountForm = $("#existingAccountForm");
23
+ var existingAccountBtn = $("#existingAccountBtn");
24
+ var existingAccountID = existingAccountForm.find('input[name=revechat_aid]');
25
+ var existingAccountEmail = existingAccountForm.find('#existingAccountEmail');
26
+
27
+
28
+ var toggleForms = function ()
29
+ {
30
+ if ( newAccountInput.is(':checked') )
31
+ {
32
+ existingAccountForm.hide();
33
+ newAccountForm.show();
34
+ }
35
+ else if (existingAccountInput.is(':checked'))
36
+ {
37
+ newAccountForm.hide();
38
+ existingAccountForm.show();
39
+ }
40
+ };
41
+ toggleForms();
42
+ $('#revechat_chooser input').click(toggleForms);
43
+
44
+ var signInValidationRules = {
45
+
46
+ rules: {
47
+ existingAccountEmail: {
48
+ required: true,
49
+ isValidEmail: true
50
+ }
51
+ },
52
+
53
+ messages: {
54
+ existingAccountEmail: {
55
+ required: "Please provide your business email address",
56
+ isValidEmail: "Please provide your real email address"
57
+ }
58
+ },
59
+
60
+ submitHandler: function(form) {
61
+ console.log(`newAccountID.val()`,newAccountID.val());
62
+ console.log(`form`,form);
63
+
64
+ // if (parseInt((newAccountID.val()) > 0))
65
+ form.submit();
66
+ }
67
+ }
68
+
69
+ var validationRules = {
70
+
71
+ rules: {
72
+ password: {
73
+ required: true,
74
+ minlength: 6,
75
+ maxlength: 12
76
+ },
77
+ fullName: {
78
+ required: true
79
+ },
80
+ emailAddress: {
81
+ required: true
82
+ },
83
+ phoneTaker: {
84
+ required: true,
85
+ phoneMinLength: 6,
86
+ maxlength: 12,
87
+ validatePhone: true
88
+ },
89
+ companyWebsite: {
90
+ required: true,
91
+ // excludeCommonSites: true,
92
+ validateURL: true,
93
+ }
94
+ },
95
+
96
+ messages: {
97
+
98
+ password: {
99
+ required: "The password length must be between 6 to 12 characters",
100
+ minlength: "The password length must be between 6 to 12 characters",
101
+ maxlength: "The password length must be between 6 to 12 characters"
102
+ },
103
+ fullName: {
104
+ required: "Please provide your name"
105
+ },
106
+ emailAddress: {
107
+ required: "Please provide your business email address"
108
+ },
109
+ phoneTaker: {
110
+ required: "The phone number length must be between 6 to 12 digits",
111
+ phoneMinLength: "The phone number length must be between 6 to 12 digits",
112
+ maxlength: "The phone number length must be between 6 to 12 digits",
113
+ validatePhone: "The phone number length must be between 6 to 12 digits"
114
+ },
115
+ companyWebsite: {
116
+ required: "Please enter the website, where REVE Chat will be integrated",
117
+ validateURL: "This is not a valid entry. Please enter the website, where REVE Chat will be integrated",
118
+ // excludeCommonSites: "This is not a valid entry. Please enter the website, where REVE Chat will be integrated",
119
+ }
120
+
121
+ },
122
+
123
+ submitHandler: function(form) {
124
+ console.log(`newAccountID.val()`,newAccountID.val());
125
+ console.log(`form`,form);
126
+
127
+ // if (parseInt((newAccountID.val()) > 0))
128
+ form.submit();
129
+ }
130
+ }
131
+
132
+ $("#eye_close").on("click", function() {
133
+
134
+ password.attr('type', 'text');
135
+ $("#eye_close").hide();
136
+ $("#eye_open").show();
137
+ });
138
+
139
+ $("#eye_open").on("click", function() {
140
+
141
+ password.attr('type', 'password');
142
+ $("#eye_open").hide();
143
+ $("#eye_close").show();
144
+ });
145
+
146
+
147
+
148
+ window.ExistingAccoutVerify = function (response) {
149
+ console.log(`response`,response);
150
+ if (response.error)
151
+ {
152
+ ajaxMessage.removeClass('wait').addClass('message alert').html('Incorrect REVE Chat login.');
153
+ setTimeout(function () { ajaxMessage.slideUp().removeClass('wait message alert').html(''); }, 3000);
154
+ existingAccountEmail.focus();
155
+ }
156
+ else
157
+ {
158
+ if( response.data.account_id ) {
159
+
160
+ existingAccountID.val(response.data.account_id);
161
+ existingAccountForm.submit();
162
+
163
+ } else {
164
+ console.log(`ExistingAccoutVerify Response Error: `,response);
165
+ }
166
+ }
167
+ }
168
+
169
+ function existingAccountFormFunc()
170
+ {
171
+
172
+ var isValid = existingAccountForm.valid(signInValidationRules);
173
+ console.log(`isValid`,isValid);
174
+ // if (0) {
175
+ if (isValid) {
176
+ ajaxMessage.removeClass('message').addClass('wait').html('Please wait&hellip;').slideDown();
177
+ var signInUrl = baseUrl +'license/adminId/'+existingAccountEmail.val()+'/?callback=window.ExistingAccoutVerify';
178
+
179
+ $.ajax({
180
+ type: 'GET',
181
+ dataType: "text",
182
+ // dataType: "jsonp",
183
+ url: signInUrl,
184
+ // jsonpCallback: "window.ExistingAccoutVerify",
185
+ success: function(response) {
186
+ eval(response);
187
+ },
188
+ error: function(XMLHttpRequest, textStatus, errorThrown) {
189
+ ajaxMessage.removeClass('wait').addClass('message alert').html('Unable to Login. Please check internet connection.');
190
+ setTimeout(function () { ajaxMessage.slideUp().removeClass('wait message alert').html(''); }, 3000);
191
+ }
192
+
193
+ }); // end of ajax saving.
194
+ }
195
+ }
196
+ existingAccountBtn.click(existingAccountFormFunc);
197
+
198
+
199
+ function newAccountFormFunc()
200
+ {
201
+ var isValid = newAccountForm.valid(validationRules);
202
+ // if (0) {
203
+ if (isValid) {
204
+ ajaxMessage.removeClass('message').addClass('wait').html('Creating new account&hellip;').slideDown();
205
+ var signUpUrl = baseUrl + 'revechat/cms/api/signup.do';
206
+
207
+ $.ajax({
208
+ data: {
209
+ 'firstname': fullName.val(),
210
+ 'lastname':' ',
211
+ 'mailAddr': emailAddress.val(),
212
+ 'password': password.val(),
213
+ 'phoneNo': phoneNo.val(),
214
+ 'companyWebsite': companyWebsite.val(),
215
+ 'utm_source':'cms', 'utm_content':'wordpress', 'referrer':'https://wordpress.org/'
216
+ },
217
+ type:'POST',
218
+ url:signUpUrl,
219
+ dataType: 'json',
220
+ cache:false,
221
+ beforeSend: function() { },
222
+ success: function(response) {
223
+
224
+ if(response.status == 'success')
225
+ {
226
+ if(response.account_id) {
227
+ newAccountID.val(response.account_id);
228
+ newAccountForm.submit();
229
+ }
230
+ else if( response.accountId) {
231
+ newAccountID.val(response.accountId);
232
+ newAccountForm.submit();
233
+ }
234
+ else {
235
+ response.message = 'Account Id missing Please contact with Revechat Adminstrator.';
236
+ }
237
+ ajaxMessage.removeClass('wait').addClass('message').html(response.message);
238
+ setTimeout(function () { ajaxMessage.slideUp().removeClass('wait message alert').html(''); }, 3000);
239
+ }
240
+ else {
241
+ ajaxMessage.removeClass('wait').addClass('message alert').html(response.message);
242
+ setTimeout(function () { ajaxMessage.slideUp().removeClass('wait message alert').html(''); }, 3000);
243
+ }
244
+ },
245
+ error: function (message) {
246
+ console.log(`message`,message);
247
+ ajaxMessage.removeClass('wait').addClass('message alert').html('Unable to Signup. Please check internet connection.');
248
+ setTimeout(function () { ajaxMessage.slideUp().removeClass('wait message alert').html(''); }, 3000);
249
+ }
250
+ });
251
+ }
252
+ }
253
+ newAccountBtn.click(newAccountFormFunc);
254
+
255
+ function setCookie(cname, cvalue, exdays) {
256
+ var d = new Date();
257
+ d.setTime(d.getTime() + (exdays * 24 * 60 * 60 * 1000));
258
+ var expires = "expires=" + d.toUTCString();
259
+ document.cookie = cname + "=" + cvalue + "; " + expires + "; path=/";
260
+ }
261
+
262
+
263
+ phoneTaker.intlTelInput({
264
+
265
+ initialCountry: "auto",
266
+ separateDialCode: true,
267
+ nationalMode: false,
268
+ autoPlaceholder: true,
269
+
270
+ customPlaceholder: function(selectedCountryPlaceholder, selectedCountryData) {
271
+ return "For example: " + selectedCountryPlaceholder;
272
+ },
273
+
274
+ geoIpLookup: function(callback) {
275
+ window.geoInfoCallback = function(data) {
276
+
277
+ var countryCode = data['result']['country_code'];
278
+
279
+ if (countryCode) {
280
+ countryCode = countryCode == "-" ? "us" : countryCode.toLowerCase();
281
+ } else {
282
+ countryCode = "us";
283
+ }
284
+ callback(countryCode);
285
+ setCookie("countryCode", countryCode, 30);
286
+ }
287
+ $.ajax({
288
+ url: "https://location.revechat.com:9090/",
289
+ type: "get",
290
+ async: true,
291
+ success: function(response) {
292
+ eval(response);
293
+ }
294
+ });
295
+ },
296
+ utilsScript: "https://www.revechat.com/wp-content/themes/revechat/js/vendors/utils.js" // just for formatting/placeholders etc
297
+ });
298
+
299
+ phoneTaker.on("countrychange", function (e, countryData) {
300
+ selectedCountryData = countryData;
301
+ newAccountForm.validate(validationRules);
302
+ // console.log(`selectedCountryData`,selectedCountryData);
303
+ });
304
+
305
+ phoneTaker.on("change", function(e) {
306
+
307
+ var me= $(this);
308
+ var currentValue = me.val();
309
+ var regex = new RegExp("^[\+0-9\-\)\( ]+$");
310
+ var phone_number = phoneTaker.intlTelInput("getNumber");
311
+ var isOK = regex.test(phone_number);
312
+ // console.log(`isOK`,isOK);
313
+ // console.log(`phone_number`,phone_number);
314
+ // console.log(`currentValue`,currentValue);
315
+
316
+ if(isOK) {
317
+ phoneNo.val(phone_number);
318
+ } else if ( selectedCountryData == null ) {
319
+ phoneNo.val( currentValue );
320
+ } else {
321
+
322
+ }
323
+
324
+ });
325
+
326
+ phoneTaker.on("keypress", function(e) {
327
+
328
+ var theEvent = e || window.event;
329
+ var key = theEvent.keyCode || theEvent.which;
330
+
331
+ if ((
332
+ // < "0" || > 9
333
+ (key < 48 || key > 57)
334
+ && !(
335
+ key == 8 // BACK_SPACE
336
+ || key == 32 //' '
337
+ || key == 45 //'-'
338
+ || key == 41 //')'
339
+ || key == 40 //'('
340
+ // || key == 9 //TAB
341
+ // || key == 13 // ''
342
+ // || key == 37 // "%"
343
+ // || key == 39 // "'"
344
+ // || key == 46 "."
345
+ )
346
+ )) {
347
+ theEvent.returnValue = false;
348
+ if (theEvent.preventDefault) theEvent.preventDefault();
349
+ }
350
+ });
351
+
352
+
353
+ newAccountForm.validate(validationRules);
354
+ existingAccountForm.validate(signInValidationRules);
355
+
356
+
357
+
358
+ $.validator.addMethod('validatePhone', function() {
359
+ // this is the inteligent validation check provided by the core initTelInput script
360
+ // if ( $REVEChatSignup.$_phoneNoInputFieldSelector.intlTelInput("isValidNumber")){
361
+ // return true;
362
+ // }
363
+ // else{
364
+ // return false;
365
+ // }
366
+
367
+ var phone_number = phoneTaker.val();
368
+ var regex = new RegExp("^[0-9\-\)\( ]+$");
369
+ var isNumber = regex.test(phone_number);
370
+ // console.log(`isNumber`,isNumber);
371
+ return isNumber;
372
+
373
+ }, "Please Enter a valid phone number.");
374
+
375
+ $.validator.addMethod('phoneMinLength', function(inputValue, selectorDom, settingValue) {
376
+ // console.log(`inputValue`,inputValue);
377
+ // console.log(`selectorDom`,selectorDom);
378
+ // console.log(`settingValue`,settingValue);
379
+
380
+ var realVal = inputValue.replace(/[ \-+\(\)]/g, '');
381
+ // console.log(`realVal.length`,realVal.length);
382
+
383
+ if (realVal.length >= settingValue ){
384
+ return true;
385
+ }
386
+ else{
387
+ return false;
388
+ }
389
+
390
+ }, "Please enter at least 6 digits without country code");
391
+
392
+ $.validator.addMethod('validateURL', function(inputValue, selectorDom, settingValue) {
393
+
394
+ var urlregex = new RegExp(/^(?![\.\-\_\+])(((https?1?2?\:\/\/)?www\.)|((https?1?2?\:\/\/)?(www\.))|((https?1?2?\:\/\/)))?[0-9A-Za-z-]+\..+$/, 'i');
395
+ // var urlregex = new RegExp("^(((https?\:\/\/)?www\.)|((https?\:\/\/)?(www\.)))([0-9A-Za-z]+\..+)");
396
+ var ret = urlregex.test(inputValue);
397
+ var arr = inputValue.split('.');
398
+
399
+ if( arr[ arr.length-1 ] == ''){
400
+ return false
401
+ }
402
+
403
+ if((arr[0].substr(arr[0].length - 3)).toLowerCase() == 'www' && arr.length<3)
404
+ return false
405
+
406
+ if(arr.length>4)
407
+ return false;
408
+
409
+ if(arr[ arr.length-1 ].length > 6)
410
+ return false;
411
+
412
+ return ret;
413
+
414
+ }, "Please enter a valid URL.");
415
+
416
+ $.validator.addMethod('excludeCommonSites', function(inputValue, selectorDom, settingValue) {
417
+
418
+ var urlregex = new RegExp(/^.*?((hotmail)|(facebook)|(yahoo)|(google)|(revechat)|(fb\.com)|(twitter)|(gmail)).*?$/, 'i');
419
+ // var urlregex = new RegExp("^(((https?\:\/\/)?www\.)|((https?\:\/\/)?(www\.)))([0-9A-Za-z]+\..+)");
420
+ var ret = urlregex.test(inputValue);
421
+
422
+ return !ret;
423
+
424
+ }, "Please enter a valid URL.");
425
+
426
+ $.validator.addMethod('isValidEmail', function(inputValue, selectorDom, settingValue) {
427
+
428
+ var urlregex = new RegExp(/^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/, 'i');
429
+ // var urlregex = new RegExp("^(((https?\:\/\/)?www\.)|((https?\:\/\/)?(www\.)))([0-9A-Za-z]+\..+)");
430
+ var ret = urlregex.test(inputValue);
431
+
432
+ return ret;
433
+
434
+ }, "Please enter a real email.");
435
+
436
+ function ShowToast(msg,msg_type,snackbar_wrapper, delay, calback_func, calback_params){
437
+ msg_type = msg_type || 'spf-success';
438
+ delay = delay || 3000;
439
+ var auto_snackbar = false;
440
+ if( $("#snackbar").length > 0 )
441
+ $("#snackbar").remove();
442
+ if( !snackbar_wrapper ) {
443
+ $("body").append(`<div id="snackbar"><div class="overlay"></div><span class="data"></span></div>`);
444
+ snackbar_wrapper = $("#snackbar");
445
+ auto_snackbar = true;
446
+ }
447
+
448
+ if (snackbar_wrapper.data("active")) { return; }
449
+ snackbar_wrapper.slideDown().addClass(msg_type).data("active", true).find('.data').html(msg);
450
+
451
+ setTimeout(function() {
452
+ snackbar_wrapper.slideUp().removeClass(msg_type).data("active", false).find('.data').html('');
453
+ if( auto_snackbar ) {
454
+ snackbar_wrapper.remove();
455
+ auto_snackbar = false;
456
+ }
457
+
458
+ if(Array.isArray(calback_func)) {
459
+ if( typeof calback_func[1] == "function" ) {
460
+ // callable_func obj_for_bind params_for_callable_func
461
+ calback_func[1].call(calback_func[0], calback_params);
462
+ }
463
+ } else if(typeof calback_func == "function") {
464
+ calback_func(calback_params);
465
+ }
466
+ }, delay);
467
+ }
468
+
469
+
470
+ });
471
+ })(jQuery);
assets/screenshot-1.jpg DELETED
Binary file
assets/screenshot-2.jpg DELETED
Binary file
assets/screenshot-3.jpg DELETED
Binary file
assets/screenshot-4.jpg DELETED
Binary file
assets/screenshot-5.jpg DELETED
Binary file
assets/screenshot-6.jpg DELETED
Binary file
assets/screenshot-7.jpg DELETED
Binary file
assets/screenshot-8.jpg DELETED
Binary file
assets/screenshot-9.jpg DELETED
Binary file
tags/2.0.2/index.html → index.html RENAMED
File without changes
tags/6.1.9/trunk/readme.txt → readme.txt RENAMED
@@ -2,8 +2,8 @@
2
  Contributors: revechat
3
  Tags: live chat,live support,chat software,chat plugin,wordpress live chat, wordpress chat,chat,chat for web,web chat,chat online,chat software,IM Chat,live web chat,web support,live chat software,online chat,online support,chat widget,video chat,voice chat,snapengage,wordpress chat,wordpress live chat,webrtc,screen sharing,co-browsing,co browsing,facebook chat plugin,facebook chat,web analytics, analytics, analytics dashboard,facebook, facebook messenger, messenger, facebook live chat, crisp, pure chat, purechat, zendesk, zendesk chat, liveagent, olark, happyfox, reve chat, chatra, provide support, comm100, kayako, zoho, zoho salesiq, userlike, userengage, drift, livehelpnow, live help now, intercom, freshdesk, zendesk, clickdesk, liveperson, live person, bold360, velaro, hubspot, salesforce, zapier, zopim, mailchimp, analytics, google analytics, im chat, slack,casengo, tagove, mylivechat, my live chat, livezilla, chatrify,live chat tool, live chat widget, live support button, live chat solution, customer service software, chat, customer service chat, live chat button,wp livechat support, tidio, jivochat, formilla, tawk, tawkto,tawk.to livechat inc, livechatinc, live chat inc,revechat
4
  Requires at least: 2.7
5
- Tested up to: 4.9.4
6
- Stable tag: 6.1.8
7
 
8
  Live chat and help desk software plugin for WordPress website. An application for live chat, help desk, online customer service and support.
9
 
@@ -121,6 +121,10 @@ Don't have a reve chat account ? [Create one from here!](https://www.revechat.co
121
  * introduced new signup process
122
  * fixed signin bug
123
 
 
 
 
 
124
  == Screenshots ==
125
 
126
  1. Chat window on your website - active chat
@@ -134,9 +138,9 @@ Don't have a reve chat account ? [Create one from here!](https://www.revechat.co
134
 
135
  Adding reve chat live chat widget to your Wordpress site is very easy, follow following steps :
136
 
137
- * Clone this repository into your plugins directory or download the zip file and unzip on your plugins directory
138
- * or Install the plugin from the WordPress directory and activate it.
139
- * Go to `Settings`, then to the 'revechat' sub menu, and login to your reve chat account to select a widget.
140
  * Customize the chat widget from within the [reve chat dashboard](https://dashboard.revechat.com) to your preference.
141
  * Start chatting with your visitors! :)
142
 
@@ -146,14 +150,78 @@ Note: You will need a reve chat account : [Create one from here!](https://revech
146
 
147
 
148
  = Do I have to install any software on my server to get working the chat plugin? =
149
- REVE live chat plugin need to be installed from your WordPress panel. It is a cloud based live chat software hence it would only activate the script when you install the plugin.
150
 
151
  = Why should I use REVE Chat live chat support? =
152
- REVE chat is a complete online sales and support tool to engage your website visitors. With advanced features such as Click to call, Facebook Chat Integration, Queuing, Chat Monitoring and others, REVE Chat provides full insights to communicate with your visitors to become your loyal customers.
153
 
154
  = Which web browsers work best with this chat plugin? =
155
  Though it is designed to work on almost all the browsers, REVE Chat works best in the following environment: IE 7+ or later (PC), Firefox 2 or later (Mac, PC, or Linux), Safari 2 or later (Mac), Google Chrome (PC, Mac).
156
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
  = How much is price of REVE Chat web chat plugin? =
158
  REVE Chat plugin is free to install and it offers a complete 14 days free trial to understand its all features. REVE Chat offers 3 packages
159
  1. Standard
@@ -168,17 +236,6 @@ REVE Chat web chat plugin allows unlimited concurrent chats for the paid plans.
168
  = How can I take further information regarding REVE Chat live chat support plugin? =
169
  You can find out more at our site at http://www.revechat.com or at support@revechat.com and we will help you with installation.
170
 
171
- = Is there any demo or trial period to do some testing? =
172
- Yes, definitely you can use all the features of REVE Chat live chat plugin for 14days in the trial period.
173
-
174
- = Can I customize the REVE Chat window? =
175
- Yes, REVE Chat window is customizable. Some of the things which you can change in the chat window include:
176
- * Changing the color scheme
177
- * Changing the font size
178
- * Chat Widget text
179
- * Offline Widget Text
180
- * Pre chat & Post chat form
181
-
182
  = Can I add REVE Chat plugin on more than one website at the same time? =
183
  Yes, this live chat plugin can be added on more than one website at the same time for Advanced & Enterprise package.
184
 
2
  Contributors: revechat
3
  Tags: live chat,live support,chat software,chat plugin,wordpress live chat, wordpress chat,chat,chat for web,web chat,chat online,chat software,IM Chat,live web chat,web support,live chat software,online chat,online support,chat widget,video chat,voice chat,snapengage,wordpress chat,wordpress live chat,webrtc,screen sharing,co-browsing,co browsing,facebook chat plugin,facebook chat,web analytics, analytics, analytics dashboard,facebook, facebook messenger, messenger, facebook live chat, crisp, pure chat, purechat, zendesk, zendesk chat, liveagent, olark, happyfox, reve chat, chatra, provide support, comm100, kayako, zoho, zoho salesiq, userlike, userengage, drift, livehelpnow, live help now, intercom, freshdesk, zendesk, clickdesk, liveperson, live person, bold360, velaro, hubspot, salesforce, zapier, zopim, mailchimp, analytics, google analytics, im chat, slack,casengo, tagove, mylivechat, my live chat, livezilla, chatrify,live chat tool, live chat widget, live support button, live chat solution, customer service software, chat, customer service chat, live chat button,wp livechat support, tidio, jivochat, formilla, tawk, tawkto,tawk.to livechat inc, livechatinc, live chat inc,revechat
4
  Requires at least: 2.7
5
+ Tested up to: 5.3.2
6
+ Stable tag: 6.2.0
7
 
8
  Live chat and help desk software plugin for WordPress website. An application for live chat, help desk, online customer service and support.
9
 
121
  * introduced new signup process
122
  * fixed signin bug
123
 
124
+ = 6.2.0 =
125
+ * new UI design
126
+ * updating singup and login procedure
127
+
128
  == Screenshots ==
129
 
130
  1. Chat window on your website - active chat
138
 
139
  Adding reve chat live chat widget to your Wordpress site is very easy, follow following steps :
140
 
141
+ * Install the live chat plugin from WordPress directory and activate it.
142
+ * Click on REVE Chat in the left menu bar.
143
+ * Enter your login details or create a new live chat account from here!
144
  * Customize the chat widget from within the [reve chat dashboard](https://dashboard.revechat.com) to your preference.
145
  * Start chatting with your visitors! :)
146
 
150
 
151
 
152
  = Do I have to install any software on my server to get working the chat plugin? =
153
+ No, REVE Chat is a cloud-based live chat software and does not require any other application to be installed on server. You just need to install and activate the live chat plugin.
154
 
155
  = Why should I use REVE Chat live chat support? =
156
+ REVE Chat is a multi-channel cloud based live chat software that provides instant assistance to your website visitors for better customer service and boost sales conversions. Businesses can instantly engage with their customers across various channels such as Website live chat, Voice/ Video Chat, Facebook Messenger, Viber, Mobile apps (Android, iOS) using a single platform.
157
 
158
  = Which web browsers work best with this chat plugin? =
159
  Though it is designed to work on almost all the browsers, REVE Chat works best in the following environment: IE 7+ or later (PC), Firefox 2 or later (Mac, PC, or Linux), Safari 2 or later (Mac), Google Chrome (PC, Mac).
160
 
161
+ = is there any demo or trial period to do some testing? =
162
+ Yes, REVE Chat offers 14- Days Free Trial. You will have access to all features during the trial period.
163
+
164
+ = How can i chat with more visitors at the same time? =
165
+ Whenever a chat is initiated by a customer, you can view, and reply form your dashboard. Multiple chat requests can be handled at a single time. You can also initiate the chat with website visitors to boost customer engagement.
166
+
167
+ = Can i customize chat widget? =
168
+ Yes, REVE Chat window is customizable. Some of the things which you can change in the chat window include:
169
+ - Changing the color scheme
170
+ - Changing the font size
171
+ - Changing the avatar
172
+ - Changing the chat widget location
173
+ - Chat Widget text
174
+ - Offline Widget Text
175
+ - Pre-chat & Post chat form
176
+
177
+ = can i add reve chat plugin on more than one website at the same time? =
178
+ Yes, REVE Chat allows the live chat plugin to be used on multiple sites at the same time. You can choose Advanced or higher plan to be able to install it on unlimited websites.
179
+
180
+ = Do you provide live chat support? =
181
+ Yes, we love to help our customers over live chat support. You can contact us anytime from the dashboard.
182
+
183
+ = Can i use this chat service on any type of website? =
184
+ Yes, this live chat plugin can be used on any type of website ranging from blogs, corporate website, eCommerce portals etc.
185
+
186
+ = Do you have limit to the number of chats i can take? =
187
+ No, REVE Chat does not believe in controlling your communication with your website visitors.
188
+
189
+ = Is it possbile to track website visitors through your chat plugin? =
190
+ REVE Chat widget allows you to see visitor location based on the IP address. You can also check the pages they have visited in the current session. It gives you a better visitor insight.
191
+
192
+ = Do you offer proactive chat to website visitor? =
193
+ Yes, a pro-active chat can be triggered from either end. However, agents can set auto-triggers for initiating chats like amount of time spent on any page, viewing pricing page etc.
194
+
195
+ = Can it add more chat agents? =
196
+ Yes, more chat agents can be added from REVE Chat dashboard.
197
+
198
+ = Is it possible to add your chat into facebookfanpage? =
199
+ Yes, REVE Chat allows you to integrate live chat on your Facebook page. This feature allows you to chat with your Facebook page visitors from REVE chat dashboard.
200
+
201
+ = do you support chat tagging? =
202
+ Yes, you can tag your visitors and customers with right tags in your REVE Chat dashboard.
203
+
204
+ = Is it possible to provide support from mobile apps? =
205
+ Yes, you can use REVE Chat’s Android/ iPhone SDK to integrate live chat in your mobile apps too. You will be able to provide omni-channel support from a single dashboard.
206
+
207
+ = Can i see chat history of past conversations? =
208
+ Yes, you chat check chat history of past conversations. Our Advanced plan allows you to access the chat history of 365 days whereas Enterprise plan gives you the access of all your chat history.
209
+
210
+ = is there any application for Android and iOS? =
211
+ Yes, we have mobile app of Android and iPhone both. You will be able to provide support to your website visitors while on the move.
212
+
213
+ = Can I move chat widget? =
214
+ Yes, you can decide the location of chat widget on your website. You can make these changes from live chat plugin dashboard.
215
+
216
+ = Do i have to signup the service to install the plugin? =
217
+ No, you don’t need to signup to install the plugin but you’ll have to signup to use this plugin.
218
+
219
+ = Can i translate preference of chat widget for my own language? =
220
+ Yes, REVE Chat supports more than 20 languages. You can check them above in Description section.
221
+
222
+ = can chat agent able to transfer a chat during conversations? =
223
+ Yes, chat agents will be able to transfer chat during conversation
224
+
225
  = How much is price of REVE Chat web chat plugin? =
226
  REVE Chat plugin is free to install and it offers a complete 14 days free trial to understand its all features. REVE Chat offers 3 packages
227
  1. Standard
236
  = How can I take further information regarding REVE Chat live chat support plugin? =
237
  You can find out more at our site at http://www.revechat.com or at support@revechat.com and we will help you with installation.
238
 
 
 
 
 
 
 
 
 
 
 
 
239
  = Can I add REVE Chat plugin on more than one website at the same time? =
240
  Yes, this live chat plugin can be added on more than one website at the same time for Advanced & Enterprise package.
241
 
revechat.php ADDED
@@ -0,0 +1,284 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ Plugin Name: REVE Chat - WP Live Chat Support plugin
4
+ Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
+ Version: 6.2.0
6
+ Author: REVE Chat
7
+ Author URI: www.revechat.com
8
+ License: GPL2
9
+ */
10
+ if(!class_exists('WP_Plugin_Revechat'))
11
+ {
12
+ /**
13
+ * Core class which interacts with
14
+ * WordPress hooks and filters
15
+ */
16
+ class WP_Plugin_Revechat
17
+ {
18
+ /**
19
+ * Constructor method of the plugin object.
20
+ * This method initialize the stdClass,
21
+ * defines plugin name, plugin display name etc.
22
+ *
23
+ * This method also calls necessary wodpress hooks and filters.
24
+ * for more about hooks please visit @link [https://developer.wordpress.org/reference/functions/add_action/]
25
+ * for more information on filters @link [https://developer.wordpress.org/reference/functions/add_filter/]
26
+ */
27
+ public function __construct()
28
+ {
29
+ // Plugin Details
30
+ $this->plugin = new stdClass;
31
+ $this->plugin->name = 'revechat'; // Plugin Folder
32
+ $this->plugin->displayName = 'REVE Chat'; // Plugin Name
33
+
34
+ // Hooks
35
+ add_action('admin_init', array(&$this, 'registerSettings'));
36
+
37
+ add_action('wp_head', array(&$this, 'frontendHeader'));
38
+ add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
39
+
40
+ // Add Menu Page
41
+ add_action('admin_menu',array($this,'admin_menu'));
42
+
43
+ //enqueue scripts
44
+ add_action('admin_enqueue_scripts',array($this,'admin_scripts'));
45
+
46
+ } // END public function __construct
47
+
48
+ /**
49
+ * REVE Chat widget script.
50
+ *
51
+ * This script will be rendered in frontend of the site.
52
+ * This funtion is called when wp_head action triggered.
53
+ * The wp_head action hook is triggered within the <head></head> section of the user's template
54
+ * by the wp_head() function. Although this is theme-dependent,
55
+ * it is one of the most essential theme hooks, so it is widely supported.
56
+ *
57
+ */
58
+ public static function frontendHeader()
59
+ {
60
+ $accountId = get_option('revechat_aid' , '');
61
+ if( (isset($accountId) && !empty($accountId)) ) {
62
+
63
+ $script = "<script type='text/javascript'>";
64
+ $script .= 'window.$_REVECHAT_API || (function(d, w) { var r = $_REVECHAT_API = function(c) {r._.push(c);}; w.__revechat_account=\''.$accountId.'\';w.__revechat_version=2;
65
+ r._= []; var rc = d.createElement(\'script\'); rc.type = \'text/javascript\'; rc.async = true; rc.setAttribute(\'charset\', \'utf-8\');
66
+ rc.src = (\'https:\' == document.location.protocol ? \'https://\' : \'http://\') + \'static.revechat.com/widget/scripts/new-livechat.js?\'+new Date().getTime();
67
+ var s = d.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(rc, s);
68
+ })(document, window);';
69
+
70
+ $script .='</script>';
71
+
72
+ echo $script ;
73
+
74
+ }
75
+
76
+ }
77
+
78
+ /**
79
+ * Register a setting and its data.
80
+ * refer to @link [https://developer.wordpress.org/reference/functions/register_setting/]
81
+ * for more information about register setting
82
+ */
83
+ public function registerSettings(){
84
+ register_setting($this->plugin->name, 'revechat_aid', 'trim');
85
+ }
86
+
87
+ /**
88
+ * Render the settings form
89
+ */
90
+ public function reveChatOptions(){
91
+ if ( !current_user_can( 'manage_options' ) ) {
92
+ wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
93
+ }
94
+ // variables for the field and option names
95
+ $accountId = 'revechat_aid';
96
+
97
+
98
+
99
+
100
+ // Read in existing option value from database
101
+ $val_accountId = get_option( $accountId );
102
+
103
+ if( isset($_POST[ $accountId ])){
104
+
105
+ // Read in existing option value from POST
106
+ $val_accountId = $_POST[ $accountId ];
107
+ update_option( $accountId , $val_accountId );
108
+ ?>
109
+ <div class="updated" xmlns="http://www.w3.org/1999/html"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
110
+ <?php
111
+ }
112
+ ?>
113
+ <div id="revechat">
114
+
115
+ <div class="revechat-logo">
116
+ <img src="<?php echo plugin_dir_url( __FILE__ )."assets/images/logo.png";?>" alt="REVE Chat">
117
+ </div>
118
+
119
+ <?php if( isset($_GET[ 'activated' ])){ ?>
120
+ <div class="install_success_message"><h3>REVE Chat is successfully activated</h3></div>
121
+ <?php } ?>
122
+
123
+ <div class="revechat_wrap">
124
+
125
+ <?php if(isset($val_accountId) && $val_accountId != 0){ ?>
126
+ <form id="revechat_remove_form" name="revechat_remove_form" method="post" action="" class="revechat_success_message">
127
+
128
+ <h4>REVE Chat has been installed.</h4>
129
+ <p>Sign in to REVE Chat Dashboard and start chatting with your customers.</p>
130
+ <p><a href="https://dashboard.revechat.com" class="form-submit button-primary" target="_blank">Go to Dashboard</a></p>
131
+
132
+ <div id="edit-actions" class="form-actions form-wrapper">
133
+ <input type="hidden" name="revechat_aid" value="0">
134
+ <p><small>Something went wrong? <input type="submit" style="background: transparent; border: 0; text-decoration: underline;text-transform: lowercase; font-size: 10px; cursor: pointer;" value="Disconnect" name="revechat_remove" id="edit-submit"></small></p>
135
+ </div>
136
+ </form>
137
+ <?php } else { ?>
138
+ <div id="revechat_chooser">
139
+ <h3>Do you already have a REVE Chat account?</h3>
140
+ <div>
141
+ <input type="radio" id="newAccountInput" name="accountChooser" checked="checked" >
142
+ <label for="newAccountInput">No, I want to create one</label>
143
+ </div>
144
+ <div>
145
+ <input type="radio" id="existingAccountInput" name="accountChooser">
146
+ <label for="existingAccountInput">Yes, I already have a REVE Chat account</label>
147
+ </div>
148
+ </div><!-- Edit Choose Form -->
149
+
150
+ <div class="revechat_forms">
151
+
152
+ <div id="edit-ajax-message" class="">
153
+ <p class="ajax_message"></p>
154
+ </div>
155
+
156
+ <form name="existingAccountForm" id="existingAccountForm" class="revechat_form" method="post" action="">
157
+
158
+ <h3>Account Details</h3>
159
+
160
+ <label for="edit-revechat-account-email">REVE Chat login email</label>
161
+ <div class="form-group">
162
+ <input type="email" class="form-control" id="existingAccountEmail" name="existingAccountEmail" value="" placeholder="Work Email" required>
163
+ <i class="icon-envelope-o"></i>
164
+ </div>
165
+ <input type="hidden" value="<?php echo $val_accountId; ?>" name="revechat_aid">
166
+ <input type="button" id="existingAccountBtn" class="btn btn-primary btn-block" value="Save Changes" />
167
+
168
+ </form><!-- revechat_already_have -->
169
+
170
+
171
+ <form id="newAccountForm" class="revechat_form" method="post" action="">
172
+ <h3>Create a New REVE Chat account</h3>
173
+
174
+ <fieldset class="form-wrapper" id="edit-new-revechat-account">
175
+
176
+ <div class="form-group">
177
+ <input type="text" class="form-control" id="fullName" name="fullName" placeholder="Full Name">
178
+ <i class="icon-user"></i>
179
+ </div>
180
+
181
+ <div class="form-group">
182
+ <input type="email" class="form-control" id="emailAddress" name="emailAddress" value="" placeholder="Work Email" required>
183
+ <i class="icon-envelope-o"></i>
184
+ </div>
185
+ <div class="form-group">
186
+ <input type="password" class="form-control" id="password" name="password" placeholder="Password">
187
+ <i class="icon-eye" id="eye_close" aria-hidden="true"></i>
188
+ <i class="icon-eye-slash" id="eye_open" aria-hidden="true" style="display:none;"></i>
189
+ </div>
190
+
191
+ <div class="form-group">
192
+ <input type="text" class="form-control" pattern="[0-9\-\)\( ]+" id="phoneTaker" name="phoneTaker" placeholder="Phone Number" required>
193
+ <i class="icon-phone-handset"></i>
194
+ </div>
195
+ <div style="display: none;"><input type="hidden" id="phoneNo" name="phoneNo" value="" /></div>
196
+ <div class="form-group">
197
+ <input type="text" class="form-control" id="companyWebsite" name="companyWebsite" placeholder="Website Address">
198
+ <i class="icon-link"></i>
199
+ </div>
200
+ </fieldset>
201
+
202
+ <input type="hidden" name="revechat_aid" value="0">
203
+
204
+ <input type="button" id="new-account-submit" value="Sign Up" class="btn btn-primary btn-block">
205
+ </form>
206
+ </div>
207
+
208
+ <?php } ?>
209
+ </div>
210
+ </div>
211
+
212
+ <?php
213
+ }
214
+
215
+ /**
216
+ * Add page in admin menu
217
+ * This method takes a capability which will be used to determine whether or not a page is included in the menu.
218
+ * this method which is hooked in to handle the output of the page also check that the user has the required
219
+ * capability as well.
220
+ */
221
+ public function admin_menu()
222
+ {
223
+ add_menu_page(__($this->plugin->displayName.' Dashboard','revechat-settings'), __($this->plugin->displayName,'menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions'), plugin_dir_url( __FILE__ )."assets/images/favicon.png");
224
+ }
225
+
226
+ /**
227
+ * Triggers when the user deactivate/uninstall the plugin.
228
+ * this method simply delete all the data of this
229
+ * plugin from database.
230
+ */
231
+
232
+ public static function deactivate()
233
+ {
234
+ delete_option('revechat_aid');
235
+ }
236
+
237
+
238
+ /**
239
+ * Load necessary JavaScript and CSS library
240
+ * in admin panel.
241
+ */
242
+ public function admin_scripts(){
243
+
244
+ wp_enqueue_script( 'jquery');
245
+ wp_enqueue_style( 'intlTelInput',plugin_dir_url( __FILE__ ).'assets/css/intlTelInput.css' );
246
+ wp_enqueue_style( 'revechat_styles',plugin_dir_url( __FILE__ ).'assets/css/styles.css' );
247
+
248
+ wp_enqueue_script( 'jquery-validation', plugin_dir_url( __FILE__ ) . 'assets/js/jquery-validation.js', array('jquery') );
249
+ wp_enqueue_script( 'intlTelInput', plugin_dir_url( __FILE__ ) . 'assets/js/intlTelInput.min.js', array('jquery') );
250
+ wp_enqueue_script( 'revechat_scripts', plugin_dir_url( __FILE__ ) . 'assets/js/scripts.js', array('jquery','jquery-validation','intlTelInput') );
251
+
252
+ }
253
+
254
+ /**
255
+ * Applied to the list of links to display on the plugins page (beside the activate/deactivate links).
256
+ *
257
+ * @param $links
258
+ * @return array
259
+ */
260
+ function add_action_links ( $links ) {
261
+ $menu_link = array(
262
+ '<a href="' . admin_url( 'admin.php?page=revechatsettings' ) . '">Settings</a>',
263
+ );
264
+ return array_merge( $links, $menu_link );
265
+ }
266
+ }
267
+ } // END if(!class_exists('WP_Plugin_Revechat'))
268
+
269
+ /**
270
+ * Initialize the core class
271
+ */
272
+ $revechat = new WP_Plugin_Revechat();
273
+
274
+ /**
275
+ * Register the deactivation hook.
276
+ */
277
+ register_deactivation_hook( __FILE__, array( 'WP_Plugin_Revechat', 'deactivate' ) );
278
+
279
+ function revechat_activation_redirect( $plugin ) {
280
+ if( $plugin == plugin_basename( __FILE__ ) ) {
281
+ exit( wp_redirect( admin_url( 'admin.php?page=revechatsettings&activated=true' ) ) );
282
+ }
283
+ }
284
+ add_action( 'activated_plugin', 'revechat_activation_redirect' );
tags/1.2.2/assets/banner-772x250.png DELETED
Binary file
tags/1.2.2/assets/icon-128x128.png DELETED
Binary file
tags/1.2.2/assets/icon-256x256.png DELETED
Binary file
tags/1.2.2/assets/screenshot-1.png DELETED
Binary file
tags/1.2.2/assets/screenshot-2.png DELETED
Binary file
tags/1.2.2/assets/screenshot-3.png DELETED
Binary file
tags/1.2.2/assets/screenshot-4.png DELETED
Binary file
tags/1.2.2/trunk/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/1.2.2/trunk/readme.txt DELETED
@@ -1 +0,0 @@
1
- === Reve Chat ===
2
 
3
 
 
0
 
1
 
tags/1.2.2/trunk/revechat.php DELETED
@@ -1,146 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: Reve Chat
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 1.2.2
6
- Author: ReveChat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- class WP_Plugin_Revechat
13
- {
14
- /**
15
- * Construct the plugin object
16
- */
17
- public function __construct()
18
- {
19
- // Plugin Details
20
- $this->plugin = new stdClass;
21
- $this->plugin->name = 'revechat'; // Plugin Folder
22
- $this->plugin->displayName = 'ReveChat'; // Plugin Name
23
- $this->plugin->version = '1.1.1';
24
-
25
- // Hooks
26
- add_action('admin_init', array(&$this, 'registerSettings'));
27
- add_action('admin_menu', array(&$this, 'adminPanels'));
28
-
29
- add_action('wp_head', array(&$this, 'frontendHeader'));
30
- } // END public function __construct
31
-
32
- /**
33
- * Activate the frontendHeader
34
- */
35
- public static function frontendHeader()
36
- {
37
- $aid = get_option('revechat_accountid' , '');
38
- $trackingID = get_option('revechat_trackingid' , '');
39
-
40
- if( (isset($aid) && !empty($aid)) && (isset($trackingID) && !empty($trackingID)) ) {
41
-
42
- $script = "<script type='text/javascript'>";
43
- $script .= ' var url = "https://static.revechat.com/client/scripts/configuration.js";
44
- var trackingID ="'.$trackingID.'"
45
- function initializeWidget(){
46
- var aid="'.$aid.'";
47
- new ReveChatWidget(aid);
48
- var trackingID ="'.$trackingID.'";}
49
- (function loadSrc(src_url, onload_callback){
50
- var script = document.createElement("script");
51
- if(script.readyState){
52
- script.onreadystatechange = function (){
53
- if(script.readyState === "loaded" || script.readyState === "complete"){
54
- script.onreadystatechange = null
55
- onload_callback();}}
56
- } else {
57
- script.onload = function(){
58
- onload_callback();
59
- } }
60
- script.src = src_url;
61
- var first_script = document.getElementsByTagName("script")[0];
62
- first_script.parentNode.insertBefore(script, first_script);
63
- })(url, initializeWidget);
64
- <!-- Add textArea code at every page in your website -->';
65
-
66
- $script .='</script>';
67
-
68
- echo $script ;
69
-
70
- }
71
-
72
- } // END public static function activate
73
- /*
74
- * show parameter section
75
- */
76
- public function registerSettings(){
77
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
78
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
79
- }
80
- /*
81
- * admin panel
82
- */
83
- public function adminPanels(){
84
- //add_options_page("ReveChat Dashboard" , "ReveChat" , "read" , "reveChatOptions");
85
- // Add a new submenu under Settings:
86
- add_options_page(__('ReveChat Dashboard','revechat-settings'), __('ReveChat Settings','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions') );
87
- }
88
- /*
89
- * revechat options
90
- */
91
- public function reveChatOptions(){
92
- if ( !current_user_can( 'manage_options' ) ) {
93
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
94
- }
95
- // variables for the field and option names
96
- $accountId = 'revechat_accountid';
97
- $trackingId = 'revechat_trackingid';
98
-
99
- // Read in existing option value from database
100
- $val_accountId = get_option( $accountId );
101
- $val_trackingId = get_option( $trackingId );
102
-
103
- if( isset($_POST[ $accountId ]) && isset($_POST[ $trackingId ] ) ){
104
-
105
- // Read in existing option value from POST
106
- $val_accountId = $_POST[ $accountId ];
107
- $val_trackingId = $_POST[ $trackingId ];
108
- update_option( $accountId , $val_accountId );
109
- update_option( $trackingId , $val_trackingId );
110
- ?>
111
- <div class="updated"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
112
- <?php
113
- }
114
- ?>
115
- <div class="wrap">
116
- <?php echo "<h2>" . __( 'ReveChat Plugin Settings', 'revechat-menu' ) . "</h2>"; ?>
117
- <form name="form1" method="post" action="">
118
-
119
-
120
- <p><?php _e("Account ID", 'revechat-menu' ); ?>
121
- <input type="text" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" size="20">
122
- </p><hr />
123
- <p><?php _e("Tracking ID", 'revechat-menu' ); ?>
124
- <input type="text" name="<?php echo $trackingId; ?>" value="<?php echo $val_trackingId; ?>" size="20">
125
- </p><hr />
126
-
127
- <p class="submit">
128
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
129
- </p>
130
-
131
- </form>
132
- </div>
133
-
134
- <?php
135
- }
136
-
137
- /**
138
- * Deactivate the plugin
139
- */
140
- public static function deactivate()
141
- {
142
- // Do nothing
143
- } // END public static function deactivate
144
- } // END class WP_Plugin_Revechat
145
- } // END if(!class_exists('WP_Plugin_Revechat'))
146
- $revechat = new WP_Plugin_Revechat ;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/1.2.2/trunk/screenshot-1.png DELETED
Binary file
tags/1.2.2/trunk/screenshot-2.png DELETED
Binary file
tags/1.2.2/trunk/screenshot-3.png DELETED
Binary file
tags/1.2.2/trunk/screenshot-4.png DELETED
Binary file
tags/1.2.3/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/1.2.3/readme.txt DELETED
@@ -1 +0,0 @@
1
- === Reve Chat ===
2
 
3
 
 
0
 
1
 
tags/1.2.3/revechat.php DELETED
@@ -1,125 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: Reve Chat
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 1.2.3
6
- Author: ReveChat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- class WP_Plugin_Revechat
13
- {
14
- /**
15
- * Construct the plugin object
16
- */
17
- public function __construct()
18
- {
19
- // Plugin Details
20
- $this->plugin = new stdClass;
21
- $this->plugin->name = 'revechat'; // Plugin Folder
22
- $this->plugin->displayName = 'ReveChat'; // Plugin Name
23
- $this->plugin->version = '1.1.1';
24
-
25
- // Hooks
26
- add_action('admin_init', array(&$this, 'registerSettings'));
27
- add_action('admin_menu', array(&$this, 'adminPanels'));
28
-
29
- add_action('wp_head', array(&$this, 'frontendHeader'));
30
- } // END public function __construct
31
-
32
- /**
33
- * Activate the frontendHeader
34
- */
35
- public static function frontendHeader()
36
- {
37
- $accountId = get_option('revechat_accountid' , '');
38
- //$trackingID = get_option('revechat_trackingid' , '');
39
-
40
- if( (isset($accountId) && !empty($accountId)) ) {
41
-
42
- $script = "<script type='text/javascript'>";
43
- $script .= ';!function(){function e(){var e="'.$accountId.'";new ReveChatWidget(e)}var t=document.createElement("script");t.readyState?t.onreadystatechange=function(){("loaded"===t.readyState||"complete"===t.readyState)&&(t.onreadystatechange=null,e())}:t.onload=function(){e()},t.src="https://static.revechat.com/client/scripts/configuration.js";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(t,a)}();';
44
-
45
- $script .='</script>';
46
-
47
- echo $script ;
48
-
49
- }
50
-
51
- } // END public static function activate
52
- /*
53
- * show parameter section
54
- */
55
- public function registerSettings(){
56
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
57
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
58
- }
59
- /*
60
- * admin panel
61
- */
62
- public function adminPanels(){
63
- //add_options_page("ReveChat Dashboard" , "ReveChat" , "read" , "reveChatOptions");
64
- // Add a new submenu under Settings:
65
- add_options_page(__('ReveChat Dashboard','revechat-settings'), __('ReveChat Settings','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions') );
66
- }
67
- /*
68
- * revechat options
69
- */
70
- public function reveChatOptions(){
71
- if ( !current_user_can( 'manage_options' ) ) {
72
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
73
- }
74
- // variables for the field and option names
75
- $accountId = 'revechat_accountid';
76
- $trackingId = 'revechat_trackingid';
77
-
78
- // Read in existing option value from database
79
- $val_accountId = get_option( $accountId );
80
- $val_trackingId = get_option( $trackingId );
81
-
82
- if( isset($_POST[ $accountId ]) && isset($_POST[ $trackingId ] ) ){
83
-
84
- // Read in existing option value from POST
85
- $val_accountId = $_POST[ $accountId ];
86
- $val_trackingId = $_POST[ $trackingId ];
87
- update_option( $accountId , $val_accountId );
88
- update_option( $trackingId , $val_trackingId );
89
- ?>
90
- <div class="updated"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
91
- <?php
92
- }
93
- ?>
94
- <div class="wrap">
95
- <?php echo "<h2>" . __( 'ReveChat Plugin Settings', 'revechat-menu' ) . "</h2>"; ?>
96
- <form name="form1" method="post" action="">
97
-
98
-
99
- <p><?php _e("Account ID", 'revechat-menu' ); ?>
100
- <input type="text" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" size="20">
101
- </p><hr />
102
- <p><?php _e("Tracking ID", 'revechat-menu' ); ?>
103
- <input type="text" name="<?php echo $trackingId; ?>" value="<?php echo $val_trackingId; ?>" size="20">
104
- </p><hr />
105
-
106
- <p class="submit">
107
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
108
- </p>
109
-
110
- </form>
111
- </div>
112
-
113
- <?php
114
- }
115
-
116
- /**
117
- * Deactivate the plugin
118
- */
119
- public static function deactivate()
120
- {
121
- // Do nothing
122
- } // END public static function deactivate
123
- } // END class WP_Plugin_Revechat
124
- } // END if(!class_exists('WP_Plugin_Revechat'))
125
- $revechat = new WP_Plugin_Revechat ;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/1.2.3/screenshot-1.png DELETED
Binary file
tags/1.2.3/screenshot-2.png DELETED
Binary file
tags/1.2.3/screenshot-3.png DELETED
Binary file
tags/1.2.3/screenshot-4.png DELETED
Binary file
tags/1.2.4/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/1.2.4/readme.txt DELETED
@@ -1 +0,0 @@
1
- === Reve Chat ===
2
 
3
 
 
0
 
1
 
tags/1.2.4/revechat.php DELETED
@@ -1,140 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: Reve Chat
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 1.2.4
6
- Author: ReveChat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- class WP_Plugin_Revechat
13
- {
14
- /**
15
- * Construct the plugin object
16
- */
17
- public function __construct()
18
- {
19
- // Plugin Details
20
- $this->plugin = new stdClass;
21
- $this->plugin->name = 'revechat'; // Plugin Folder
22
- $this->plugin->displayName = 'ReveChat'; // Plugin Name
23
- $this->plugin->version = '1.2.4';
24
-
25
- // Hooks
26
- add_action('admin_init', array(&$this, 'registerSettings'));
27
- add_action('admin_menu', array(&$this, 'adminPanels'));
28
-
29
- add_action('wp_head', array(&$this, 'frontendHeader'));
30
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
31
-
32
- } // END public function __construct
33
-
34
- /**
35
- * Activate the frontendHeader
36
- */
37
- public static function frontendHeader()
38
- {
39
- $accountId = get_option('revechat_accountid' , '');
40
- //$trackingID = get_option('revechat_trackingid' , '');
41
-
42
- if( (isset($accountId) && !empty($accountId)) ) {
43
-
44
- $script = "<script type='text/javascript'>";
45
-
46
- $script .= "window.__revechat_account = window.__revechat_account || {};
47
- window.__revechat_account = '".$accountId."';
48
- (function() {
49
- var rc = document.createElement('script'); rc.type = 'text/javascript'; rc.async = true;
50
- rc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'static.revechat.com/widget/scripts/new-livechat.js';
51
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(rc, s);
52
- })();";
53
- $script .='</script>';
54
-
55
- echo $script ;
56
-
57
- }
58
-
59
- } // END public static function activate
60
- /*
61
- * show parameter section
62
- */
63
- public function registerSettings(){
64
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
65
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
66
- }
67
- /*
68
- * admin panel
69
- */
70
- public function adminPanels(){
71
- //add_options_page("ReveChat Dashboard" , "ReveChat" , "read" , "reveChatOptions");
72
- // Add a new submenu under Settings:
73
- add_options_page(__('ReveChat Dashboard','revechat-settings'), __('ReveChat Settings','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions') );
74
- }
75
- /*
76
- * revechat options
77
- */
78
- public function reveChatOptions(){
79
- if ( !current_user_can( 'manage_options' ) ) {
80
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
81
- }
82
- // variables for the field and option names
83
- $accountId = 'revechat_accountid';
84
- $trackingId = 'revechat_trackingid';
85
-
86
- // Read in existing option value from database
87
- $val_accountId = get_option( $accountId );
88
- $val_trackingId = get_option( $trackingId );
89
-
90
- if( isset($_POST[ $accountId ]) && isset($_POST[ $trackingId ] ) ){
91
-
92
- // Read in existing option value from POST
93
- $val_accountId = $_POST[ $accountId ];
94
- $val_trackingId = $_POST[ $trackingId ];
95
- update_option( $accountId , $val_accountId );
96
- update_option( $trackingId , $val_trackingId );
97
- ?>
98
- <div class="updated"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
99
- <?php
100
- }
101
- ?>
102
- <div class="wrap">
103
- <?php echo "<h2>" . __( 'ReveChat Plugin Settings', 'revechat-menu' ) . "</h2>"; ?>
104
- <form name="form1" method="post" action="">
105
-
106
-
107
- <p><?php _e("Account ID", 'revechat-menu' ); ?>
108
- <input type="text" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" size="20">
109
- </p><hr />
110
- <p><?php _e("Tracking ID", 'revechat-menu' ); ?>
111
- <input type="text" name="<?php echo $trackingId; ?>" value="<?php echo $val_trackingId; ?>" size="20">
112
- </p><hr />
113
-
114
- <p class="submit">
115
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
116
- </p>
117
-
118
- </form>
119
- </div>
120
-
121
- <?php
122
- }
123
-
124
- /**
125
- * Deactivate the plugin
126
- */
127
- public static function deactivate()
128
- {
129
- // Do nothing
130
- } // END public static function deactivate
131
-
132
- function add_action_links ( $links ) {
133
- $menu_link = array(
134
- '<a href="' . admin_url( 'options-general.php?page=revechatsettings' ) . '">Settings</a>',
135
- );
136
- return array_merge( $links, $menu_link );
137
- }
138
- } // END class WP_Plugin_Revechat
139
- } // END if(!class_exists('WP_Plugin_Revechat'))
140
- $revechat = new WP_Plugin_Revechat ;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/1.2.4/screenshot-1.png DELETED
Binary file
tags/1.2.4/screenshot-2.png DELETED
Binary file
tags/1.2.4/screenshot-3.png DELETED
Binary file
tags/1.2.4/screenshot-4.png DELETED
Binary file
tags/2.0.0/css/admin-styles.css DELETED
@@ -1,106 +0,0 @@
1
- #revechat #edit-choose-form h3,
2
- #revechat #revechat_already_have h3,
3
- #revechat #revechat_new_account h3{
4
- color: coral;
5
- }
6
- #revechat ul#revechat_choose_form{}
7
- #revechat ul#revechat_choose_form li{
8
- list-style: none;
9
- display: block;
10
- }
11
- #revechat ul#revechat_choose_form li label{
12
- display: inline-block;
13
- }
14
- #revechat .revechat_email_error{
15
- color: red;
16
- }
17
- #revechat .ajax_message {
18
- display: none;
19
- background: url(ajax_loader.gif) no-repeat 24px 51%;
20
- padding: 0;
21
- margin-top: 1em;
22
- }
23
- #revechat .ajax_message.wait,
24
- #revechat .ajax_message.message
25
- {
26
- display: block;
27
- font-size: 1.2em;
28
- padding: 20px;
29
- box-shadow: 2px 2px 2px rgba(0,0,0,.2);
30
- }
31
- #revechat .ajax_message.wait {
32
- text-indent: 28px;
33
- background-color: #fff;
34
- }
35
- #revechat .ajax_message.message {
36
- background-image: none;
37
- text-indent: 0px;
38
- }
39
-
40
- #revechat .ajax_message.message.alert{
41
- background-color: #f2dede;
42
- border-color: #ebccd1;
43
- color: #a94442;
44
- padding: 20px;
45
- }
46
- #revechat .revechat_success_message{
47
- background: #ffffff;
48
- padding: 50px;
49
- height: auto;
50
- font-size: 1.5em;
51
- border-bottom: 5px solid #F16915;
52
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
53
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
54
- box-shadow: 0px 0px 6px rgba(0,0,0,.3);
55
- }
56
- #revechat .revechat_success_message h3{
57
- font-weight: bold;
58
- border-bottom: 1px solid #B1B4B9;
59
- padding-bottom: 20px;
60
- line-height: 2em;
61
- }
62
- #revechat .messages.revechat_success{
63
- background-color: #dff0d8;
64
- border: 1px solid #bee99a;
65
- color: #3c763d;
66
- padding: 20px;
67
- margin-bottom: 30px;
68
- font-weight: 600;
69
- }
70
- #revechat .form-submit{
71
- background: #FF5800 none repeat scroll 0 0;
72
- border-color: #bd4302 #ab3c02 #ab3c02;
73
- -webkit-box-shadow: 0 1px 0 #ab3c02;
74
- box-shadow: 0 1px 0 #ab3c02;
75
- color: #fff;
76
- text-decoration: none;
77
- text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
78
- }
79
-
80
- #revechat #revechat-admin-settings-form {
81
- padding: 18px;
82
- }
83
- #revechat fieldset {
84
- border: 1px solid #c0c0c0;
85
- margin-top: 20px;
86
- }
87
- #revechat #revechat_already_have > h3 {
88
- margin-top: 19px;
89
- }
90
- #revechat ul#revechat_choose_form li {
91
- display: block;
92
- list-style: outside none none;
93
- padding-left: 20px;
94
- }
95
- #revechat .form-wrapper {
96
- padding: 16px;
97
- padding-bottom: 31px;
98
- }
99
- #revechat .form-item > label {
100
- display: table;
101
- margin-bottom: 11px;
102
- margin-top: 20px;
103
- }
104
- #revechat input.form-submit{
105
- cursor: pointer;
106
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.0/includes/choose-form.php DELETED
@@ -1,13 +0,0 @@
1
- <div id="edit-choose-form">
2
- <h3>Already have a REVE Chat account?</h3>
3
- <ul id="revechat_choose_form">
4
- <li>
5
- <input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
6
- <label for="has_revechat_account">Yes, I already have a REVE Chat account</label>
7
- </li>
8
- <li>
9
- <input type="radio" id="new_revechat_account" name="revechat_choose_form">
10
- <label for="new_revechat_account">No, I want to create one</label>
11
- </li>
12
- </ul>
13
- </div><!-- Edit Choose Form -->
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.0/includes/login-form.php DELETED
@@ -1,20 +0,0 @@
1
- <div id="revechat_already_have">
2
- <h3>Account Details</h3>
3
- <table class="form-table">
4
- <tbody>
5
- <tr>
6
- <th>
7
- <label for="edit-revechat-account-email">
8
- <?php
9
- _e("REVE Chat Login Email");
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email">
15
- <input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
16
- </td>
17
- </tr>
18
- </tbody>
19
- </table>
20
- </div><!-- revechat_already_have -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.0/includes/remove-form.php DELETED
@@ -1,9 +0,0 @@
1
- <div>
2
- <div class="messages revechat_success">REVE Chat
3
- is already installed.</div>
4
-
5
- <div id="edit-actions" class="form-actions form-wrapper">
6
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
7
- <input type="submit" class="form-submit button-primary" value="Remove" name="revechat_remove" id="edit-submit">
8
- </div>
9
- </div>
 
 
 
 
 
 
 
 
 
tags/2.0.0/includes/signup-form.php DELETED
@@ -1,46 +0,0 @@
1
- <div id="revechat_new_account">
2
-
3
- <h3>Create a new REVE Chat account</h3>
4
- <table class="form-table">
5
- <tr>
6
- <th>
7
- <label for="edit-name">
8
- <?php
9
- _e("Name")
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="text" class="regular-text" name="name" id="edit-name">
15
- </td>
16
- </tr>
17
-
18
- <tr>
19
- <th>
20
- <label for="edit-email">
21
- <?php
22
- _e('Email')
23
- ?>
24
- </label>
25
-
26
- </th>
27
- <td>
28
- <input type="text" class="regular-text" name="email" id="edit-email">
29
- </td>
30
- </tr>
31
-
32
- <tr>
33
- <th>
34
- <label for="edit-phone">
35
- <?php
36
- _e('Phone')
37
- ?>
38
- </label>
39
- </th>
40
- <td>
41
- <input type="text" class="regular-text" name="Phone" id="edit-phone">
42
- </td>
43
- </tr>
44
- </table>
45
-
46
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.0/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/2.0.0/js/revechat-admin.js DELETED
@@ -1,189 +0,0 @@
1
- jQuery.noConflict();
2
- (function($){
3
- var baseUrl = 'https://dashboard.revechat.com/';
4
- var ReveChat ={
5
- init: function () {
6
- this.toggleForms();
7
- this.bindFormSubmit();
8
- },
9
-
10
- toggleForms: function ()
11
- {
12
- var toggleForms = function ()
13
- {
14
- if ($('#new_revechat_account').is(':checked'))
15
- {
16
- $('#revechat_already_have').hide();
17
- $('#revechat_new_account').show();
18
- $('#edit-name').focus();
19
- }
20
- else if ($('#has_revechat_account').is(':checked'))
21
- {
22
- $('#revechat_new_account').hide();
23
- $('#revechat_already_have').show();
24
- $('#edit-revechat-account-email').focus();
25
- }
26
- };
27
- toggleForms();
28
-
29
- $('#revechat_choose_form input').click(toggleForms);
30
- },
31
-
32
- bindFormSubmit: function () {
33
- $('#revechat-admin-settings-form').submit(function(e)
34
- {
35
- //e.preventDefault();
36
-
37
- if($('#edit-submit').val() == 'Remove'){
38
- $('#revechat_aid').val(0);
39
- $('#revechat-admin-settings-form').submit();
40
- }
41
- if (((parseInt($('#revechat_aid').val()) !== 0) || $('#has_revechat_account').is(':checked')))
42
- {
43
- return ReveChat.alreadyHaveAccountForm();
44
- }
45
- else
46
- {
47
- return ReveChat.newLicenseForm();
48
- }
49
-
50
- });
51
- },
52
-
53
- alreadyHaveAccountForm: function()
54
- {
55
-
56
- if(this.validEmail())
57
- {
58
- if((parseInt($('#revechat_aid').val()) == 0 || $('#revechat_aid').val() == ""))
59
- {
60
- var login = $.trim($('#edit-revechat-account-email').val());
61
- if(!login.length)
62
- {
63
- $('#edit-revechat-account-email').focus();
64
- return false;
65
- }
66
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait&hellip;');
67
- var signInUrl = baseUrl +'/license/adminId/'+$('#edit-revechat-account-email').val()+'/?callback=?';
68
- $.getJSON(signInUrl,
69
- function(response)
70
- {
71
- if (response.error)
72
- {
73
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Incorrect REVE Chat login.');
74
- $('#edit-revechat-account-email').focus();
75
- return false;
76
- }
77
- else
78
- {
79
- $('#revechat_aid').val(response.data.account_id);
80
- $('#revechat-admin-settings-form').submit();
81
- }
82
- });
83
- return false;
84
- }
85
- }
86
- else
87
- {
88
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Invalid Email.');
89
- $('#edit-revechat-account-email').focus();
90
- return false;
91
- }
92
- return true;
93
- },
94
-
95
- newLicenseForm: function()
96
- {
97
- if (parseInt(($('#revechat_aid').val()) > 0))
98
- {
99
- return true;
100
- }
101
-
102
- if(this.validateNewLicenseForm())
103
- {
104
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
105
-
106
- ReveChat.createLicense();
107
- }
108
- return false;
109
- },
110
- createLicense: function()
111
- {
112
-
113
- $('.ajax_message').removeClass('message').addClass('wait').html('Creating new account&hellip;');
114
-
115
- var signUpUrl = baseUrl + '/revechat/rest/api/signup.do';
116
-
117
- $.ajax({
118
- data: { 'firstname':$('#edit-name').val(), 'lastname':' ', 'mailAddr':$('#edit-email').val(), 'phoneNo':$('#edit-phone').val() },
119
- type:'POST',
120
- url:signUpUrl,
121
- dataType: 'json',
122
- cache:false,
123
- success: function(response) {
124
- if(response.error)
125
- {
126
- $('.ajax_message').html(response.error).addClass('message alert').removeClass('wait');
127
- return false;
128
- }
129
- else if(response.success)
130
- {
131
- $('#revechat-admin-settings-form').children('div').remove();
132
- var message = '<div class="revechat_success_message">';
133
- message += '<h3>Thank you for sigining up with REVE Chat</h3>';
134
- message += '<p>A verification link has been sent to your registered email address from <strong><a href="#">support@revechat.com</a></strong>. Kindly verify your email to complete the signup process</p>';
135
- message += '<p>Then come backe again to integrate REVE Chat in your website.</p>';
136
- message += '</div>';
137
- $(message).appendTo('#revechat-admin-settings-form');
138
- $('p.submit').remove();
139
- $('.ajax_message').removeClass('wait');
140
- return false;
141
- }
142
- }
143
- });
144
- },
145
- validEmail: function()
146
- {
147
- if($('#edit-submit').val() != 'Remove')
148
- {
149
- if (/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i.test($('#edit-revechat-account-email').val()) == false)
150
- {
151
- //alert ('Please enter a valid email address.');
152
- $('#edit-email').focus();
153
- return false;
154
- }
155
- }
156
- return true;
157
- },
158
-
159
- validateNewLicenseForm: function()
160
- {
161
- if ($('#edit-name').val().length < 1)
162
- {
163
- alert ('Please enter your full name.');
164
- $('#edit-name').addClass('error').focus();
165
- return false;
166
- }
167
-
168
- if (/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i.test($('#edit-email').val()) == false)
169
- {
170
- alert ('Please enter a valid email address.');
171
- $('#edit-email').addClass('error').focus();
172
- return false;
173
- }
174
-
175
- if ($('#edit-phone').val().length < 1)
176
- {
177
- alert ('Please enter your phone number.');
178
- $('#edit-phone').addClass('error').focus();
179
- return false;
180
- }
181
-
182
- return true;
183
- }
184
- }
185
- $(document).ready(function()
186
- {
187
- ReveChat.init();
188
- });
189
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.0/readme.txt DELETED
@@ -1 +0,0 @@
1
- === Reve Chat ===
2
 
3
 
 
0
 
1
 
tags/2.0.0/revechat.php DELETED
@@ -1,162 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: Reve Chat
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 2.0.0
6
- Author: ReveChat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- class WP_Plugin_Revechat
13
- {
14
- /**
15
- * Construct the plugin object
16
- */
17
- public function __construct()
18
- {
19
- // Plugin Details
20
- $this->plugin = new stdClass;
21
- $this->plugin->name = 'revechat'; // Plugin Folder
22
- $this->plugin->displayName = 'ReveChat'; // Plugin Name
23
- $this->plugin->version = '1.2.4';
24
-
25
- // Hooks
26
- add_action('admin_init', array(&$this, 'registerSettings'));
27
- //add_action('admin_menu', array(&$this, 'adminPanels'));
28
-
29
- add_action('wp_head', array(&$this, 'frontendHeader'));
30
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
31
-
32
- // Add Menu Page
33
- add_action('admin_menu',array($this,'admin_menu'));
34
-
35
- //enqueue scripts
36
- add_action('admin_enqueue_scripts',array($this,'admin_scripts'));
37
- } // END public function __construct
38
-
39
- /**
40
- * Activate the frontendHeader
41
- */
42
- public static function frontendHeader()
43
- {
44
- $accountId = get_option('revechat_accountid' , '');
45
- if( (isset($accountId) && !empty($accountId)) ) {
46
-
47
- $script = "<script type='text/javascript'>";
48
-
49
- $script .= "window.__revechat_account = window.__revechat_account || {};
50
- window.__revechat_account = '".$accountId."';
51
- (function() {
52
- var rc = document.createElement('script'); rc.type = 'text/javascript'; rc.async = true;
53
- rc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'static.revechat.com/widget/scripts/new-livechat.js';
54
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(rc, s);
55
- })();";
56
- $script .='</script>';
57
-
58
- echo $script ;
59
-
60
- }
61
-
62
- } // END public static function activate
63
- /*
64
- * show parameter section
65
- */
66
- public function registerSettings(){
67
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
68
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
69
- }
70
- /*
71
- * admin panel
72
- */
73
- public function adminPanels(){
74
- //add_options_page("ReveChat Dashboard" , "ReveChat" , "read" , "reveChatOptions");
75
- // Add a new submenu under Settings:
76
- add_options_page(__('ReveChat Dashboard','revechat-settings'), __('ReveChat Settings','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions') );
77
- }
78
- /*
79
- * revechat options
80
- */
81
- public function reveChatOptions(){
82
- if ( !current_user_can( 'manage_options' ) ) {
83
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
84
- }
85
- // variables for the field and option names
86
- $accountId = 'revechat_accountid';
87
-
88
- // Read in existing option value from database
89
- $val_accountId = get_option( $accountId );
90
-
91
- if( isset($_POST[ $accountId ])){
92
-
93
- // Read in existing option value from POST
94
- $val_accountId = $_POST[ $accountId ];
95
- update_option( $accountId , $val_accountId );
96
- ?>
97
- <div class="updated" xmlns="http://www.w3.org/1999/html"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
98
- <?php
99
- }
100
- ?>
101
- <div class="wrap" id="revechat">
102
-
103
- <div class="reve-chat-logo">
104
- <img src="<?php echo plugin_dir_url( __FILE__ )."images/logo.png";?>" alt="REVE Chat">
105
- </div>
106
- <div class="form-item form-type-item" id="edit-ajax-message">
107
- <p class="ajax_message"></p>
108
- </div>
109
-
110
- <form name="form1" id="revechat-admin-settings-form" method="post" action="">
111
-
112
- <?php
113
- if(isset($val_accountId) && $val_accountId != 0){
114
- require (plugin_dir_path( __FILE__ )."includes/remove-form.php");
115
- return;
116
- }
117
-
118
- require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
119
- require (plugin_dir_path( __FILE__ )."includes/login-form.php");
120
- require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
121
- ?>
122
-
123
- <p class="submit">
124
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
125
- </p>
126
-
127
- </form>
128
- </div>
129
-
130
- <?php
131
- }
132
-
133
- public function admin_menu()
134
- {
135
- // add_menu_page( string $page_title, string $menu_title, string $capability, string $menu_slug, callable $function = '', string $icon_url = '', int $position = null )
136
- add_menu_page(__('ReveChat Dashboard','revechat-settings'), __('REVE Chat','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions'), plugin_dir_url( __FILE__ )."images/favicon.png");
137
-
138
- }
139
-
140
- /**
141
- * Deactivate the plugin
142
- */
143
- public static function deactivate()
144
- {
145
- delete_option('revechat_accountid');
146
- } // END public static function deactivate
147
-
148
- public function admin_scripts(){
149
- wp_enqueue_script( 'revechat-admin-script', plugin_dir_url( __FILE__ ) . '/js/revechat-admin.js' );
150
- wp_enqueue_style( 'custom_wp_admin_css',plugin_dir_url( __FILE__ ).'css/admin-styles.css' );
151
- }
152
-
153
- function add_action_links ( $links ) {
154
- $menu_link = array(
155
- '<a href="' . admin_url( 'options-general.php?page=revechatsettings' ) . '">Settings</a>',
156
- );
157
- return array_merge( $links, $menu_link );
158
- }
159
- } // END class WP_Plugin_Revechat
160
- } // END if(!class_exists('WP_Plugin_Revechat'))
161
- $revechat = new WP_Plugin_Revechat ;
162
- register_deactivation_hook( __FILE__, array( 'WP_Plugin_Revechat', 'deactivate' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.0/screenshot-1.png DELETED
Binary file
tags/2.0.0/screenshot-2.png DELETED
Binary file
tags/2.0.0/screenshot-3.png DELETED
Binary file
tags/2.0.0/screenshot-4.png DELETED
Binary file
tags/2.0.1/css/admin-styles.css DELETED
@@ -1,106 +0,0 @@
1
- #revechat #edit-choose-form h3,
2
- #revechat #revechat_already_have h3,
3
- #revechat #revechat_new_account h3{
4
- color: coral;
5
- }
6
- #revechat ul#revechat_choose_form{}
7
- #revechat ul#revechat_choose_form li{
8
- list-style: none;
9
- display: block;
10
- }
11
- #revechat ul#revechat_choose_form li label{
12
- display: inline-block;
13
- }
14
- #revechat .revechat_email_error{
15
- color: red;
16
- }
17
- #revechat .ajax_message {
18
- display: none;
19
- background: url(ajax_loader.gif) no-repeat 24px 51%;
20
- padding: 0;
21
- margin-top: 1em;
22
- }
23
- #revechat .ajax_message.wait,
24
- #revechat .ajax_message.message
25
- {
26
- display: block;
27
- font-size: 1.2em;
28
- padding: 20px;
29
- box-shadow: 2px 2px 2px rgba(0,0,0,.2);
30
- }
31
- #revechat .ajax_message.wait {
32
- text-indent: 28px;
33
- background-color: #fff;
34
- }
35
- #revechat .ajax_message.message {
36
- background-image: none;
37
- text-indent: 0px;
38
- }
39
-
40
- #revechat .ajax_message.message.alert{
41
- background-color: #f2dede;
42
- border-color: #ebccd1;
43
- color: #a94442;
44
- padding: 20px;
45
- }
46
- #revechat .revechat_success_message{
47
- background: #ffffff;
48
- padding: 50px;
49
- height: auto;
50
- font-size: 1.5em;
51
- border-bottom: 5px solid #F16915;
52
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
53
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
54
- box-shadow: 0px 0px 6px rgba(0,0,0,.3);
55
- }
56
- #revechat .revechat_success_message h3{
57
- font-weight: bold;
58
- border-bottom: 1px solid #B1B4B9;
59
- padding-bottom: 20px;
60
- line-height: 2em;
61
- }
62
- #revechat .messages.revechat_success{
63
- background-color: #dff0d8;
64
- border: 1px solid #bee99a;
65
- color: #3c763d;
66
- padding: 20px;
67
- margin-bottom: 30px;
68
- font-weight: 600;
69
- }
70
- #revechat .form-submit{
71
- background: #FF5800 none repeat scroll 0 0;
72
- border-color: #bd4302 #ab3c02 #ab3c02;
73
- -webkit-box-shadow: 0 1px 0 #ab3c02;
74
- box-shadow: 0 1px 0 #ab3c02;
75
- color: #fff;
76
- text-decoration: none;
77
- text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
78
- }
79
-
80
- #revechat #revechat-admin-settings-form {
81
- padding: 18px;
82
- }
83
- #revechat fieldset {
84
- border: 1px solid #c0c0c0;
85
- margin-top: 20px;
86
- }
87
- #revechat #revechat_already_have > h3 {
88
- margin-top: 19px;
89
- }
90
- #revechat ul#revechat_choose_form li {
91
- display: block;
92
- list-style: outside none none;
93
- padding-left: 20px;
94
- }
95
- #revechat .form-wrapper {
96
- padding: 16px;
97
- padding-bottom: 31px;
98
- }
99
- #revechat .form-item > label {
100
- display: table;
101
- margin-bottom: 11px;
102
- margin-top: 20px;
103
- }
104
- #revechat input.form-submit{
105
- cursor: pointer;
106
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.1/css/ajax_loader.gif DELETED
Binary file
tags/2.0.1/images/favicon.png DELETED
Binary file
tags/2.0.1/images/logo.png DELETED
Binary file
tags/2.0.1/includes/choose-form.php DELETED
@@ -1,13 +0,0 @@
1
- <div id="edit-choose-form">
2
- <h3>Already have a REVE Chat account?</h3>
3
- <ul id="revechat_choose_form">
4
- <li>
5
- <input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
6
- <label for="has_revechat_account">Yes, I already have a REVE Chat account</label>
7
- </li>
8
- <li>
9
- <input type="radio" id="new_revechat_account" name="revechat_choose_form">
10
- <label for="new_revechat_account">No, I want to create one</label>
11
- </li>
12
- </ul>
13
- </div><!-- Edit Choose Form -->
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.1/includes/login-form.php DELETED
@@ -1,20 +0,0 @@
1
- <div id="revechat_already_have">
2
- <h3>Account Details</h3>
3
- <table class="form-table">
4
- <tbody>
5
- <tr>
6
- <th>
7
- <label for="edit-revechat-account-email">
8
- <?php
9
- _e("REVE Chat Login Email");
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email">
15
- <input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
16
- </td>
17
- </tr>
18
- </tbody>
19
- </table>
20
- </div><!-- revechat_already_have -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.1/includes/remove-form.php DELETED
@@ -1,9 +0,0 @@
1
- <div>
2
- <div class="messages revechat_success">REVE Chat
3
- is already installed.</div>
4
-
5
- <div id="edit-actions" class="form-actions form-wrapper">
6
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
7
- <input type="submit" class="form-submit button-primary" value="Remove" name="revechat_remove" id="edit-submit">
8
- </div>
9
- </div>
 
 
 
 
 
 
 
 
 
tags/2.0.1/includes/signup-form.php DELETED
@@ -1,46 +0,0 @@
1
- <div id="revechat_new_account">
2
-
3
- <h3>Create a new REVE Chat account</h3>
4
- <table class="form-table">
5
- <tr>
6
- <th>
7
- <label for="edit-name">
8
- <?php
9
- _e("Name")
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="text" class="regular-text" name="name" id="edit-name">
15
- </td>
16
- </tr>
17
-
18
- <tr>
19
- <th>
20
- <label for="edit-email">
21
- <?php
22
- _e('Email')
23
- ?>
24
- </label>
25
-
26
- </th>
27
- <td>
28
- <input type="text" class="regular-text" name="email" id="edit-email">
29
- </td>
30
- </tr>
31
-
32
- <tr>
33
- <th>
34
- <label for="edit-phone">
35
- <?php
36
- _e('Phone')
37
- ?>
38
- </label>
39
- </th>
40
- <td>
41
- <input type="text" class="regular-text" name="Phone" id="edit-phone">
42
- </td>
43
- </tr>
44
- </table>
45
-
46
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.1/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/2.0.1/js/revechat-admin.js DELETED
@@ -1,189 +0,0 @@
1
- jQuery.noConflict();
2
- (function($){
3
- var baseUrl = 'https://dashboard.revechat.com/';
4
- var ReveChat ={
5
- init: function () {
6
- this.toggleForms();
7
- this.bindFormSubmit();
8
- },
9
-
10
- toggleForms: function ()
11
- {
12
- var toggleForms = function ()
13
- {
14
- if ($('#new_revechat_account').is(':checked'))
15
- {
16
- $('#revechat_already_have').hide();
17
- $('#revechat_new_account').show();
18
- $('#edit-name').focus();
19
- }
20
- else if ($('#has_revechat_account').is(':checked'))
21
- {
22
- $('#revechat_new_account').hide();
23
- $('#revechat_already_have').show();
24
- $('#edit-revechat-account-email').focus();
25
- }
26
- };
27
- toggleForms();
28
-
29
- $('#revechat_choose_form input').click(toggleForms);
30
- },
31
-
32
- bindFormSubmit: function () {
33
- $('#revechat-admin-settings-form').submit(function(e)
34
- {
35
- //e.preventDefault();
36
-
37
- if($('#edit-submit').val() == 'Remove'){
38
- $('#revechat_aid').val(0);
39
- $('#revechat-admin-settings-form').submit();
40
- }
41
- if (((parseInt($('#revechat_aid').val()) !== 0) || $('#has_revechat_account').is(':checked')))
42
- {
43
- return ReveChat.alreadyHaveAccountForm();
44
- }
45
- else
46
- {
47
- return ReveChat.newLicenseForm();
48
- }
49
-
50
- });
51
- },
52
-
53
- alreadyHaveAccountForm: function()
54
- {
55
-
56
- if(this.validEmail())
57
- {
58
- if((parseInt($('#revechat_aid').val()) == 0 || $('#revechat_aid').val() == ""))
59
- {
60
- var login = $.trim($('#edit-revechat-account-email').val());
61
- if(!login.length)
62
- {
63
- $('#edit-revechat-account-email').focus();
64
- return false;
65
- }
66
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait&hellip;');
67
- var signInUrl = baseUrl +'/license/adminId/'+$('#edit-revechat-account-email').val()+'/?callback=?';
68
- $.getJSON(signInUrl,
69
- function(response)
70
- {
71
- if (response.error)
72
- {
73
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Incorrect REVE Chat login.');
74
- $('#edit-revechat-account-email').focus();
75
- return false;
76
- }
77
- else
78
- {
79
- $('#revechat_aid').val(response.data.account_id);
80
- $('#revechat-admin-settings-form').submit();
81
- }
82
- });
83
- return false;
84
- }
85
- }
86
- else
87
- {
88
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Invalid Email.');
89
- $('#edit-revechat-account-email').focus();
90
- return false;
91
- }
92
- return true;
93
- },
94
-
95
- newLicenseForm: function()
96
- {
97
- if (parseInt(($('#revechat_aid').val()) > 0))
98
- {
99
- return true;
100
- }
101
-
102
- if(this.validateNewLicenseForm())
103
- {
104
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
105
-
106
- ReveChat.createLicense();
107
- }
108
- return false;
109
- },
110
- createLicense: function()
111
- {
112
-
113
- $('.ajax_message').removeClass('message').addClass('wait').html('Creating new account&hellip;');
114
-
115
- var signUpUrl = baseUrl + '/revechat/rest/api/signup.do';
116
-
117
- $.ajax({
118
- data: { 'firstname':$('#edit-name').val(), 'lastname':' ', 'mailAddr':$('#edit-email').val(), 'phoneNo':$('#edit-phone').val() },
119
- type:'POST',
120
- url:signUpUrl,
121
- dataType: 'json',
122
- cache:false,
123
- success: function(response) {
124
- if(response.error)
125
- {
126
- $('.ajax_message').html(response.error).addClass('message alert').removeClass('wait');
127
- return false;
128
- }
129
- else if(response.success)
130
- {
131
- $('#revechat-admin-settings-form').children('div').remove();
132
- var message = '<div class="revechat_success_message">';
133
- message += '<h3>Thank you for sigining up with REVE Chat</h3>';
134
- message += '<p>A verification link has been sent to your registered email address from <strong><a href="#">support@revechat.com</a></strong>. Kindly verify your email to complete the signup process</p>';
135
- message += '<p>Then come backe again to integrate REVE Chat in your website.</p>';
136
- message += '</div>';
137
- $(message).appendTo('#revechat-admin-settings-form');
138
- $('p.submit').remove();
139
- $('.ajax_message').removeClass('wait');
140
- return false;
141
- }
142
- }
143
- });
144
- },
145
- validEmail: function()
146
- {
147
- if($('#edit-submit').val() != 'Remove')
148
- {
149
- if (/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i.test($('#edit-revechat-account-email').val()) == false)
150
- {
151
- //alert ('Please enter a valid email address.');
152
- $('#edit-email').focus();
153
- return false;
154
- }
155
- }
156
- return true;
157
- },
158
-
159
- validateNewLicenseForm: function()
160
- {
161
- if ($('#edit-name').val().length < 1)
162
- {
163
- alert ('Please enter your full name.');
164
- $('#edit-name').addClass('error').focus();
165
- return false;
166
- }
167
-
168
- if (/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i.test($('#edit-email').val()) == false)
169
- {
170
- alert ('Please enter a valid email address.');
171
- $('#edit-email').addClass('error').focus();
172
- return false;
173
- }
174
-
175
- if ($('#edit-phone').val().length < 1)
176
- {
177
- alert ('Please enter your phone number.');
178
- $('#edit-phone').addClass('error').focus();
179
- return false;
180
- }
181
-
182
- return true;
183
- }
184
- }
185
- $(document).ready(function()
186
- {
187
- ReveChat.init();
188
- });
189
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.1/readme.txt DELETED
@@ -1,201 +0,0 @@
1
- === Reve Chat ===
2
- Contributors: revechat_official
3
- Tags: chat, chat online, contact plugin, customer support, free chat, chat software, IM chat, live chat, live chat inc, live chat services, live chat software, live chatting, live help, live support, live web chat, livechat, live help, live support, olark, online chat, online support, php live chat, snapengage, support software, website chat, wordpress chat, wordpress live chat, wordpress live chat plugin, ReveChat, REVE Chat, zendesk, Zopim live chat, clickdesk, olark, click desk, visitor analytics, web analytics, lead generation, online leads
4
-
5
- Stable tag: 2.0.1
6
-
7
-
8
- REVE Chat is powerful and intuitive real-time customer engagement software.
9
-
10
- == Description ==
11
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display.
12
-
13
- In the fast paced ambience of live customer support, the efficient usage of valuable time is the main key to both happy customers and professional management. Traditionally interactions between support agents and customers have been restricted to one-on-one supports over phones or emails. Live chat for customer support has now become the alternative that today's multitasking and net savvy generation is looking for. It offers quick response in real time and higher customer satisfaction which can generate more conversions. In the era of automated customer assistance systems, the chance to chat with a person in real time through your website is a distinct feature. Now just like a sales person in the shop, talk to the visitors of your website in real-time.
14
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use. So place this customizable REVE Chat widget to your business and start getting sales conversion and higher customer satisfaction.
15
-
16
- **Key Features**
17
-
18
- * **Real-time Visitor Info:** Agent as well as Admin can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
19
- * **Proactive Chat:** Proactive chat enables agents to initiate a Chat request from their Chat Window. Moreover Trigger based proactive chat automatically sends customized chat alerts for the visitors on the website.
20
- * **Chat Monitoring:** Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents
21
- * **Click to Call:** Click to call is a powerful solution that can be implemented on REVE Chat to offer real-time voice assistance to online customers. It allows visitor and agent to initiate Voice and Video Call from their Chat window.
22
- * **Queuing:** With this chat software handle chat requests efficiently when all your agents are busy. REVE live chat software gives information to website visitors regarding their waiting time in the chat queue
23
- * **Facebook Integration:** REVE Chat allows you to engage with your potential customers through your company Facebook page. Facebook is very effective tool for business. Smart use of social media increases sales, retention and customer satisfaction. REVE Chat Facebook app makes it easier than ever to engage online visitors. Facebook integration lets customers reach you directly on your Facebook fan page, whether or not you are online, increasing customer happiness and organic marketing and outreach.
24
-
25
- **What makes Reve Chat the best choice for live chat?**
26
-
27
- * A simple and highly customizable Live chat solution
28
- * User friendly interface and Dashboard
29
- * Intuitive Chat Window
30
- * Innovative and unique features
31
- * 24x7 hour live chat support from our trained experts on any weekday (visit revechat.com)
32
-
33
-
34
-
35
- **Some Geeky Facts**
36
-
37
- * Work across major browsers (Internet Explorer 7+, Firefox, Google Chrome, Opera, Safari).
38
- * Average uptime is 99.8%.
39
- * Mobile Optimized Dashboard
40
-
41
-
42
-
43
- Should you need any assistance, feel free to chat with our customer advocates on www.revechat.com or email us at support@revechat.com
44
-
45
-
46
- == Changelog ==
47
-
48
-
49
- = 1.2.0 =
50
-
51
- * Feature: Add the Reve chat widget to your site!
52
- * Feature: Customize look and feel of the widget, including themes and color!
53
-
54
- = 2.0 =
55
- * New Admin Menu page for REVE Chat
56
- * New for integration
57
- * Added link of settings page to display on the plugins page (beside the activate/deactivate links).
58
-
59
- = 2.0.1 =
60
- * Updated chat script
61
-
62
- == Screenshots ==
63
-
64
- 1. Chat window on your website - active chat
65
- 2. Account Configuration - Link Up
66
- 3. Account Configuration - Linked Up with Launch Dashboard
67
- 4. Dashboard View - Open new browser tab
68
- 5. Widget Customization from Dashboard
69
-
70
- == Frequently Asked Questions ==
71
-
72
- = Do I have to install any software on my server to get this working? =
73
-
74
- REVE Chat plugin need to be installed from your wordpress panel. It is a cloud based live chat software hence it would only activate the script when you install the plugin.
75
-
76
- = Why should I use REVE Chat? =
77
-
78
- REVE chat is a complete online sales and support tool to engage your website visitors. With advanced features such as Click to call, Facebook Chat Integration, Queuing, Chat Monitoring and others, REVE Chat provides full insights to communicate with your visitors to become your loyal customers.
79
-
80
- = Which web browsers work best with this plugin =
81
-
82
- Though it is designed to work on almost all the browsers, REVE Chat works best in the following environment: IE 7+ or later (PC), Firefox 2 or later (Mac, PC, or Linux), Safari 2 or later (Mac), Google Chrome (PC, Mac).
83
-
84
- = I managed to install the plugin but cannot link up to REVE Chat. Why? =
85
-
86
- Please insert required parameter Account ID and Tracking ID into plugin's configuration page.
87
-
88
- = How much is price of REVE Chat? =
89
-
90
- REVE Chat plugin in free to install and it offers a complete 14 days free trial to understand its all features. REVE Chat offers 3 packages
91
- 1. Basic (Free)
92
- 2. Standard
93
- 3. Advanced
94
- Please click here to find out more about pricing
95
- The plugin is completely free to install. However if you want to use Standard and Advanced REVE Chat package then you have to purchase the package.
96
-
97
- = How can I chat with more visitors at the same time? =
98
-
99
- REVE Chat allows unlimited concurrent chats for the paid plans. Hence you can chat with as many visitors as you want at the same time. REVE Chat also allows you to proactively chat with your website visitors before they leave your website
100
-
101
- = How can I take further information regarding REVE Chat? =
102
-
103
- You can find out more at our site at http://www.revechat.com or at support@revechat.com and we will help you with installation.
104
-
105
- = Is there any demo or trial period to do some testing? =
106
-
107
- Yes, defiantly you can use all the features of REVE Chat for 14days in the trial period.
108
-
109
- = Can I customize the REVE Chat window? =
110
-
111
- Yes, REVE Chat window is customizable. Some of the things which you can change in the chat window include:
112
-
113
- * Changing the colour scheme
114
- * Changing the font size
115
- * Chat Widget text
116
- * Offline Widget Text
117
- * Prechat & Post chat form
118
-
119
- = Can I add REVE Chat on more than one website at the same time? =
120
-
121
- Yes, there is no limit on websites for the paid plans. However our free Basic package has limited features and it can be used only on one website.
122
-
123
- == Usage ==
124
-
125
- = Agent management =
126
-
127
- From the dashboard you to keep a track on your agents with its special agent management feature. Here you can add your agents and see all the details like status, last login time, total no of assigned concurrent chat of each and every agent etc. In real time which will help you to manage your support service more efficiently
128
-
129
- = How to configuring a chat operator =
130
-
131
- Please follow the below mentioned directions to manage your agents.
132
- * After logging in to your REVE Chat dash board, click on 'Agent Management' option. Here you will get the below mentioned information:
133
- * List of your agent names
134
- * Roles assigned to each and every agent
135
- * Email address of your agents
136
- * Phone numbers of your agents
137
- * Status of your agents online or offline
138
- * Each and every agent's last login time
139
- * Total number of concurrent chats assigned to each and every agent
140
-
141
-
142
- = Agent creation =
143
-
144
- To create an agent, you need to follow the below mentioned steps:
145
- * Login to your REVE Chat dashboard
146
- * Click on 'Agent Management'
147
- * For adding your agent, click on the 'Create Agent' option
148
- * After that you need to fill up a from mentioning the email address, password, role which you want to assign to the agent, total no of concurrent chats you want to assign to that agent, the agent's first and last name, designation and contact no. After that click on the 'Submit' button
149
-
150
- = Chat Conversation =
151
-
152
- In the conversation box agent can directly engage with visitor. Each message is accompanied by the name of the person who sent that message and a timestamp so you can easily follow the conversation
153
-
154
- = Engaged Visitors =
155
-
156
- In the top left side corner of the panel Chat operator can see all of his on-going chats.
157
-
158
- = Online Agents =
159
-
160
- Chat operator can chat with other operators from the same Chat Window. At the left corner there is a menu called Online Agents. In that menu all the logged in operators name will be shown. By clicking one operator name you can start conversation with him.
161
-
162
- = New Chat Request =
163
-
164
- Agents can see new chat requests from website visitors on the left side corner of their dashboard.
165
-
166
- = Chat Panel =
167
-
168
- The central position is for running conversation. Agent will type from the messaging field and also share file by clicking attachment file. There are some other fields in the chat panel.
169
- * History: Agent can see all the previous chat conversations of that particular visitors.
170
- * Chat Transfer: Agent can easily transfer a chat to other agent. This transfer chat option is available in the chat window itself. Agent can click on it and select to whom he wants to transfer the chat. The new chat agent can take over the current live chat conversation without breaking the chat session
171
- * Visitor Info: Agent can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
172
- * Map: During the chat session chat operator can see the visitor real time location map.
173
-
174
- = Online Visitors =
175
-
176
- In the online visitor list agent can see all the web visitors who are currently viewing your websites. You can see their current viewing page, city name and visiting time. Besides you can also send a proactive chat request to the visitor to know whether they need any sort of help or not.
177
-
178
- = Queued Visitor =
179
-
180
- Queued Visitor list will show who is the visitors is waiting for Live Chat. It gives information to your website visitors regarding their waiting time in chat queue and sets accurate response time expectations.
181
-
182
- = Monitoring Panel =
183
-
184
- Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents.
185
-
186
-
187
-
188
- == Installation ==
189
-
190
- *Server Requirements:* PHP4 or PHP5.
191
-
192
- *Wordpress versions:* Wordpress 2.7 and up.
193
-
194
- = Step-by-step Guide =
195
- * Search Plugin from Wordpress Directory
196
- * Install REVE Chat plugin
197
- * Copy Account ID and Tracking ID from integration page
198
- * Paste it REVE Chat Plugins setting page
199
- * Customize the chat widget to your preference.
200
- * Finally, make full use of our intuitive Dashboard to manage your chat widget.
201
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.1/revechat.php DELETED
@@ -1,160 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: Reve Chat
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 2.0.1
6
- Author: ReveChat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- class WP_Plugin_Revechat
13
- {
14
- /**
15
- * Construct the plugin object
16
- */
17
- public function __construct()
18
- {
19
- // Plugin Details
20
- $this->plugin = new stdClass;
21
- $this->plugin->name = 'revechat'; // Plugin Folder
22
- $this->plugin->displayName = 'ReveChat'; // Plugin Name
23
- $this->plugin->version = '2.0.1';
24
-
25
- // Hooks
26
- add_action('admin_init', array(&$this, 'registerSettings'));
27
- //add_action('admin_menu', array(&$this, 'adminPanels'));
28
-
29
- add_action('wp_head', array(&$this, 'frontendHeader'));
30
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
31
-
32
- // Add Menu Page
33
- add_action('admin_menu',array($this,'admin_menu'));
34
-
35
- //enqueue scripts
36
- add_action('admin_enqueue_scripts',array($this,'admin_scripts'));
37
- } // END public function __construct
38
-
39
- /**
40
- * Activate the frontendHeader
41
- */
42
- public static function frontendHeader()
43
- {
44
- $accountId = get_option('revechat_accountid' , '');
45
- if( (isset($accountId) && !empty($accountId)) ) {
46
-
47
- $script = "<script type='text/javascript'>";
48
- $script .= 'window.$_REVECHAT_API || (function(d, w) { var r = $_REVECHAT_API = function(c) {r._.push(c);}; w.__revechat_account=\''.$accountId.'\';w.__revechat_version=2;
49
- r._= []; var rc = d.createElement(\'script\'); rc.type = \'text/javascript\'; rc.async = true; rc.setAttribute(\'charset\', \'utf-8\');
50
- rc.src = (\'https:\' == document.location.protocol ? \'https://\' : \'http://\') + \'static.revechat.com/widget/scripts/new-livechat.js?\'+new Date().getTime();
51
- var s = d.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(rc, s);
52
- })(document, window);';
53
-
54
- $script .='</script>';
55
-
56
- echo $script ;
57
-
58
- }
59
-
60
- } // END public static function activate
61
- /*
62
- * show parameter section
63
- */
64
- public function registerSettings(){
65
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
66
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
67
- }
68
- /*
69
- * admin panel
70
- */
71
- public function adminPanels(){
72
- //add_options_page("ReveChat Dashboard" , "ReveChat" , "read" , "reveChatOptions");
73
- // Add a new submenu under Settings:
74
- add_options_page(__('ReveChat Dashboard','revechat-settings'), __('ReveChat Settings','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions') );
75
- }
76
- /*
77
- * revechat options
78
- */
79
- public function reveChatOptions(){
80
- if ( !current_user_can( 'manage_options' ) ) {
81
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
82
- }
83
- // variables for the field and option names
84
- $accountId = 'revechat_accountid';
85
-
86
- // Read in existing option value from database
87
- $val_accountId = get_option( $accountId );
88
-
89
- if( isset($_POST[ $accountId ])){
90
-
91
- // Read in existing option value from POST
92
- $val_accountId = $_POST[ $accountId ];
93
- update_option( $accountId , $val_accountId );
94
- ?>
95
- <div class="updated" xmlns="http://www.w3.org/1999/html"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
96
- <?php
97
- }
98
- ?>
99
- <div class="wrap" id="revechat">
100
-
101
- <div class="reve-chat-logo">
102
- <img src="<?php echo plugin_dir_url( __FILE__ )."images/logo.png";?>" alt="REVE Chat">
103
- </div>
104
- <div class="form-item form-type-item" id="edit-ajax-message">
105
- <p class="ajax_message"></p>
106
- </div>
107
-
108
- <form name="form1" id="revechat-admin-settings-form" method="post" action="">
109
-
110
- <?php
111
- if(isset($val_accountId) && $val_accountId != 0){
112
- require (plugin_dir_path( __FILE__ )."includes/remove-form.php");
113
- return;
114
- }
115
-
116
- require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
117
- require (plugin_dir_path( __FILE__ )."includes/login-form.php");
118
- require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
119
- ?>
120
-
121
- <p class="submit">
122
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
123
- </p>
124
-
125
- </form>
126
- </div>
127
-
128
- <?php
129
- }
130
-
131
- public function admin_menu()
132
- {
133
- // add_menu_page( string $page_title, string $menu_title, string $capability, string $menu_slug, callable $function = '', string $icon_url = '', int $position = null )
134
- add_menu_page(__('ReveChat Dashboard','revechat-settings'), __('REVE Chat','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions'), plugin_dir_url( __FILE__ )."images/favicon.png");
135
-
136
- }
137
-
138
- /**
139
- * Deactivate the plugin
140
- */
141
- public static function deactivate()
142
- {
143
- delete_option('revechat_accountid');
144
- } // END public static function deactivate
145
-
146
- public function admin_scripts(){
147
- wp_enqueue_script( 'revechat-admin-script', plugin_dir_url( __FILE__ ) . '/js/revechat-admin.js' );
148
- wp_enqueue_style( 'custom_wp_admin_css',plugin_dir_url( __FILE__ ).'css/admin-styles.css' );
149
- }
150
-
151
- function add_action_links ( $links ) {
152
- $menu_link = array(
153
- '<a href="' . admin_url( 'admin.php?page=revechatsettings' ) . '">Settings</a>',
154
- );
155
- return array_merge( $links, $menu_link );
156
- }
157
- } // END class WP_Plugin_Revechat
158
- } // END if(!class_exists('WP_Plugin_Revechat'))
159
- $revechat = new WP_Plugin_Revechat ;
160
- register_deactivation_hook( __FILE__, array( 'WP_Plugin_Revechat', 'deactivate' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.1/screenshot-1.png DELETED
Binary file
tags/2.0.1/screenshot-2.png DELETED
Binary file
tags/2.0.1/screenshot-3.png DELETED
Binary file
tags/2.0.1/screenshot-4.png DELETED
Binary file
tags/2.0.2/css/admin-styles.css DELETED
@@ -1,113 +0,0 @@
1
- #revechat #edit-choose-form h3,
2
- #revechat #revechat_already_have h3,
3
- #revechat #revechat_new_account h3{
4
- color: coral;
5
- }
6
- #revechat ul#revechat_choose_form{}
7
- #revechat ul#revechat_choose_form li{
8
- list-style: none;
9
- display: block;
10
- }
11
- #revechat ul#revechat_choose_form li label{
12
- display: inline-block;
13
- }
14
- #revechat .revechat_email_error{
15
- color: red;
16
- }
17
- #revechat .ajax_message {
18
- display: none;
19
- background: url(ajax_loader.gif) no-repeat 24px 51%;
20
- padding: 0;
21
- margin-top: 1em;
22
- }
23
- #revechat .ajax_message.wait,
24
- #revechat .ajax_message.message
25
- {
26
- display: block;
27
- font-size: 1.2em;
28
- padding: 20px;
29
- box-shadow: 2px 2px 2px rgba(0,0,0,.2);
30
- }
31
- #revechat .ajax_message.wait {
32
- text-indent: 28px;
33
- background-color: #fff;
34
- }
35
- #revechat .ajax_message.message {
36
- background-image: none;
37
- text-indent: 0px;
38
- }
39
-
40
- #revechat .ajax_message.message.alert{
41
- background-color: #f2dede;
42
- border-color: #ebccd1;
43
- color: #a94442;
44
- padding: 20px;
45
- }
46
- #revechat .ajax_message.message.success{
47
- background-color: #dff0d8;
48
- border: 1px solid #dff0d8;
49
- color: #3c763d;
50
- padding: 20px;
51
- }
52
- #revechat .revechat_success_message{
53
- background: #ffffff;
54
- padding: 50px;
55
- height: auto;
56
- font-size: 1.5em;
57
- border-bottom: 5px solid #F16915;
58
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
59
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
60
- box-shadow: 0px 0px 6px rgba(0,0,0,.3);
61
- }
62
- #revechat .revechat_success_message h3{
63
- font-weight: bold;
64
- border-bottom: 1px solid #B1B4B9;
65
- padding-bottom: 20px;
66
- line-height: 2em;
67
- }
68
- #revechat .messages.revechat_success{
69
- background-color: #dff0d8;
70
- border: 1px solid #bee99a;
71
- color: #3c763d;
72
- padding: 20px;
73
- margin-bottom: 30px;
74
- font-weight: 600;
75
- }
76
- #revechat .form-submit{
77
- background: #FF5800 none repeat scroll 0 0;
78
- border-color: #bd4302 #ab3c02 #ab3c02;
79
- -webkit-box-shadow: 0 1px 0 #ab3c02;
80
- box-shadow: 0 1px 0 #ab3c02;
81
- color: #fff;
82
- text-decoration: none;
83
- text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
84
- }
85
- #revechat .box {
86
- background: #ffffff;
87
- border: 1px solid #e5e5e5;
88
- padding: 20px;
89
- }
90
- #revechat #revechat-admin-settings-form {
91
- padding: 18px;
92
- }
93
- #revechat fieldset {
94
- border: 1px solid #c0c0c0;
95
- margin-top: 20px;
96
- }
97
- #revechat #revechat_already_have > h3 {
98
- margin-top: 19px;
99
- }
100
- #revechat ul#revechat_choose_form li {
101
- display: block;
102
- list-style: outside none none;
103
- padding-left: 20px;
104
- }
105
-
106
- #revechat .form-item > label {
107
- display: table;
108
- margin-bottom: 11px;
109
- margin-top: 20px;
110
- }
111
- #revechat input.form-submit{
112
- cursor: pointer;
113
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.2/css/ajax_loader.gif DELETED
Binary file
tags/2.0.2/images/favicon.png DELETED
Binary file
tags/2.0.2/images/logo.png DELETED
Binary file
tags/2.0.2/includes/choose-form.php DELETED
@@ -1,13 +0,0 @@
1
- <div id="edit-choose-form">
2
- <h3>Already have a REVE Chat account?</h3>
3
- <ul id="revechat_choose_form">
4
- <li>
5
- <input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
6
- <label for="has_revechat_account">Yes, I already have a REVE Chat account</label>
7
- </li>
8
- <li>
9
- <input type="radio" id="new_revechat_account" name="revechat_choose_form">
10
- <label for="new_revechat_account">No, I want to create one</label>
11
- </li>
12
- </ul>
13
- </div><!-- Edit Choose Form -->
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.2/includes/login-form.php DELETED
@@ -1,20 +0,0 @@
1
- <div id="revechat_already_have">
2
- <h3>Account Details</h3>
3
- <table class="form-table">
4
- <tbody>
5
- <tr>
6
- <th>
7
- <label for="edit-revechat-account-email">
8
- <?php
9
- _e("REVE Chat Login Email");
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email">
15
- <input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
16
- </td>
17
- </tr>
18
- </tbody>
19
- </table>
20
- </div><!-- revechat_already_have -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.2/includes/remove-form.php DELETED
@@ -1,23 +0,0 @@
1
- <div class="box">
2
- <h3>REVE Chat has been installed.</h3>
3
- <p>Sign in to REVE Chat Dashboard and start chatting with your customers.</p>
4
- <p><a href="https://dashboard.revechat.com" class="form-submit button-primary" target="_blank">Go to Dashboard</a></p>
5
-
6
-
7
- </div>
8
- <div id="edit-actions" class="form-actions form-wrapper">
9
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
10
- <p><small>Something went wrong? <input type="submit" style="background: transparent; border: 0; text-decoration: underline;text-transform: lowercase; font-size: 10px; cursor: pointer;" value="Remove" name="revechat_remove" id="edit-submit"></small></p>
11
- </div>
12
-
13
-
14
- <!--
15
- <div>
16
- <div class="messages revechat_success">REVE Chat
17
- is already installed.</div>
18
-
19
- <div id="edit-actions" class="form-actions form-wrapper">
20
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
21
- <input type="submit" class="form-submit button-primary" value="Remove" name="revechat_remove" id="edit-submit">
22
- </div>
23
- </div> -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.2/includes/signup-form.php DELETED
@@ -1,73 +0,0 @@
1
- <div id="revechat_new_account">
2
-
3
- <h3>Create a new REVE Chat account</h3>
4
- <table class="form-table">
5
- <tr>
6
- <th>
7
- <label for="edit-firstname">
8
- <?php
9
- _e("First Name")
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="text" class="regular-text" name="firstName" id="edit-firstname">
15
- </td>
16
- </tr>
17
-
18
-
19
- <tr>
20
- <th>
21
- <label for="edit-lastname">
22
- <?php
23
- _e("Last Name")
24
- ?>
25
- </label>
26
- </th>
27
- <td>
28
- <input type="text" class="regular-text" name="firstName" id="edit-lastname">
29
- </td>
30
- </tr>
31
-
32
- <tr>
33
- <th>
34
- <label for="edit-email">
35
- <?php
36
- _e('Email')
37
- ?>
38
- </label>
39
-
40
- </th>
41
- <td>
42
- <input type="text" class="regular-text" name="email" id="edit-email">
43
- </td>
44
- </tr>
45
-
46
- <tr>
47
- <th>
48
- <label for="edit-accountpassword">
49
- <?php
50
- _e('Create Password')
51
- ?>
52
- </label>
53
- </th>
54
- <td>
55
- <input type="password" class="regular-text" name="edit-accountpassword" id="edit-accountpassword">
56
- </td>
57
- </tr>
58
-
59
- <tr>
60
- <th>
61
- <label for="edit-retypepassword">
62
- <?php
63
- _e('Confirm your Password')
64
- ?>
65
- </label>
66
- </th>
67
- <td>
68
- <input type="password" class="regular-text" name="edit-retypepassword" id="edit-retypepassword">
69
- </td>
70
- </tr>
71
- </table>
72
-
73
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.2/js/revechat-admin.js DELETED
@@ -1,222 +0,0 @@
1
- jQuery.noConflict();
2
- (function($){
3
- var baseUrl = 'https://dashboard.revechat.com/';
4
- var ReveChat ={
5
- init: function () {
6
- this.toggleForms();
7
- this.bindFormSubmit();
8
- },
9
-
10
- toggleForms: function ()
11
- {
12
- var toggleForms = function ()
13
- {
14
- if ($('#new_revechat_account').is(':checked'))
15
- {
16
- $('#revechat_already_have').hide();
17
- $('#revechat_new_account').show();
18
- $('#edit-name').focus();
19
- }
20
- else if ($('#has_revechat_account').is(':checked'))
21
- {
22
- $('#revechat_new_account').hide();
23
- $('#revechat_already_have').show();
24
- $('#edit-revechat-account-email').focus();
25
- }
26
- };
27
- toggleForms();
28
-
29
- $('#revechat_choose_form input').click(toggleForms);
30
- },
31
-
32
- bindFormSubmit: function () {
33
- $('#revechat-admin-settings-form').submit(function(e)
34
- {
35
- // e.preventDefault();
36
-
37
- if($('#edit-submit').val() == 'Remove'){
38
- $('#revechat_aid').val(0);
39
- $('#revechat-admin-settings-form').submit();
40
- }
41
- if (((parseInt($('#revechat_aid').val()) !== 0) || $('#has_revechat_account').is(':checked')))
42
- {
43
- return ReveChat.alreadyHaveAccountForm();
44
- }
45
- else
46
- {
47
- return ReveChat.newLicenseForm();
48
- }
49
-
50
- });
51
- },
52
-
53
- alreadyHaveAccountForm: function()
54
- {
55
-
56
- if(this.validEmail())
57
- {
58
- if((parseInt($('#revechat_aid').val()) == 0 || $('#revechat_aid').val() == ""))
59
- {
60
- var login = $.trim($('#edit-revechat-account-email').val());
61
- if(!login.length)
62
- {
63
- $('#edit-revechat-account-email').focus();
64
- return false;
65
- }
66
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait&hellip;');
67
-
68
- ReveChat.signIn($('#edit-revechat-account-email').val());
69
- return false;
70
- }
71
- }
72
- else
73
- {
74
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Invalid Email.');
75
- $('#edit-revechat-account-email').focus();
76
- return false;
77
- }
78
- return true;
79
- },
80
- signIn: function (email) {
81
- var signInUrl = baseUrl +'/license/adminId/'+email+'/?callback=?';
82
- $.getJSON(signInUrl,
83
- function(response)
84
- {
85
- if (response.error)
86
- {
87
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Incorrect REVE Chat login.');
88
- $('#edit-revechat-account-email').focus();
89
- return false;
90
- }
91
- else
92
- {
93
- $('#revechat_aid').val(response.data.account_id);
94
- $('#revechat-admin-settings-form').submit();
95
- }
96
- });
97
- },
98
- newLicenseForm: function()
99
- {
100
- if (parseInt(($('#revechat_aid').val()) > 0))
101
- {
102
- return true;
103
- }
104
-
105
- if(this.validateNewLicenseForm())
106
- {
107
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
108
-
109
- ReveChat.createLicense();
110
- }
111
- return false;
112
- },
113
- createLicense: function()
114
- {
115
-
116
- $('.ajax_message').removeClass('message').addClass('wait').html('Creating new account&hellip;');
117
-
118
- var firstName = $.trim($('#edit-firstname').val());
119
- var lastName = $.trim($('#edit-lastname').val());
120
- var email = $.trim($('#edit-email').val());
121
- var password = $.trim($('#edit-accountpassword').val());
122
- var rePassword = $.trim($('#edit-retypepassword').val());
123
-
124
- var signUpUrl = baseUrl + 'revechat/cms/api/signup.do';
125
-
126
- $.ajax({
127
- data: { 'firstname':firstName, 'lastname':lastName, 'mailAddr':email, 'password':password },
128
- type:'POST',
129
- url:signUpUrl,
130
- dataType: 'json',
131
- cache:false,
132
- success: function(response) {
133
- if(response.status == 'error')
134
- {
135
- $('.ajax_message').html(response.message).addClass('message alert').removeClass('wait');
136
- return false;
137
- }
138
- else if(response.status == 'success')
139
- {
140
- $('#edit-revechat-account-email').val(email);
141
- ReveChat.signIn(email);
142
- return false;
143
- }
144
- }
145
- });
146
- },
147
- validEmail: function()
148
- {
149
- if($('#edit-submit').val() != 'Remove')
150
- {
151
- if (/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i.test($('#edit-revechat-account-email').val()) == false)
152
- {
153
- //alert ('Please enter a valid email address.');
154
- $('#edit-email').focus();
155
- return false;
156
- }
157
- }
158
- return true;
159
- },
160
-
161
- validateNewLicenseForm: function()
162
- {
163
-
164
- var firstName = $.trim($('#edit-firstname').val());
165
- var lastName = $.trim($('#edit-lastname').val());
166
- var email = $.trim($('#edit-email').val());
167
- var password = $.trim($('#edit-accountpassword').val());
168
- var rePassword = $.trim($('#edit-retypepassword').val());
169
-
170
-
171
-
172
- if (!firstName.length)
173
- {
174
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Please provide your first name.');
175
- $('#edit-firstname').focus();
176
- return false;
177
- }
178
-
179
- if (!lastName.length)
180
- {
181
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Please provide your last name.');
182
- $('#edit-lastname').focus();
183
- return false;
184
- }
185
-
186
- if (!ReveChat.isValidEmailAddress(email))
187
- {
188
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Please provide valid email address.');
189
- $('#edit-email').focus();
190
- return false;
191
- }
192
-
193
- if(password.length < 6){
194
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Please provide your password. The password must be at least 6 characters long.');
195
- $('#edit-accountpassword').focus();
196
- return false;
197
- }
198
-
199
- if(!rePassword.length || password.length < 6){
200
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Please retype your password.');
201
- $('#edit-retypepassword').focus();
202
- return false;
203
- }
204
-
205
- if(password != rePassword){
206
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Please retype your password.');
207
- return false;
208
- }
209
-
210
-
211
- return true;
212
- },
213
- isValidEmailAddress: function (emailAddress) {
214
- var pattern = /^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i;
215
- return pattern.test(emailAddress);
216
- },
217
- }
218
- $(document).ready(function()
219
- {
220
- ReveChat.init();
221
- });
222
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.2/readme.txt DELETED
@@ -1,203 +0,0 @@
1
- === Reve Chat ===
2
- Contributors: revechat_official
3
- Tags: chat online, contact plugin, customer support, free chat, chat software, IM chat, live chat, live chat inc, live chat services, live chat software, live chatting, live help, live support, live web chat, livechat, live help, live support, olark, online chat, online support, php live chat, snapengage, support software, website chat, wordpress chat, wordpress live chat, wordpress live chat plugin, ReveChat, REVE Chat, zendesk, Zopim live chat, clickdesk, olark, click desk, visitor analytics, web analytics, lead generation, online leads
4
-
5
- Stable tag: 2.0.1
6
-
7
-
8
- REVE Chat is powerful and intuitive real-time customer engagement software.
9
-
10
- == Description ==
11
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display.
12
-
13
- https://youtu.be/t1dykZ9Tg8U
14
-
15
- In the fast paced ambience of live customer support, the efficient usage of valuable time is the main key to both happy customers and professional management. Traditionally interactions between support agents and customers have been restricted to one-on-one supports over phones or emails. Live chat for customer support has now become the alternative that today's multitasking and net savvy generation is looking for. It offers quick response in real time and higher customer satisfaction which can generate more conversions. In the era of automated customer assistance systems, the chance to chat with a person in real time through your website is a distinct feature. Now just like a sales person in the shop, talk to the visitors of your website in real-time.
16
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use. So place this customizable REVE Chat widget to your business and start getting sales conversion and higher customer satisfaction.
17
-
18
- **Key Features**
19
-
20
- * **Real-time Visitor Info:** Agent as well as Admin can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
21
- * **Proactive Chat:** Proactive chat enables agents to initiate a Chat request from their Chat Window. Moreover Trigger based proactive chat automatically sends customized chat alerts for the visitors on the website.
22
- * **Chat Monitoring:** Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents
23
- * **Click to Call:** Click to call is a powerful solution that can be implemented on REVE Chat to offer real-time voice assistance to online customers. It allows visitor and agent to initiate Voice and Video Call from their Chat window.
24
- * **Queuing:** With this chat software handle chat requests efficiently when all your agents are busy. REVE live chat software gives information to website visitors regarding their waiting time in the chat queue
25
- * **Facebook Integration:** REVE Chat allows you to engage with your potential customers through your company Facebook page. Facebook is very effective tool for business. Smart use of social media increases sales, retention and customer satisfaction. REVE Chat Facebook app makes it easier than ever to engage online visitors. Facebook integration lets customers reach you directly on your Facebook fan page, whether or not you are online, increasing customer happiness and organic marketing and outreach.
26
-
27
- **What makes Reve Chat the best choice for live chat?**
28
-
29
- * A simple and highly customizable Live chat solution
30
- * User friendly interface and Dashboard
31
- * Intuitive Chat Window
32
- * Innovative and unique features
33
- * 24x7 hour live chat support from our trained experts on any weekday (visit revechat.com)
34
-
35
-
36
-
37
- **Some Geeky Facts**
38
-
39
- * Work across major browsers (Internet Explorer 7+, Firefox, Google Chrome, Opera, Safari).
40
- * Average uptime is 99.8%.
41
- * Mobile Optimized Dashboard
42
-
43
-
44
-
45
- Should you need any assistance, feel free to chat with our customer advocates on www.revechat.com or email us at support@revechat.com
46
-
47
-
48
- == Changelog ==
49
-
50
-
51
- = 1.2.0 =
52
-
53
- * Feature: Add the Reve chat widget to your site!
54
- * Feature: Customize look and feel of the widget, including themes and color!
55
-
56
- = 2.0 =
57
- * New Admin Menu page for REVE Chat
58
- * New for integration
59
- * Added link of settings page to display on the plugins page (beside the activate/deactivate links).
60
-
61
- = 2.0.1 =
62
- * Updated chat script
63
-
64
- == Screenshots ==
65
-
66
- 1. Chat window on your website - active chat
67
- 2. Account Configuration - Link Up
68
- 3. Account Configuration - Linked Up with Launch Dashboard
69
- 4. Dashboard View - Open new browser tab
70
- 5. Widget Customization from Dashboard
71
-
72
- == Frequently Asked Questions ==
73
-
74
- = Do I have to install any software on my server to get this working? =
75
-
76
- REVE Chat plugin need to be installed from your wordpress panel. It is a cloud based live chat software hence it would only activate the script when you install the plugin.
77
-
78
- = Why should I use REVE Chat? =
79
-
80
- REVE chat is a complete online sales and support tool to engage your website visitors. With advanced features such as Click to call, Facebook Chat Integration, Queuing, Chat Monitoring and others, REVE Chat provides full insights to communicate with your visitors to become your loyal customers.
81
-
82
- = Which web browsers work best with this plugin =
83
-
84
- Though it is designed to work on almost all the browsers, REVE Chat works best in the following environment: IE 7+ or later (PC), Firefox 2 or later (Mac, PC, or Linux), Safari 2 or later (Mac), Google Chrome (PC, Mac).
85
-
86
- = I managed to install the plugin but cannot link up to REVE Chat. Why? =
87
-
88
- Please insert required parameter Account ID and Tracking ID into plugin's configuration page.
89
-
90
- = How much is price of REVE Chat? =
91
-
92
- REVE Chat plugin in free to install and it offers a complete 14 days free trial to understand its all features. REVE Chat offers 3 packages
93
- 1. Basic (Free)
94
- 2. Standard
95
- 3. Advanced
96
- Please click here to find out more about pricing
97
- The plugin is completely free to install. However if you want to use Standard and Advanced REVE Chat package then you have to purchase the package.
98
-
99
- = How can I chat with more visitors at the same time? =
100
-
101
- REVE Chat allows unlimited concurrent chats for the paid plans. Hence you can chat with as many visitors as you want at the same time. REVE Chat also allows you to proactively chat with your website visitors before they leave your website
102
-
103
- = How can I take further information regarding REVE Chat? =
104
-
105
- You can find out more at our site at http://www.revechat.com or at support@revechat.com and we will help you with installation.
106
-
107
- = Is there any demo or trial period to do some testing? =
108
-
109
- Yes, defiantly you can use all the features of REVE Chat for 14days in the trial period.
110
-
111
- = Can I customize the REVE Chat window? =
112
-
113
- Yes, REVE Chat window is customizable. Some of the things which you can change in the chat window include:
114
-
115
- * Changing the colour scheme
116
- * Changing the font size
117
- * Chat Widget text
118
- * Offline Widget Text
119
- * Prechat & Post chat form
120
-
121
- = Can I add REVE Chat on more than one website at the same time? =
122
-
123
- Yes, there is no limit on websites for the paid plans. However our free Basic package has limited features and it can be used only on one website.
124
-
125
- == Usage ==
126
-
127
- = Agent management =
128
-
129
- From the dashboard you to keep a track on your agents with its special agent management feature. Here you can add your agents and see all the details like status, last login time, total no of assigned concurrent chat of each and every agent etc. In real time which will help you to manage your support service more efficiently
130
-
131
- = How to configuring a chat operator =
132
-
133
- Please follow the below mentioned directions to manage your agents.
134
- * After logging in to your REVE Chat dash board, click on 'Agent Management' option. Here you will get the below mentioned information:
135
- * List of your agent names
136
- * Roles assigned to each and every agent
137
- * Email address of your agents
138
- * Phone numbers of your agents
139
- * Status of your agents online or offline
140
- * Each and every agent's last login time
141
- * Total number of concurrent chats assigned to each and every agent
142
-
143
-
144
- = Agent creation =
145
-
146
- To create an agent, you need to follow the below mentioned steps:
147
- * Login to your REVE Chat dashboard
148
- * Click on 'Agent Management'
149
- * For adding your agent, click on the 'Create Agent' option
150
- * After that you need to fill up a from mentioning the email address, password, role which you want to assign to the agent, total no of concurrent chats you want to assign to that agent, the agent's first and last name, designation and contact no. After that click on the 'Submit' button
151
-
152
- = Chat Conversation =
153
-
154
- In the conversation box agent can directly engage with visitor. Each message is accompanied by the name of the person who sent that message and a timestamp so you can easily follow the conversation
155
-
156
- = Engaged Visitors =
157
-
158
- In the top left side corner of the panel Chat operator can see all of his on-going chats.
159
-
160
- = Online Agents =
161
-
162
- Chat operator can chat with other operators from the same Chat Window. At the left corner there is a menu called Online Agents. In that menu all the logged in operators name will be shown. By clicking one operator name you can start conversation with him.
163
-
164
- = New Chat Request =
165
-
166
- Agents can see new chat requests from website visitors on the left side corner of their dashboard.
167
-
168
- = Chat Panel =
169
-
170
- The central position is for running conversation. Agent will type from the messaging field and also share file by clicking attachment file. There are some other fields in the chat panel.
171
- * History: Agent can see all the previous chat conversations of that particular visitors.
172
- * Chat Transfer: Agent can easily transfer a chat to other agent. This transfer chat option is available in the chat window itself. Agent can click on it and select to whom he wants to transfer the chat. The new chat agent can take over the current live chat conversation without breaking the chat session
173
- * Visitor Info: Agent can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
174
- * Map: During the chat session chat operator can see the visitor real time location map.
175
-
176
- = Online Visitors =
177
-
178
- In the online visitor list agent can see all the web visitors who are currently viewing your websites. You can see their current viewing page, city name and visiting time. Besides you can also send a proactive chat request to the visitor to know whether they need any sort of help or not.
179
-
180
- = Queued Visitor =
181
-
182
- Queued Visitor list will show who is the visitors is waiting for Live Chat. It gives information to your website visitors regarding their waiting time in chat queue and sets accurate response time expectations.
183
-
184
- = Monitoring Panel =
185
-
186
- Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents.
187
-
188
-
189
-
190
- == Installation ==
191
-
192
- *Server Requirements:* PHP4 or PHP5.
193
-
194
- *Wordpress versions:* Wordpress 2.7 and up.
195
-
196
- = Step-by-step Guide =
197
- * Search Plugin from Wordpress Directory
198
- * Install REVE Chat plugin
199
- * Copy Account ID and Tracking ID from integration page
200
- * Paste it REVE Chat Plugins setting page
201
- * Customize the chat widget to your preference.
202
- * Finally, make full use of our intuitive Dashboard to manage your chat widget.
203
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.2/revechat.php DELETED
@@ -1,162 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: Reve Chat
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 2.0.2
6
- Author: ReveChat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- class WP_Plugin_Revechat
13
- {
14
- /**
15
- * Construct the plugin object
16
- */
17
- public function __construct()
18
- {
19
- // Plugin Details
20
- $this->plugin = new stdClass;
21
- $this->plugin->name = 'revechat'; // Plugin Folder
22
- $this->plugin->displayName = 'ReveChat'; // Plugin Name
23
- $this->plugin->version = '2.0.1';
24
-
25
- // Hooks
26
- add_action('admin_init', array(&$this, 'registerSettings'));
27
- //add_action('admin_menu', array(&$this, 'adminPanels'));
28
-
29
- add_action('wp_head', array(&$this, 'frontendHeader'));
30
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
31
-
32
- // Add Menu Page
33
- add_action('admin_menu',array($this,'admin_menu'));
34
-
35
- //enqueue scripts
36
- add_action('admin_enqueue_scripts',array($this,'admin_scripts'));
37
- } // END public function __construct
38
-
39
- /**
40
- * Activate the frontendHeader
41
- */
42
- public static function frontendHeader()
43
- {
44
- $accountId = get_option('revechat_accountid' , '');
45
- if( (isset($accountId) && !empty($accountId)) ) {
46
-
47
- $script = "<script type='text/javascript'>";
48
- $script .= 'window.$_REVECHAT_API || (function(d, w) { var r = $_REVECHAT_API = function(c) {r._.push(c);}; w.__revechat_account=\''.$accountId.'\';w.__revechat_version=2;
49
- r._= []; var rc = d.createElement(\'script\'); rc.type = \'text/javascript\'; rc.async = true; rc.setAttribute(\'charset\', \'utf-8\');
50
- rc.src = (\'https:\' == document.location.protocol ? \'https://\' : \'http://\') + \'static.revechat.com/widget/scripts/new-livechat.js?\'+new Date().getTime();
51
- var s = d.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(rc, s);
52
- })(document, window);';
53
-
54
- $script .='</script>';
55
-
56
- echo $script ;
57
-
58
- }
59
-
60
- } // END public static function activate
61
- /*
62
- * show parameter section
63
- */
64
- public function registerSettings(){
65
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
66
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
67
- }
68
- /*
69
- * admin panel
70
- */
71
- public function adminPanels(){
72
- //add_options_page("ReveChat Dashboard" , "ReveChat" , "read" , "reveChatOptions");
73
- // Add a new submenu under Settings:
74
- add_options_page(__('ReveChat Dashboard','revechat-settings'), __('ReveChat Settings','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions') );
75
- }
76
- /*
77
- * revechat options
78
- */
79
- public function reveChatOptions(){
80
- if ( !current_user_can( 'manage_options' ) ) {
81
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
82
- }
83
- // variables for the field and option names
84
- $accountId = 'revechat_accountid';
85
-
86
- // Read in existing option value from database
87
- $val_accountId = get_option( $accountId );
88
-
89
- if( isset($_POST[ $accountId ])){
90
-
91
- // Read in existing option value from POST
92
- $val_accountId = $_POST[ $accountId ];
93
- update_option( $accountId , $val_accountId );
94
- ?>
95
- <div class="updated" xmlns="http://www.w3.org/1999/html"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
96
- <?php
97
- }
98
- ?>
99
- <div class="wrap" id="revechat">
100
-
101
- <div class="box">
102
- <div class="reve-chat-logo">
103
- <img src="<?php echo plugin_dir_url( __FILE__ )."images/logo.png";?>" alt="REVE Chat">
104
- </div>
105
- <div class="form-item form-type-item" id="edit-ajax-message">
106
- <p class="ajax_message"></p>
107
- </div>
108
-
109
- <form name="form1" id="revechat-admin-settings-form" method="post" action="">
110
-
111
- <?php
112
- if(isset($val_accountId) && $val_accountId != 0){
113
- require (plugin_dir_path( __FILE__ )."includes/remove-form.php");
114
- return;
115
- }
116
-
117
- require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
118
- require (plugin_dir_path( __FILE__ )."includes/login-form.php");
119
- require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
120
- ?>
121
-
122
- <p class="submit">
123
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
124
- </p>
125
-
126
- </form>
127
- </div>
128
- </div>
129
-
130
- <?php
131
- }
132
-
133
- public function admin_menu()
134
- {
135
- // add_menu_page( string $page_title, string $menu_title, string $capability, string $menu_slug, callable $function = '', string $icon_url = '', int $position = null )
136
- add_menu_page(__('ReveChat Dashboard','revechat-settings'), __('REVE Chat','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions'), plugin_dir_url( __FILE__ )."images/favicon.png");
137
-
138
- }
139
-
140
- /**
141
- * Deactivate the plugin
142
- */
143
- public static function deactivate()
144
- {
145
- delete_option('revechat_accountid');
146
- } // END public static function deactivate
147
-
148
- public function admin_scripts(){
149
- wp_enqueue_script( 'revechat-admin-script', plugin_dir_url( __FILE__ ) . '/js/revechat-admin.js' );
150
- wp_enqueue_style( 'custom_wp_admin_css',plugin_dir_url( __FILE__ ).'css/admin-styles.css' );
151
- }
152
-
153
- function add_action_links ( $links ) {
154
- $menu_link = array(
155
- '<a href="' . admin_url( 'admin.php?page=revechatsettings' ) . '">Settings</a>',
156
- );
157
- return array_merge( $links, $menu_link );
158
- }
159
- } // END class WP_Plugin_Revechat
160
- } // END if(!class_exists('WP_Plugin_Revechat'))
161
- $revechat = new WP_Plugin_Revechat ;
162
- register_deactivation_hook( __FILE__, array( 'WP_Plugin_Revechat', 'deactivate' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.2/screenshot-1.png DELETED
Binary file
tags/2.0.2/screenshot-2.png DELETED
Binary file
tags/2.0.2/screenshot-3.png DELETED
Binary file
tags/2.0.2/screenshot-4.png DELETED
Binary file
tags/2.0.3/css/admin-styles.css DELETED
@@ -1,109 +0,0 @@
1
- #revechat ul#revechat_choose_form{}
2
- #revechat ul#revechat_choose_form li{
3
- list-style: none;
4
- display: block;
5
- }
6
- #revechat ul#revechat_choose_form li label{
7
- display: inline-block;
8
- }
9
- #revechat .revechat_email_error{
10
- color: red;
11
- }
12
- #revechat .ajax_message {
13
- display: none;
14
- background: url(ajax_loader.gif) no-repeat 24px 51%;
15
- padding: 0;
16
- margin-top: 1em;
17
- }
18
- #revechat .ajax_message.wait,
19
- #revechat .ajax_message.message
20
- {
21
- display: block;
22
- font-size: 1.2em;
23
- padding: 20px;
24
- box-shadow: 2px 2px 2px rgba(0,0,0,.2);
25
- }
26
- #revechat .ajax_message.wait {
27
- text-indent: 28px;
28
- background-color: #fff;
29
- }
30
- #revechat .ajax_message.message {
31
- background-image: none;
32
- text-indent: 0px;
33
- }
34
-
35
- #revechat .ajax_message.message.alert{
36
- background-color: #f2dede;
37
- border-color: #ebccd1;
38
- color: #a94442;
39
- padding: 20px;
40
- }
41
- #revechat .ajax_message.message.success{
42
- background-color: #dff0d8;
43
- border: 1px solid #dff0d8;
44
- color: #3c763d;
45
- padding: 20px;
46
- }
47
- #revechat .revechat_success_message{
48
- background: #ffffff;
49
- padding: 50px;
50
- height: auto;
51
- font-size: 1.5em;
52
- border-bottom: 5px solid #F16915;
53
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
54
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
55
- box-shadow: 0px 0px 6px rgba(0,0,0,.3);
56
- }
57
- #revechat .revechat_success_message h3{
58
- font-weight: bold;
59
- border-bottom: 1px solid #B1B4B9;
60
- padding-bottom: 20px;
61
- line-height: 2em;
62
- }
63
- #revechat .messages.revechat_success{
64
- background-color: #dff0d8;
65
- border: 1px solid #bee99a;
66
- color: #3c763d;
67
- padding: 20px;
68
- margin-bottom: 30px;
69
- font-weight: 600;
70
- }
71
- #revechat .form-submit{
72
- background: #FF5800 none repeat scroll 0 0;
73
- border-color: #bd4302 #ab3c02 #ab3c02;
74
- -webkit-box-shadow: 0 1px 0 #ab3c02;
75
- box-shadow: 0 1px 0 #ab3c02;
76
- color: #fff;
77
- text-decoration: none;
78
- text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
79
- }
80
- #revechat .box {
81
- background: #ffffff;
82
- border: 1px solid #e5e5e5;
83
- padding: 20px;
84
- margin-bottom: 50px;
85
- }
86
- #revechat #revechat-admin-settings-form {
87
- padding: 18px;
88
- }
89
- #revechat fieldset {
90
- border: 1px solid #c0c0c0;
91
- margin-top: 20px;
92
- }
93
- #revechat #revechat_already_have > h3 {
94
- margin-top: 19px;
95
- }
96
- #revechat ul#revechat_choose_form li {
97
- display: block;
98
- list-style: outside none none;
99
- padding-left: 20px;
100
- }
101
-
102
- #revechat .form-item > label {
103
- display: table;
104
- margin-bottom: 11px;
105
- margin-top: 20px;
106
- }
107
- #revechat input.form-submit{
108
- cursor: pointer;
109
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.3/css/ajax_loader.gif DELETED
Binary file
tags/2.0.3/images/favicon.png DELETED
Binary file
tags/2.0.3/images/logo.png DELETED
Binary file
tags/2.0.3/includes/choose-form.php DELETED
@@ -1,13 +0,0 @@
1
- <div id="edit-choose-form" class="box">
2
- <h3>Do you already have a REVE Chat account?</h3>
3
- <ul id="revechat_choose_form">
4
- <li>
5
- <input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
6
- <label for="has_revechat_account">Yes, I already have a REVE Chat account</label>
7
- </li>
8
- <li>
9
- <input type="radio" id="new_revechat_account" name="revechat_choose_form">
10
- <label for="new_revechat_account">No, I want to create one</label>
11
- </li>
12
- </ul>
13
- </div><!-- Edit Choose Form -->
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.3/includes/login-form.php DELETED
@@ -1,23 +0,0 @@
1
- <div id="revechat_already_have" class="box">
2
- <h3>Account Details</h3>
3
- <table class="form-table">
4
- <tbody>
5
- <tr>
6
- <th>
7
- <label for="edit-revechat-account-email">
8
- <?php
9
- _e("REVE Chat login email");
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email" placeholder="Enter your email address">
15
- <input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
16
- </td>
17
- </tr>
18
- </tbody>
19
- </table>
20
- <p class="submit">
21
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
22
- </p>
23
- </div><!-- revechat_already_have -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.3/includes/remove-form.php DELETED
@@ -1,23 +0,0 @@
1
- <div class="box">
2
- <h3>REVE Chat has been installed.</h3>
3
- <p>Sign in to REVE Chat Dashboard and start chatting with your customers.</p>
4
- <p><a href="https://dashboard.revechat.com" class="form-submit button-primary" target="_blank">Go to Dashboard</a></p>
5
-
6
- <div id="edit-actions" class="form-actions form-wrapper">
7
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
8
- <p><small>Something went wrong? <input type="submit" style="background: transparent; border: 0; text-decoration: underline;text-transform: lowercase; font-size: 10px; cursor: pointer;" value="Disconnect" name="revechat_remove" id="edit-submit"></small></p>
9
- </div>
10
- </div>
11
-
12
-
13
-
14
- <!--
15
- <div>
16
- <div class="messages revechat_success">REVE Chat
17
- is already installed.</div>
18
-
19
- <div id="edit-actions" class="form-actions form-wrapper">
20
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
21
- <input type="submit" class="form-submit button-primary" value="Remove" name="revechat_remove" id="edit-submit">
22
- </div>
23
- </div> -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.3/includes/signup-form.php DELETED
@@ -1,75 +0,0 @@
1
- <div id="revechat_new_account" class="box">
2
-
3
- <h3>Create a new REVE Chat account</h3>
4
- <table class="form-table">
5
- <tr>
6
- <th>
7
- <label for="edit-firstname">
8
- <?php
9
- _e("First Name")
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="text" class="regular-text" name="firstName" id="edit-firstname" placeholder="First Name">
15
- </td>
16
- </tr>
17
-
18
-
19
- <tr>
20
- <th>
21
- <label for="edit-lastname">
22
- <?php
23
- _e("Last Name")
24
- ?>
25
- </label>
26
- </th>
27
- <td>
28
- <input type="text" class="regular-text" name="firstName" id="edit-lastname" placeholder="Last Name">
29
- </td>
30
- </tr>
31
-
32
- <tr>
33
- <th>
34
- <label for="edit-email">
35
- <?php
36
- _e('Email Address')
37
- ?>
38
- </label>
39
-
40
- </th>
41
- <td>
42
- <input type="text" class="regular-text" name="email" id="edit-email" placeholder="Email address">
43
- </td>
44
- </tr>
45
-
46
- <tr>
47
- <th>
48
- <label for="edit-accountpassword">
49
- <?php
50
- _e('Password')
51
- ?>
52
- </label>
53
- </th>
54
- <td>
55
- <input type="password" class="regular-text" name="edit-accountpassword" id="edit-accountpassword" placeholder="Password">
56
- </td>
57
- </tr>
58
-
59
- <tr>
60
- <th>
61
- <label for="edit-retypepassword">
62
- <?php
63
- _e('Confirm your password')
64
- ?>
65
- </label>
66
- </th>
67
- <td>
68
- <input type="password" class="regular-text" name="edit-retypepassword" id="edit-retypepassword" placeholder="Confirm your password">
69
- </td>
70
- </tr>
71
- </table>
72
- <p class="submit">
73
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Create Account') ?>" />
74
- </p>
75
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.3/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/2.0.3/js/revechat-admin.js DELETED
@@ -1,220 +0,0 @@
1
- jQuery.noConflict();
2
- (function($){
3
- var baseUrl = 'https://dashboard.revechat.com/';
4
- var ReveChat ={
5
- init: function () {
6
- this.toggleForms();
7
- this.bindFormSubmit();
8
- },
9
-
10
- toggleForms: function ()
11
- {
12
- var toggleForms = function ()
13
- {
14
- if ($('#new_revechat_account').is(':checked'))
15
- {
16
- $('#revechat_already_have').hide();
17
- $('#revechat_new_account').show();
18
- $('#edit-name').focus();
19
- }
20
- else if ($('#has_revechat_account').is(':checked'))
21
- {
22
- $('#revechat_new_account').hide();
23
- $('#revechat_already_have').show();
24
- $('#edit-revechat-account-email').focus();
25
- }
26
- };
27
- toggleForms();
28
-
29
- $('#revechat_choose_form input').click(toggleForms);
30
- },
31
-
32
- bindFormSubmit: function () {
33
- $('#revechat-admin-settings-form').submit(function(e)
34
- {
35
-
36
- if($('#edit-submit').val() == 'Disconnect'){
37
- $('#revechat_aid').val(0);
38
- $('#revechat-admin-settings-form').submit();
39
- }
40
- if (((parseInt($('#revechat_aid').val()) !== 0) || $('#has_revechat_account').is(':checked')))
41
- {
42
- return ReveChat.alreadyHaveAccountForm();
43
- }
44
- else
45
- {
46
- return ReveChat.newLicenseForm();
47
- }
48
-
49
- });
50
- },
51
-
52
- alreadyHaveAccountForm: function()
53
- {
54
-
55
- if(this.validEmail())
56
- {
57
- if((parseInt($('#revechat_aid').val()) == 0 || $('#revechat_aid').val() == ""))
58
- {
59
- var login = $.trim($('#edit-revechat-account-email').val());
60
- if(!login.length)
61
- {
62
- $('#edit-revechat-account-email').focus();
63
- return false;
64
- }
65
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait&hellip;');
66
-
67
- ReveChat.signIn($('#edit-revechat-account-email').val());
68
- return false;
69
- }
70
- }
71
- else
72
- {
73
- $('#edit-revechat-account-email').focus();
74
- return false;
75
- }
76
- return true;
77
- },
78
- signIn: function (email) {
79
- var signInUrl = baseUrl +'/license/adminId/'+email+'/?callback=?';
80
- $.getJSON(signInUrl,
81
- function(response)
82
- {
83
- if (response.error)
84
- {
85
- alert('Incorrect REVE Chat login');
86
- $('#edit-revechat-account-email').focus();
87
- return false;
88
- }
89
- else
90
- {
91
- $('#revechat_aid').val(response.data.account_id);
92
- $('#revechat-admin-settings-form').submit();
93
- }
94
- });
95
- },
96
- newLicenseForm: function()
97
- {
98
- if (parseInt(($('#revechat_aid').val()) > 0))
99
- {
100
- return true;
101
- }
102
-
103
- if(this.validateNewLicenseForm())
104
- {
105
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
106
- ReveChat.createLicense();
107
- }
108
- return false;
109
- },
110
- createLicense: function()
111
- {
112
-
113
- $('.ajax_message').removeClass('message').addClass('wait').html('Creating new account&hellip;');
114
-
115
- var firstName = $.trim($('#edit-firstname').val());
116
- var lastName = $.trim($('#edit-lastname').val());
117
- var email = $.trim($('#edit-email').val());
118
- var password = $.trim($('#edit-accountpassword').val());
119
- var rePassword = $.trim($('#edit-retypepassword').val());
120
-
121
- var signUpUrl = baseUrl + 'revechat/cms/api/signup.do';
122
-
123
- $.ajax({
124
- data: { 'firstname':firstName, 'lastname':lastName, 'mailAddr':email, 'password':password },
125
- type:'POST',
126
- url:signUpUrl,
127
- dataType: 'json',
128
- cache:false,
129
- success: function(response) {
130
- if(response.status == 'error')
131
- {
132
- $('.ajax_message').removeClass('wait');
133
- alert(response.message);
134
- return false;
135
- }
136
- else if(response.status == 'success')
137
- {
138
- $('#edit-revechat-account-email').val(email);
139
- ReveChat.signIn(email);
140
- return false;
141
- }
142
- }
143
- });
144
- },
145
- validEmail: function()
146
- {
147
- if($('#edit-submit').val() != 'Disconnect')
148
- {
149
- if (/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i.test($('#edit-revechat-account-email').val()) == false)
150
- {
151
- alert ('Please enter a valid email address.');
152
- $('#edit-email').focus();
153
- return false;
154
- }
155
- }
156
- return true;
157
- },
158
-
159
- validateNewLicenseForm: function()
160
- {
161
-
162
- var firstName = $.trim($('#edit-firstname').val());
163
- var lastName = $.trim($('#edit-lastname').val());
164
- var email = $.trim($('#edit-email').val());
165
- var password = $.trim($('#edit-accountpassword').val());
166
- var rePassword = $.trim($('#edit-retypepassword').val());
167
-
168
-
169
-
170
- if (!firstName.length)
171
- {
172
- alert('Please provide your first name.');
173
- $('#edit-firstname').focus();
174
- return false;
175
- }
176
-
177
- if (!lastName.length)
178
- {
179
- alert('Please provide your last name.');
180
- $('#edit-lastname').focus();
181
- return false;
182
- }
183
-
184
- if (!ReveChat.isValidEmailAddress(email))
185
- {
186
- alert('Please provide your valid email address.');
187
- $('#edit-email').focus();
188
- return false;
189
- }
190
-
191
- if(password.length < 6){
192
- alert('Please provide your password. The password must be at least 6 characters long.')
193
- $('#edit-accountpassword').focus();
194
- return false;
195
- }
196
-
197
- if(!rePassword.length || password.length < 6){
198
- alert('Please retype your password.');
199
- $('#edit-retypepassword').focus();
200
- return false;
201
- }
202
-
203
- if(password != rePassword){
204
- alert('Password does not match the confirm password.')
205
- return false;
206
- }
207
-
208
-
209
- return true;
210
- },
211
- isValidEmailAddress: function (emailAddress) {
212
- var pattern = /^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i;
213
- return pattern.test(emailAddress);
214
- },
215
- }
216
- $(document).ready(function()
217
- {
218
- ReveChat.init();
219
- });
220
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.3/readme.txt DELETED
@@ -1,207 +0,0 @@
1
- === Reve Chat ===
2
- Contributors: revechat_official
3
- Tags: chat online, contact plugin, customer support, free chat, chat software, IM chat, live chat, live chat inc, live chat services, live chat software, live chatting, live help, live support, live web chat, livechat, live help, live support, olark, online chat, online support, php live chat, snapengage, support software, website chat, wordpress chat, wordpress live chat, wordpress live chat plugin, ReveChat, REVE Chat, zendesk, Zopim live chat, clickdesk, olark, click desk, visitor analytics, web analytics, lead generation, online leads
4
-
5
- Stable tag: 2.0.2
6
-
7
-
8
- REVE Chat is powerful and intuitive real-time customer engagement software.
9
-
10
- == Description ==
11
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display.
12
-
13
- https://youtu.be/t1dykZ9Tg8U
14
-
15
- In the fast paced ambience of live customer support, the efficient usage of valuable time is the main key to both happy customers and professional management. Traditionally interactions between support agents and customers have been restricted to one-on-one supports over phones or emails. Live chat for customer support has now become the alternative that today's multitasking and net savvy generation is looking for. It offers quick response in real time and higher customer satisfaction which can generate more conversions. In the era of automated customer assistance systems, the chance to chat with a person in real time through your website is a distinct feature. Now just like a sales person in the shop, talk to the visitors of your website in real-time.
16
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use. So place this customizable REVE Chat widget to your business and start getting sales conversion and higher customer satisfaction.
17
-
18
- **Key Features**
19
-
20
- * **Real-time Visitor Info:** Agent as well as Admin can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
21
- * **Proactive Chat:** Proactive chat enables agents to initiate a Chat request from their Chat Window. Moreover Trigger based proactive chat automatically sends customized chat alerts for the visitors on the website.
22
- * **Chat Monitoring:** Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents
23
- * **Click to Call:** Click to call is a powerful solution that can be implemented on REVE Chat to offer real-time voice assistance to online customers. It allows visitor and agent to initiate Voice and Video Call from their Chat window.
24
- * **Queuing:** With this chat software handle chat requests efficiently when all your agents are busy. REVE live chat software gives information to website visitors regarding their waiting time in the chat queue
25
- * **Facebook Integration:** REVE Chat allows you to engage with your potential customers through your company Facebook page. Facebook is very effective tool for business. Smart use of social media increases sales, retention and customer satisfaction. REVE Chat Facebook app makes it easier than ever to engage online visitors. Facebook integration lets customers reach you directly on your Facebook fan page, whether or not you are online, increasing customer happiness and organic marketing and outreach.
26
-
27
- **What makes Reve Chat the best choice for live chat?**
28
-
29
- * A simple and highly customizable Live chat solution
30
- * User friendly interface and Dashboard
31
- * Intuitive Chat Window
32
- * Innovative and unique features
33
- * 24x7 hour live chat support from our trained experts on any weekday (visit revechat.com)
34
-
35
-
36
-
37
- **Some Geeky Facts**
38
-
39
- * Work across major browsers (Internet Explorer 7+, Firefox, Google Chrome, Opera, Safari).
40
- * Average uptime is 99.8%.
41
- * Mobile Optimized Dashboard
42
-
43
-
44
-
45
- Should you need any assistance, feel free to chat with our customer advocates on www.revechat.com or email us at support@revechat.com
46
-
47
-
48
- == Changelog ==
49
-
50
-
51
- = 1.2.0 =
52
-
53
- * Feature: Add the Reve chat widget to your site!
54
- * Feature: Customize look and feel of the widget, including themes and color!
55
-
56
- = 2.0 =
57
- * New Admin Menu page for REVE Chat
58
- * New for integration
59
- * Added link of settings page to display on the plugins page (beside the activate/deactivate links).
60
-
61
- = 2.0.1 =
62
- * Updated chat script
63
-
64
-
65
- = 2.0.3 =
66
- * updated the UI
67
-
68
- == Screenshots ==
69
-
70
- 1. Chat window on your website - active chat
71
- 2. Account Configuration - Link Up
72
- 3. Account Configuration - Linked Up with Launch Dashboard
73
- 4. Dashboard View - Open new browser tab
74
- 5. Widget Customization from Dashboard
75
-
76
- == Frequently Asked Questions ==
77
-
78
- = Do I have to install any software on my server to get this working? =
79
-
80
- REVE Chat plugin need to be installed from your wordpress panel. It is a cloud based live chat software hence it would only activate the script when you install the plugin.
81
-
82
- = Why should I use REVE Chat? =
83
-
84
- REVE chat is a complete online sales and support tool to engage your website visitors. With advanced features such as Click to call, Facebook Chat Integration, Queuing, Chat Monitoring and others, REVE Chat provides full insights to communicate with your visitors to become your loyal customers.
85
-
86
- = Which web browsers work best with this plugin =
87
-
88
- Though it is designed to work on almost all the browsers, REVE Chat works best in the following environment: IE 7+ or later (PC), Firefox 2 or later (Mac, PC, or Linux), Safari 2 or later (Mac), Google Chrome (PC, Mac).
89
-
90
- = I managed to install the plugin but cannot link up to REVE Chat. Why? =
91
-
92
- Please insert required parameter Account ID and Tracking ID into plugin's configuration page.
93
-
94
- = How much is price of REVE Chat? =
95
-
96
- REVE Chat plugin in free to install and it offers a complete 14 days free trial to understand its all features. REVE Chat offers 3 packages
97
- 1. Basic (Free)
98
- 2. Standard
99
- 3. Advanced
100
- Please click here to find out more about pricing
101
- The plugin is completely free to install. However if you want to use Standard and Advanced REVE Chat package then you have to purchase the package.
102
-
103
- = How can I chat with more visitors at the same time? =
104
-
105
- REVE Chat allows unlimited concurrent chats for the paid plans. Hence you can chat with as many visitors as you want at the same time. REVE Chat also allows you to proactively chat with your website visitors before they leave your website
106
-
107
- = How can I take further information regarding REVE Chat? =
108
-
109
- You can find out more at our site at http://www.revechat.com or at support@revechat.com and we will help you with installation.
110
-
111
- = Is there any demo or trial period to do some testing? =
112
-
113
- Yes, defiantly you can use all the features of REVE Chat for 14days in the trial period.
114
-
115
- = Can I customize the REVE Chat window? =
116
-
117
- Yes, REVE Chat window is customizable. Some of the things which you can change in the chat window include:
118
-
119
- * Changing the colour scheme
120
- * Changing the font size
121
- * Chat Widget text
122
- * Offline Widget Text
123
- * Prechat & Post chat form
124
-
125
- = Can I add REVE Chat on more than one website at the same time? =
126
-
127
- Yes, there is no limit on websites for the paid plans. However our free Basic package has limited features and it can be used only on one website.
128
-
129
- == Usage ==
130
-
131
- = Agent management =
132
-
133
- From the dashboard you to keep a track on your agents with its special agent management feature. Here you can add your agents and see all the details like status, last login time, total no of assigned concurrent chat of each and every agent etc. In real time which will help you to manage your support service more efficiently
134
-
135
- = How to configuring a chat operator =
136
-
137
- Please follow the below mentioned directions to manage your agents.
138
- * After logging in to your REVE Chat dash board, click on 'Agent Management' option. Here you will get the below mentioned information:
139
- * List of your agent names
140
- * Roles assigned to each and every agent
141
- * Email address of your agents
142
- * Phone numbers of your agents
143
- * Status of your agents online or offline
144
- * Each and every agent's last login time
145
- * Total number of concurrent chats assigned to each and every agent
146
-
147
-
148
- = Agent creation =
149
-
150
- To create an agent, you need to follow the below mentioned steps:
151
- * Login to your REVE Chat dashboard
152
- * Click on 'Agent Management'
153
- * For adding your agent, click on the 'Create Agent' option
154
- * After that you need to fill up a from mentioning the email address, password, role which you want to assign to the agent, total no of concurrent chats you want to assign to that agent, the agent's first and last name, designation and contact no. After that click on the 'Submit' button
155
-
156
- = Chat Conversation =
157
-
158
- In the conversation box agent can directly engage with visitor. Each message is accompanied by the name of the person who sent that message and a timestamp so you can easily follow the conversation
159
-
160
- = Engaged Visitors =
161
-
162
- In the top left side corner of the panel Chat operator can see all of his on-going chats.
163
-
164
- = Online Agents =
165
-
166
- Chat operator can chat with other operators from the same Chat Window. At the left corner there is a menu called Online Agents. In that menu all the logged in operators name will be shown. By clicking one operator name you can start conversation with him.
167
-
168
- = New Chat Request =
169
-
170
- Agents can see new chat requests from website visitors on the left side corner of their dashboard.
171
-
172
- = Chat Panel =
173
-
174
- The central position is for running conversation. Agent will type from the messaging field and also share file by clicking attachment file. There are some other fields in the chat panel.
175
- * History: Agent can see all the previous chat conversations of that particular visitors.
176
- * Chat Transfer: Agent can easily transfer a chat to other agent. This transfer chat option is available in the chat window itself. Agent can click on it and select to whom he wants to transfer the chat. The new chat agent can take over the current live chat conversation without breaking the chat session
177
- * Visitor Info: Agent can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
178
- * Map: During the chat session chat operator can see the visitor real time location map.
179
-
180
- = Online Visitors =
181
-
182
- In the online visitor list agent can see all the web visitors who are currently viewing your websites. You can see their current viewing page, city name and visiting time. Besides you can also send a proactive chat request to the visitor to know whether they need any sort of help or not.
183
-
184
- = Queued Visitor =
185
-
186
- Queued Visitor list will show who is the visitors is waiting for Live Chat. It gives information to your website visitors regarding their waiting time in chat queue and sets accurate response time expectations.
187
-
188
- = Monitoring Panel =
189
-
190
- Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents.
191
-
192
-
193
-
194
- == Installation ==
195
-
196
- *Server Requirements:* PHP4 or PHP5.
197
-
198
- *Wordpress versions:* Wordpress 2.7 and up.
199
-
200
- = Step-by-step Guide =
201
- * Search Plugin from Wordpress Directory
202
- * Install REVE Chat plugin
203
- * Copy Account ID and Tracking ID from integration page
204
- * Paste it REVE Chat Plugins setting page
205
- * Customize the chat widget to your preference.
206
- * Finally, make full use of our intuitive Dashboard to manage your chat widget.
207
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.3/revechat.php DELETED
@@ -1,162 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: Reve Chat
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 2.0.3
6
- Author: ReveChat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- class WP_Plugin_Revechat
13
- {
14
- /**
15
- * Construct the plugin object
16
- */
17
- public function __construct()
18
- {
19
- // Plugin Details
20
- $this->plugin = new stdClass;
21
- $this->plugin->name = 'revechat'; // Plugin Folder
22
- $this->plugin->displayName = 'ReveChat'; // Plugin Name
23
- $this->plugin->version = '2.0.1';
24
-
25
- // Hooks
26
- add_action('admin_init', array(&$this, 'registerSettings'));
27
- //add_action('admin_menu', array(&$this, 'adminPanels'));
28
-
29
- add_action('wp_head', array(&$this, 'frontendHeader'));
30
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
31
-
32
- // Add Menu Page
33
- add_action('admin_menu',array($this,'admin_menu'));
34
-
35
- //enqueue scripts
36
- add_action('admin_enqueue_scripts',array($this,'admin_scripts'));
37
- } // END public function __construct
38
-
39
- /**
40
- * Activate the frontendHeader
41
- */
42
- public static function frontendHeader()
43
- {
44
- $accountId = get_option('revechat_accountid' , '');
45
- if( (isset($accountId) && !empty($accountId)) ) {
46
-
47
- $script = "<script type='text/javascript'>";
48
- $script .= 'window.$_REVECHAT_API || (function(d, w) { var r = $_REVECHAT_API = function(c) {r._.push(c);}; w.__revechat_account=\''.$accountId.'\';w.__revechat_version=2;
49
- r._= []; var rc = d.createElement(\'script\'); rc.type = \'text/javascript\'; rc.async = true; rc.setAttribute(\'charset\', \'utf-8\');
50
- rc.src = (\'https:\' == document.location.protocol ? \'https://\' : \'http://\') + \'static.revechat.com/widget/scripts/new-livechat.js?\'+new Date().getTime();
51
- var s = d.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(rc, s);
52
- })(document, window);';
53
-
54
- $script .='</script>';
55
-
56
- echo $script ;
57
-
58
- }
59
-
60
- } // END public static function activate
61
- /*
62
- * show parameter section
63
- */
64
- public function registerSettings(){
65
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
66
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
67
- }
68
- /*
69
- * admin panel
70
- */
71
- public function adminPanels(){
72
- //add_options_page("ReveChat Dashboard" , "ReveChat" , "read" , "reveChatOptions");
73
- // Add a new submenu under Settings:
74
- add_options_page(__('ReveChat Dashboard','revechat-settings'), __('ReveChat Settings','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions') );
75
- }
76
- /*
77
- * revechat options
78
- */
79
- public function reveChatOptions(){
80
- if ( !current_user_can( 'manage_options' ) ) {
81
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
82
- }
83
- // variables for the field and option names
84
- $accountId = 'revechat_accountid';
85
-
86
- // Read in existing option value from database
87
- $val_accountId = get_option( $accountId );
88
-
89
- if( isset($_POST[ $accountId ])){
90
-
91
- // Read in existing option value from POST
92
- $val_accountId = $_POST[ $accountId ];
93
- update_option( $accountId , $val_accountId );
94
- ?>
95
- <div class="updated" xmlns="http://www.w3.org/1999/html"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
96
- <?php
97
- }
98
- ?>
99
- <div class="wrap" id="revechat">
100
-
101
- <div>
102
- <div class="reve-chat-logo">
103
- <img src="<?php echo plugin_dir_url( __FILE__ )."images/logo.png";?>" alt="REVE Chat">
104
- </div>
105
-
106
- <form name="form1" id="revechat-admin-settings-form" method="post" action="">
107
-
108
- <?php
109
- if(isset($val_accountId) && $val_accountId != 0){
110
- require (plugin_dir_path( __FILE__ )."includes/remove-form.php");
111
- return;
112
- }
113
-
114
- require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
115
- ?>
116
- <div class="form-item form-type-item" id="edit-ajax-message">
117
- <p class="ajax_message"></p>
118
- </div>
119
- <?php
120
- require (plugin_dir_path( __FILE__ )."includes/login-form.php");
121
- require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
122
- ?>
123
-
124
-
125
-
126
- </form>
127
- </div>
128
- </div>
129
-
130
- <?php
131
- }
132
-
133
- public function admin_menu()
134
- {
135
- // add_menu_page( string $page_title, string $menu_title, string $capability, string $menu_slug, callable $function = '', string $icon_url = '', int $position = null )
136
- add_menu_page(__('ReveChat Dashboard','revechat-settings'), __('REVE Chat','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions'), plugin_dir_url( __FILE__ )."images/favicon.png");
137
-
138
- }
139
-
140
- /**
141
- * Deactivate the plugin
142
- */
143
- public static function deactivate()
144
- {
145
- delete_option('revechat_accountid');
146
- } // END public static function deactivate
147
-
148
- public function admin_scripts(){
149
- wp_enqueue_script( 'revechat-admin-script', plugin_dir_url( __FILE__ ) . '/js/revechat-admin.js' );
150
- wp_enqueue_style( 'custom_wp_admin_css',plugin_dir_url( __FILE__ ).'css/admin-styles.css' );
151
- }
152
-
153
- function add_action_links ( $links ) {
154
- $menu_link = array(
155
- '<a href="' . admin_url( 'admin.php?page=revechatsettings' ) . '">Settings</a>',
156
- );
157
- return array_merge( $links, $menu_link );
158
- }
159
- } // END class WP_Plugin_Revechat
160
- } // END if(!class_exists('WP_Plugin_Revechat'))
161
- $revechat = new WP_Plugin_Revechat ;
162
- register_deactivation_hook( __FILE__, array( 'WP_Plugin_Revechat', 'deactivate' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.3/screenshot-1.jpg DELETED
Binary file
tags/2.0.3/screenshot-2.jpg DELETED
Binary file
tags/2.0.3/screenshot-3.jpg DELETED
Binary file
tags/2.0.3/screenshot-4.jpg DELETED
Binary file
tags/2.0.4/css/admin-styles.css DELETED
@@ -1,109 +0,0 @@
1
- #revechat ul#revechat_choose_form{}
2
- #revechat ul#revechat_choose_form li{
3
- list-style: none;
4
- display: block;
5
- }
6
- #revechat ul#revechat_choose_form li label{
7
- display: inline-block;
8
- }
9
- #revechat .revechat_email_error{
10
- color: red;
11
- }
12
- #revechat .ajax_message {
13
- display: none;
14
- background: url(ajax_loader.gif) no-repeat 24px 51%;
15
- padding: 0;
16
- margin-top: 1em;
17
- }
18
- #revechat .ajax_message.wait,
19
- #revechat .ajax_message.message
20
- {
21
- display: block;
22
- font-size: 1.2em;
23
- padding: 20px;
24
- box-shadow: 2px 2px 2px rgba(0,0,0,.2);
25
- }
26
- #revechat .ajax_message.wait {
27
- text-indent: 28px;
28
- background-color: #fff;
29
- }
30
- #revechat .ajax_message.message {
31
- background-image: none;
32
- text-indent: 0px;
33
- }
34
-
35
- #revechat .ajax_message.message.alert{
36
- background-color: #f2dede;
37
- border-color: #ebccd1;
38
- color: #a94442;
39
- padding: 20px;
40
- }
41
- #revechat .ajax_message.message.success{
42
- background-color: #dff0d8;
43
- border: 1px solid #dff0d8;
44
- color: #3c763d;
45
- padding: 20px;
46
- }
47
- #revechat .revechat_success_message{
48
- background: #ffffff;
49
- padding: 50px;
50
- height: auto;
51
- font-size: 1.5em;
52
- border-bottom: 5px solid #F16915;
53
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
54
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
55
- box-shadow: 0px 0px 6px rgba(0,0,0,.3);
56
- }
57
- #revechat .revechat_success_message h3{
58
- font-weight: bold;
59
- border-bottom: 1px solid #B1B4B9;
60
- padding-bottom: 20px;
61
- line-height: 2em;
62
- }
63
- #revechat .messages.revechat_success{
64
- background-color: #dff0d8;
65
- border: 1px solid #bee99a;
66
- color: #3c763d;
67
- padding: 20px;
68
- margin-bottom: 30px;
69
- font-weight: 600;
70
- }
71
- #revechat .form-submit{
72
- background: #FF5800 none repeat scroll 0 0;
73
- border-color: #bd4302 #ab3c02 #ab3c02;
74
- -webkit-box-shadow: 0 1px 0 #ab3c02;
75
- box-shadow: 0 1px 0 #ab3c02;
76
- color: #fff;
77
- text-decoration: none;
78
- text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
79
- }
80
- #revechat .box {
81
- background: #ffffff;
82
- border: 1px solid #e5e5e5;
83
- padding: 20px;
84
- margin-bottom: 50px;
85
- }
86
- #revechat #revechat-admin-settings-form {
87
- padding: 18px;
88
- }
89
- #revechat fieldset {
90
- border: 1px solid #c0c0c0;
91
- margin-top: 20px;
92
- }
93
- #revechat #revechat_already_have > h3 {
94
- margin-top: 19px;
95
- }
96
- #revechat ul#revechat_choose_form li {
97
- display: block;
98
- list-style: outside none none;
99
- padding-left: 20px;
100
- }
101
-
102
- #revechat .form-item > label {
103
- display: table;
104
- margin-bottom: 11px;
105
- margin-top: 20px;
106
- }
107
- #revechat input.form-submit{
108
- cursor: pointer;
109
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.4/css/ajax_loader.gif DELETED
Binary file
tags/2.0.4/images/favicon.png DELETED
Binary file
tags/2.0.4/images/logo.png DELETED
Binary file
tags/2.0.4/includes/choose-form.php DELETED
@@ -1,13 +0,0 @@
1
- <div id="edit-choose-form" class="box">
2
- <h3>Do you already have a REVE Chat account?</h3>
3
- <ul id="revechat_choose_form">
4
- <li>
5
- <input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
6
- <label for="has_revechat_account">Yes, I already have a REVE Chat account</label>
7
- </li>
8
- <li>
9
- <input type="radio" id="new_revechat_account" name="revechat_choose_form">
10
- <label for="new_revechat_account">No, I want to create one</label>
11
- </li>
12
- </ul>
13
- </div><!-- Edit Choose Form -->
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.4/includes/login-form.php DELETED
@@ -1,23 +0,0 @@
1
- <div id="revechat_already_have" class="box">
2
- <h3>Account Details</h3>
3
- <table class="form-table">
4
- <tbody>
5
- <tr>
6
- <th>
7
- <label for="edit-revechat-account-email">
8
- <?php
9
- _e("REVE Chat login email");
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email" placeholder="Enter your email address">
15
- <input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
16
- </td>
17
- </tr>
18
- </tbody>
19
- </table>
20
- <p class="submit">
21
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
22
- </p>
23
- </div><!-- revechat_already_have -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.4/includes/remove-form.php DELETED
@@ -1,23 +0,0 @@
1
- <div class="box">
2
- <h3>REVE Chat has been installed.</h3>
3
- <p>Sign in to REVE Chat Dashboard and start chatting with your customers.</p>
4
- <p><a href="https://dashboard.revechat.com" class="form-submit button-primary" target="_blank">Go to Dashboard</a></p>
5
-
6
- <div id="edit-actions" class="form-actions form-wrapper">
7
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
8
- <p><small>Something went wrong? <input type="submit" style="background: transparent; border: 0; text-decoration: underline;text-transform: lowercase; font-size: 10px; cursor: pointer;" value="Disconnect" name="revechat_remove" id="edit-submit"></small></p>
9
- </div>
10
- </div>
11
-
12
-
13
-
14
- <!--
15
- <div>
16
- <div class="messages revechat_success">REVE Chat
17
- is already installed.</div>
18
-
19
- <div id="edit-actions" class="form-actions form-wrapper">
20
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
21
- <input type="submit" class="form-submit button-primary" value="Remove" name="revechat_remove" id="edit-submit">
22
- </div>
23
- </div> -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.4/includes/signup-form.php DELETED
@@ -1,75 +0,0 @@
1
- <div id="revechat_new_account" class="box">
2
-
3
- <h3>Create a new REVE Chat account</h3>
4
- <table class="form-table">
5
- <tr>
6
- <th>
7
- <label for="edit-firstname">
8
- <?php
9
- _e("First Name")
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="text" class="regular-text" name="firstName" id="edit-firstname" placeholder="First Name">
15
- </td>
16
- </tr>
17
-
18
-
19
- <tr>
20
- <th>
21
- <label for="edit-lastname">
22
- <?php
23
- _e("Last Name")
24
- ?>
25
- </label>
26
- </th>
27
- <td>
28
- <input type="text" class="regular-text" name="firstName" id="edit-lastname" placeholder="Last Name">
29
- </td>
30
- </tr>
31
-
32
- <tr>
33
- <th>
34
- <label for="edit-email">
35
- <?php
36
- _e('Email Address')
37
- ?>
38
- </label>
39
-
40
- </th>
41
- <td>
42
- <input type="text" class="regular-text" name="email" id="edit-email" placeholder="Email address">
43
- </td>
44
- </tr>
45
-
46
- <tr>
47
- <th>
48
- <label for="edit-accountpassword">
49
- <?php
50
- _e('Password')
51
- ?>
52
- </label>
53
- </th>
54
- <td>
55
- <input type="password" class="regular-text" name="edit-accountpassword" id="edit-accountpassword" placeholder="Password">
56
- </td>
57
- </tr>
58
-
59
- <tr>
60
- <th>
61
- <label for="edit-retypepassword">
62
- <?php
63
- _e('Confirm your password')
64
- ?>
65
- </label>
66
- </th>
67
- <td>
68
- <input type="password" class="regular-text" name="edit-retypepassword" id="edit-retypepassword" placeholder="Confirm your password">
69
- </td>
70
- </tr>
71
- </table>
72
- <p class="submit">
73
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Create Account') ?>" />
74
- </p>
75
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.4/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/2.0.4/js/revechat-admin.js DELETED
@@ -1,220 +0,0 @@
1
- jQuery.noConflict();
2
- (function($){
3
- var baseUrl = 'https://dashboard.revechat.com/';
4
- var ReveChat ={
5
- init: function () {
6
- this.toggleForms();
7
- this.bindFormSubmit();
8
- },
9
-
10
- toggleForms: function ()
11
- {
12
- var toggleForms = function ()
13
- {
14
- if ($('#new_revechat_account').is(':checked'))
15
- {
16
- $('#revechat_already_have').hide();
17
- $('#revechat_new_account').show();
18
- $('#edit-name').focus();
19
- }
20
- else if ($('#has_revechat_account').is(':checked'))
21
- {
22
- $('#revechat_new_account').hide();
23
- $('#revechat_already_have').show();
24
- $('#edit-revechat-account-email').focus();
25
- }
26
- };
27
- toggleForms();
28
-
29
- $('#revechat_choose_form input').click(toggleForms);
30
- },
31
-
32
- bindFormSubmit: function () {
33
- $('#revechat-admin-settings-form').submit(function(e)
34
- {
35
-
36
- if($('#edit-submit').val() == 'Disconnect'){
37
- $('#revechat_aid').val(0);
38
- $('#revechat-admin-settings-form').submit();
39
- }
40
- if (((parseInt($('#revechat_aid').val()) !== 0) || $('#has_revechat_account').is(':checked')))
41
- {
42
- return ReveChat.alreadyHaveAccountForm();
43
- }
44
- else
45
- {
46
- return ReveChat.newLicenseForm();
47
- }
48
-
49
- });
50
- },
51
-
52
- alreadyHaveAccountForm: function()
53
- {
54
-
55
- if(this.validEmail())
56
- {
57
- if((parseInt($('#revechat_aid').val()) == 0 || $('#revechat_aid').val() == ""))
58
- {
59
- var login = $.trim($('#edit-revechat-account-email').val());
60
- if(!login.length)
61
- {
62
- $('#edit-revechat-account-email').focus();
63
- return false;
64
- }
65
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait&hellip;');
66
-
67
- ReveChat.signIn($('#edit-revechat-account-email').val());
68
- return false;
69
- }
70
- }
71
- else
72
- {
73
- $('#edit-revechat-account-email').focus();
74
- return false;
75
- }
76
- return true;
77
- },
78
- signIn: function (email) {
79
- var signInUrl = baseUrl +'/license/adminId/'+email+'/?callback=?';
80
- $.getJSON(signInUrl,
81
- function(response)
82
- {
83
- if (response.error)
84
- {
85
- alert('Incorrect REVE Chat login');
86
- $('#edit-revechat-account-email').focus();
87
- return false;
88
- }
89
- else
90
- {
91
- $('#revechat_aid').val(response.data.account_id);
92
- $('#revechat-admin-settings-form').submit();
93
- }
94
- });
95
- },
96
- newLicenseForm: function()
97
- {
98
- if (parseInt(($('#revechat_aid').val()) > 0))
99
- {
100
- return true;
101
- }
102
-
103
- if(this.validateNewLicenseForm())
104
- {
105
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
106
- ReveChat.createLicense();
107
- }
108
- return false;
109
- },
110
- createLicense: function()
111
- {
112
-
113
- $('.ajax_message').removeClass('message').addClass('wait').html('Creating new account&hellip;');
114
-
115
- var firstName = $.trim($('#edit-firstname').val());
116
- var lastName = $.trim($('#edit-lastname').val());
117
- var email = $.trim($('#edit-email').val());
118
- var password = $.trim($('#edit-accountpassword').val());
119
- var rePassword = $.trim($('#edit-retypepassword').val());
120
-
121
- var signUpUrl = baseUrl + 'revechat/cms/api/signup.do';
122
-
123
- $.ajax({
124
- data: { 'firstname':firstName, 'lastname':lastName, 'mailAddr':email, 'password':password, 'utm_source':'cms', 'utm_content':'wordpress', 'referrer':'https://wordpress.org/plugins/' },
125
- type:'POST',
126
- url:signUpUrl,
127
- dataType: 'json',
128
- cache:false,
129
- success: function(response) {
130
- if(response.status == 'error')
131
- {
132
- $('.ajax_message').removeClass('wait');
133
- alert(response.message);
134
- return false;
135
- }
136
- else if(response.status == 'success')
137
- {
138
- $('#edit-revechat-account-email').val(email);
139
- ReveChat.signIn(email);
140
- return false;
141
- }
142
- }
143
- });
144
- },
145
- validEmail: function()
146
- {
147
- if($('#edit-submit').val() != 'Disconnect')
148
- {
149
- if (/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i.test($('#edit-revechat-account-email').val()) == false)
150
- {
151
- alert ('Please enter a valid email address.');
152
- $('#edit-email').focus();
153
- return false;
154
- }
155
- }
156
- return true;
157
- },
158
-
159
- validateNewLicenseForm: function()
160
- {
161
-
162
- var firstName = $.trim($('#edit-firstname').val());
163
- var lastName = $.trim($('#edit-lastname').val());
164
- var email = $.trim($('#edit-email').val());
165
- var password = $.trim($('#edit-accountpassword').val());
166
- var rePassword = $.trim($('#edit-retypepassword').val());
167
-
168
-
169
-
170
- if (!firstName.length)
171
- {
172
- alert('Please provide your first name.');
173
- $('#edit-firstname').focus();
174
- return false;
175
- }
176
-
177
- if (!lastName.length)
178
- {
179
- alert('Please provide your last name.');
180
- $('#edit-lastname').focus();
181
- return false;
182
- }
183
-
184
- if (!ReveChat.isValidEmailAddress(email))
185
- {
186
- alert('Please provide your valid email address.');
187
- $('#edit-email').focus();
188
- return false;
189
- }
190
-
191
- if(password.length < 6){
192
- alert('Please provide your password. The password must be at least 6 characters long.')
193
- $('#edit-accountpassword').focus();
194
- return false;
195
- }
196
-
197
- if(!rePassword.length || password.length < 6){
198
- alert('Please retype your password.');
199
- $('#edit-retypepassword').focus();
200
- return false;
201
- }
202
-
203
- if(password != rePassword){
204
- alert('Password does not match the confirm password.')
205
- return false;
206
- }
207
-
208
-
209
- return true;
210
- },
211
- isValidEmailAddress: function (emailAddress) {
212
- var pattern = /^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i;
213
- return pattern.test(emailAddress);
214
- },
215
- }
216
- $(document).ready(function()
217
- {
218
- ReveChat.init();
219
- });
220
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.4/readme.txt DELETED
@@ -1,213 +0,0 @@
1
- === REVE Chat - WP live chat plugin for WordPress ===
2
- Contributors: revechat
3
- Tags: free chat, tawk.to, live chat, live chat software, live support, chat plugin, chat, video chat, voice chat
4
- Requires at least: 2.7
5
- Tested up to: 4.9.1
6
-
7
-
8
- REVE Chat is powerful and intuitive real-time customer engagement software.
9
-
10
- == Description ==
11
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display.
12
-
13
- https://youtu.be/t1dykZ9Tg8U
14
-
15
- In the fast paced ambience of live customer support, the efficient usage of valuable time is the main key to both happy customers and professional management. Traditionally interactions between support agents and customers have been restricted to one-on-one supports over phones or emails. Live chat for customer support has now become the alternative that today's multitasking and net savvy generation is looking for. It offers quick response in real time and higher customer satisfaction which can generate more conversions. In the era of automated customer assistance systems, the chance to chat with a person in real time through your website is a distinct feature. Now just like a sales person in the shop, talk to the visitors of your website in real-time.
16
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use. So place this customizable REVE Chat widget to your business and start getting sales conversion and higher customer satisfaction.
17
-
18
- **Key Features**
19
-
20
- * **Real-time Visitor Info:** Agent as well as Admin can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
21
- * **Proactive Chat:** Proactive chat enables agents to initiate a Chat request from their Chat Window. Moreover Trigger based proactive chat automatically sends customized chat alerts for the visitors on the website.
22
- * **Chat Monitoring:** Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents
23
- * **Click to Call:** Click to call is a powerful solution that can be implemented on REVE Chat to offer real-time voice assistance to online customers. It allows visitor and agent to initiate Voice and Video Call from their Chat window.
24
- * **Queuing:** With this chat software handle chat requests efficiently when all your agents are busy. REVE live chat software gives information to website visitors regarding their waiting time in the chat queue
25
- * **Facebook Integration:** REVE Chat allows you to engage with your potential customers through your company Facebook page. Facebook is very effective tool for business. Smart use of social media increases sales, retention and customer satisfaction. REVE Chat Facebook app makes it easier than ever to engage online visitors. Facebook integration lets customers reach you directly on your Facebook fan page, whether or not you are online, increasing customer happiness and organic marketing and outreach.
26
-
27
-
28
- **What makes Reve Chat the best choice for live chat?**
29
-
30
- * A simple and highly customizable Live chat solution
31
- * User friendly interface and Dashboard
32
- * Intuitive Chat Window
33
- * Innovative and unique features
34
- * 24x7 hour live chat support from our trained experts on any weekday (visit revechat.com)
35
-
36
-
37
- **Supported Language**
38
-
39
- * Arabic | Bangla | Chinese | Dutch | English | French| German | Hindi | Italian | Japanese | Korean | Malay | Polish | Portuguese | Romanian | Russian | Spanish | Swedish | Tagalog | Turkish | Vietnamese
40
-
41
-
42
- **Some Geeky Facts**
43
-
44
- * Work across major browsers (Internet Explorer 7+, Firefox, Google Chrome, Opera, Safari).
45
- * Average uptime is 99.8%.
46
- * Mobile Optimized Dashboard
47
-
48
-
49
-
50
- Should you need any assistance, feel free to chat with our customer advocates on www.revechat.com or email us at support@revechat.com
51
-
52
-
53
- == Changelog ==
54
-
55
-
56
- = 1.2.0 =
57
-
58
- * Feature: Add the Reve chat widget to your site!
59
- * Feature: Customize look and feel of the widget, including themes and color!
60
-
61
- = 2.0 =
62
- * New Admin Menu page for REVE Chat
63
- * New for integration
64
- * Added link of settings page to display on the plugins page (beside the activate/deactivate links).
65
-
66
- = 2.0.1 =
67
- * Updated chat script
68
-
69
- = 2.0.3 =
70
- * updated the UI
71
-
72
-
73
- == Screenshots ==
74
-
75
- 1. Chat window on your website - active chat
76
- 2. Account Configuration - Link Up
77
- 3. Account Configuration - Linked Up with Launch Dashboard
78
- 4. Dashboard View - Open new browser tab
79
- 5. Widget Customization from Dashboard
80
-
81
- == Frequently Asked Questions ==
82
-
83
- = Do I have to install any software on my server to get this working? =
84
-
85
- REVE Chat plugin need to be installed from your wordpress panel. It is a cloud based live chat software hence it would only activate the script when you install the plugin.
86
-
87
- = Why should I use REVE Chat? =
88
-
89
- REVE chat is a complete online sales and support tool to engage your website visitors. With advanced features such as Click to call, Facebook Chat Integration, Queuing, Chat Monitoring and others, REVE Chat provides full insights to communicate with your visitors to become your loyal customers.
90
-
91
- = Which web browsers work best with this plugin =
92
-
93
- Though it is designed to work on almost all the browsers, REVE Chat works best in the following environment: IE 7+ or later (PC), Firefox 2 or later (Mac, PC, or Linux), Safari 2 or later (Mac), Google Chrome (PC, Mac).
94
-
95
- = I managed to install the plugin but cannot link up to REVE Chat. Why? =
96
-
97
- Please insert required parameter Account ID and Tracking ID into plugin's configuration page.
98
-
99
- = How much is price of REVE Chat? =
100
-
101
- REVE Chat plugin in free to install and it offers a complete 14 days free trial to understand its all features. REVE Chat offers 3 packages
102
- 1. Basic (Free)
103
- 2. Standard
104
- 3. Advanced
105
- Please click here to find out more about pricing
106
- The plugin is completely free to install. However if you want to use Standard and Advanced REVE Chat package then you have to purchase the package.
107
-
108
- = How can I chat with more visitors at the same time? =
109
-
110
- REVE Chat allows unlimited concurrent chats for the paid plans. Hence you can chat with as many visitors as you want at the same time. REVE Chat also allows you to proactively chat with your website visitors before they leave your website
111
-
112
- = How can I take further information regarding REVE Chat? =
113
-
114
- You can find out more at our site at http://www.revechat.com or at support@revechat.com and we will help you with installation.
115
-
116
- = Is there any demo or trial period to do some testing? =
117
-
118
- Yes, defiantly you can use all the features of REVE Chat for 14days in the trial period.
119
-
120
- = Can I customize the REVE Chat window? =
121
-
122
- Yes, REVE Chat window is customizable. Some of the things which you can change in the chat window include:
123
-
124
- * Changing the colour scheme
125
- * Changing the font size
126
- * Chat Widget text
127
- * Offline Widget Text
128
- * Prechat & Post chat form
129
-
130
- = Can I add REVE Chat on more than one website at the same time? =
131
-
132
- Yes, there is no limit on websites for the paid plans. However our free Basic package has limited features and it can be used only on one website.
133
-
134
- == Usage ==
135
-
136
- = Agent management =
137
-
138
- From the dashboard you to keep a track on your agents with its special agent management feature. Here you can add your agents and see all the details like status, last login time, total no of assigned concurrent chat of each and every agent etc. In real time which will help you to manage your support service more efficiently
139
-
140
- = How to configuring a chat operator =
141
-
142
- Please follow the below mentioned directions to manage your agents.
143
- * After logging in to your REVE Chat dash board, click on 'Agent Management' option. Here you will get the below mentioned information:
144
- * List of your agent names
145
- * Roles assigned to each and every agent
146
- * Email address of your agents
147
- * Phone numbers of your agents
148
- * Status of your agents online or offline
149
- * Each and every agent's last login time
150
- * Total number of concurrent chats assigned to each and every agent
151
-
152
-
153
- = Agent creation =
154
-
155
- To create an agent, you need to follow the below mentioned steps:
156
- * Login to your REVE Chat dashboard
157
- * Click on 'Agent Management'
158
- * For adding your agent, click on the 'Create Agent' option
159
- * After that you need to fill up a from mentioning the email address, password, role which you want to assign to the agent, total no of concurrent chats you want to assign to that agent, the agent's first and last name, designation and contact no. After that click on the 'Submit' button
160
-
161
- = Chat Conversation =
162
-
163
- In the conversation box agent can directly engage with visitor. Each message is accompanied by the name of the person who sent that message and a timestamp so you can easily follow the conversation
164
-
165
- = Engaged Visitors =
166
-
167
- In the top left side corner of the panel Chat operator can see all of his on-going chats.
168
-
169
- = Online Agents =
170
-
171
- Chat operator can chat with other operators from the same Chat Window. At the left corner there is a menu called Online Agents. In that menu all the logged in operators name will be shown. By clicking one operator name you can start conversation with him.
172
-
173
- = New Chat Request =
174
-
175
- Agents can see new chat requests from website visitors on the left side corner of their dashboard.
176
-
177
- = Chat Panel =
178
-
179
- The central position is for running conversation. Agent will type from the messaging field and also share file by clicking attachment file. There are some other fields in the chat panel.
180
- * History: Agent can see all the previous chat conversations of that particular visitors.
181
- * Chat Transfer: Agent can easily transfer a chat to other agent. This transfer chat option is available in the chat window itself. Agent can click on it and select to whom he wants to transfer the chat. The new chat agent can take over the current live chat conversation without breaking the chat session
182
- * Visitor Info: Agent can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
183
- * Map: During the chat session chat operator can see the visitor real time location map.
184
-
185
- = Online Visitors =
186
-
187
- In the online visitor list agent can see all the web visitors who are currently viewing your websites. You can see their current viewing page, city name and visiting time. Besides you can also send a proactive chat request to the visitor to know whether they need any sort of help or not.
188
-
189
- = Queued Visitor =
190
-
191
- Queued Visitor list will show who is the visitors is waiting for Live Chat. It gives information to your website visitors regarding their waiting time in chat queue and sets accurate response time expectations.
192
-
193
- = Monitoring Panel =
194
-
195
- Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents.
196
-
197
-
198
- <a href="https://www.revechat.com/signup/?utm_source=wordpress.org&utm_medium=integration&utm_campaign=WordpressIntegration" target="_blank">Signup for our Live Chat here</a>
199
-
200
- == Installation ==
201
-
202
- *Server Requirements:* PHP4 or PHP5.
203
-
204
- *Wordpress versions:* Wordpress 2.7 and up.
205
-
206
- = Step-by-step Guide =
207
- * Search Plugin from Wordpress Directory
208
- * Install REVE Chat plugin
209
- * Copy Account ID and Tracking ID from integration page
210
- * Paste it REVE Chat Plugins setting page
211
- * Customize the chat widget to your preference.
212
- * Finally, make full use of our intuitive Dashboard to manage your chat widget.
213
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.4/revechat.php DELETED
@@ -1,162 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: Reve Chat
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 2.0.4
6
- Author: REVE Chat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- class WP_Plugin_Revechat
13
- {
14
- /**
15
- * Construct the plugin object
16
- */
17
- public function __construct()
18
- {
19
- // Plugin Details
20
- $this->plugin = new stdClass;
21
- $this->plugin->name = 'revechat'; // Plugin Folder
22
- $this->plugin->displayName = 'ReveChat'; // Plugin Name
23
- $this->plugin->version = '2.0.1';
24
-
25
- // Hooks
26
- add_action('admin_init', array(&$this, 'registerSettings'));
27
- //add_action('admin_menu', array(&$this, 'adminPanels'));
28
-
29
- add_action('wp_head', array(&$this, 'frontendHeader'));
30
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
31
-
32
- // Add Menu Page
33
- add_action('admin_menu',array($this,'admin_menu'));
34
-
35
- //enqueue scripts
36
- add_action('admin_enqueue_scripts',array($this,'admin_scripts'));
37
- } // END public function __construct
38
-
39
- /**
40
- * Activate the frontendHeader
41
- */
42
- public static function frontendHeader()
43
- {
44
- $accountId = get_option('revechat_accountid' , '');
45
- if( (isset($accountId) && !empty($accountId)) ) {
46
-
47
- $script = "<script type='text/javascript'>";
48
- $script .= 'window.$_REVECHAT_API || (function(d, w) { var r = $_REVECHAT_API = function(c) {r._.push(c);}; w.__revechat_account=\''.$accountId.'\';w.__revechat_version=2;
49
- r._= []; var rc = d.createElement(\'script\'); rc.type = \'text/javascript\'; rc.async = true; rc.setAttribute(\'charset\', \'utf-8\');
50
- rc.src = (\'https:\' == document.location.protocol ? \'https://\' : \'http://\') + \'static.revechat.com/widget/scripts/new-livechat.js?\'+new Date().getTime();
51
- var s = d.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(rc, s);
52
- })(document, window);';
53
-
54
- $script .='</script>';
55
-
56
- echo $script ;
57
-
58
- }
59
-
60
- } // END public static function activate
61
- /*
62
- * show parameter section
63
- */
64
- public function registerSettings(){
65
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
66
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
67
- }
68
- /*
69
- * admin panel
70
- */
71
- public function adminPanels(){
72
- //add_options_page("ReveChat Dashboard" , "ReveChat" , "read" , "reveChatOptions");
73
- // Add a new submenu under Settings:
74
- add_options_page(__('ReveChat Dashboard','revechat-settings'), __('ReveChat Settings','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions') );
75
- }
76
- /*
77
- * revechat options
78
- */
79
- public function reveChatOptions(){
80
- if ( !current_user_can( 'manage_options' ) ) {
81
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
82
- }
83
- // variables for the field and option names
84
- $accountId = 'revechat_accountid';
85
-
86
- // Read in existing option value from database
87
- $val_accountId = get_option( $accountId );
88
-
89
- if( isset($_POST[ $accountId ])){
90
-
91
- // Read in existing option value from POST
92
- $val_accountId = $_POST[ $accountId ];
93
- update_option( $accountId , $val_accountId );
94
- ?>
95
- <div class="updated" xmlns="http://www.w3.org/1999/html"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
96
- <?php
97
- }
98
- ?>
99
- <div class="wrap" id="revechat">
100
-
101
- <div>
102
- <div class="reve-chat-logo">
103
- <img src="<?php echo plugin_dir_url( __FILE__ )."images/logo.png";?>" alt="REVE Chat">
104
- </div>
105
-
106
- <form name="form1" id="revechat-admin-settings-form" method="post" action="">
107
-
108
- <?php
109
- if(isset($val_accountId) && $val_accountId != 0){
110
- require (plugin_dir_path( __FILE__ )."includes/remove-form.php");
111
- return;
112
- }
113
-
114
- require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
115
- ?>
116
- <div class="form-item form-type-item" id="edit-ajax-message">
117
- <p class="ajax_message"></p>
118
- </div>
119
- <?php
120
- require (plugin_dir_path( __FILE__ )."includes/login-form.php");
121
- require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
122
- ?>
123
-
124
-
125
-
126
- </form>
127
- </div>
128
- </div>
129
-
130
- <?php
131
- }
132
-
133
- public function admin_menu()
134
- {
135
- // add_menu_page( string $page_title, string $menu_title, string $capability, string $menu_slug, callable $function = '', string $icon_url = '', int $position = null )
136
- add_menu_page(__('ReveChat Dashboard','revechat-settings'), __('REVE Chat','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions'), plugin_dir_url( __FILE__ )."images/favicon.png");
137
-
138
- }
139
-
140
- /**
141
- * Deactivate the plugin
142
- */
143
- public static function deactivate()
144
- {
145
- delete_option('revechat_accountid');
146
- } // END public static function deactivate
147
-
148
- public function admin_scripts(){
149
- wp_enqueue_script( 'revechat-admin-script', plugin_dir_url( __FILE__ ) . '/js/revechat-admin.js' );
150
- wp_enqueue_style( 'custom_wp_admin_css',plugin_dir_url( __FILE__ ).'css/admin-styles.css' );
151
- }
152
-
153
- function add_action_links ( $links ) {
154
- $menu_link = array(
155
- '<a href="' . admin_url( 'admin.php?page=revechatsettings' ) . '">Settings</a>',
156
- );
157
- return array_merge( $links, $menu_link );
158
- }
159
- } // END class WP_Plugin_Revechat
160
- } // END if(!class_exists('WP_Plugin_Revechat'))
161
- $revechat = new WP_Plugin_Revechat ;
162
- register_deactivation_hook( __FILE__, array( 'WP_Plugin_Revechat', 'deactivate' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0.4/screenshot-1.jpg DELETED
Binary file
tags/2.0.4/screenshot-2.jpg DELETED
Binary file
tags/2.0.4/screenshot-3.jpg DELETED
Binary file
tags/2.0.4/screenshot-4.jpg DELETED
Binary file
tags/2.0/css/admin-styles.css DELETED
@@ -1,106 +0,0 @@
1
- #revechat #edit-choose-form h3,
2
- #revechat #revechat_already_have h3,
3
- #revechat #revechat_new_account h3{
4
- color: coral;
5
- }
6
- #revechat ul#revechat_choose_form{}
7
- #revechat ul#revechat_choose_form li{
8
- list-style: none;
9
- display: block;
10
- }
11
- #revechat ul#revechat_choose_form li label{
12
- display: inline-block;
13
- }
14
- #revechat .revechat_email_error{
15
- color: red;
16
- }
17
- #revechat .ajax_message {
18
- display: none;
19
- background: url(ajax_loader.gif) no-repeat 24px 51%;
20
- padding: 0;
21
- margin-top: 1em;
22
- }
23
- #revechat .ajax_message.wait,
24
- #revechat .ajax_message.message
25
- {
26
- display: block;
27
- font-size: 1.2em;
28
- padding: 20px;
29
- box-shadow: 2px 2px 2px rgba(0,0,0,.2);
30
- }
31
- #revechat .ajax_message.wait {
32
- text-indent: 28px;
33
- background-color: #fff;
34
- }
35
- #revechat .ajax_message.message {
36
- background-image: none;
37
- text-indent: 0px;
38
- }
39
-
40
- #revechat .ajax_message.message.alert{
41
- background-color: #f2dede;
42
- border-color: #ebccd1;
43
- color: #a94442;
44
- padding: 20px;
45
- }
46
- #revechat .revechat_success_message{
47
- background: #ffffff;
48
- padding: 50px;
49
- height: auto;
50
- font-size: 1.5em;
51
- border-bottom: 5px solid #F16915;
52
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
53
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
54
- box-shadow: 0px 0px 6px rgba(0,0,0,.3);
55
- }
56
- #revechat .revechat_success_message h3{
57
- font-weight: bold;
58
- border-bottom: 1px solid #B1B4B9;
59
- padding-bottom: 20px;
60
- line-height: 2em;
61
- }
62
- #revechat .messages.revechat_success{
63
- background-color: #dff0d8;
64
- border: 1px solid #bee99a;
65
- color: #3c763d;
66
- padding: 20px;
67
- margin-bottom: 30px;
68
- font-weight: 600;
69
- }
70
- #revechat .form-submit{
71
- background: #FF5800 none repeat scroll 0 0;
72
- border-color: #bd4302 #ab3c02 #ab3c02;
73
- -webkit-box-shadow: 0 1px 0 #ab3c02;
74
- box-shadow: 0 1px 0 #ab3c02;
75
- color: #fff;
76
- text-decoration: none;
77
- text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
78
- }
79
-
80
- #revechat #revechat-admin-settings-form {
81
- padding: 18px;
82
- }
83
- #revechat fieldset {
84
- border: 1px solid #c0c0c0;
85
- margin-top: 20px;
86
- }
87
- #revechat #revechat_already_have > h3 {
88
- margin-top: 19px;
89
- }
90
- #revechat ul#revechat_choose_form li {
91
- display: block;
92
- list-style: outside none none;
93
- padding-left: 20px;
94
- }
95
- #revechat .form-wrapper {
96
- padding: 16px;
97
- padding-bottom: 31px;
98
- }
99
- #revechat .form-item > label {
100
- display: table;
101
- margin-bottom: 11px;
102
- margin-top: 20px;
103
- }
104
- #revechat input.form-submit{
105
- cursor: pointer;
106
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0/css/ajax_loader.gif DELETED
Binary file
tags/2.0/images/favicon.png DELETED
Binary file
tags/2.0/images/logo.png DELETED
Binary file
tags/2.0/includes/choose-form.php DELETED
@@ -1,13 +0,0 @@
1
- <div id="edit-choose-form">
2
- <h3>Already have a REVE Chat account?</h3>
3
- <ul id="revechat_choose_form">
4
- <li>
5
- <input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
6
- <label for="has_revechat_account">Yes, I already have a REVE Chat account</label>
7
- </li>
8
- <li>
9
- <input type="radio" id="new_revechat_account" name="revechat_choose_form">
10
- <label for="new_revechat_account">No, I want to create one</label>
11
- </li>
12
- </ul>
13
- </div><!-- Edit Choose Form -->
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0/includes/login-form.php DELETED
@@ -1,20 +0,0 @@
1
- <div id="revechat_already_have">
2
- <h3>Account Details</h3>
3
- <table class="form-table">
4
- <tbody>
5
- <tr>
6
- <th>
7
- <label for="edit-revechat-account-email">
8
- <?php
9
- _e("REVE Chat Login Email");
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email">
15
- <input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
16
- </td>
17
- </tr>
18
- </tbody>
19
- </table>
20
- </div><!-- revechat_already_have -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0/includes/remove-form.php DELETED
@@ -1,9 +0,0 @@
1
- <div>
2
- <div class="messages revechat_success">REVE Chat
3
- is already installed.</div>
4
-
5
- <div id="edit-actions" class="form-actions form-wrapper">
6
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
7
- <input type="submit" class="form-submit button-primary" value="Remove" name="revechat_remove" id="edit-submit">
8
- </div>
9
- </div>
 
 
 
 
 
 
 
 
 
tags/2.0/includes/signup-form.php DELETED
@@ -1,46 +0,0 @@
1
- <div id="revechat_new_account">
2
-
3
- <h3>Create a new REVE Chat account</h3>
4
- <table class="form-table">
5
- <tr>
6
- <th>
7
- <label for="edit-name">
8
- <?php
9
- _e("Name")
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="text" class="regular-text" name="name" id="edit-name">
15
- </td>
16
- </tr>
17
-
18
- <tr>
19
- <th>
20
- <label for="edit-email">
21
- <?php
22
- _e('Email')
23
- ?>
24
- </label>
25
-
26
- </th>
27
- <td>
28
- <input type="text" class="regular-text" name="email" id="edit-email">
29
- </td>
30
- </tr>
31
-
32
- <tr>
33
- <th>
34
- <label for="edit-phone">
35
- <?php
36
- _e('Phone')
37
- ?>
38
- </label>
39
- </th>
40
- <td>
41
- <input type="text" class="regular-text" name="Phone" id="edit-phone">
42
- </td>
43
- </tr>
44
- </table>
45
-
46
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/2.0/js/revechat-admin.js DELETED
@@ -1,189 +0,0 @@
1
- jQuery.noConflict();
2
- (function($){
3
- var baseUrl = 'https://dashboard.revechat.com/';
4
- var ReveChat ={
5
- init: function () {
6
- this.toggleForms();
7
- this.bindFormSubmit();
8
- },
9
-
10
- toggleForms: function ()
11
- {
12
- var toggleForms = function ()
13
- {
14
- if ($('#new_revechat_account').is(':checked'))
15
- {
16
- $('#revechat_already_have').hide();
17
- $('#revechat_new_account').show();
18
- $('#edit-name').focus();
19
- }
20
- else if ($('#has_revechat_account').is(':checked'))
21
- {
22
- $('#revechat_new_account').hide();
23
- $('#revechat_already_have').show();
24
- $('#edit-revechat-account-email').focus();
25
- }
26
- };
27
- toggleForms();
28
-
29
- $('#revechat_choose_form input').click(toggleForms);
30
- },
31
-
32
- bindFormSubmit: function () {
33
- $('#revechat-admin-settings-form').submit(function(e)
34
- {
35
- //e.preventDefault();
36
-
37
- if($('#edit-submit').val() == 'Remove'){
38
- $('#revechat_aid').val(0);
39
- $('#revechat-admin-settings-form').submit();
40
- }
41
- if (((parseInt($('#revechat_aid').val()) !== 0) || $('#has_revechat_account').is(':checked')))
42
- {
43
- return ReveChat.alreadyHaveAccountForm();
44
- }
45
- else
46
- {
47
- return ReveChat.newLicenseForm();
48
- }
49
-
50
- });
51
- },
52
-
53
- alreadyHaveAccountForm: function()
54
- {
55
-
56
- if(this.validEmail())
57
- {
58
- if((parseInt($('#revechat_aid').val()) == 0 || $('#revechat_aid').val() == ""))
59
- {
60
- var login = $.trim($('#edit-revechat-account-email').val());
61
- if(!login.length)
62
- {
63
- $('#edit-revechat-account-email').focus();
64
- return false;
65
- }
66
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait&hellip;');
67
- var signInUrl = baseUrl +'/license/adminId/'+$('#edit-revechat-account-email').val()+'/?callback=?';
68
- $.getJSON(signInUrl,
69
- function(response)
70
- {
71
- if (response.error)
72
- {
73
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Incorrect REVE Chat login.');
74
- $('#edit-revechat-account-email').focus();
75
- return false;
76
- }
77
- else
78
- {
79
- $('#revechat_aid').val(response.data.account_id);
80
- $('#revechat-admin-settings-form').submit();
81
- }
82
- });
83
- return false;
84
- }
85
- }
86
- else
87
- {
88
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Invalid Email.');
89
- $('#edit-revechat-account-email').focus();
90
- return false;
91
- }
92
- return true;
93
- },
94
-
95
- newLicenseForm: function()
96
- {
97
- if (parseInt(($('#revechat_aid').val()) > 0))
98
- {
99
- return true;
100
- }
101
-
102
- if(this.validateNewLicenseForm())
103
- {
104
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
105
-
106
- ReveChat.createLicense();
107
- }
108
- return false;
109
- },
110
- createLicense: function()
111
- {
112
-
113
- $('.ajax_message').removeClass('message').addClass('wait').html('Creating new account&hellip;');
114
-
115
- var signUpUrl = baseUrl + '/revechat/rest/api/signup.do';
116
-
117
- $.ajax({
118
- data: { 'firstname':$('#edit-name').val(), 'lastname':' ', 'mailAddr':$('#edit-email').val(), 'phoneNo':$('#edit-phone').val() },
119
- type:'POST',
120
- url:signUpUrl,
121
- dataType: 'json',
122
- cache:false,
123
- success: function(response) {
124
- if(response.error)
125
- {
126
- $('.ajax_message').html(response.error).addClass('message alert').removeClass('wait');
127
- return false;
128
- }
129
- else if(response.success)
130
- {
131
- $('#revechat-admin-settings-form').children('div').remove();
132
- var message = '<div class="revechat_success_message">';
133
- message += '<h3>Thank you for sigining up with REVE Chat</h3>';
134
- message += '<p>A verification link has been sent to your registered email address from <strong><a href="#">support@revechat.com</a></strong>. Kindly verify your email to complete the signup process</p>';
135
- message += '<p>Then come backe again to integrate REVE Chat in your website.</p>';
136
- message += '</div>';
137
- $(message).appendTo('#revechat-admin-settings-form');
138
- $('p.submit').remove();
139
- $('.ajax_message').removeClass('wait');
140
- return false;
141
- }
142
- }
143
- });
144
- },
145
- validEmail: function()
146
- {
147
- if($('#edit-submit').val() != 'Remove')
148
- {
149
- if (/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i.test($('#edit-revechat-account-email').val()) == false)
150
- {
151
- //alert ('Please enter a valid email address.');
152
- $('#edit-email').focus();
153
- return false;
154
- }
155
- }
156
- return true;
157
- },
158
-
159
- validateNewLicenseForm: function()
160
- {
161
- if ($('#edit-name').val().length < 1)
162
- {
163
- alert ('Please enter your full name.');
164
- $('#edit-name').addClass('error').focus();
165
- return false;
166
- }
167
-
168
- if (/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i.test($('#edit-email').val()) == false)
169
- {
170
- alert ('Please enter a valid email address.');
171
- $('#edit-email').addClass('error').focus();
172
- return false;
173
- }
174
-
175
- if ($('#edit-phone').val().length < 1)
176
- {
177
- alert ('Please enter your phone number.');
178
- $('#edit-phone').addClass('error').focus();
179
- return false;
180
- }
181
-
182
- return true;
183
- }
184
- }
185
- $(document).ready(function()
186
- {
187
- ReveChat.init();
188
- });
189
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0/readme.txt DELETED
@@ -1,201 +0,0 @@
1
- === Reve Chat ===
2
- Contributors: revechat_official
3
- Tags: chat, chat online, contact plugin, customer support, free chat, chat software, IM chat, live chat, live chat inc, live chat services, live chat software, live chatting, live help, live support, live web chat, livechat, live help, live support, olark, online chat, online support, php live chat, snapengage, support software, website chat, wordpress chat, wordpress live chat, wordpress live chat plugin, ReveChat, REVE Chat, zendesk, Zopim live chat, clickdesk, olark, click desk, visitor analytics, web analytics, lead generation, online leads
4
- Requires at least: 3.0
5
- Tested up to: 4.6.1
6
- Stable tag: 2.0
7
- License: GPLv2 or later
8
- License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
-
10
-
11
- REVE Chat is powerful and intuitive real-time customer engagement software.
12
-
13
- == Description ==
14
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display.
15
-
16
- In the fast paced ambience of live customer support, the efficient usage of valuable time is the main key to both happy customers and professional management. Traditionally interactions between support agents and customers have been restricted to one-on-one supports over phones or emails. Live chat for customer support has now become the alternative that today's multitasking and net savvy generation is looking for. It offers quick response in real time and higher customer satisfaction which can generate more conversions. In the era of automated customer assistance systems, the chance to chat with a person in real time through your website is a distinct feature. Now just like a sales person in the shop, talk to the visitors of your website in real-time.
17
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use. So place this customizable REVE Chat widget to your business and start getting sales conversion and higher customer satisfaction.
18
-
19
- **Key Features**
20
-
21
- * **Real-time Visitor Info:** Agent as well as Admin can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
22
- * **Proactive Chat:** Proactive chat enables agents to initiate a Chat request from their Chat Window. Moreover Trigger based proactive chat automatically sends customized chat alerts for the visitors on the website.
23
- * **Chat Monitoring:** Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents
24
- * **Click to Call:** Click to call is a powerful solution that can be implemented on REVE Chat to offer real-time voice assistance to online customers. It allows visitor and agent to initiate Voice and Video Call from their Chat window.
25
- * **Queuing:** With this chat software handle chat requests efficiently when all your agents are busy. REVE live chat software gives information to website visitors regarding their waiting time in the chat queue
26
- * **Facebook Integration:** REVE Chat allows you to engage with your potential customers through your company Facebook page. Facebook is very effective tool for business. Smart use of social media increases sales, retention and customer satisfaction. REVE Chat Facebook app makes it easier than ever to engage online visitors. Facebook integration lets customers reach you directly on your Facebook fan page, whether or not you are online, increasing customer happiness and organic marketing and outreach.
27
-
28
- **What makes Reve Chat the best choice for live chat?**
29
-
30
- * A simple and highly customizable Live chat solution
31
- * User friendly interface and Dashboard
32
- * Intuitive Chat Window
33
- * Innovative and unique features
34
- * 24x7 hour live chat support from our trained experts on any weekday (visit revechat.com)
35
-
36
-
37
-
38
- **Some Geeky Facts**
39
-
40
- * Work across major browsers (Internet Explorer 7+, Firefox, Google Chrome, Opera, Safari).
41
- * Average uptime is 99.8%.
42
- * Mobile Optimized Dashboard
43
-
44
-
45
-
46
- Should you need any assistance, feel free to chat with our customer advocates on www.revechat.com or email us at support@revechat.com
47
-
48
-
49
- == Changelog ==
50
-
51
-
52
- = 1.2.0 =
53
-
54
- * Feature: Add the Reve chat widget to your site!
55
- * Feature: Customize look and feel of the widget, including themes and color!
56
-
57
- = 2.0 =
58
- * New Admin Menu page for REVE Chat
59
- * New for integration
60
- * Added link of settings page to display on the plugins page (beside the activate/deactivate links).
61
-
62
- == Screenshots ==
63
-
64
- 1. Chat window on your website - active chat
65
- 2. Account Configuration - Link Up
66
- 3. Account Configuration - Linked Up with Launch Dashboard
67
- 4. Dashboard View - Open new browser tab
68
- 5. Widget Customization from Dashboard
69
-
70
- == Frequently Asked Questions ==
71
-
72
- = Do I have to install any software on my server to get this working? =
73
-
74
- REVE Chat plugin need to be installed from your wordpress panel. It is a cloud based live chat software hence it would only activate the script when you install the plugin.
75
-
76
- = Why should I use REVE Chat? =
77
-
78
- REVE chat is a complete online sales and support tool to engage your website visitors. With advanced features such as Click to call, Facebook Chat Integration, Queuing, Chat Monitoring and others, REVE Chat provides full insights to communicate with your visitors to become your loyal customers.
79
-
80
- = Which web browsers work best with this plugin =
81
-
82
- Though it is designed to work on almost all the browsers, REVE Chat works best in the following environment: IE 7+ or later (PC), Firefox 2 or later (Mac, PC, or Linux), Safari 2 or later (Mac), Google Chrome (PC, Mac).
83
-
84
- = I managed to install the plugin but cannot link up to REVE Chat. Why? =
85
-
86
- Please insert required parameter Account ID and Tracking ID into plugin's configuration page.
87
-
88
- = How much is price of REVE Chat? =
89
-
90
- REVE Chat plugin in free to install and it offers a complete 14 days free trial to understand its all features. REVE Chat offers 3 packages
91
- 1. Basic (Free)
92
- 2. Standard
93
- 3. Advanced
94
- Please click here to find out more about pricing
95
- The plugin is completely free to install. However if you want to use Standard and Advanced REVE Chat package then you have to purchase the package.
96
-
97
- = How can I chat with more visitors at the same time? =
98
-
99
- REVE Chat allows unlimited concurrent chats for the paid plans. Hence you can chat with as many visitors as you want at the same time. REVE Chat also allows you to proactively chat with your website visitors before they leave your website
100
-
101
- = How can I take further information regarding REVE Chat? =
102
-
103
- You can find out more at our site at http://www.revechat.com or at support@revechat.com and we will help you with installation.
104
-
105
- = Is there any demo or trial period to do some testing? =
106
-
107
- Yes, defiantly you can use all the features of REVE Chat for 14days in the trial period.
108
-
109
- = Can I customize the REVE Chat window? =
110
-
111
- Yes, REVE Chat window is customizable. Some of the things which you can change in the chat window include:
112
-
113
- * Changing the colour scheme
114
- * Changing the font size
115
- * Chat Widget text
116
- * Offline Widget Text
117
- * Prechat & Post chat form
118
-
119
- = Can I add REVE Chat on more than one website at the same time? =
120
-
121
- Yes, there is no limit on websites for the paid plans. However our free Basic package has limited features and it can be used only on one website.
122
-
123
- == Usage ==
124
-
125
- = Agent management =
126
-
127
- From the dashboard you to keep a track on your agents with its special agent management feature. Here you can add your agents and see all the details like status, last login time, total no of assigned concurrent chat of each and every agent etc. In real time which will help you to manage your support service more efficiently
128
-
129
- = How to configuring a chat operator =
130
-
131
- Please follow the below mentioned directions to manage your agents.
132
- * After logging in to your REVE Chat dash board, click on 'Agent Management' option. Here you will get the below mentioned information:
133
- * List of your agent names
134
- * Roles assigned to each and every agent
135
- * Email address of your agents
136
- * Phone numbers of your agents
137
- * Status of your agents online or offline
138
- * Each and every agent's last login time
139
- * Total number of concurrent chats assigned to each and every agent
140
-
141
-
142
- = Agent creation =
143
-
144
- To create an agent, you need to follow the below mentioned steps:
145
- * Login to your REVE Chat dashboard
146
- * Click on 'Agent Management'
147
- * For adding your agent, click on the 'Create Agent' option
148
- * After that you need to fill up a from mentioning the email address, password, role which you want to assign to the agent, total no of concurrent chats you want to assign to that agent, the agent's first and last name, designation and contact no. After that click on the 'Submit' button
149
-
150
- = Chat Conversation =
151
-
152
- In the conversation box agent can directly engage with visitor. Each message is accompanied by the name of the person who sent that message and a timestamp so you can easily follow the conversation
153
-
154
- = Engaged Visitors =
155
-
156
- In the top left side corner of the panel Chat operator can see all of his on-going chats.
157
-
158
- = Online Agents =
159
-
160
- Chat operator can chat with other operators from the same Chat Window. At the left corner there is a menu called Online Agents. In that menu all the logged in operators name will be shown. By clicking one operator name you can start conversation with him.
161
-
162
- = New Chat Request =
163
-
164
- Agents can see new chat requests from website visitors on the left side corner of their dashboard.
165
-
166
- = Chat Panel =
167
-
168
- The central position is for running conversation. Agent will type from the messaging field and also share file by clicking attachment file. There are some other fields in the chat panel.
169
- * History: Agent can see all the previous chat conversations of that particular visitors.
170
- * Chat Transfer: Agent can easily transfer a chat to other agent. This transfer chat option is available in the chat window itself. Agent can click on it and select to whom he wants to transfer the chat. The new chat agent can take over the current live chat conversation without breaking the chat session
171
- * Visitor Info: Agent can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
172
- * Map: During the chat session chat operator can see the visitor real time location map.
173
-
174
- = Online Visitors =
175
-
176
- In the online visitor list agent can see all the web visitors who are currently viewing your websites. You can see their current viewing page, city name and visiting time. Besides you can also send a proactive chat request to the visitor to know whether they need any sort of help or not.
177
-
178
- = Queued Visitor =
179
-
180
- Queued Visitor list will show who is the visitors is waiting for Live Chat. It gives information to your website visitors regarding their waiting time in chat queue and sets accurate response time expectations.
181
-
182
- = Monitoring Panel =
183
-
184
- Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents.
185
-
186
-
187
-
188
- == Installation ==
189
-
190
- *Server Requirements:* PHP4 or PHP5.
191
-
192
- *Wordpress versions:* Wordpress 2.7 and up.
193
-
194
- = Step-by-step Guide =
195
- * Search Plugin from Wordpress Directory
196
- * Install REVE Chat plugin
197
- * Copy Account ID and Tracking ID from integration page
198
- * Paste it REVE Chat Plugins setting page
199
- * Customize the chat widget to your preference.
200
- * Finally, make full use of our intuitive Dashboard to manage your chat widget.
201
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0/revechat.php DELETED
@@ -1,162 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: Reve Chat
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 2.0
6
- Author: ReveChat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- class WP_Plugin_Revechat
13
- {
14
- /**
15
- * Construct the plugin object
16
- */
17
- public function __construct()
18
- {
19
- // Plugin Details
20
- $this->plugin = new stdClass;
21
- $this->plugin->name = 'revechat'; // Plugin Folder
22
- $this->plugin->displayName = 'ReveChat'; // Plugin Name
23
- $this->plugin->version = '1.2.4';
24
-
25
- // Hooks
26
- add_action('admin_init', array(&$this, 'registerSettings'));
27
- //add_action('admin_menu', array(&$this, 'adminPanels'));
28
-
29
- add_action('wp_head', array(&$this, 'frontendHeader'));
30
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
31
-
32
- // Add Menu Page
33
- add_action('admin_menu',array($this,'admin_menu'));
34
-
35
- //enqueue scripts
36
- add_action('admin_enqueue_scripts',array($this,'admin_scripts'));
37
- } // END public function __construct
38
-
39
- /**
40
- * Activate the frontendHeader
41
- */
42
- public static function frontendHeader()
43
- {
44
- $accountId = get_option('revechat_accountid' , '');
45
- if( (isset($accountId) && !empty($accountId)) ) {
46
-
47
- $script = "<script type='text/javascript'>";
48
-
49
- $script .= "window.__revechat_account = window.__revechat_account || {};
50
- window.__revechat_account = '".$accountId."';
51
- (function() {
52
- var rc = document.createElement('script'); rc.type = 'text/javascript'; rc.async = true;
53
- rc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'static.revechat.com/widget/scripts/new-livechat.js';
54
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(rc, s);
55
- })();";
56
- $script .='</script>';
57
-
58
- echo $script ;
59
-
60
- }
61
-
62
- } // END public static function activate
63
- /*
64
- * show parameter section
65
- */
66
- public function registerSettings(){
67
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
68
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
69
- }
70
- /*
71
- * admin panel
72
- */
73
- public function adminPanels(){
74
- //add_options_page("ReveChat Dashboard" , "ReveChat" , "read" , "reveChatOptions");
75
- // Add a new submenu under Settings:
76
- add_options_page(__('ReveChat Dashboard','revechat-settings'), __('ReveChat Settings','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions') );
77
- }
78
- /*
79
- * revechat options
80
- */
81
- public function reveChatOptions(){
82
- if ( !current_user_can( 'manage_options' ) ) {
83
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
84
- }
85
- // variables for the field and option names
86
- $accountId = 'revechat_accountid';
87
-
88
- // Read in existing option value from database
89
- $val_accountId = get_option( $accountId );
90
-
91
- if( isset($_POST[ $accountId ])){
92
-
93
- // Read in existing option value from POST
94
- $val_accountId = $_POST[ $accountId ];
95
- update_option( $accountId , $val_accountId );
96
- ?>
97
- <div class="updated" xmlns="http://www.w3.org/1999/html"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
98
- <?php
99
- }
100
- ?>
101
- <div class="wrap" id="revechat">
102
-
103
- <div class="reve-chat-logo">
104
- <img src="<?php echo plugin_dir_url( __FILE__ )."images/logo.png";?>" alt="REVE Chat">
105
- </div>
106
- <div class="form-item form-type-item" id="edit-ajax-message">
107
- <p class="ajax_message"></p>
108
- </div>
109
-
110
- <form name="form1" id="revechat-admin-settings-form" method="post" action="">
111
-
112
- <?php
113
- if(isset($val_accountId) && $val_accountId != 0){
114
- require (plugin_dir_path( __FILE__ )."includes/remove-form.php");
115
- return;
116
- }
117
-
118
- require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
119
- require (plugin_dir_path( __FILE__ )."includes/login-form.php");
120
- require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
121
- ?>
122
-
123
- <p class="submit">
124
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
125
- </p>
126
-
127
- </form>
128
- </div>
129
-
130
- <?php
131
- }
132
-
133
- public function admin_menu()
134
- {
135
- // add_menu_page( string $page_title, string $menu_title, string $capability, string $menu_slug, callable $function = '', string $icon_url = '', int $position = null )
136
- add_menu_page(__('ReveChat Dashboard','revechat-settings'), __('REVE Chat','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions'), plugin_dir_url( __FILE__ )."images/favicon.png");
137
-
138
- }
139
-
140
- /**
141
- * Deactivate the plugin
142
- */
143
- public static function deactivate()
144
- {
145
- delete_option('revechat_accountid');
146
- } // END public static function deactivate
147
-
148
- public function admin_scripts(){
149
- wp_enqueue_script( 'revechat-admin-script', plugin_dir_url( __FILE__ ) . '/js/revechat-admin.js' );
150
- wp_enqueue_style( 'custom_wp_admin_css',plugin_dir_url( __FILE__ ).'css/admin-styles.css' );
151
- }
152
-
153
- function add_action_links ( $links ) {
154
- $menu_link = array(
155
- '<a href="' . admin_url( 'admin.php?page=revechatsettings' ) . '">Settings</a>',
156
- );
157
- return array_merge( $links, $menu_link );
158
- }
159
- } // END class WP_Plugin_Revechat
160
- } // END if(!class_exists('WP_Plugin_Revechat'))
161
- $revechat = new WP_Plugin_Revechat ;
162
- register_deactivation_hook( __FILE__, array( 'WP_Plugin_Revechat', 'deactivate' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/2.0/screenshot-1.png DELETED
Binary file
tags/2.0/screenshot-2.png DELETED
Binary file
tags/2.0/screenshot-3.png DELETED
Binary file
tags/2.0/screenshot-4.png DELETED
Binary file
tags/3.0/css/admin-styles.css DELETED
@@ -1,109 +0,0 @@
1
- #revechat ul#revechat_choose_form{}
2
- #revechat ul#revechat_choose_form li{
3
- list-style: none;
4
- display: block;
5
- }
6
- #revechat ul#revechat_choose_form li label{
7
- display: inline-block;
8
- }
9
- #revechat .revechat_email_error{
10
- color: red;
11
- }
12
- #revechat .ajax_message {
13
- display: none;
14
- background: url(ajax_loader.gif) no-repeat 24px 51%;
15
- padding: 0;
16
- margin-top: 1em;
17
- }
18
- #revechat .ajax_message.wait,
19
- #revechat .ajax_message.message
20
- {
21
- display: block;
22
- font-size: 1.2em;
23
- padding: 20px;
24
- box-shadow: 2px 2px 2px rgba(0,0,0,.2);
25
- }
26
- #revechat .ajax_message.wait {
27
- text-indent: 28px;
28
- background-color: #fff;
29
- }
30
- #revechat .ajax_message.message {
31
- background-image: none;
32
- text-indent: 0px;
33
- }
34
-
35
- #revechat .ajax_message.message.alert{
36
- background-color: #f2dede;
37
- border-color: #ebccd1;
38
- color: #a94442;
39
- padding: 20px;
40
- }
41
- #revechat .ajax_message.message.success{
42
- background-color: #dff0d8;
43
- border: 1px solid #dff0d8;
44
- color: #3c763d;
45
- padding: 20px;
46
- }
47
- #revechat .revechat_success_message{
48
- background: #ffffff;
49
- padding: 50px;
50
- height: auto;
51
- font-size: 1.5em;
52
- border-bottom: 5px solid #F16915;
53
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
54
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
55
- box-shadow: 0px 0px 6px rgba(0,0,0,.3);
56
- }
57
- #revechat .revechat_success_message h3{
58
- font-weight: bold;
59
- border-bottom: 1px solid #B1B4B9;
60
- padding-bottom: 20px;
61
- line-height: 2em;
62
- }
63
- #revechat .messages.revechat_success{
64
- background-color: #dff0d8;
65
- border: 1px solid #bee99a;
66
- color: #3c763d;
67
- padding: 20px;
68
- margin-bottom: 30px;
69
- font-weight: 600;
70
- }
71
- #revechat .form-submit{
72
- background: #FF5800 none repeat scroll 0 0;
73
- border-color: #bd4302 #ab3c02 #ab3c02;
74
- -webkit-box-shadow: 0 1px 0 #ab3c02;
75
- box-shadow: 0 1px 0 #ab3c02;
76
- color: #fff;
77
- text-decoration: none;
78
- text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
79
- }
80
- #revechat .box {
81
- background: #ffffff;
82
- border: 1px solid #e5e5e5;
83
- padding: 20px;
84
- margin-bottom: 50px;
85
- }
86
- #revechat #revechat-admin-settings-form {
87
- padding: 18px;
88
- }
89
- #revechat fieldset {
90
- border: 1px solid #c0c0c0;
91
- margin-top: 20px;
92
- }
93
- #revechat #revechat_already_have > h3 {
94
- margin-top: 19px;
95
- }
96
- #revechat ul#revechat_choose_form li {
97
- display: block;
98
- list-style: outside none none;
99
- padding-left: 20px;
100
- }
101
-
102
- #revechat .form-item > label {
103
- display: table;
104
- margin-bottom: 11px;
105
- margin-top: 20px;
106
- }
107
- #revechat input.form-submit{
108
- cursor: pointer;
109
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/3.0/css/ajax_loader.gif DELETED
Binary file
tags/3.0/images/favicon.png DELETED
Binary file
tags/3.0/images/logo.png DELETED
Binary file
tags/3.0/includes/choose-form.php DELETED
@@ -1,13 +0,0 @@
1
- <div id="edit-choose-form" class="box">
2
- <h3>Do you already have a REVE Chat account?</h3>
3
- <ul id="revechat_choose_form">
4
- <li>
5
- <input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
6
- <label for="has_revechat_account">Yes, I already have a REVE Chat account</label>
7
- </li>
8
- <li>
9
- <input type="radio" id="new_revechat_account" name="revechat_choose_form">
10
- <label for="new_revechat_account">No, I want to create one</label>
11
- </li>
12
- </ul>
13
- </div><!-- Edit Choose Form -->
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/3.0/includes/login-form.php DELETED
@@ -1,23 +0,0 @@
1
- <div id="revechat_already_have" class="box">
2
- <h3>Account Details</h3>
3
- <table class="form-table">
4
- <tbody>
5
- <tr>
6
- <th>
7
- <label for="edit-revechat-account-email">
8
- <?php
9
- _e("REVE Chat login email");
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email" placeholder="Enter your email address">
15
- <input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
16
- </td>
17
- </tr>
18
- </tbody>
19
- </table>
20
- <p class="submit">
21
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
22
- </p>
23
- </div><!-- revechat_already_have -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/3.0/includes/remove-form.php DELETED
@@ -1,23 +0,0 @@
1
- <div class="box">
2
- <h3>REVE Chat has been installed.</h3>
3
- <p>Sign in to REVE Chat Dashboard and start chatting with your customers.</p>
4
- <p><a href="https://dashboard.revechat.com" class="form-submit button-primary" target="_blank">Go to Dashboard</a></p>
5
-
6
- <div id="edit-actions" class="form-actions form-wrapper">
7
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
8
- <p><small>Something went wrong? <input type="submit" style="background: transparent; border: 0; text-decoration: underline;text-transform: lowercase; font-size: 10px; cursor: pointer;" value="Disconnect" name="revechat_remove" id="edit-submit"></small></p>
9
- </div>
10
- </div>
11
-
12
-
13
-
14
- <!--
15
- <div>
16
- <div class="messages revechat_success">REVE Chat
17
- is already installed.</div>
18
-
19
- <div id="edit-actions" class="form-actions form-wrapper">
20
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
21
- <input type="submit" class="form-submit button-primary" value="Remove" name="revechat_remove" id="edit-submit">
22
- </div>
23
- </div> -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/3.0/includes/signup-form.php DELETED
@@ -1,75 +0,0 @@
1
- <div id="revechat_new_account" class="box">
2
-
3
- <h3>Create a new REVE Chat account</h3>
4
- <table class="form-table">
5
- <tr>
6
- <th>
7
- <label for="edit-firstname">
8
- <?php
9
- _e("First Name")
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="text" class="regular-text" name="firstName" id="edit-firstname" placeholder="First Name">
15
- </td>
16
- </tr>
17
-
18
-
19
- <tr>
20
- <th>
21
- <label for="edit-lastname">
22
- <?php
23
- _e("Last Name")
24
- ?>
25
- </label>
26
- </th>
27
- <td>
28
- <input type="text" class="regular-text" name="firstName" id="edit-lastname" placeholder="Last Name">
29
- </td>
30
- </tr>
31
-
32
- <tr>
33
- <th>
34
- <label for="edit-email">
35
- <?php
36
- _e('Email Address')
37
- ?>
38
- </label>
39
-
40
- </th>
41
- <td>
42
- <input type="text" class="regular-text" name="email" id="edit-email" placeholder="Email address">
43
- </td>
44
- </tr>
45
-
46
- <tr>
47
- <th>
48
- <label for="edit-accountpassword">
49
- <?php
50
- _e('Password')
51
- ?>
52
- </label>
53
- </th>
54
- <td>
55
- <input type="password" class="regular-text" name="edit-accountpassword" id="edit-accountpassword" placeholder="Password">
56
- </td>
57
- </tr>
58
-
59
- <tr>
60
- <th>
61
- <label for="edit-retypepassword">
62
- <?php
63
- _e('Confirm your password')
64
- ?>
65
- </label>
66
- </th>
67
- <td>
68
- <input type="password" class="regular-text" name="edit-retypepassword" id="edit-retypepassword" placeholder="Confirm your password">
69
- </td>
70
- </tr>
71
- </table>
72
- <p class="submit">
73
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Create Account') ?>" />
74
- </p>
75
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/3.0/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/3.0/js/revechat-admin.js DELETED
@@ -1,228 +0,0 @@
1
- jQuery.noConflict();
2
- (function($){
3
- var baseUrl = 'https://dashboard.revechat.com/';
4
- var ReveChat ={
5
- init: function () {
6
- this.toggleForms();
7
- this.bindFormSubmit();
8
- },
9
-
10
- toggleForms: function ()
11
- {
12
- var toggleForms = function ()
13
- {
14
- if ($('#new_revechat_account').is(':checked'))
15
- {
16
- $('#revechat_already_have').hide();
17
- $('#revechat_new_account').show();
18
- $('#edit-name').focus();
19
- }
20
- else if ($('#has_revechat_account').is(':checked'))
21
- {
22
- $('#revechat_new_account').hide();
23
- $('#revechat_already_have').show();
24
- $('#edit-revechat-account-email').focus();
25
- }
26
- };
27
- toggleForms();
28
-
29
- $('#revechat_choose_form input').click(toggleForms);
30
- },
31
-
32
- bindFormSubmit: function () {
33
- $('#revechat-admin-settings-form').submit(function(e)
34
- {
35
-
36
- if($('#edit-submit').val() == 'Disconnect'){
37
- $('#revechat_aid').val(0);
38
- $('#revechat-admin-settings-form').submit();
39
- }
40
- if (((parseInt($('#revechat_aid').val()) !== 0) || $('#has_revechat_account').is(':checked')))
41
- {
42
- return ReveChat.alreadyHaveAccountForm();
43
- }
44
- else
45
- {
46
- return ReveChat.newLicenseForm();
47
- }
48
-
49
- });
50
- },
51
-
52
- alreadyHaveAccountForm: function()
53
- {
54
-
55
- if(this.validEmail())
56
- {
57
- if((parseInt($('#revechat_aid').val()) == 0 || $('#revechat_aid').val() == ""))
58
- {
59
- var login = $.trim($('#edit-revechat-account-email').val());
60
- if(!login.length)
61
- {
62
- $('#edit-revechat-account-email').focus();
63
- return false;
64
- }
65
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait&hellip;');
66
-
67
- ReveChat.signIn($('#edit-revechat-account-email').val());
68
- return false;
69
- }
70
- }
71
- else
72
- {
73
- $('#edit-revechat-account-email').focus();
74
- return false;
75
- }
76
- return true;
77
- },
78
- signIn: function (email) {
79
- var signInUrl = baseUrl +'/license/adminId/'+email+'/?callback=?';
80
- $.getJSON(signInUrl,
81
- function(response)
82
- {
83
- if (response.error)
84
- {
85
- alert('Incorrect REVE Chat login');
86
- $('.ajax_message').removeClass('wait');
87
- $('#edit-revechat-account-email').focus();
88
- return false;
89
- }
90
- else
91
- {
92
- $('#revechat_aid').val(response.data.account_id);
93
- $('#revechat-admin-settings-form').submit();
94
- }
95
- });
96
- },
97
- newLicenseForm: function()
98
- {
99
- if (parseInt(($('#revechat_aid').val()) > 0))
100
- {
101
- return true;
102
- }
103
-
104
- if(this.validateNewLicenseForm())
105
- {
106
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
107
- ReveChat.createLicense();
108
- }
109
- return false;
110
- },
111
- createLicense: function()
112
- {
113
-
114
- $('.ajax_message').removeClass('message').addClass('wait').html('Creating new account&hellip;');
115
-
116
- var firstName = $.trim($('#edit-firstname').val());
117
- var lastName = $.trim($('#edit-lastname').val());
118
- var email = $.trim($('#edit-email').val());
119
- var password = $.trim($('#edit-accountpassword').val());
120
- var rePassword = $.trim($('#edit-retypepassword').val());
121
-
122
- var signUpUrl = baseUrl + 'revechat/cms/api/signup.do';
123
-
124
- $.ajax({
125
- data: { 'firstname':firstName, 'lastname':lastName, 'mailAddr':email, 'password':password, 'utm_source':'cms', 'utm_content':'wordpress', 'referrer':'https://wordpress.org/plugins/' },
126
- type:'POST',
127
- url:signUpUrl,
128
- dataType: 'json',
129
- cache:false,
130
- success: function(response) {
131
- if(response.status == 'error')
132
- {
133
- $('.ajax_message').removeClass('wait');
134
- alert(response.message);
135
- return false;
136
- }
137
- else if(response.status == 'success')
138
- {
139
- $('#edit-revechat-account-email').val(email);
140
- ReveChat.signIn(email);
141
- return false;
142
- }
143
- }
144
- });
145
- },
146
- validEmail: function()
147
- {
148
- if($('#edit-submit').val() != 'Disconnect')
149
- {
150
- if (/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i.test($('#edit-revechat-account-email').val()) == false)
151
- {
152
- alert ('Please enter a valid email address.');
153
- $('.ajax_message').removeClass('wait');
154
- $('#edit-email').focus();
155
- return false;
156
- }
157
- }
158
- return true;
159
- },
160
-
161
- validateNewLicenseForm: function()
162
- {
163
-
164
- var firstName = $.trim($('#edit-firstname').val());
165
- var lastName = $.trim($('#edit-lastname').val());
166
- var email = $.trim($('#edit-email').val());
167
- var password = $.trim($('#edit-accountpassword').val());
168
- var rePassword = $.trim($('#edit-retypepassword').val());
169
-
170
-
171
-
172
- if (!firstName.length)
173
- {
174
- alert('Please provide your first name.');
175
- $('.ajax_message').removeClass('wait');
176
- $('#edit-firstname').focus();
177
- return false;
178
- }
179
-
180
- if (!lastName.length)
181
- {
182
- alert('Please provide your last name.');
183
- $('.ajax_message').removeClass('wait');
184
- $('#edit-lastname').focus();
185
- return false;
186
- }
187
-
188
- if (!ReveChat.isValidEmailAddress(email))
189
- {
190
- alert('Please provide your valid email address.');
191
- $('.ajax_message').removeClass('wait');
192
- $('#edit-email').focus();
193
- return false;
194
- }
195
-
196
- if(password.length < 6){
197
- alert('Please provide your password. The password must be at least 6 characters long.')
198
- $('.ajax_message').removeClass('wait');
199
- $('#edit-accountpassword').focus();
200
- return false;
201
- }
202
-
203
- if(!rePassword.length || password.length < 6){
204
- alert('Please retype your password.');
205
- $('.ajax_message').removeClass('wait');
206
- $('#edit-retypepassword').focus();
207
- return false;
208
- }
209
-
210
- if(password != rePassword){
211
- alert('Password does not match the confirm password.');
212
- $('.ajax_message').removeClass('wait');
213
- return false;
214
- }
215
-
216
-
217
- return true;
218
- },
219
- isValidEmailAddress: function (emailAddress) {
220
- var pattern = /^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i;
221
- return pattern.test(emailAddress);
222
- },
223
- }
224
- $(document).ready(function()
225
- {
226
- ReveChat.init();
227
- });
228
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/3.0/readme.txt DELETED
@@ -1,214 +0,0 @@
1
- === REVE Chat - WP live chat plugin for WordPress ===
2
- Contributors: revechat
3
- Tags: free chat, live chat, live chat software, live support, chat plugin, chat, video chat, voice chat, tawk.to
4
- Requires at least: 2.7
5
- Tested up to: 4.9.1
6
- Stable tag: 3.0
7
-
8
- REVE Chat is powerful and intuitive real-time customer engagement software.
9
-
10
- == Description ==
11
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display.
12
-
13
- https://youtu.be/t1dykZ9Tg8U
14
-
15
- In the fast paced ambience of live customer support, the efficient usage of valuable time is the main key to both happy customers and professional management. Traditionally interactions between support agents and customers have been restricted to one-on-one supports over phones or emails. Live chat for customer support has now become the alternative that today's multitasking and net savvy generation is looking for. It offers quick response in real time and higher customer satisfaction which can generate more conversions. In the era of automated customer assistance systems, the chance to chat with a person in real time through your website is a distinct feature. Now just like a sales person in the shop, talk to the visitors of your website in real-time.
16
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use. So place this customizable REVE Chat widget to your business and start getting sales conversion and higher customer satisfaction.
17
-
18
- **Key Features**
19
-
20
- * **Real-time Visitor Info:** Agent as well as Admin can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
21
- * **Proactive Chat:** Proactive chat enables agents to initiate a Chat request from their Chat Window. Moreover Trigger based proactive chat automatically sends customized chat alerts for the visitors on the website.
22
- * **Chat Monitoring:** Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents
23
- * **Click to Call:** Click to call is a powerful solution that can be implemented on REVE Chat to offer real-time voice assistance to online customers. It allows visitor and agent to initiate Voice and Video Call from their Chat window.
24
- * **Queuing:** With this chat software handle chat requests efficiently when all your agents are busy. REVE live chat software gives information to website visitors regarding their waiting time in the chat queue
25
- * **Facebook Integration:** REVE Chat allows you to engage with your potential customers through your company Facebook page. Facebook is very effective tool for business. Smart use of social media increases sales, retention and customer satisfaction. REVE Chat Facebook app makes it easier than ever to engage online visitors. Facebook integration lets customers reach you directly on your Facebook fan page, whether or not you are online, increasing customer happiness and organic marketing and outreach.
26
-
27
-
28
- **What makes Reve Chat the best choice for live chat?**
29
-
30
- * A simple and highly customizable Live chat solution
31
- * User friendly interface and Dashboard
32
- * Intuitive Chat Window
33
- * Innovative and unique features
34
- * 24x7 hour live chat support from our trained experts on any weekday (visit revechat.com)
35
-
36
- **Supported Language**
37
-
38
- * Arabic | Bangla | Chinese | Dutch | English | French| German | Hindi | Italian | Japanese | Korean | Malay | Polish | Portuguese | Romanian | Russian | Spanish | Swedish | Tagalog | Turkish | Vietnamese
39
-
40
-
41
- **Some Geeky Facts**
42
-
43
- * Work across major browsers (Internet Explorer 7+, Firefox, Google Chrome, Opera, Safari).
44
- * Average uptime is 99.8%.
45
- * Mobile Optimized Dashboard
46
-
47
-
48
-
49
- Should you need any assistance, feel free to chat with our customer advocates on www.revechat.com or email us at support@revechat.com
50
-
51
-
52
- == Changelog ==
53
-
54
-
55
- = 1.2.0 =
56
-
57
- * Feature: Add the Reve chat widget to your site!
58
- * Feature: Customize look and feel of the widget, including themes and color!
59
-
60
- = 2.0 =
61
- * New Admin Menu page for REVE Chat
62
- * New for integration
63
- * Added link of settings page to display on the plugins page (beside the activate/deactivate links).
64
-
65
- = 2.0.1 =
66
- * Updated chat script
67
-
68
- = 2.0.3 =
69
- * updated the UI
70
-
71
- = 3.0 =
72
- * introduced new signup process
73
- * fixed signin bug
74
-
75
- == Screenshots ==
76
-
77
- 1. Chat window on your website - active chat
78
- 2. Account Configuration - Link Up
79
- 3. Account Configuration - Linked Up with Launch Dashboard
80
- 4. Dashboard View - Open new browser tab
81
- 5. Widget Customization from Dashboard
82
-
83
- == Frequently Asked Questions ==
84
-
85
- = Do I have to install any software on my server to get this working? =
86
-
87
- REVE Chat plugin need to be installed from your wordpress panel. It is a cloud based live chat software hence it would only activate the script when you install the plugin.
88
-
89
- = Why should I use REVE Chat? =
90
-
91
- REVE chat is a complete online sales and support tool to engage your website visitors. With advanced features such as Click to call, Facebook Chat Integration, Queuing, Chat Monitoring and others, REVE Chat provides full insights to communicate with your visitors to become your loyal customers.
92
-
93
- = Which web browsers work best with this plugin =
94
-
95
- Though it is designed to work on almost all the browsers, REVE Chat works best in the following environment: IE 7+ or later (PC), Firefox 2 or later (Mac, PC, or Linux), Safari 2 or later (Mac), Google Chrome (PC, Mac).
96
-
97
- = I managed to install the plugin but cannot link up to REVE Chat. Why? =
98
-
99
- Please insert required parameter Account ID and Tracking ID into plugin's configuration page.
100
-
101
- = How much is price of REVE Chat? =
102
-
103
- REVE Chat plugin in free to install and it offers a complete 14 days free trial to understand its all features. REVE Chat offers 3 packages
104
- 1. Basic (Free)
105
- 2. Standard
106
- 3. Advanced
107
- Please click here to find out more about pricing
108
- The plugin is completely free to install. However if you want to use Standard and Advanced REVE Chat package then you have to purchase the package.
109
-
110
- = How can I chat with more visitors at the same time? =
111
-
112
- REVE Chat allows unlimited concurrent chats for the paid plans. Hence you can chat with as many visitors as you want at the same time. REVE Chat also allows you to proactively chat with your website visitors before they leave your website
113
-
114
- = How can I take further information regarding REVE Chat? =
115
-
116
- You can find out more at our site at http://www.revechat.com or at support@revechat.com and we will help you with installation.
117
-
118
- = Is there any demo or trial period to do some testing? =
119
-
120
- Yes, defiantly you can use all the features of REVE Chat for 14days in the trial period.
121
-
122
- = Can I customize the REVE Chat window? =
123
-
124
- Yes, REVE Chat window is customizable. Some of the things which you can change in the chat window include:
125
-
126
- * Changing the colour scheme
127
- * Changing the font size
128
- * Chat Widget text
129
- * Offline Widget Text
130
- * Prechat & Post chat form
131
-
132
- = Can I add REVE Chat on more than one website at the same time? =
133
-
134
- Yes, there is no limit on websites for the paid plans. However our free Basic package has limited features and it can be used only on one website.
135
-
136
- == Usage ==
137
-
138
- = Agent management =
139
-
140
- From the dashboard you to keep a track on your agents with its special agent management feature. Here you can add your agents and see all the details like status, last login time, total no of assigned concurrent chat of each and every agent etc. In real time which will help you to manage your support service more efficiently
141
-
142
- = How to configuring a chat operator =
143
-
144
- Please follow the below mentioned directions to manage your agents.
145
- * After logging in to your REVE Chat dash board, click on 'Agent Management' option. Here you will get the below mentioned information:
146
- * List of your agent names
147
- * Roles assigned to each and every agent
148
- * Email address of your agents
149
- * Phone numbers of your agents
150
- * Status of your agents online or offline
151
- * Each and every agent's last login time
152
- * Total number of concurrent chats assigned to each and every agent
153
-
154
-
155
- = Agent creation =
156
-
157
- To create an agent, you need to follow the below mentioned steps:
158
- * Login to your REVE Chat dashboard
159
- * Click on 'Agent Management'
160
- * For adding your agent, click on the 'Create Agent' option
161
- * After that you need to fill up a from mentioning the email address, password, role which you want to assign to the agent, total no of concurrent chats you want to assign to that agent, the agent's first and last name, designation and contact no. After that click on the 'Submit' button
162
-
163
- = Chat Conversation =
164
-
165
- In the conversation box agent can directly engage with visitor. Each message is accompanied by the name of the person who sent that message and a timestamp so you can easily follow the conversation
166
-
167
- = Engaged Visitors =
168
-
169
- In the top left side corner of the panel Chat operator can see all of his on-going chats.
170
-
171
- = Online Agents =
172
-
173
- Chat operator can chat with other operators from the same Chat Window. At the left corner there is a menu called Online Agents. In that menu all the logged in operators name will be shown. By clicking one operator name you can start conversation with him.
174
-
175
- = New Chat Request =
176
-
177
- Agents can see new chat requests from website visitors on the left side corner of their dashboard.
178
-
179
- = Chat Panel =
180
-
181
- The central position is for running conversation. Agent will type from the messaging field and also share file by clicking attachment file. There are some other fields in the chat panel.
182
- * History: Agent can see all the previous chat conversations of that particular visitors.
183
- * Chat Transfer: Agent can easily transfer a chat to other agent. This transfer chat option is available in the chat window itself. Agent can click on it and select to whom he wants to transfer the chat. The new chat agent can take over the current live chat conversation without breaking the chat session
184
- * Visitor Info: Agent can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
185
- * Map: During the chat session chat operator can see the visitor real time location map.
186
-
187
- = Online Visitors =
188
-
189
- In the online visitor list agent can see all the web visitors who are currently viewing your websites. You can see their current viewing page, city name and visiting time. Besides you can also send a proactive chat request to the visitor to know whether they need any sort of help or not.
190
-
191
- = Queued Visitor =
192
-
193
- Queued Visitor list will show who is the visitors is waiting for Live Chat. It gives information to your website visitors regarding their waiting time in chat queue and sets accurate response time expectations.
194
-
195
- = Monitoring Panel =
196
-
197
- Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents.
198
-
199
- <a href="https://www.revechat.com/signup/?utm_source=wordpress.org&utm_medium=integration&utm_campaign=WordpressIntegration" target="_blank">Signup for our Live Chat here</a>
200
-
201
- == Installation ==
202
-
203
- *Server Requirements:* PHP4 or PHP5.
204
-
205
- *Wordpress versions:* Wordpress 2.7 and up.
206
-
207
- = Step-by-step Guide =
208
- * Search Plugin from Wordpress Directory
209
- * Install REVE Chat plugin
210
- * Copy Account ID and Tracking ID from integration page
211
- * Paste it REVE Chat Plugins setting page
212
- * Customize the chat widget to your preference.
213
- * Finally, make full use of our intuitive Dashboard to manage your chat widget.
214
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/3.0/revechat.php DELETED
@@ -1,162 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: REVE Chat - WP live chat plugin for WordPress
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 3.0
6
- Author: REVE Chat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- class WP_Plugin_Revechat
13
- {
14
- /**
15
- * Construct the plugin object
16
- */
17
- public function __construct()
18
- {
19
- // Plugin Details
20
- $this->plugin = new stdClass;
21
- $this->plugin->name = 'revechat'; // Plugin Folder
22
- $this->plugin->displayName = 'ReveChat'; // Plugin Name
23
- $this->plugin->version = '2.0.4';
24
-
25
- // Hooks
26
- add_action('admin_init', array(&$this, 'registerSettings'));
27
- //add_action('admin_menu', array(&$this, 'adminPanels'));
28
-
29
- add_action('wp_head', array(&$this, 'frontendHeader'));
30
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
31
-
32
- // Add Menu Page
33
- add_action('admin_menu',array($this,'admin_menu'));
34
-
35
- //enqueue scripts
36
- add_action('admin_enqueue_scripts',array($this,'admin_scripts'));
37
- } // END public function __construct
38
-
39
- /**
40
- * Activate the frontendHeader
41
- */
42
- public static function frontendHeader()
43
- {
44
- $accountId = get_option('revechat_accountid' , '');
45
- if( (isset($accountId) && !empty($accountId)) ) {
46
-
47
- $script = "<script type='text/javascript'>";
48
- $script .= 'window.$_REVECHAT_API || (function(d, w) { var r = $_REVECHAT_API = function(c) {r._.push(c);}; w.__revechat_account=\''.$accountId.'\';w.__revechat_version=2;
49
- r._= []; var rc = d.createElement(\'script\'); rc.type = \'text/javascript\'; rc.async = true; rc.setAttribute(\'charset\', \'utf-8\');
50
- rc.src = (\'https:\' == document.location.protocol ? \'https://\' : \'http://\') + \'static.revechat.com/widget/scripts/new-livechat.js?\'+new Date().getTime();
51
- var s = d.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(rc, s);
52
- })(document, window);';
53
-
54
- $script .='</script>';
55
-
56
- echo $script ;
57
-
58
- }
59
-
60
- } // END public static function activate
61
- /*
62
- * show parameter section
63
- */
64
- public function registerSettings(){
65
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
66
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
67
- }
68
- /*
69
- * admin panel
70
- */
71
- public function adminPanels(){
72
- //add_options_page("ReveChat Dashboard" , "ReveChat" , "read" , "reveChatOptions");
73
- // Add a new submenu under Settings:
74
- add_options_page(__('ReveChat Dashboard','revechat-settings'), __('ReveChat Settings','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions') );
75
- }
76
- /*
77
- * revechat options
78
- */
79
- public function reveChatOptions(){
80
- if ( !current_user_can( 'manage_options' ) ) {
81
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
82
- }
83
- // variables for the field and option names
84
- $accountId = 'revechat_accountid';
85
-
86
- // Read in existing option value from database
87
- $val_accountId = get_option( $accountId );
88
-
89
- if( isset($_POST[ $accountId ])){
90
-
91
- // Read in existing option value from POST
92
- $val_accountId = $_POST[ $accountId ];
93
- update_option( $accountId , $val_accountId );
94
- ?>
95
- <div class="updated" xmlns="http://www.w3.org/1999/html"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
96
- <?php
97
- }
98
- ?>
99
- <div class="wrap" id="revechat">
100
-
101
- <div>
102
- <div class="reve-chat-logo">
103
- <img src="<?php echo plugin_dir_url( __FILE__ )."images/logo.png";?>" alt="REVE Chat">
104
- </div>
105
-
106
- <form name="form1" id="revechat-admin-settings-form" method="post" action="">
107
-
108
- <?php
109
- if(isset($val_accountId) && $val_accountId != 0){
110
- require (plugin_dir_path( __FILE__ )."includes/remove-form.php");
111
- return;
112
- }
113
-
114
- require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
115
- ?>
116
- <div class="form-item form-type-item" id="edit-ajax-message">
117
- <p class="ajax_message"></p>
118
- </div>
119
- <?php
120
- require (plugin_dir_path( __FILE__ )."includes/login-form.php");
121
- require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
122
- ?>
123
-
124
-
125
-
126
- </form>
127
- </div>
128
- </div>
129
-
130
- <?php
131
- }
132
-
133
- public function admin_menu()
134
- {
135
- // add_menu_page( string $page_title, string $menu_title, string $capability, string $menu_slug, callable $function = '', string $icon_url = '', int $position = null )
136
- add_menu_page(__('ReveChat Dashboard','revechat-settings'), __('REVE Chat','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions'), plugin_dir_url( __FILE__ )."images/favicon.png");
137
-
138
- }
139
-
140
- /**
141
- * Deactivate the plugin
142
- */
143
- public static function deactivate()
144
- {
145
- delete_option('revechat_accountid');
146
- } // END public static function deactivate
147
-
148
- public function admin_scripts(){
149
- wp_enqueue_script( 'revechat-admin-script', plugin_dir_url( __FILE__ ) . '/js/revechat-admin.js' );
150
- wp_enqueue_style( 'custom_wp_admin_css',plugin_dir_url( __FILE__ ).'css/admin-styles.css' );
151
- }
152
-
153
- function add_action_links ( $links ) {
154
- $menu_link = array(
155
- '<a href="' . admin_url( 'admin.php?page=revechatsettings' ) . '">Settings</a>',
156
- );
157
- return array_merge( $links, $menu_link );
158
- }
159
- } // END class WP_Plugin_Revechat
160
- } // END if(!class_exists('WP_Plugin_Revechat'))
161
- $revechat = new WP_Plugin_Revechat ;
162
- register_deactivation_hook( __FILE__, array( 'WP_Plugin_Revechat', 'deactivate' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/3.0/screenshot-1.jpg DELETED
Binary file
tags/3.0/screenshot-2.jpg DELETED
Binary file
tags/3.0/screenshot-3.jpg DELETED
Binary file
tags/3.0/screenshot-4.jpg DELETED
Binary file
tags/4.0/css/admin-styles.css DELETED
@@ -1,109 +0,0 @@
1
- #revechat ul#revechat_choose_form{}
2
- #revechat ul#revechat_choose_form li{
3
- list-style: none;
4
- display: block;
5
- }
6
- #revechat ul#revechat_choose_form li label{
7
- display: inline-block;
8
- }
9
- #revechat .revechat_email_error{
10
- color: red;
11
- }
12
- #revechat .ajax_message {
13
- display: none;
14
- background: url(ajax_loader.gif) no-repeat 24px 51%;
15
- padding: 0;
16
- margin-top: 1em;
17
- }
18
- #revechat .ajax_message.wait,
19
- #revechat .ajax_message.message
20
- {
21
- display: block;
22
- font-size: 1.2em;
23
- padding: 20px;
24
- box-shadow: 2px 2px 2px rgba(0,0,0,.2);
25
- }
26
- #revechat .ajax_message.wait {
27
- text-indent: 28px;
28
- background-color: #fff;
29
- }
30
- #revechat .ajax_message.message {
31
- background-image: none;
32
- text-indent: 0px;
33
- }
34
-
35
- #revechat .ajax_message.message.alert{
36
- background-color: #f2dede;
37
- border-color: #ebccd1;
38
- color: #a94442;
39
- padding: 20px;
40
- }
41
- #revechat .ajax_message.message.success{
42
- background-color: #dff0d8;
43
- border: 1px solid #dff0d8;
44
- color: #3c763d;
45
- padding: 20px;
46
- }
47
- #revechat .revechat_success_message{
48
- background: #ffffff;
49
- padding: 50px;
50
- height: auto;
51
- font-size: 1.5em;
52
- border-bottom: 5px solid #F16915;
53
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
54
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
55
- box-shadow: 0px 0px 6px rgba(0,0,0,.3);
56
- }
57
- #revechat .revechat_success_message h3{
58
- font-weight: bold;
59
- border-bottom: 1px solid #B1B4B9;
60
- padding-bottom: 20px;
61
- line-height: 2em;
62
- }
63
- #revechat .messages.revechat_success{
64
- background-color: #dff0d8;
65
- border: 1px solid #bee99a;
66
- color: #3c763d;
67
- padding: 20px;
68
- margin-bottom: 30px;
69
- font-weight: 600;
70
- }
71
- #revechat .form-submit{
72
- background: #FF5800 none repeat scroll 0 0;
73
- border-color: #bd4302 #ab3c02 #ab3c02;
74
- -webkit-box-shadow: 0 1px 0 #ab3c02;
75
- box-shadow: 0 1px 0 #ab3c02;
76
- color: #fff;
77
- text-decoration: none;
78
- text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
79
- }
80
- #revechat .box {
81
- background: #ffffff;
82
- border: 1px solid #e5e5e5;
83
- padding: 20px;
84
- margin-bottom: 50px;
85
- }
86
- #revechat #revechat-admin-settings-form {
87
- padding: 18px;
88
- }
89
- #revechat fieldset {
90
- border: 1px solid #c0c0c0;
91
- margin-top: 20px;
92
- }
93
- #revechat #revechat_already_have > h3 {
94
- margin-top: 19px;
95
- }
96
- #revechat ul#revechat_choose_form li {
97
- display: block;
98
- list-style: outside none none;
99
- padding-left: 20px;
100
- }
101
-
102
- #revechat .form-item > label {
103
- display: table;
104
- margin-bottom: 11px;
105
- margin-top: 20px;
106
- }
107
- #revechat input.form-submit{
108
- cursor: pointer;
109
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/4.0/css/ajax_loader.gif DELETED
Binary file
tags/4.0/images/favicon.png DELETED
Binary file
tags/4.0/images/logo.png DELETED
Binary file
tags/4.0/includes/choose-form.php DELETED
@@ -1,13 +0,0 @@
1
- <div id="edit-choose-form" class="box">
2
- <h3>Do you already have a REVE Chat account?</h3>
3
- <ul id="revechat_choose_form">
4
- <li>
5
- <input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
6
- <label for="has_revechat_account">Yes, I already have a REVE Chat account</label>
7
- </li>
8
- <li>
9
- <input type="radio" id="new_revechat_account" name="revechat_choose_form">
10
- <label for="new_revechat_account">No, I want to create one</label>
11
- </li>
12
- </ul>
13
- </div><!-- Edit Choose Form -->
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/4.0/includes/login-form.php DELETED
@@ -1,23 +0,0 @@
1
- <div id="revechat_already_have" class="box">
2
- <h3>Account Details</h3>
3
- <table class="form-table">
4
- <tbody>
5
- <tr>
6
- <th>
7
- <label for="edit-revechat-account-email">
8
- <?php
9
- _e("REVE Chat login email");
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email" placeholder="Enter your email address">
15
- <input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
16
- </td>
17
- </tr>
18
- </tbody>
19
- </table>
20
- <p class="submit">
21
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
22
- </p>
23
- </div><!-- revechat_already_have -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/4.0/includes/remove-form.php DELETED
@@ -1,10 +0,0 @@
1
- <div class="box">
2
- <h3>REVE Chat has been installed.</h3>
3
- <p>Sign in to REVE Chat Dashboard and start chatting with your customers.</p>
4
- <p><a href="https://dashboard.revechat.com" class="form-submit button-primary" target="_blank">Go to Dashboard</a></p>
5
-
6
- <div id="edit-actions" class="form-actions form-wrapper">
7
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
8
- <p><small>Something went wrong? <input type="submit" style="background: transparent; border: 0; text-decoration: underline;text-transform: lowercase; font-size: 10px; cursor: pointer;" value="Disconnect" name="revechat_remove" id="edit-submit"></small></p>
9
- </div>
10
- </div>
 
 
 
 
 
 
 
 
 
 
tags/4.0/includes/signup-form.php DELETED
@@ -1,75 +0,0 @@
1
- <div id="revechat_new_account" class="box">
2
-
3
- <h3>Create a new REVE Chat account</h3>
4
- <table class="form-table">
5
- <tr>
6
- <th>
7
- <label for="edit-firstname">
8
- <?php
9
- _e("First Name")
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="text" class="regular-text" name="firstName" id="edit-firstname" placeholder="First Name">
15
- </td>
16
- </tr>
17
-
18
-
19
- <tr>
20
- <th>
21
- <label for="edit-lastname">
22
- <?php
23
- _e("Last Name")
24
- ?>
25
- </label>
26
- </th>
27
- <td>
28
- <input type="text" class="regular-text" name="firstName" id="edit-lastname" placeholder="Last Name">
29
- </td>
30
- </tr>
31
-
32
- <tr>
33
- <th>
34
- <label for="edit-email">
35
- <?php
36
- _e('Email Address')
37
- ?>
38
- </label>
39
-
40
- </th>
41
- <td>
42
- <input type="text" class="regular-text" name="email" id="edit-email" placeholder="Email address">
43
- </td>
44
- </tr>
45
-
46
- <tr>
47
- <th>
48
- <label for="edit-accountpassword">
49
- <?php
50
- _e('Password')
51
- ?>
52
- </label>
53
- </th>
54
- <td>
55
- <input type="password" class="regular-text" name="edit-accountpassword" id="edit-accountpassword" placeholder="Password">
56
- </td>
57
- </tr>
58
-
59
- <tr>
60
- <th>
61
- <label for="edit-retypepassword">
62
- <?php
63
- _e('Confirm your password')
64
- ?>
65
- </label>
66
- </th>
67
- <td>
68
- <input type="password" class="regular-text" name="edit-retypepassword" id="edit-retypepassword" placeholder="Confirm your password">
69
- </td>
70
- </tr>
71
- </table>
72
- <p class="submit">
73
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Create Account') ?>" />
74
- </p>
75
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/4.0/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/4.0/js/revechat-admin.js DELETED
@@ -1,208 +0,0 @@
1
- jQuery.noConflict();
2
- (function($){
3
- var baseUrl = 'https://dashboard.revechat.com/';
4
- var ReveChat ={
5
- init: function () {
6
- this.toggleForms();
7
- this.bindFormSubmit();
8
- },
9
-
10
- toggleForms: function ()
11
- {
12
- var toggleForms = function ()
13
- {
14
- if ($('#new_revechat_account').is(':checked'))
15
- {
16
- $('#revechat_already_have').hide();
17
- $('#revechat_new_account').show();
18
- }
19
- else if ($('#has_revechat_account').is(':checked'))
20
- {
21
- $('#revechat_new_account').hide();
22
- $('#revechat_already_have').show();
23
- $('#edit-revechat-account-email').focus();
24
- }
25
- };
26
- toggleForms();
27
-
28
- $('#revechat_choose_form input').click(toggleForms);
29
- },
30
-
31
- bindFormSubmit: function () {
32
- $('#revechat-admin-settings-form').submit(function(e)
33
- {
34
-
35
- if($('#edit-submit').val() == 'Disconnect'){
36
- $('#revechat_aid').val(0);
37
- $('#revechat-admin-settings-form').submit();
38
- }
39
- if (((parseInt($('#revechat_aid').val()) !== 0) || $('#has_revechat_account').is(':checked')))
40
- {
41
- return ReveChat.alreadyHaveAccountForm();
42
- }
43
- else
44
- {
45
- return ReveChat.newLicenseForm();
46
- }
47
-
48
- });
49
- },
50
-
51
- alreadyHaveAccountForm: function()
52
- {
53
- var email = $.trim($('#edit-revechat-account-email').val());
54
-
55
- if(ReveChat.isValidEmailAddress(email))
56
- {
57
- if((parseInt($('#revechat_aid').val()) == 0 || $('#revechat_aid').val() == ""))
58
- {
59
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait&hellip;');
60
-
61
- ReveChat.signIn(email);
62
- return false;
63
- }
64
- }
65
- else
66
- {
67
- alert('Please provide a valid email address');
68
- $('#edit-revechat-account-email').focus();
69
- return false;
70
- }
71
- return true;
72
- },
73
- signIn: function (email) {
74
- var signInUrl = baseUrl +'/license/adminId/'+email+'/?callback=?';
75
- $.getJSON(signInUrl,
76
- function(response)
77
- {
78
- if (response.error)
79
- {
80
- alert('Incorrect REVE Chat login');
81
- $('.ajax_message').removeClass('wait');
82
- $('#edit-revechat-account-email').focus();
83
- return false;
84
- }
85
- else
86
- {
87
- $('#revechat_aid').val(response.data.account_id);
88
- $('#revechat-admin-settings-form').submit();
89
- }
90
- });
91
- },
92
- newLicenseForm: function()
93
- {
94
- if (parseInt(($('#revechat_aid').val()) > 0))
95
- {
96
- return true;
97
- }
98
-
99
- if(this.validateNewLicenseForm())
100
- {
101
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
102
- ReveChat.createLicense();
103
- }
104
- return false;
105
- },
106
- createLicense: function()
107
- {
108
-
109
- $('.ajax_message').removeClass('message').addClass('wait').html('Creating new account&hellip;');
110
-
111
- var firstName = $.trim($('#edit-firstname').val());
112
- var lastName = $.trim($('#edit-lastname').val());
113
- var email = $.trim($('#edit-email').val());
114
- var password = $.trim($('#edit-accountpassword').val());
115
- var rePassword = $.trim($('#edit-retypepassword').val());
116
-
117
- var signUpUrl = baseUrl + 'revechat/cms/api/signup.do';
118
-
119
- $.ajax({
120
- data: { 'firstname':firstName, 'lastname':lastName, 'mailAddr':email, 'password':password, 'utm_source':'cms', 'utm_content':'wordpress', 'referrer':'https://wordpress.org/plugins/' },
121
- type:'POST',
122
- url:signUpUrl,
123
- dataType: 'json',
124
- cache:false,
125
- success: function(response) {
126
- if(response.status == 'error')
127
- {
128
- $('.ajax_message').removeClass('wait');
129
- alert(response.message);
130
- return false;
131
- }
132
- else if(response.status == 'success')
133
- {
134
- $('#edit-revechat-account-email').val(email);
135
- ReveChat.signIn(email);
136
- return false;
137
- }
138
- }
139
- });
140
- },
141
- validateNewLicenseForm: function()
142
- {
143
-
144
- var firstName = $.trim($('#edit-firstname').val());
145
- var lastName = $.trim($('#edit-lastname').val());
146
- var email = $.trim($('#edit-email').val());
147
- var password = $.trim($('#edit-accountpassword').val());
148
- var rePassword = $.trim($('#edit-retypepassword').val());
149
-
150
-
151
-
152
- if (!firstName.length)
153
- {
154
- alert('Please provide your first name.');
155
- $('.ajax_message').removeClass('wait');
156
- $('#edit-firstname').focus();
157
- return false;
158
- }
159
-
160
- if (!lastName.length)
161
- {
162
- alert('Please provide your last name.');
163
- $('.ajax_message').removeClass('wait');
164
- $('#edit-lastname').focus();
165
- return false;
166
- }
167
-
168
- if (!ReveChat.isValidEmailAddress(email))
169
- {
170
- alert('Please provide your valid email address.');
171
- $('.ajax_message').removeClass('wait');
172
- $('#edit-email').focus();
173
- return false;
174
- }
175
-
176
- if(password.length < 6){
177
- alert('Please provide your password. The password must be at least 6 characters long.')
178
- $('.ajax_message').removeClass('wait');
179
- $('#edit-accountpassword').focus();
180
- return false;
181
- }
182
-
183
- if(!rePassword.length || password.length < 6){
184
- alert('Please retype your password.');
185
- $('.ajax_message').removeClass('wait');
186
- $('#edit-retypepassword').focus();
187
- return false;
188
- }
189
-
190
- if(password != rePassword){
191
- alert('Password does not match the confirm password.');
192
- $('.ajax_message').removeClass('wait');
193
- return false;
194
- }
195
-
196
-
197
- return true;
198
- },
199
- isValidEmailAddress: function (emailAddress) {
200
- var pattern = /^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i;
201
- return pattern.test(emailAddress);
202
- },
203
- }
204
- $(document).ready(function()
205
- {
206
- ReveChat.init();
207
- });
208
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/4.0/readme.txt DELETED
@@ -1,209 +0,0 @@
1
- === REVE Chat - WP live chat plugin for WordPress ===
2
- Contributors: revechat
3
- Tags: free chat, live chat, live chat software, live support, chat plugin, chat, video chat, voice chat, tawk.to
4
- Requires at least: 2.7
5
- Tested up to: 4.9.4
6
-
7
- REVE Chat is powerful and intuitive real-time customer engagement software.
8
-
9
- == Description ==
10
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display.
11
-
12
- https://youtu.be/t1dykZ9Tg8U
13
-
14
- In the fast paced ambience of live customer support, the efficient usage of valuable time is the main key to both happy customers and professional management. Traditionally interactions between support agents and customers have been restricted to one-on-one supports over phones or emails. Live chat for customer support has now become the alternative that today's multitasking and net savvy generation is looking for. It offers quick response in real time and higher customer satisfaction which can generate more conversions. In the era of automated customer assistance systems, the chance to chat with a person in real time through your website is a distinct feature. Now just like a sales person in the shop, talk to the visitors of your website in real-time.
15
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use. So place this customizable REVE Chat widget to your business and start getting sales conversion and higher customer satisfaction.
16
-
17
- **Key Features**
18
-
19
- * **Real-time Visitor Info:** Agent as well as Admin can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
20
- * **Proactive Chat:** Proactive chat enables agents to initiate a Chat request from their Chat Window. Moreover Trigger based proactive chat automatically sends customized chat alerts for the visitors on the website.
21
- * **Chat Monitoring:** Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents
22
- * **Click to Call:** Click to call is a powerful solution that can be implemented on REVE Chat to offer real-time voice assistance to online customers. It allows visitor and agent to initiate Voice and Video Call from their Chat window.
23
- * **Queuing:** With this chat software handle chat requests efficiently when all your agents are busy. REVE live chat software gives information to website visitors regarding their waiting time in the chat queue
24
- * **Facebook Integration:** REVE Chat allows you to engage with your potential customers through your company Facebook page. Facebook is very effective tool for business. Smart use of social media increases sales, retention and customer satisfaction. REVE Chat Facebook app makes it easier than ever to engage online visitors. Facebook integration lets customers reach you directly on your Facebook fan page, whether or not you are online, increasing customer happiness and organic marketing and outreach.
25
-
26
-
27
- **What makes Reve Chat the best choice for live chat?**
28
-
29
- * A simple and highly customizable Live chat solution
30
- * User friendly interface and Dashboard
31
- * Intuitive Chat Window
32
- * Innovative and unique features
33
- * 24x7 hour live chat support from our trained experts on any weekday (visit revechat.com)
34
-
35
- **Supported Language**
36
-
37
- * Arabic | Bangla | Chinese | Dutch | English | French| German | Hindi | Italian | Japanese | Korean | Malay | Polish | Portuguese | Romanian | Russian | Spanish | Swedish | Tagalog | Turkish | Vietnamese
38
-
39
-
40
- **Some Geeky Facts**
41
-
42
- * Work across major browsers (Internet Explorer 7+, Firefox, Google Chrome, Opera, Safari).
43
- * Average uptime is 99.8%.
44
- * Mobile Optimized Dashboard
45
-
46
-
47
-
48
- Should you need any assistance, feel free to chat with our customer advocates on www.revechat.com or email us at support@revechat.com
49
-
50
-
51
- == Changelog ==
52
-
53
-
54
- = 1.2.0 =
55
-
56
- * Feature: Add the Reve chat widget to your site!
57
- * Feature: Customize look and feel of the widget, including themes and color!
58
-
59
- = 2.0 =
60
- * New Admin Menu page for REVE Chat
61
- * New for integration
62
- * Added link of settings page to display on the plugins page (beside the activate/deactivate links).
63
-
64
- = 2.0.1 =
65
- * Updated chat script
66
-
67
- = 2.0.3 =
68
- * updated the UI
69
-
70
- = 3.0 =
71
- * introduced new signup process
72
- * fixed signin bug
73
-
74
- == Screenshots ==
75
-
76
- 1. Chat window on your website - active chat
77
- 2. Account Configuration - Link Up
78
- 3. Account Configuration - Linked Up with Launch Dashboard
79
- 4. Dashboard View - Open new browser tab
80
- 5. Widget Customization from Dashboard
81
-
82
- == Frequently Asked Questions ==
83
-
84
- = Do I have to install any software on my server to get this working? =
85
-
86
- REVE Chat plugin need to be installed from your wordpress panel. It is a cloud based live chat software hence it would only activate the script when you install the plugin.
87
-
88
- = Why should I use REVE Chat? =
89
-
90
- REVE chat is a complete online sales and support tool to engage your website visitors. With advanced features such as Click to call, Facebook Chat Integration, Queuing, Chat Monitoring and others, REVE Chat provides full insights to communicate with your visitors to become your loyal customers.
91
-
92
- = Which web browsers work best with this plugin =
93
-
94
- Though it is designed to work on almost all the browsers, REVE Chat works best in the following environment: IE 7+ or later (PC), Firefox 2 or later (Mac, PC, or Linux), Safari 2 or later (Mac), Google Chrome (PC, Mac).
95
-
96
-
97
- = How much is price of REVE Chat? =
98
-
99
- REVE Chat plugin in free to install and it offers a complete 14 days free trial to understand its all features. REVE Chat offers 3 packages
100
- 1. Basic (Free)
101
- 2. Standard
102
- 3. Advanced
103
- Please click here to find out more about pricing
104
- The plugin is completely free to install. However if you want to use Standard and Advanced REVE Chat package then you have to purchase the package.
105
-
106
- = How can I chat with more visitors at the same time? =
107
-
108
- REVE Chat allows unlimited concurrent chats for the paid plans. Hence you can chat with as many visitors as you want at the same time. REVE Chat also allows you to proactively chat with your website visitors before they leave your website
109
-
110
- = How can I take further information regarding REVE Chat? =
111
-
112
- You can find out more at our site at http://www.revechat.com or at support@revechat.com and we will help you with installation.
113
-
114
- = Is there any demo or trial period to do some testing? =
115
-
116
- Yes, defiantly you can use all the features of REVE Chat for 14days in the trial period.
117
-
118
- = Can I customize the REVE Chat window? =
119
-
120
- Yes, REVE Chat window is customizable. Some of the things which you can change in the chat window include:
121
-
122
- * Changing the colour scheme
123
- * Changing the font size
124
- * Chat Widget text
125
- * Offline Widget Text
126
- * Prechat & Post chat form
127
-
128
- = Can I add REVE Chat on more than one website at the same time? =
129
-
130
- Yes, there is no limit on websites for the paid plans. However our free Basic package has limited features and it can be used only on one website.
131
-
132
- == Usage ==
133
-
134
- = Agent management =
135
-
136
- From the dashboard you to keep a track on your agents with its special agent management feature. Here you can add your agents and see all the details like status, last login time, total no of assigned concurrent chat of each and every agent etc. In real time which will help you to manage your support service more efficiently
137
-
138
- = How to configuring a chat operator =
139
-
140
- Please follow the below mentioned directions to manage your agents.
141
- * After logging in to your REVE Chat dash board, click on 'Agent Management' option. Here you will get the below mentioned information:
142
- * List of your agent names
143
- * Roles assigned to each and every agent
144
- * Email address of your agents
145
- * Phone numbers of your agents
146
- * Status of your agents online or offline
147
- * Each and every agent's last login time
148
- * Total number of concurrent chats assigned to each and every agent
149
-
150
-
151
- = Agent creation =
152
-
153
- To create an agent, you need to follow the below mentioned steps:
154
- * Login to your REVE Chat dashboard
155
- * Click on 'Agent Management'
156
- * For adding your agent, click on the 'Create Agent' option
157
- * After that you need to fill up a from mentioning the email address, password, role which you want to assign to the agent, total no of concurrent chats you want to assign to that agent, the agent's first and last name, designation and contact no. After that click on the 'Submit' button
158
-
159
- = Chat Conversation =
160
-
161
- In the conversation box agent can directly engage with visitor. Each message is accompanied by the name of the person who sent that message and a timestamp so you can easily follow the conversation
162
-
163
- = Engaged Visitors =
164
-
165
- In the top left side corner of the panel Chat operator can see all of his on-going chats.
166
-
167
- = Online Agents =
168
-
169
- Chat operator can chat with other operators from the same Chat Window. At the left corner there is a menu called Online Agents. In that menu all the logged in operators name will be shown. By clicking one operator name you can start conversation with him.
170
-
171
- = New Chat Request =
172
-
173
- Agents can see new chat requests from website visitors on the left side corner of their dashboard.
174
-
175
- = Chat Panel =
176
-
177
- The central position is for running conversation. Agent will type from the messaging field and also share file by clicking attachment file. There are some other fields in the chat panel.
178
- * History: Agent can see all the previous chat conversations of that particular visitors.
179
- * Chat Transfer: Agent can easily transfer a chat to other agent. This transfer chat option is available in the chat window itself. Agent can click on it and select to whom he wants to transfer the chat. The new chat agent can take over the current live chat conversation without breaking the chat session
180
- * Visitor Info: Agent can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
181
- * Map: During the chat session chat operator can see the visitor real time location map.
182
-
183
- = Online Visitors =
184
-
185
- In the online visitor list agent can see all the web visitors who are currently viewing your websites. You can see their current viewing page, city name and visiting time. Besides you can also send a proactive chat request to the visitor to know whether they need any sort of help or not.
186
-
187
- = Queued Visitor =
188
-
189
- Queued Visitor list will show who is the visitors is waiting for Live Chat. It gives information to your website visitors regarding their waiting time in chat queue and sets accurate response time expectations.
190
-
191
- = Monitoring Panel =
192
-
193
- Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents.
194
-
195
- <a href="https://www.revechat.com/signup/?utm_source=wordpress.org&utm_medium=integration&utm_campaign=WordpressIntegration" target="_blank">Signup for our Live Chat here</a>
196
-
197
- == Installation ==
198
-
199
- *Server Requirements:* PHP4 or PHP5.
200
-
201
- *Wordpress versions:* Wordpress 2.7 and up.
202
-
203
- = Step-by-step Guide =
204
- * Search Plugin from Wordpress Directory
205
- * Install REVE Chat plugin
206
- * Go to REVE Chat plugin settings page.
207
- * Type your email address in the input field and submit.
208
- * Finally, make full use of our intuitive Dashboard to manage your chat widget.
209
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/4.0/revechat.php DELETED
@@ -1,166 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: REVE Chat - WP live chat plugin for WordPress
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 4.0
6
- Author: REVE Chat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- class WP_Plugin_Revechat
13
- {
14
- /**
15
- * Construct the plugin object
16
- */
17
- public function __construct()
18
- {
19
- // Plugin Details
20
- $this->plugin = new stdClass;
21
- $this->plugin->name = 'revechat'; // Plugin Folder
22
- $this->plugin->displayName = 'REVE Chat'; // Plugin Name
23
-
24
- // Hooks
25
- add_action('admin_init', array(&$this, 'registerSettings'));
26
-
27
- add_action('wp_head', array(&$this, 'frontendHeader'));
28
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
29
-
30
- // Add Menu Page
31
- add_action('admin_menu',array($this,'admin_menu'));
32
-
33
- //enqueue scripts
34
- add_action('admin_enqueue_scripts',array($this,'admin_scripts'));
35
-
36
- } // END public function __construct
37
-
38
- /**
39
- * Activate the frontendHeader
40
- */
41
- public static function frontendHeader()
42
- {
43
- $accountId = get_option('revechat_accountid' , '');
44
- if( (isset($accountId) && !empty($accountId)) ) {
45
-
46
- $script = "<script type='text/javascript'>";
47
- $script .= 'window.$_REVECHAT_API || (function(d, w) { var r = $_REVECHAT_API = function(c) {r._.push(c);}; w.__revechat_account=\''.$accountId.'\';w.__revechat_version=2;
48
- r._= []; var rc = d.createElement(\'script\'); rc.type = \'text/javascript\'; rc.async = true; rc.setAttribute(\'charset\', \'utf-8\');
49
- rc.src = (\'https:\' == document.location.protocol ? \'https://\' : \'http://\') + \'static.revechat.com/widget/scripts/new-livechat.js?\'+new Date().getTime();
50
- var s = d.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(rc, s);
51
- })(document, window);';
52
-
53
- $script .='</script>';
54
-
55
- echo $script ;
56
-
57
- }
58
-
59
- }
60
-
61
- /*
62
- * Register the settings
63
- */
64
- public function registerSettings(){
65
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
66
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
67
- }
68
-
69
- /*
70
- * Settings Form
71
- */
72
- public function reveChatOptions(){
73
- if ( !current_user_can( 'manage_options' ) ) {
74
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
75
- }
76
- // variables for the field and option names
77
- $accountId = 'revechat_accountid';
78
-
79
- // Read in existing option value from database
80
- $val_accountId = get_option( $accountId );
81
-
82
- if( isset($_POST[ $accountId ])){
83
-
84
- // Read in existing option value from POST
85
- $val_accountId = $_POST[ $accountId ];
86
- update_option( $accountId , $val_accountId );
87
- ?>
88
- <div class="updated" xmlns="http://www.w3.org/1999/html"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
89
- <?php
90
- }
91
- ?>
92
- <div class="wrap" id="revechat">
93
-
94
- <div>
95
- <div class="reve-chat-logo">
96
- <img src="<?php echo plugin_dir_url( __FILE__ )."images/logo.png";?>" alt="REVE Chat">
97
- </div>
98
-
99
- <form name="form1" id="revechat-admin-settings-form" method="post" action="">
100
-
101
- <?php
102
- if(isset($val_accountId) && $val_accountId != 0){
103
- require (plugin_dir_path( __FILE__ )."includes/remove-form.php");
104
- echo '</div>';
105
- return;
106
- }
107
-
108
- require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
109
- ?>
110
- <div class="form-item form-type-item" id="edit-ajax-message">
111
- <p class="ajax_message"></p>
112
- </div>
113
- <?php
114
- require (plugin_dir_path( __FILE__ )."includes/login-form.php");
115
- require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
116
- ?>
117
-
118
- </form>
119
- </div>
120
- </div>
121
-
122
- <?php
123
- }
124
-
125
- /**
126
- * Add page in admin menu
127
- */
128
- public function admin_menu()
129
- {
130
- add_menu_page(__($this->plugin->displayName.' Dashboard','revechat-settings'), __($this->plugin->displayName,'menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions'), plugin_dir_url( __FILE__ )."images/favicon.png");
131
- }
132
-
133
- /**
134
- * Deactivate the plugin
135
- */
136
-
137
- public static function deactivate()
138
- {
139
- delete_option('revechat_accountid');
140
- }
141
-
142
-
143
- /**
144
- * Enque JavaScript and Css in admin panel
145
- */
146
- public function admin_scripts(){
147
-
148
- wp_enqueue_script( 'jquery');
149
-
150
- wp_enqueue_script( 'revechat-admin-script', plugin_dir_url( __FILE__ ) . '/js/revechat-admin.js',array('jquery') );
151
-
152
- wp_enqueue_style( 'custom_wp_admin_css',plugin_dir_url( __FILE__ ).'css/admin-styles.css' );
153
- }
154
-
155
- function add_action_links ( $links ) {
156
- $menu_link = array(
157
- '<a href="' . admin_url( 'admin.php?page=revechatsettings' ) . '">Settings</a>',
158
- );
159
- return array_merge( $links, $menu_link );
160
- }
161
- }
162
- } // END if(!class_exists('WP_Plugin_Revechat'))
163
-
164
- $revechat = new WP_Plugin_Revechat();
165
-
166
- register_deactivation_hook( __FILE__, array( 'WP_Plugin_Revechat', 'deactivate' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/4.0/screenshot-1.jpg DELETED
Binary file
tags/4.0/screenshot-2.jpg DELETED
Binary file
tags/4.0/screenshot-3.jpg DELETED
Binary file
tags/4.0/screenshot-4.jpg DELETED
Binary file
tags/4.0/screenshot-5.jpg DELETED
Binary file
tags/4.0/screenshot-6.jpg DELETED
Binary file
tags/4.0/screenshot-7.jpg DELETED
Binary file
tags/4.0/screenshot-8.jpg DELETED
Binary file
tags/4.0/screenshot-9.jpg DELETED
Binary file
tags/5.0/css/admin-styles.css DELETED
@@ -1,109 +0,0 @@
1
- #revechat ul#revechat_choose_form{}
2
- #revechat ul#revechat_choose_form li{
3
- list-style: none;
4
- display: block;
5
- }
6
- #revechat ul#revechat_choose_form li label{
7
- display: inline-block;
8
- }
9
- #revechat .revechat_email_error{
10
- color: red;
11
- }
12
- #revechat .ajax_message {
13
- display: none;
14
- background: url(ajax_loader.gif) no-repeat 24px 51%;
15
- padding: 0;
16
- margin-top: 1em;
17
- }
18
- #revechat .ajax_message.wait,
19
- #revechat .ajax_message.message
20
- {
21
- display: block;
22
- font-size: 1.2em;
23
- padding: 20px;
24
- box-shadow: 2px 2px 2px rgba(0,0,0,.2);
25
- }
26
- #revechat .ajax_message.wait {
27
- text-indent: 28px;
28
- background-color: #fff;
29
- }
30
- #revechat .ajax_message.message {
31
- background-image: none;
32
- text-indent: 0px;
33
- }
34
-
35
- #revechat .ajax_message.message.alert{
36
- background-color: #f2dede;
37
- border-color: #ebccd1;
38
- color: #a94442;
39
- padding: 20px;
40
- }
41
- #revechat .ajax_message.message.success{
42
- background-color: #dff0d8;
43
- border: 1px solid #dff0d8;
44
- color: #3c763d;
45
- padding: 20px;
46
- }
47
- #revechat .revechat_success_message{
48
- background: #ffffff;
49
- padding: 50px;
50
- height: auto;
51
- font-size: 1.5em;
52
- border-bottom: 5px solid #F16915;
53
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
54
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
55
- box-shadow: 0px 0px 6px rgba(0,0,0,.3);
56
- }
57
- #revechat .revechat_success_message h3{
58
- font-weight: bold;
59
- border-bottom: 1px solid #B1B4B9;
60
- padding-bottom: 20px;
61
- line-height: 2em;
62
- }
63
- #revechat .messages.revechat_success{
64
- background-color: #dff0d8;
65
- border: 1px solid #bee99a;
66
- color: #3c763d;
67
- padding: 20px;
68
- margin-bottom: 30px;
69
- font-weight: 600;
70
- }
71
- #revechat .form-submit{
72
- background: #FF5800 none repeat scroll 0 0;
73
- border-color: #bd4302 #ab3c02 #ab3c02;
74
- -webkit-box-shadow: 0 1px 0 #ab3c02;
75
- box-shadow: 0 1px 0 #ab3c02;
76
- color: #fff;
77
- text-decoration: none;
78
- text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
79
- }
80
- #revechat .box {
81
- background: #ffffff;
82
- border: 1px solid #e5e5e5;
83
- padding: 20px;
84
- margin-bottom: 50px;
85
- }
86
- #revechat #revechat-admin-settings-form {
87
- padding: 18px;
88
- }
89
- #revechat fieldset {
90
- border: 1px solid #c0c0c0;
91
- margin-top: 20px;
92
- }
93
- #revechat #revechat_already_have > h3 {
94
- margin-top: 19px;
95
- }
96
- #revechat ul#revechat_choose_form li {
97
- display: block;
98
- list-style: outside none none;
99
- padding-left: 20px;
100
- }
101
-
102
- #revechat .form-item > label {
103
- display: table;
104
- margin-bottom: 11px;
105
- margin-top: 20px;
106
- }
107
- #revechat input.form-submit{
108
- cursor: pointer;
109
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/5.0/css/ajax_loader.gif DELETED
Binary file
tags/5.0/images/favicon.png DELETED
Binary file
tags/5.0/images/logo.png DELETED
Binary file
tags/5.0/includes/choose-form.php DELETED
@@ -1,13 +0,0 @@
1
- <div id="edit-choose-form" class="box">
2
- <h3>Do you already have a REVE Chat account?</h3>
3
- <ul id="revechat_choose_form">
4
- <li>
5
- <input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
6
- <label for="has_revechat_account">Yes, I already have a REVE Chat account</label>
7
- </li>
8
- <li>
9
- <input type="radio" id="new_revechat_account" name="revechat_choose_form">
10
- <label for="new_revechat_account">No, I want to create one</label>
11
- </li>
12
- </ul>
13
- </div><!-- Edit Choose Form -->
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/5.0/includes/login-form.php DELETED
@@ -1,23 +0,0 @@
1
- <div id="revechat_already_have" class="box">
2
- <h3>Account Details</h3>
3
- <table class="form-table">
4
- <tbody>
5
- <tr>
6
- <th>
7
- <label for="edit-revechat-account-email">
8
- <?php
9
- _e("REVE Chat login email");
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email" placeholder="Enter your email address">
15
- <input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
16
- </td>
17
- </tr>
18
- </tbody>
19
- </table>
20
- <p class="submit">
21
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
22
- </p>
23
- </div><!-- revechat_already_have -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/5.0/includes/remove-form.php DELETED
@@ -1,10 +0,0 @@
1
- <div class="box">
2
- <h3>REVE Chat has been installed.</h3>
3
- <p>Sign in to REVE Chat Dashboard and start chatting with your customers.</p>
4
- <p><a href="https://dashboard.revechat.com" class="form-submit button-primary" target="_blank">Go to Dashboard</a></p>
5
-
6
- <div id="edit-actions" class="form-actions form-wrapper">
7
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
8
- <p><small>Something went wrong? <input type="submit" style="background: transparent; border: 0; text-decoration: underline;text-transform: lowercase; font-size: 10px; cursor: pointer;" value="Disconnect" name="revechat_remove" id="edit-submit"></small></p>
9
- </div>
10
- </div>
 
 
 
 
 
 
 
 
 
 
tags/5.0/includes/signup-form.php DELETED
@@ -1,75 +0,0 @@
1
- <div id="revechat_new_account" class="box">
2
-
3
- <h3>Create a new REVE Chat account</h3>
4
- <table class="form-table">
5
- <tr>
6
- <th>
7
- <label for="edit-firstname">
8
- <?php
9
- _e("First Name")
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="text" class="regular-text" name="firstName" id="edit-firstname" placeholder="First Name">
15
- </td>
16
- </tr>
17
-
18
-
19
- <tr>
20
- <th>
21
- <label for="edit-lastname">
22
- <?php
23
- _e("Last Name")
24
- ?>
25
- </label>
26
- </th>
27
- <td>
28
- <input type="text" class="regular-text" name="firstName" id="edit-lastname" placeholder="Last Name">
29
- </td>
30
- </tr>
31
-
32
- <tr>
33
- <th>
34
- <label for="edit-email">
35
- <?php
36
- _e('Email Address')
37
- ?>
38
- </label>
39
-
40
- </th>
41
- <td>
42
- <input type="text" class="regular-text" name="email" id="edit-email" placeholder="Email address">
43
- </td>
44
- </tr>
45
-
46
- <tr>
47
- <th>
48
- <label for="edit-accountpassword">
49
- <?php
50
- _e('Password')
51
- ?>
52
- </label>
53
- </th>
54
- <td>
55
- <input type="password" class="regular-text" name="edit-accountpassword" id="edit-accountpassword" placeholder="Password">
56
- </td>
57
- </tr>
58
-
59
- <tr>
60
- <th>
61
- <label for="edit-retypepassword">
62
- <?php
63
- _e('Confirm your password')
64
- ?>
65
- </label>
66
- </th>
67
- <td>
68
- <input type="password" class="regular-text" name="edit-retypepassword" id="edit-retypepassword" placeholder="Confirm your password">
69
- </td>
70
- </tr>
71
- </table>
72
- <p class="submit">
73
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Create Account') ?>" />
74
- </p>
75
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/5.0/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/5.0/js/revechat-admin.js DELETED
@@ -1,208 +0,0 @@
1
- jQuery.noConflict();
2
- (function($){
3
- var baseUrl = 'https://dashboard.revechat.com/';
4
- var ReveChat ={
5
- init: function () {
6
- this.toggleForms();
7
- this.bindFormSubmit();
8
- },
9
-
10
- toggleForms: function ()
11
- {
12
- var toggleForms = function ()
13
- {
14
- if ($('#new_revechat_account').is(':checked'))
15
- {
16
- $('#revechat_already_have').hide();
17
- $('#revechat_new_account').show();
18
- }
19
- else if ($('#has_revechat_account').is(':checked'))
20
- {
21
- $('#revechat_new_account').hide();
22
- $('#revechat_already_have').show();
23
- $('#edit-revechat-account-email').focus();
24
- }
25
- };
26
- toggleForms();
27
-
28
- $('#revechat_choose_form input').click(toggleForms);
29
- },
30
-
31
- bindFormSubmit: function () {
32
- $('#revechat-admin-settings-form').submit(function(e)
33
- {
34
-
35
- if($('#edit-submit').val() == 'Disconnect'){
36
- $('#revechat_aid').val(0);
37
- $('#revechat-admin-settings-form').submit();
38
- }
39
- if (((parseInt($('#revechat_aid').val()) !== 0) || $('#has_revechat_account').is(':checked')))
40
- {
41
- return ReveChat.alreadyHaveAccountForm();
42
- }
43
- else
44
- {
45
- return ReveChat.newLicenseForm();
46
- }
47
-
48
- });
49
- },
50
-
51
- alreadyHaveAccountForm: function()
52
- {
53
- var email = $.trim($('#edit-revechat-account-email').val());
54
-
55
- if(ReveChat.isValidEmailAddress(email))
56
- {
57
- if((parseInt($('#revechat_aid').val()) == 0 || $('#revechat_aid').val() == ""))
58
- {
59
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait&hellip;');
60
-
61
- ReveChat.signIn(email);
62
- return false;
63
- }
64
- }
65
- else
66
- {
67
- alert('Please provide a valid email address');
68
- $('#edit-revechat-account-email').focus();
69
- return false;
70
- }
71
- return true;
72
- },
73
- signIn: function (email) {
74
- var signInUrl = baseUrl +'/license/adminId/'+email+'/?callback=?';
75
- $.getJSON(signInUrl,
76
- function(response)
77
- {
78
- if (response.error)
79
- {
80
- alert('Incorrect REVE Chat login');
81
- $('.ajax_message').removeClass('wait');
82
- $('#edit-revechat-account-email').focus();
83
- return false;
84
- }
85
- else
86
- {
87
- $('#revechat_aid').val(response.data.account_id);
88
- $('#revechat-admin-settings-form').submit();
89
- }
90
- });
91
- },
92
- newLicenseForm: function()
93
- {
94
- if (parseInt(($('#revechat_aid').val()) > 0))
95
- {
96
- return true;
97
- }
98
-
99
- if(this.validateNewLicenseForm())
100
- {
101
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
102
- ReveChat.createLicense();
103
- }
104
- return false;
105
- },
106
- createLicense: function()
107
- {
108
-
109
- $('.ajax_message').removeClass('message').addClass('wait').html('Creating new account&hellip;');
110
-
111
- var firstName = $.trim($('#edit-firstname').val());
112
- var lastName = $.trim($('#edit-lastname').val());
113
- var email = $.trim($('#edit-email').val());
114
- var password = $.trim($('#edit-accountpassword').val());
115
- var rePassword = $.trim($('#edit-retypepassword').val());
116
-
117
- var signUpUrl = baseUrl + 'revechat/cms/api/signup.do';
118
-
119
- $.ajax({
120
- data: { 'firstname':firstName, 'lastname':lastName, 'mailAddr':email, 'password':password, 'utm_source':'cms', 'utm_content':'wordpress', 'referrer':'https://wordpress.org/plugins/' },
121
- type:'POST',
122
- url:signUpUrl,
123
- dataType: 'json',
124
- cache:false,
125
- success: function(response) {
126
- if(response.status == 'error')
127
- {
128
- $('.ajax_message').removeClass('wait');
129
- alert(response.message);
130
- return false;
131
- }
132
- else if(response.status == 'success')
133
- {
134
- $('#edit-revechat-account-email').val(email);
135
- ReveChat.signIn(email);
136
- return false;
137
- }
138
- }
139
- });
140
- },
141
- validateNewLicenseForm: function()
142
- {
143
-
144
- var firstName = $.trim($('#edit-firstname').val());
145
- var lastName = $.trim($('#edit-lastname').val());
146
- var email = $.trim($('#edit-email').val());
147
- var password = $.trim($('#edit-accountpassword').val());
148
- var rePassword = $.trim($('#edit-retypepassword').val());
149
-
150
-
151
-
152
- if (!firstName.length)
153
- {
154
- alert('Please provide your first name.');
155
- $('.ajax_message').removeClass('wait');
156
- $('#edit-firstname').focus();
157
- return false;
158
- }
159
-
160
- if (!lastName.length)
161
- {
162
- alert('Please provide your last name.');
163
- $('.ajax_message').removeClass('wait');
164
- $('#edit-lastname').focus();
165
- return false;
166
- }
167
-
168
- if (!ReveChat.isValidEmailAddress(email))
169
- {
170
- alert('Please provide your valid email address.');
171
- $('.ajax_message').removeClass('wait');
172
- $('#edit-email').focus();
173
- return false;
174
- }
175
-
176
- if(password.length < 6){
177
- alert('Please provide your password. The password must be at least 6 characters long.')
178
- $('.ajax_message').removeClass('wait');
179
- $('#edit-accountpassword').focus();
180
- return false;
181
- }
182
-
183
- if(!rePassword.length || password.length < 6){
184
- alert('Please retype your password.');
185
- $('.ajax_message').removeClass('wait');
186
- $('#edit-retypepassword').focus();
187
- return false;
188
- }
189
-
190
- if(password != rePassword){
191
- alert('Password does not match the confirm password.');
192
- $('.ajax_message').removeClass('wait');
193
- return false;
194
- }
195
-
196
-
197
- return true;
198
- },
199
- isValidEmailAddress: function (emailAddress) {
200
- var pattern = /^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i;
201
- return pattern.test(emailAddress);
202
- },
203
- }
204
- $(document).ready(function()
205
- {
206
- ReveChat.init();
207
- });
208
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/5.0/readme.txt DELETED
@@ -1,209 +0,0 @@
1
- === REVE Chat - WP live chat plugin for WordPress ===
2
- Contributors: revechat
3
- Tags: free chat, live chat, live chat software, live support, chat plugin, chat, video chat, voice chat, tawk.to
4
- Requires at least: 2.7
5
- Tested up to: 4.9.4
6
- Stable tag: 4.0
7
-
8
- REVE Chat is powerful and intuitive real-time customer engagement software.
9
-
10
- == Description ==
11
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display.
12
-
13
- https://youtu.be/t1dykZ9Tg8U
14
-
15
- In the fast paced ambience of live customer support, the efficient usage of valuable time is the main key to both happy customers and professional management. Traditionally interactions between support agents and customers have been restricted to one-on-one supports over phones or emails. Live chat for customer support has now become the alternative that today's multitasking and net savvy generation is looking for. It offers quick response in real time and higher customer satisfaction which can generate more conversions. In the era of automated customer assistance systems, the chance to chat with a person in real time through your website is a distinct feature. Now just like a sales person in the shop, talk to the visitors of your website in real-time.
16
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use. So place this customizable REVE Chat widget to your business and start getting sales conversion and higher customer satisfaction.
17
-
18
- **Key Features**
19
-
20
- * **Real-time Visitor Info:** Agent as well as Admin can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
21
- * **Proactive Chat:** Proactive chat enables agents to initiate a Chat request from their Chat Window. Moreover Trigger based proactive chat automatically sends customized chat alerts for the visitors on the website.
22
- * **Chat Monitoring:** Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents
23
- * **Click to Call:** Click to call is a powerful solution that can be implemented on REVE Chat to offer real-time voice assistance to online customers. It allows visitor and agent to initiate Voice and Video Call from their Chat window.
24
- * **Queuing:** With this chat software handle chat requests efficiently when all your agents are busy. REVE live chat software gives information to website visitors regarding their waiting time in the chat queue
25
- * **Facebook Integration:** REVE Chat allows you to engage with your potential customers through your company Facebook page. Facebook is very effective tool for business. Smart use of social media increases sales, retention and customer satisfaction. REVE Chat Facebook app makes it easier than ever to engage online visitors. Facebook integration lets customers reach you directly on your Facebook fan page, whether or not you are online, increasing customer happiness and organic marketing and outreach.
26
-
27
-
28
- **What makes Reve Chat the best choice for live chat?**
29
-
30
- * A simple and highly customizable Live chat solution
31
- * User friendly interface and Dashboard
32
- * Intuitive Chat Window
33
- * Innovative and unique features
34
- * 24x7 hour live chat support from our trained experts on any weekday (visit revechat.com)
35
-
36
- **Supported Language**
37
-
38
- * Arabic | Bangla | Chinese | Dutch | English | French| German | Hindi | Italian | Japanese | Korean | Malay | Polish | Portuguese | Romanian | Russian | Spanish | Swedish | Tagalog | Turkish | Vietnamese
39
-
40
-
41
- **Some Geeky Facts**
42
-
43
- * Work across major browsers (Internet Explorer 7+, Firefox, Google Chrome, Opera, Safari).
44
- * Average uptime is 99.8%.
45
- * Mobile Optimized Dashboard
46
-
47
-
48
-
49
- Should you need any assistance, feel free to chat with our customer advocates on www.revechat.com or email us at support@revechat.com
50
-
51
-
52
- == Changelog ==
53
-
54
-
55
- = 1.2.0 =
56
-
57
- * Feature: Add the Reve chat widget to your site!
58
- * Feature: Customize look and feel of the widget, including themes and color!
59
-
60
- = 2.0 =
61
- * New Admin Menu page for REVE Chat
62
- * New for integration
63
- * Added link of settings page to display on the plugins page (beside the activate/deactivate links).
64
-
65
- = 2.0.1 =
66
- * Updated chat script
67
-
68
- = 2.0.3 =
69
- * updated the UI
70
-
71
- = 3.0 =
72
- * introduced new signup process
73
- * fixed signin bug
74
-
75
- == Screenshots ==
76
-
77
- 1. Chat window on your website - active chat
78
- 2. Account Configuration - Link Up
79
- 3. Account Configuration - Linked Up with Launch Dashboard
80
- 4. Dashboard View - Open new browser tab
81
- 5. Widget Customization from Dashboard
82
-
83
- == Frequently Asked Questions ==
84
-
85
- = Do I have to install any software on my server to get this working? =
86
-
87
- REVE Chat plugin need to be installed from your wordpress panel. It is a cloud based live chat software hence it would only activate the script when you install the plugin.
88
-
89
- = Why should I use REVE Chat? =
90
-
91
- REVE chat is a complete online sales and support tool to engage your website visitors. With advanced features such as Click to call, Facebook Chat Integration, Queuing, Chat Monitoring and others, REVE Chat provides full insights to communicate with your visitors to become your loyal customers.
92
-
93
- = Which web browsers work best with this plugin =
94
-
95
- Though it is designed to work on almost all the browsers, REVE Chat works best in the following environment: IE 7+ or later (PC), Firefox 2 or later (Mac, PC, or Linux), Safari 2 or later (Mac), Google Chrome (PC, Mac).
96
-
97
- = How much is price of REVE Chat? =
98
-
99
- REVE Chat plugin in free to install and it offers a complete 14 days free trial to understand its all features. REVE Chat offers 3 packages
100
- 1. Basic (Free)
101
- 2. Standard
102
- 3. Advanced
103
- Please click here to find out more about pricing
104
- The plugin is completely free to install. However if you want to use Standard and Advanced REVE Chat package then you have to purchase the package.
105
-
106
- = How can I chat with more visitors at the same time? =
107
-
108
- REVE Chat allows unlimited concurrent chats for the paid plans. Hence you can chat with as many visitors as you want at the same time. REVE Chat also allows you to proactively chat with your website visitors before they leave your website
109
-
110
- = How can I take further information regarding REVE Chat? =
111
-
112
- You can find out more at our site at http://www.revechat.com or at support@revechat.com and we will help you with installation.
113
-
114
- = Is there any demo or trial period to do some testing? =
115
-
116
- Yes, defiantly you can use all the features of REVE Chat for 14days in the trial period.
117
-
118
- = Can I customize the REVE Chat window? =
119
-
120
- Yes, REVE Chat window is customizable. Some of the things which you can change in the chat window include:
121
-
122
- * Changing the colour scheme
123
- * Changing the font size
124
- * Chat Widget text
125
- * Offline Widget Text
126
- * Prechat & Post chat form
127
-
128
- = Can I add REVE Chat on more than one website at the same time? =
129
-
130
- Yes, there is no limit on websites for the paid plans. However our free Basic package has limited features and it can be used only on one website.
131
-
132
- == Usage ==
133
-
134
- = Agent management =
135
-
136
- From the dashboard you to keep a track on your agents with its special agent management feature. Here you can add your agents and see all the details like status, last login time, total no of assigned concurrent chat of each and every agent etc. In real time which will help you to manage your support service more efficiently
137
-
138
- = How to configuring a chat operator =
139
-
140
- Please follow the below mentioned directions to manage your agents.
141
- * After logging in to your REVE Chat dash board, click on 'Agent Management' option. Here you will get the below mentioned information:
142
- * List of your agent names
143
- * Roles assigned to each and every agent
144
- * Email address of your agents
145
- * Phone numbers of your agents
146
- * Status of your agents online or offline
147
- * Each and every agent's last login time
148
- * Total number of concurrent chats assigned to each and every agent
149
-
150
-
151
- = Agent creation =
152
-
153
- To create an agent, you need to follow the below mentioned steps:
154
- * Login to your REVE Chat dashboard
155
- * Click on 'Agent Management'
156
- * For adding your agent, click on the 'Create Agent' option
157
- * After that you need to fill up a from mentioning the email address, password, role which you want to assign to the agent, total no of concurrent chats you want to assign to that agent, the agent's first and last name, designation and contact no. After that click on the 'Submit' button
158
-
159
- = Chat Conversation =
160
-
161
- In the conversation box agent can directly engage with visitor. Each message is accompanied by the name of the person who sent that message and a timestamp so you can easily follow the conversation
162
-
163
- = Engaged Visitors =
164
-
165
- In the top left side corner of the panel Chat operator can see all of his on-going chats.
166
-
167
- = Online Agents =
168
-
169
- Chat operator can chat with other operators from the same Chat Window. At the left corner there is a menu called Online Agents. In that menu all the logged in operators name will be shown. By clicking one operator name you can start conversation with him.
170
-
171
- = New Chat Request =
172
-
173
- Agents can see new chat requests from website visitors on the left side corner of their dashboard.
174
-
175
- = Chat Panel =
176
-
177
- The central position is for running conversation. Agent will type from the messaging field and also share file by clicking attachment file. There are some other fields in the chat panel.
178
- * History: Agent can see all the previous chat conversations of that particular visitors.
179
- * Chat Transfer: Agent can easily transfer a chat to other agent. This transfer chat option is available in the chat window itself. Agent can click on it and select to whom he wants to transfer the chat. The new chat agent can take over the current live chat conversation without breaking the chat session
180
- * Visitor Info: Agent can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
181
- * Map: During the chat session chat operator can see the visitor real time location map.
182
-
183
- = Online Visitors =
184
-
185
- In the online visitor list agent can see all the web visitors who are currently viewing your websites. You can see their current viewing page, city name and visiting time. Besides you can also send a proactive chat request to the visitor to know whether they need any sort of help or not.
186
-
187
- = Queued Visitor =
188
-
189
- Queued Visitor list will show who is the visitors is waiting for Live Chat. It gives information to your website visitors regarding their waiting time in chat queue and sets accurate response time expectations.
190
-
191
- = Monitoring Panel =
192
-
193
- Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents.
194
-
195
- <a href="https://www.revechat.com/signup/?utm_source=wordpress.org&utm_medium=integration&utm_campaign=WordpressIntegration" target="_blank">Signup for our Live Chat here</a>
196
-
197
- == Installation ==
198
-
199
- *Server Requirements:* PHP4 or PHP5.
200
-
201
- *Wordpress versions:* Wordpress 2.7 and up.
202
-
203
- = Step-by-step Guide =
204
- * Search Plugin from Wordpress Directory
205
- * Install REVE Chat plugin
206
- * Go to REVE Chat plugin settings page.
207
- * Type your email address in the input field and submit.
208
- * Finally, make full use of our intuitive Dashboard to manage your chat widget.
209
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/5.0/revechat.php DELETED
@@ -1,203 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: REVE Chat - WP live chat plugin for WordPress
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 5.0
6
- Author: REVE Chat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- /**
13
- * Core class which interacts with
14
- * WordPress hooks and filters
15
- */
16
- class WP_Plugin_Revechat
17
- {
18
- /**
19
- * Constructor method of the plugin object.
20
- * This method initialize the stdClass,
21
- * defines plugin name, plugin display name etc.
22
- *
23
- * This method also calls necessary wodpress hooks and filters.
24
- * for more about hooks please visit @link [https://developer.wordpress.org/reference/functions/add_action/]
25
- * for more information on filters @link [https://developer.wordpress.org/reference/functions/add_filter/]
26
- */
27
- public function __construct()
28
- {
29
- // Plugin Details
30
- $this->plugin = new stdClass;
31
- $this->plugin->name = 'revechat'; // Plugin Folder
32
- $this->plugin->displayName = 'REVE Chat'; // Plugin Name
33
-
34
- // Hooks
35
- add_action('admin_init', array(&$this, 'registerSettings'));
36
-
37
- add_action('wp_head', array(&$this, 'frontendHeader'));
38
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
39
-
40
- // Add Menu Page
41
- add_action('admin_menu',array($this,'admin_menu'));
42
-
43
- //enqueue scripts
44
- add_action('admin_enqueue_scripts',array($this,'admin_scripts'));
45
-
46
- } // END public function __construct
47
-
48
- /**
49
- * REVE Chat widget script.
50
- *
51
- * This script will be rendered in frontend of the site.
52
- * This funtion is called when wp_head action triggered.
53
- * The wp_head action hook is triggered within the <head></head> section of the user's template
54
- * by the wp_head() function. Although this is theme-dependent,
55
- * it is one of the most essential theme hooks, so it is widely supported.
56
- *
57
- */
58
- public static function frontendHeader()
59
- {
60
- $accountId = get_option('revechat_accountid' , '');
61
- if( (isset($accountId) && !empty($accountId)) ) {
62
-
63
- $script = "<script type='text/javascript'>";
64
- $script .= 'window.$_REVECHAT_API || (function(d, w) { var r = $_REVECHAT_API = function(c) {r._.push(c);}; w.__revechat_account=\''.$accountId.'\';w.__revechat_version=2;
65
- r._= []; var rc = d.createElement(\'script\'); rc.type = \'text/javascript\'; rc.async = true; rc.setAttribute(\'charset\', \'utf-8\');
66
- rc.src = (\'https:\' == document.location.protocol ? \'https://\' : \'http://\') + \'static.revechat.com/widget/scripts/new-livechat.js?\'+new Date().getTime();
67
- var s = d.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(rc, s);
68
- })(document, window);';
69
-
70
- $script .='</script>';
71
-
72
- echo $script ;
73
-
74
- }
75
-
76
- }
77
-
78
- /**
79
- * Register a setting and its data.
80
- * refer to @link [https://developer.wordpress.org/reference/functions/register_setting/]
81
- * for more information about register setting
82
- */
83
- public function registerSettings(){
84
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
85
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
86
- }
87
-
88
- /**
89
- * Render the settings form
90
- */
91
- public function reveChatOptions(){
92
- if ( !current_user_can( 'manage_options' ) ) {
93
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
94
- }
95
- // variables for the field and option names
96
- $accountId = 'revechat_accountid';
97
-
98
- // Read in existing option value from database
99
- $val_accountId = get_option( $accountId );
100
-
101
- if( isset($_POST[ $accountId ])){
102
-
103
- // Read in existing option value from POST
104
- $val_accountId = $_POST[ $accountId ];
105
- update_option( $accountId , $val_accountId );
106
- ?>
107
- <div class="updated" xmlns="http://www.w3.org/1999/html"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
108
- <?php
109
- }
110
- ?>
111
- <div class="wrap" id="revechat">
112
-
113
- <div>
114
- <div class="reve-chat-logo">
115
- <img src="<?php echo plugin_dir_url( __FILE__ )."images/logo.png";?>" alt="REVE Chat">
116
- </div>
117
-
118
- <form name="form1" id="revechat-admin-settings-form" method="post" action="">
119
-
120
- <?php
121
- if(isset($val_accountId) && $val_accountId != 0){
122
- require (plugin_dir_path( __FILE__ )."includes/remove-form.php");
123
- echo '</div>';
124
- return;
125
- }
126
-
127
- require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
128
- ?>
129
- <div class="form-item form-type-item" id="edit-ajax-message">
130
- <p class="ajax_message"></p>
131
- </div>
132
- <?php
133
- require (plugin_dir_path( __FILE__ )."includes/login-form.php");
134
- require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
135
- ?>
136
-
137
- </form>
138
- </div>
139
- </div>
140
-
141
- <?php
142
- }
143
-
144
- /**
145
- * Add page in admin menu
146
- * This method takes a capability which will be used to determine whether or not a page is included in the menu.
147
- * this method which is hooked in to handle the output of the page also check that the user has the required
148
- * capability as well.
149
- */
150
- public function admin_menu()
151
- {
152
- add_menu_page(__($this->plugin->displayName.' Dashboard','revechat-settings'), __($this->plugin->displayName,'menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions'), plugin_dir_url( __FILE__ )."images/favicon.png");
153
- }
154
-
155
- /**
156
- * Triggers when the user deactivate/uninstall the plugin.
157
- * this method simply delete all the data of this
158
- * plugin from database.
159
- */
160
-
161
- public static function deactivate()
162
- {
163
- delete_option('revechat_accountid');
164
- }
165
-
166
-
167
- /**
168
- * Load necessary JavaScript and CSS library
169
- * in admin panel.
170
- */
171
- public function admin_scripts(){
172
-
173
- wp_enqueue_script( 'jquery');
174
-
175
- wp_enqueue_script( 'revechat-admin-script', plugin_dir_url( __FILE__ ) . '/js/revechat-admin.js',array('jquery') );
176
-
177
- wp_enqueue_style( 'custom_wp_admin_css',plugin_dir_url( __FILE__ ).'css/admin-styles.css' );
178
- }
179
-
180
- /**
181
- * Applied to the list of links to display on the plugins page (beside the activate/deactivate links).
182
- *
183
- * @param $links
184
- * @return array
185
- */
186
- function add_action_links ( $links ) {
187
- $menu_link = array(
188
- '<a href="' . admin_url( 'admin.php?page=revechatsettings' ) . '">Settings</a>',
189
- );
190
- return array_merge( $links, $menu_link );
191
- }
192
- }
193
- } // END if(!class_exists('WP_Plugin_Revechat'))
194
-
195
- /**
196
- * Initialize the core class
197
- */
198
- $revechat = new WP_Plugin_Revechat();
199
-
200
- /**
201
- * Register the deactivation hook.
202
- */
203
- register_deactivation_hook( __FILE__, array( 'WP_Plugin_Revechat', 'deactivate' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/5.0/screenshot-1.jpg DELETED
Binary file
tags/5.0/screenshot-2.jpg DELETED
Binary file
tags/5.0/screenshot-3.jpg DELETED
Binary file
tags/5.0/screenshot-4.jpg DELETED
Binary file
tags/5.0/screenshot-5.jpg DELETED
Binary file
tags/5.0/screenshot-6.jpg DELETED
Binary file
tags/5.0/screenshot-7.jpg DELETED
Binary file
tags/5.0/screenshot-8.jpg DELETED
Binary file
tags/5.0/screenshot-9.jpg DELETED
Binary file
tags/6.1.0/css/admin-styles.css DELETED
@@ -1,109 +0,0 @@
1
- #revechat ul#revechat_choose_form{}
2
- #revechat ul#revechat_choose_form li{
3
- list-style: none;
4
- display: block;
5
- }
6
- #revechat ul#revechat_choose_form li label{
7
- display: inline-block;
8
- }
9
- #revechat .revechat_email_error{
10
- color: red;
11
- }
12
- #revechat .ajax_message {
13
- display: none;
14
- background: url(ajax_loader.gif) no-repeat 24px 51%;
15
- padding: 0;
16
- margin-top: 1em;
17
- }
18
- #revechat .ajax_message.wait,
19
- #revechat .ajax_message.message
20
- {
21
- display: block;
22
- font-size: 1.2em;
23
- padding: 20px;
24
- box-shadow: 2px 2px 2px rgba(0,0,0,.2);
25
- }
26
- #revechat .ajax_message.wait {
27
- text-indent: 28px;
28
- background-color: #fff;
29
- }
30
- #revechat .ajax_message.message {
31
- background-image: none;
32
- text-indent: 0px;
33
- }
34
-
35
- #revechat .ajax_message.message.alert{
36
- background-color: #f2dede;
37
- border-color: #ebccd1;
38
- color: #a94442;
39
- padding: 20px;
40
- }
41
- #revechat .ajax_message.message.success{
42
- background-color: #dff0d8;
43
- border: 1px solid #dff0d8;
44
- color: #3c763d;
45
- padding: 20px;
46
- }
47
- #revechat .revechat_success_message{
48
- background: #ffffff;
49
- padding: 50px;
50
- height: auto;
51
- font-size: 1.5em;
52
- border-bottom: 5px solid #F16915;
53
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
54
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
55
- box-shadow: 0px 0px 6px rgba(0,0,0,.3);
56
- }
57
- #revechat .revechat_success_message h3{
58
- font-weight: bold;
59
- border-bottom: 1px solid #B1B4B9;
60
- padding-bottom: 20px;
61
- line-height: 2em;
62
- }
63
- #revechat .messages.revechat_success{
64
- background-color: #dff0d8;
65
- border: 1px solid #bee99a;
66
- color: #3c763d;
67
- padding: 20px;
68
- margin-bottom: 30px;
69
- font-weight: 600;
70
- }
71
- #revechat .form-submit{
72
- background: #FF5800 none repeat scroll 0 0;
73
- border-color: #bd4302 #ab3c02 #ab3c02;
74
- -webkit-box-shadow: 0 1px 0 #ab3c02;
75
- box-shadow: 0 1px 0 #ab3c02;
76
- color: #fff;
77
- text-decoration: none;
78
- text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
79
- }
80
- #revechat .box {
81
- background: #ffffff;
82
- border: 1px solid #e5e5e5;
83
- padding: 20px;
84
- margin-bottom: 50px;
85
- }
86
- #revechat #revechat-admin-settings-form {
87
- padding: 18px;
88
- }
89
- #revechat fieldset {
90
- border: 1px solid #c0c0c0;
91
- margin-top: 20px;
92
- }
93
- #revechat #revechat_already_have > h3 {
94
- margin-top: 19px;
95
- }
96
- #revechat ul#revechat_choose_form li {
97
- display: block;
98
- list-style: outside none none;
99
- padding-left: 20px;
100
- }
101
-
102
- #revechat .form-item > label {
103
- display: table;
104
- margin-bottom: 11px;
105
- margin-top: 20px;
106
- }
107
- #revechat input.form-submit{
108
- cursor: pointer;
109
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.0/css/ajax_loader.gif DELETED
Binary file
tags/6.1.0/images/favicon.png DELETED
Binary file
tags/6.1.0/images/logo.png DELETED
Binary file
tags/6.1.0/includes/choose-form.php DELETED
@@ -1,13 +0,0 @@
1
- <div id="edit-choose-form" class="box">
2
- <h3>Do you already have a REVE Chat account?</h3>
3
- <ul id="revechat_choose_form">
4
- <li>
5
- <input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
6
- <label for="has_revechat_account">Yes, I already have a REVE Chat account</label>
7
- </li>
8
- <li>
9
- <input type="radio" id="new_revechat_account" name="revechat_choose_form">
10
- <label for="new_revechat_account">No, I want to create one</label>
11
- </li>
12
- </ul>
13
- </div><!-- Edit Choose Form -->
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.0/includes/login-form.php DELETED
@@ -1,23 +0,0 @@
1
- <div id="revechat_already_have" class="box">
2
- <h3>Account Details</h3>
3
- <table class="form-table">
4
- <tbody>
5
- <tr>
6
- <th>
7
- <label for="edit-revechat-account-email">
8
- <?php
9
- _e("REVE Chat login email");
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email" placeholder="Enter your email address">
15
- <input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
16
- </td>
17
- </tr>
18
- </tbody>
19
- </table>
20
- <p class="submit">
21
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
22
- </p>
23
- </div><!-- revechat_already_have -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.0/includes/remove-form.php DELETED
@@ -1,10 +0,0 @@
1
- <div class="box">
2
- <h3>REVE Chat has been installed.</h3>
3
- <p>Sign in to REVE Chat Dashboard and start chatting with your customers.</p>
4
- <p><a href="https://dashboard.revechat.com" class="form-submit button-primary" target="_blank">Go to Dashboard</a></p>
5
-
6
- <div id="edit-actions" class="form-actions form-wrapper">
7
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
8
- <p><small>Something went wrong? <input type="submit" style="background: transparent; border: 0; text-decoration: underline;text-transform: lowercase; font-size: 10px; cursor: pointer;" value="Disconnect" name="revechat_remove" id="edit-submit"></small></p>
9
- </div>
10
- </div>
 
 
 
 
 
 
 
 
 
 
tags/6.1.0/includes/signup-form.php DELETED
@@ -1,75 +0,0 @@
1
- <div id="revechat_new_account" class="box">
2
-
3
- <h3>Create a new REVE Chat account</h3>
4
- <table class="form-table">
5
- <tr>
6
- <th>
7
- <label for="edit-firstname">
8
- <?php
9
- _e("First Name")
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="text" class="regular-text" name="firstName" id="edit-firstname" placeholder="First Name">
15
- </td>
16
- </tr>
17
-
18
-
19
- <tr>
20
- <th>
21
- <label for="edit-lastname">
22
- <?php
23
- _e("Last Name")
24
- ?>
25
- </label>
26
- </th>
27
- <td>
28
- <input type="text" class="regular-text" name="firstName" id="edit-lastname" placeholder="Last Name">
29
- </td>
30
- </tr>
31
-
32
- <tr>
33
- <th>
34
- <label for="edit-email">
35
- <?php
36
- _e('Email Address')
37
- ?>
38
- </label>
39
-
40
- </th>
41
- <td>
42
- <input type="text" class="regular-text" name="email" id="edit-email" placeholder="Email address">
43
- </td>
44
- </tr>
45
-
46
- <tr>
47
- <th>
48
- <label for="edit-accountpassword">
49
- <?php
50
- _e('Password')
51
- ?>
52
- </label>
53
- </th>
54
- <td>
55
- <input type="password" class="regular-text" name="edit-accountpassword" id="edit-accountpassword" placeholder="Password">
56
- </td>
57
- </tr>
58
-
59
- <tr>
60
- <th>
61
- <label for="edit-retypepassword">
62
- <?php
63
- _e('Confirm your password')
64
- ?>
65
- </label>
66
- </th>
67
- <td>
68
- <input type="password" class="regular-text" name="edit-retypepassword" id="edit-retypepassword" placeholder="Confirm your password">
69
- </td>
70
- </tr>
71
- </table>
72
- <p class="submit">
73
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Create Account') ?>" />
74
- </p>
75
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.0/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/6.1.0/js/revechat-admin.js DELETED
@@ -1,208 +0,0 @@
1
- jQuery.noConflict();
2
- (function($){
3
- var baseUrl = 'https://dashboard.revechat.com/';
4
- var ReveChat ={
5
- init: function () {
6
- this.toggleForms();
7
- this.bindFormSubmit();
8
- },
9
-
10
- toggleForms: function ()
11
- {
12
- var toggleForms = function ()
13
- {
14
- if ($('#new_revechat_account').is(':checked'))
15
- {
16
- $('#revechat_already_have').hide();
17
- $('#revechat_new_account').show();
18
- }
19
- else if ($('#has_revechat_account').is(':checked'))
20
- {
21
- $('#revechat_new_account').hide();
22
- $('#revechat_already_have').show();
23
- $('#edit-revechat-account-email').focus();
24
- }
25
- };
26
- toggleForms();
27
-
28
- $('#revechat_choose_form input').click(toggleForms);
29
- },
30
-
31
- bindFormSubmit: function () {
32
- $('#revechat-admin-settings-form').submit(function(e)
33
- {
34
-
35
- if($('#edit-submit').val() == 'Disconnect'){
36
- $('#revechat_aid').val(0);
37
- $('#revechat-admin-settings-form').submit();
38
- }
39
- if (((parseInt($('#revechat_aid').val()) !== 0) || $('#has_revechat_account').is(':checked')))
40
- {
41
- return ReveChat.alreadyHaveAccountForm();
42
- }
43
- else
44
- {
45
- return ReveChat.newLicenseForm();
46
- }
47
-
48
- });
49
- },
50
-
51
- alreadyHaveAccountForm: function()
52
- {
53
- var email = $.trim($('#edit-revechat-account-email').val());
54
-
55
- if(ReveChat.isValidEmailAddress(email))
56
- {
57
- if((parseInt($('#revechat_aid').val()) == 0 || $('#revechat_aid').val() == ""))
58
- {
59
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait&hellip;');
60
-
61
- ReveChat.signIn(email);
62
- return false;
63
- }
64
- }
65
- else
66
- {
67
- alert('Please provide a valid email address');
68
- $('#edit-revechat-account-email').focus();
69
- return false;
70
- }
71
- return true;
72
- },
73
- signIn: function (email) {
74
- var signInUrl = baseUrl +'/license/adminId/'+email+'/?callback=?';
75
- $.getJSON(signInUrl,
76
- function(response)
77
- {
78
- if (response.error)
79
- {
80
- alert('Incorrect REVE Chat login');
81
- $('.ajax_message').removeClass('wait');
82
- $('#edit-revechat-account-email').focus();
83
- return false;
84
- }
85
- else
86
- {
87
- $('#revechat_aid').val(response.data.account_id);
88
- $('#revechat-admin-settings-form').submit();
89
- }
90
- });
91
- },
92
- newLicenseForm: function()
93
- {
94
- if (parseInt(($('#revechat_aid').val()) > 0))
95
- {
96
- return true;
97
- }
98
-
99
- if(this.validateNewLicenseForm())
100
- {
101
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
102
- ReveChat.createLicense();
103
- }
104
- return false;
105
- },
106
- createLicense: function()
107
- {
108
-
109
- $('.ajax_message').removeClass('message').addClass('wait').html('Creating new account&hellip;');
110
-
111
- var firstName = $.trim($('#edit-firstname').val());
112
- var lastName = $.trim($('#edit-lastname').val());
113
- var email = $.trim($('#edit-email').val());
114
- var password = $.trim($('#edit-accountpassword').val());
115
- var rePassword = $.trim($('#edit-retypepassword').val());
116
-
117
- var signUpUrl = baseUrl + 'revechat/cms/api/signup.do';
118
-
119
- $.ajax({
120
- data: { 'firstname':firstName, 'lastname':lastName, 'mailAddr':email, 'password':password, 'utm_source':'cms', 'utm_content':'wordpress', 'referrer':'https://wordpress.org/plugins/' },
121
- type:'POST',
122
- url:signUpUrl,
123
- dataType: 'json',
124
- cache:false,
125
- success: function(response) {
126
- if(response.status == 'error')
127
- {
128
- $('.ajax_message').removeClass('wait');
129
- alert(response.message);
130
- return false;
131
- }
132
- else if(response.status == 'success')
133
- {
134
- $('#edit-revechat-account-email').val(email);
135
- ReveChat.signIn(email);
136
- return false;
137
- }
138
- }
139
- });
140
- },
141
- validateNewLicenseForm: function()
142
- {
143
-
144
- var firstName = $.trim($('#edit-firstname').val());
145
- var lastName = $.trim($('#edit-lastname').val());
146
- var email = $.trim($('#edit-email').val());
147
- var password = $.trim($('#edit-accountpassword').val());
148
- var rePassword = $.trim($('#edit-retypepassword').val());
149
-
150
-
151
-
152
- if (!firstName.length)
153
- {
154
- alert('Please provide your first name.');
155
- $('.ajax_message').removeClass('wait');
156
- $('#edit-firstname').focus();
157
- return false;
158
- }
159
-
160
- if (!lastName.length)
161
- {
162
- alert('Please provide your last name.');
163
- $('.ajax_message').removeClass('wait');
164
- $('#edit-lastname').focus();
165
- return false;
166
- }
167
-
168
- if (!ReveChat.isValidEmailAddress(email))
169
- {
170
- alert('Please provide your valid email address.');
171
- $('.ajax_message').removeClass('wait');
172
- $('#edit-email').focus();
173
- return false;
174
- }
175
-
176
- if(password.length < 6){
177
- alert('Please provide your password. The password must be at least 6 characters long.')
178
- $('.ajax_message').removeClass('wait');
179
- $('#edit-accountpassword').focus();
180
- return false;
181
- }
182
-
183
- if(!rePassword.length || password.length < 6){
184
- alert('Please retype your password.');
185
- $('.ajax_message').removeClass('wait');
186
- $('#edit-retypepassword').focus();
187
- return false;
188
- }
189
-
190
- if(password != rePassword){
191
- alert('Password does not match the confirm password.');
192
- $('.ajax_message').removeClass('wait');
193
- return false;
194
- }
195
-
196
-
197
- return true;
198
- },
199
- isValidEmailAddress: function (emailAddress) {
200
- var pattern = /^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i;
201
- return pattern.test(emailAddress);
202
- },
203
- }
204
- $(document).ready(function()
205
- {
206
- ReveChat.init();
207
- });
208
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.0/readme.txt DELETED
@@ -1,219 +0,0 @@
1
- === REVE Chat - WP Live Chat Support plugin ===
2
- Contributors: revechat
3
- Tags: live chat,live support,chat software,chat plugin,wordpress live chat, wordpress chat,chat,chat for web,web chat,chat online,chat software,IM Chat,live web chat,web support,live chat software,online chat,online support,chat widget,video chat,voice chat,snapengage,wordpress chat,wordpress live chat,webrtc,screen sharing,co-browsing,co browsing,facebook chat plugin,facebook chat,web analytics, analytics, analytics dashboard,facebook, facebook messenger, messenger, facebook live chat, crisp, pure chat, purechat, zendesk, zendesk chat, liveagent, olark, happyfox, reve chat, chatra, provide support, comm100, kayako, zoho, zoho salesiq, userlike, userengage, drift, livehelpnow, live help now, intercom, freshdesk, zendesk, clickdesk, liveperson, live person, bold360, velaro, hubspot, salesforce, zapier, zopim, mailchimp, analytics, google analytics, im chat, slack,casengo, tagove, mylivechat, my live chat, livezilla, chatrify,live chat tool, live chat widget, live support button, live chat solution, customer service software, chat, customer service chat, live chat button,wp livechat support, tidio, jivochat, formilla, tawk, tawkto,tawk.to livechat inc, livechatinc, live chat inc, revechat
4
- Requires at least: 2.7
5
- Tested up to: 4.9.4
6
- Stable tag: 6.1.0
7
-
8
- Live chat and help desk software plugin for WordPress website. An application for live chat, help desk, online customer service and support.
9
-
10
-
11
-
12
- == Description ==
13
- REVE Chat is a live chat support software plugin. It lets you monitor and chat with visitors on your Wordpress site to personally guide and help your visitors, while they go through the various sections of your website.
14
-
15
-
16
-
17
- Live chat customer support, the efficient usage of valuable time is the main key to both happy customers and professional management. Traditionally interactions between live support agents and visitors have been restricted to one-on-one supports over phones or emails. Live chat for customer support has now become the alternative that today's multitasking and net savvy generation is looking for. It offers quick response in real time and higher customer satisfaction which can generate more conversions. In the era of automated customer assistance systems, the chance to chat with a person in real time through your website is a distinct feature. Now just like a sales person in the shop, talk to the visitors of your website in real-time.
18
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use. So place this customizable REVE Chat widget to your business and start getting sales conversion and higher customer satisfaction.
19
-
20
- https://youtu.be/t1dykZ9Tg8U
21
-
22
- **Live Chat benefits**
23
-
24
- * **Real-time Visitor Info:** Agent as well as Admin can see real time visitor information. Our live chat plugins enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
25
- * **Proactive Chat:** Proactive chat enables agents to initiate a Chat request from their Chat Window. Moreover Trigger based proactive chat automatically sends customized chat alerts for the visitors on the website.
26
- * **Chat Monitoring:** Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents
27
- * **Click to Call:** Click to call is a powerful solution that can be implemented on REVE Chat to offer real-time voice assistance to online customers. It allows visitor and agent to initiate Voice and Video Call from their Chat window.
28
- * **Queuing:** With this chat software handle chat requests efficiently when all your agents are busy. Our live chat software gives information to website visitors regarding their waiting time in the chat queue
29
- * **Facebook Integration:** REVE Chat allows you to engage with your potential customers through your company Facebook page. Facebook is very effective tool for business. Smart use of social media increases sales, retention and customer satisfaction. REVE Chat Facebook app makes it easier than ever to engage online visitors. Facebook integration lets customers reach you directly on your Facebook fan page, whether or not you are online, increasing customer happiness and organic marketing and outreach.
30
-
31
-
32
- **What makes Reve Chat the best choice for live chat?**
33
-
34
- * A simple and highly customizable Live chat solution
35
- * User friendly interface and Dashboard
36
- * Intuitive Chat Window
37
- * Innovative and unique features
38
- * 24x7 hour live chat support from our trained experts on any weekday (visit revechat.com)
39
-
40
- **Supported Language**
41
-
42
- * Arabic | Bangla | Chinese | Dutch | English | French| German | Hindi | Italian | Japanese | Korean | Malay | Polish | Portuguese | Romanian | Russian | Spanish | Swedish | Tagalog | Turkish | Vietnamese
43
-
44
-
45
- **Some Geeky Facts**
46
-
47
- * Work across major browsers (Internet Explorer 7+, Firefox, Google Chrome, Opera, Safari).
48
- * Average uptime is 99.8%.
49
- * Mobile Optimized Dashboard
50
-
51
-
52
-
53
- Should you need any assistance, feel free to chat with our customer advocates on www.revechat.com or email us at support@revechat.com
54
-
55
-
56
- = Support =
57
-
58
- REVE Chat offers 24x7-365 live support, visit https://www.revechat.com and initiate a chat or send us an email at support@revechat.com.
59
-
60
- Don't have a reve chat account ? [Create one from here!](https://www.revechat.com/signup/?utm_source=wpdirectory&utm_medium=link&utm_campaign=signup)
61
-
62
-
63
-
64
- == Changelog ==
65
-
66
-
67
- = 1.2.0 =
68
-
69
- * Feature: Add the Reve chat widget to your site!
70
- * Feature: Customize look and feel of the widget, including themes and color!
71
-
72
- = 2.0 =
73
- * New Admin Menu page for REVE Chat
74
- * New for integration
75
- * Added link of settings page to display on the plugins page (beside the activate/deactivate links).
76
-
77
- = 2.0.1 =
78
- * Updated chat script
79
-
80
- = 2.0.3 =
81
- * updated the UI
82
-
83
- = 3.0 =
84
- * introduced new signup process
85
- * fixed signin bug
86
-
87
- == Screenshots ==
88
-
89
- 1. Chat window on your website - active chat
90
- 2. Account Configuration - Link Up
91
- 3. Account Configuration - Linked Up with Launch Dashboard
92
- 4. Dashboard View - Open new browser tab
93
- 5. Widget Customization from Dashboard
94
-
95
- == Frequently Asked Questions ==
96
-
97
- = Do I have to install any software on my server to get this working? =
98
-
99
- REVE Chat support plugin need to be installed from your wordpress panel. It is a cloud based live chat software plugin hence it would only activate the script when you install the chat plugin.
100
-
101
- = Why should I use REVE Chat? =
102
-
103
- REVE chat is a complete online sales and support tool to engage your website visitors. With advanced features such as Click to call, Facebook Chat Integration, Queuing, Chat Monitoring and others, REVE Chat provides full insights to communicate with your visitors to become your loyal customers.
104
-
105
- = Which web browsers work best with this plugin =
106
-
107
- Though it is designed to work on almost all the browsers, REVE Chat works best in the following environment: IE 7+ or later (PC), Firefox 2 or later (Mac, PC, or Linux), Safari 2 or later (Mac), Google Chrome (PC, Mac).
108
-
109
- = How much is price of REVE Chat? =
110
-
111
- REVE Chat plugin in free to install and it offers a complete 14 days free trial to understand its all features. REVE Chat offers 3 packages
112
- 1. Basic (Free)
113
- 2. Standard
114
- 3. Advanced
115
- Please click here to find out more about pricing
116
- The plugin is completely free to install. However if you want to use Standard and Advanced REVE Chat package then you have to purchase the package.
117
-
118
- = How can I chat with more visitors at the same time? =
119
-
120
- REVE Chat plugin allows unlimited concurrent chats for the paid plans. Hence you can chat with as many visitors as you want at the same time. REVE Chat also allows you to proactively chat with your website visitors before they leave your website
121
-
122
- = How can I take further information regarding REVE Chat? =
123
-
124
- You can find out more at our site at http://www.revechat.com or at support@revechat.com and we will help you with installation.
125
-
126
- = Is there any demo or trial period to do some testing? =
127
-
128
- Yes, defiantly you can use all the features of REVE Chat for 14days in the trial period.
129
-
130
- = Can I customize the REVE Chat window? =
131
-
132
- Yes, REVE Chat window is customizable. Some of the things which you can change in the chat window include:
133
-
134
- * Changing the colour scheme
135
- * Changing the font size
136
- * Chat Widget text
137
- * Offline Widget Text
138
- * Prechat & Post chat form
139
-
140
- = Can I add REVE Chat on more than one website at the same time? =
141
-
142
- Yes, there is no limit on websites for the paid plans. However our free Basic package has limited features and it can be used only on one website.
143
-
144
- == Usage ==
145
-
146
- = Agent management =
147
-
148
- From the dashboard you to keep a track on your agents with its special agent management feature. Here you can add your agents and see all the details like status, last login time, total no of assigned concurrent chat of each and every agent etc. In real time which will help you to manage your support service more efficiently
149
-
150
- = How to configuring a chat operator =
151
-
152
- Please follow the below mentioned directions to manage your agents.
153
- * After logging in to your REVE Chat dash board, click on 'Agent Management' option. Here you will get the below mentioned information:
154
- * List of your agent names
155
- * Roles assigned to each and every agent
156
- * Email address of your agents
157
- * Phone numbers of your agents
158
- * Status of your agents online or offline
159
- * Each and every agent's last login time
160
- * Total number of concurrent chats assigned to each and every agent
161
-
162
-
163
- = Agent creation =
164
-
165
- To create an agent, you need to follow the below mentioned steps:
166
- * Login to your REVE Chat dashboard
167
- * Click on 'Agent Management'
168
- * For adding your agent, click on the 'Create Agent' option
169
- * After that you need to fill up a from mentioning the email address, password, role which you want to assign to the agent, total no of concurrent chats you want to assign to that agent, the agent's first and last name, designation and contact no. After that click on the 'Submit' button
170
-
171
- = Chat Conversation =
172
-
173
- In the conversation box agent can directly engage with visitor. Each message is accompanied by the name of the person who sent that message and a timestamp so you can easily follow the conversation
174
-
175
- = Engaged Visitors =
176
-
177
- In the top left side corner of the panel Chat operator can see all of his on-going chats.
178
-
179
- = Online Agents =
180
-
181
- Chat operator can chat with other operators from the same Chat Window. At the left corner there is a menu called Online Agents. In that menu all the logged in operators name will be shown. By clicking one operator name you can start conversation with him.
182
-
183
- = New Chat Request =
184
-
185
- Agents can see new chat requests from website visitors on the left side corner of their dashboard.
186
-
187
- = Chat Panel =
188
-
189
- The central position is for running conversation. Agent will type from the messaging field and also share file by clicking attachment file. There are some other fields in the chat panel.
190
- * History: Agent can see all the previous chat conversations of that particular visitors.
191
- * Chat Transfer: Agent can easily transfer a chat to other agent. This transfer chat option is available in the chat window itself. Agent can click on it and select to whom he wants to transfer the chat. The new chat agent can take over the current live chat conversation without breaking the chat session
192
- * Visitor Info: Agent can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
193
- * Map: During the chat session chat operator can see the visitor real time location map.
194
-
195
- = Online Visitors =
196
-
197
- In the online visitor list agent can see all the web visitors who are currently viewing your websites. You can see their current viewing page, city name and visiting time. Besides you can also send a proactive chat request to the visitor to know whether they need any sort of help or not.
198
-
199
- = Queued Visitor =
200
-
201
- Queued Visitor list will show who is the visitors is waiting for Live Chat. It gives information to your website visitors regarding their waiting time in chat queue and sets accurate response time expectations.
202
-
203
- = Monitoring Panel =
204
-
205
- Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents.
206
-
207
- <a href="https://www.revechat.com/signup/?utm_source=wordpress.org&utm_medium=integration&utm_campaign=WordpressIntegration" target="_blank">Signup for our Live Chat here</a>
208
-
209
- == Installation ==
210
-
211
- Adding reve chat live chat widget to your Wordpress site is very easy, follow following steps :
212
-
213
- * Clone this repository into your plugins directory or download the zip file and unzip on your plugins directory
214
- * or Install the plugin from the WordPress directory and activate it.
215
- * Go to `Settings`, then to the 'revechat' sub menu, and login to your reve chat account to select a widget.
216
- * Customize the chat widget from within the [reve chat dashboard](https://dashboard.revechat.com) to your preference.
217
- * Start chatting with your visitors! :)
218
-
219
- Note: You will need a reve chat account : [Create one from here!](https://revechat.com/signup/?utm_source=wpdirectory&utm_medium=link&utm_campaign=signup)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.0/revechat.php DELETED
@@ -1,203 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: REVE Chat - WP Live Chat Support plugin
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 5.0
6
- Author: REVE Chat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- /**
13
- * Core class which interacts with
14
- * WordPress hooks and filters
15
- */
16
- class WP_Plugin_Revechat
17
- {
18
- /**
19
- * Constructor method of the plugin object.
20
- * This method initialize the stdClass,
21
- * defines plugin name, plugin display name etc.
22
- *
23
- * This method also calls necessary wodpress hooks and filters.
24
- * for more about hooks please visit @link [https://developer.wordpress.org/reference/functions/add_action/]
25
- * for more information on filters @link [https://developer.wordpress.org/reference/functions/add_filter/]
26
- */
27
- public function __construct()
28
- {
29
- // Plugin Details
30
- $this->plugin = new stdClass;
31
- $this->plugin->name = 'revechat'; // Plugin Folder
32
- $this->plugin->displayName = 'REVE Chat'; // Plugin Name
33
-
34
- // Hooks
35
- add_action('admin_init', array(&$this, 'registerSettings'));
36
-
37
- add_action('wp_head', array(&$this, 'frontendHeader'));
38
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
39
-
40
- // Add Menu Page
41
- add_action('admin_menu',array($this,'admin_menu'));
42
-
43
- //enqueue scripts
44
- add_action('admin_enqueue_scripts',array($this,'admin_scripts'));
45
-
46
- } // END public function __construct
47
-
48
- /**
49
- * REVE Chat widget script.
50
- *
51
- * This script will be rendered in frontend of the site.
52
- * This funtion is called when wp_head action triggered.
53
- * The wp_head action hook is triggered within the <head></head> section of the user's template
54
- * by the wp_head() function. Although this is theme-dependent,
55
- * it is one of the most essential theme hooks, so it is widely supported.
56
- *
57
- */
58
- public static function frontendHeader()
59
- {
60
- $accountId = get_option('revechat_accountid' , '');
61
- if( (isset($accountId) && !empty($accountId)) ) {
62
-
63
- $script = "<script type='text/javascript'>";
64
- $script .= 'window.$_REVECHAT_API || (function(d, w) { var r = $_REVECHAT_API = function(c) {r._.push(c);}; w.__revechat_account=\''.$accountId.'\';w.__revechat_version=2;
65
- r._= []; var rc = d.createElement(\'script\'); rc.type = \'text/javascript\'; rc.async = true; rc.setAttribute(\'charset\', \'utf-8\');
66
- rc.src = (\'https:\' == document.location.protocol ? \'https://\' : \'http://\') + \'static.revechat.com/widget/scripts/new-livechat.js?\'+new Date().getTime();
67
- var s = d.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(rc, s);
68
- })(document, window);';
69
-
70
- $script .='</script>';
71
-
72
- echo $script ;
73
-
74
- }
75
-
76
- }
77
-
78
- /**
79
- * Register a setting and its data.
80
- * refer to @link [https://developer.wordpress.org/reference/functions/register_setting/]
81
- * for more information about register setting
82
- */
83
- public function registerSettings(){
84
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
85
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
86
- }
87
-
88
- /**
89
- * Render the settings form
90
- */
91
- public function reveChatOptions(){
92
- if ( !current_user_can( 'manage_options' ) ) {
93
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
94
- }
95
- // variables for the field and option names
96
- $accountId = 'revechat_accountid';
97
-
98
- // Read in existing option value from database
99
- $val_accountId = get_option( $accountId );
100
-
101
- if( isset($_POST[ $accountId ])){
102
-
103
- // Read in existing option value from POST
104
- $val_accountId = $_POST[ $accountId ];
105
- update_option( $accountId , $val_accountId );
106
- ?>
107
- <div class="updated" xmlns="http://www.w3.org/1999/html"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
108
- <?php
109
- }
110
- ?>
111
- <div class="wrap" id="revechat">
112
-
113
- <div>
114
- <div class="reve-chat-logo">
115
- <img src="<?php echo plugin_dir_url( __FILE__ )."images/logo.png";?>" alt="REVE Chat">
116
- </div>
117
-
118
- <form name="form1" id="revechat-admin-settings-form" method="post" action="">
119
-
120
- <?php
121
- if(isset($val_accountId) && $val_accountId != 0){
122
- require (plugin_dir_path( __FILE__ )."includes/remove-form.php");
123
- echo '</div>';
124
- return;
125
- }
126
-
127
- require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
128
- ?>
129
- <div class="form-item form-type-item" id="edit-ajax-message">
130
- <p class="ajax_message"></p>
131
- </div>
132
- <?php
133
- require (plugin_dir_path( __FILE__ )."includes/login-form.php");
134
- require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
135
- ?>
136
-
137
- </form>
138
- </div>
139
- </div>
140
-
141
- <?php
142
- }
143
-
144
- /**
145
- * Add page in admin menu
146
- * This method takes a capability which will be used to determine whether or not a page is included in the menu.
147
- * this method which is hooked in to handle the output of the page also check that the user has the required
148
- * capability as well.
149
- */
150
- public function admin_menu()
151
- {
152
- add_menu_page(__($this->plugin->displayName.' Dashboard','revechat-settings'), __($this->plugin->displayName,'menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions'), plugin_dir_url( __FILE__ )."images/favicon.png");
153
- }
154
-
155
- /**
156
- * Triggers when the user deactivate/uninstall the plugin.
157
- * this method simply delete all the data of this
158
- * plugin from database.
159
- */
160
-
161
- public static function deactivate()
162
- {
163
- delete_option('revechat_accountid');
164
- }
165
-
166
-
167
- /**
168
- * Load necessary JavaScript and CSS library
169
- * in admin panel.
170
- */
171
- public function admin_scripts(){
172
-
173
- wp_enqueue_script( 'jquery');
174
-
175
- wp_enqueue_script( 'revechat-admin-script', plugin_dir_url( __FILE__ ) . '/js/revechat-admin.js',array('jquery') );
176
-
177
- wp_enqueue_style( 'custom_wp_admin_css',plugin_dir_url( __FILE__ ).'css/admin-styles.css' );
178
- }
179
-
180
- /**
181
- * Applied to the list of links to display on the plugins page (beside the activate/deactivate links).
182
- *
183
- * @param $links
184
- * @return array
185
- */
186
- function add_action_links ( $links ) {
187
- $menu_link = array(
188
- '<a href="' . admin_url( 'admin.php?page=revechatsettings' ) . '">Settings</a>',
189
- );
190
- return array_merge( $links, $menu_link );
191
- }
192
- }
193
- } // END if(!class_exists('WP_Plugin_Revechat'))
194
-
195
- /**
196
- * Initialize the core class
197
- */
198
- $revechat = new WP_Plugin_Revechat();
199
-
200
- /**
201
- * Register the deactivation hook.
202
- */
203
- register_deactivation_hook( __FILE__, array( 'WP_Plugin_Revechat', 'deactivate' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.0/screenshot-1.jpg DELETED
Binary file
tags/6.1.0/screenshot-2.jpg DELETED
Binary file
tags/6.1.0/screenshot-3.jpg DELETED
Binary file
tags/6.1.0/screenshot-4.jpg DELETED
Binary file
tags/6.1.0/screenshot-5.jpg DELETED
Binary file
tags/6.1.0/screenshot-6.jpg DELETED
Binary file
tags/6.1.0/screenshot-7.jpg DELETED
Binary file
tags/6.1.0/screenshot-8.jpg DELETED
Binary file
tags/6.1.0/screenshot-9.jpg DELETED
Binary file
tags/6.1.1/css/admin-styles.css DELETED
@@ -1,109 +0,0 @@
1
- #revechat ul#revechat_choose_form{}
2
- #revechat ul#revechat_choose_form li{
3
- list-style: none;
4
- display: block;
5
- }
6
- #revechat ul#revechat_choose_form li label{
7
- display: inline-block;
8
- }
9
- #revechat .revechat_email_error{
10
- color: red;
11
- }
12
- #revechat .ajax_message {
13
- display: none;
14
- background: url(ajax_loader.gif) no-repeat 24px 51%;
15
- padding: 0;
16
- margin-top: 1em;
17
- }
18
- #revechat .ajax_message.wait,
19
- #revechat .ajax_message.message
20
- {
21
- display: block;
22
- font-size: 1.2em;
23
- padding: 20px;
24
- box-shadow: 2px 2px 2px rgba(0,0,0,.2);
25
- }
26
- #revechat .ajax_message.wait {
27
- text-indent: 28px;
28
- background-color: #fff;
29
- }
30
- #revechat .ajax_message.message {
31
- background-image: none;
32
- text-indent: 0px;
33
- }
34
-
35
- #revechat .ajax_message.message.alert{
36
- background-color: #f2dede;
37
- border-color: #ebccd1;
38
- color: #a94442;
39
- padding: 20px;
40
- }
41
- #revechat .ajax_message.message.success{
42
- background-color: #dff0d8;
43
- border: 1px solid #dff0d8;
44
- color: #3c763d;
45
- padding: 20px;
46
- }
47
- #revechat .revechat_success_message{
48
- background: #ffffff;
49
- padding: 50px;
50
- height: auto;
51
- font-size: 1.5em;
52
- border-bottom: 5px solid #F16915;
53
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
54
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
55
- box-shadow: 0px 0px 6px rgba(0,0,0,.3);
56
- }
57
- #revechat .revechat_success_message h3{
58
- font-weight: bold;
59
- border-bottom: 1px solid #B1B4B9;
60
- padding-bottom: 20px;
61
- line-height: 2em;
62
- }
63
- #revechat .messages.revechat_success{
64
- background-color: #dff0d8;
65
- border: 1px solid #bee99a;
66
- color: #3c763d;
67
- padding: 20px;
68
- margin-bottom: 30px;
69
- font-weight: 600;
70
- }
71
- #revechat .form-submit{
72
- background: #FF5800 none repeat scroll 0 0;
73
- border-color: #bd4302 #ab3c02 #ab3c02;
74
- -webkit-box-shadow: 0 1px 0 #ab3c02;
75
- box-shadow: 0 1px 0 #ab3c02;
76
- color: #fff;
77
- text-decoration: none;
78
- text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
79
- }
80
- #revechat .box {
81
- background: #ffffff;
82
- border: 1px solid #e5e5e5;
83
- padding: 20px;
84
- margin-bottom: 50px;
85
- }
86
- #revechat #revechat-admin-settings-form {
87
- padding: 18px;
88
- }
89
- #revechat fieldset {
90
- border: 1px solid #c0c0c0;
91
- margin-top: 20px;
92
- }
93
- #revechat #revechat_already_have > h3 {
94
- margin-top: 19px;
95
- }
96
- #revechat ul#revechat_choose_form li {
97
- display: block;
98
- list-style: outside none none;
99
- padding-left: 20px;
100
- }
101
-
102
- #revechat .form-item > label {
103
- display: table;
104
- margin-bottom: 11px;
105
- margin-top: 20px;
106
- }
107
- #revechat input.form-submit{
108
- cursor: pointer;
109
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.1/css/ajax_loader.gif DELETED
Binary file
tags/6.1.1/images/favicon.png DELETED
Binary file
tags/6.1.1/images/logo.png DELETED
Binary file
tags/6.1.1/includes/choose-form.php DELETED
@@ -1,13 +0,0 @@
1
- <div id="edit-choose-form" class="box">
2
- <h3>Do you already have a REVE Chat account?</h3>
3
- <ul id="revechat_choose_form">
4
- <li>
5
- <input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
6
- <label for="has_revechat_account">Yes, I already have a REVE Chat account</label>
7
- </li>
8
- <li>
9
- <input type="radio" id="new_revechat_account" name="revechat_choose_form">
10
- <label for="new_revechat_account">No, I want to create one</label>
11
- </li>
12
- </ul>
13
- </div><!-- Edit Choose Form -->
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.1/includes/login-form.php DELETED
@@ -1,23 +0,0 @@
1
- <div id="revechat_already_have" class="box">
2
- <h3>Account Details</h3>
3
- <table class="form-table">
4
- <tbody>
5
- <tr>
6
- <th>
7
- <label for="edit-revechat-account-email">
8
- <?php
9
- _e("REVE Chat login email");
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email" placeholder="Enter your email address">
15
- <input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
16
- </td>
17
- </tr>
18
- </tbody>
19
- </table>
20
- <p class="submit">
21
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
22
- </p>
23
- </div><!-- revechat_already_have -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.1/includes/remove-form.php DELETED
@@ -1,10 +0,0 @@
1
- <div class="box">
2
- <h3>REVE Chat has been installed.</h3>
3
- <p>Sign in to REVE Chat Dashboard and start chatting with your customers.</p>
4
- <p><a href="https://dashboard.revechat.com" class="form-submit button-primary" target="_blank">Go to Dashboard</a></p>
5
-
6
- <div id="edit-actions" class="form-actions form-wrapper">
7
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
8
- <p><small>Something went wrong? <input type="submit" style="background: transparent; border: 0; text-decoration: underline;text-transform: lowercase; font-size: 10px; cursor: pointer;" value="Disconnect" name="revechat_remove" id="edit-submit"></small></p>
9
- </div>
10
- </div>
 
 
 
 
 
 
 
 
 
 
tags/6.1.1/includes/signup-form.php DELETED
@@ -1,75 +0,0 @@
1
- <div id="revechat_new_account" class="box">
2
-
3
- <h3>Create a new REVE Chat account</h3>
4
- <table class="form-table">
5
- <tr>
6
- <th>
7
- <label for="edit-firstname">
8
- <?php
9
- _e("First Name")
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="text" class="regular-text" name="firstName" id="edit-firstname" placeholder="First Name">
15
- </td>
16
- </tr>
17
-
18
-
19
- <tr>
20
- <th>
21
- <label for="edit-lastname">
22
- <?php
23
- _e("Last Name")
24
- ?>
25
- </label>
26
- </th>
27
- <td>
28
- <input type="text" class="regular-text" name="firstName" id="edit-lastname" placeholder="Last Name">
29
- </td>
30
- </tr>
31
-
32
- <tr>
33
- <th>
34
- <label for="edit-email">
35
- <?php
36
- _e('Email Address')
37
- ?>
38
- </label>
39
-
40
- </th>
41
- <td>
42
- <input type="text" class="regular-text" name="email" id="edit-email" placeholder="Email address">
43
- </td>
44
- </tr>
45
-
46
- <tr>
47
- <th>
48
- <label for="edit-accountpassword">
49
- <?php
50
- _e('Password')
51
- ?>
52
- </label>
53
- </th>
54
- <td>
55
- <input type="password" class="regular-text" name="edit-accountpassword" id="edit-accountpassword" placeholder="Password">
56
- </td>
57
- </tr>
58
-
59
- <tr>
60
- <th>
61
- <label for="edit-retypepassword">
62
- <?php
63
- _e('Confirm your password')
64
- ?>
65
- </label>
66
- </th>
67
- <td>
68
- <input type="password" class="regular-text" name="edit-retypepassword" id="edit-retypepassword" placeholder="Confirm your password">
69
- </td>
70
- </tr>
71
- </table>
72
- <p class="submit">
73
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Create Account') ?>" />
74
- </p>
75
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.1/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/6.1.1/js/revechat-admin.js DELETED
@@ -1,208 +0,0 @@
1
- jQuery.noConflict();
2
- (function($){
3
- var baseUrl = 'https://dashboard.revechat.com/';
4
- var ReveChat ={
5
- init: function () {
6
- this.toggleForms();
7
- this.bindFormSubmit();
8
- },
9
-
10
- toggleForms: function ()
11
- {
12
- var toggleForms = function ()
13
- {
14
- if ($('#new_revechat_account').is(':checked'))
15
- {
16
- $('#revechat_already_have').hide();
17
- $('#revechat_new_account').show();
18
- }
19
- else if ($('#has_revechat_account').is(':checked'))
20
- {
21
- $('#revechat_new_account').hide();
22
- $('#revechat_already_have').show();
23
- $('#edit-revechat-account-email').focus();
24
- }
25
- };
26
- toggleForms();
27
-
28
- $('#revechat_choose_form input').click(toggleForms);
29
- },
30
-
31
- bindFormSubmit: function () {
32
- $('#revechat-admin-settings-form').submit(function(e)
33
- {
34
-
35
- if($('#edit-submit').val() == 'Disconnect'){
36
- $('#revechat_aid').val(0);
37
- $('#revechat-admin-settings-form').submit();
38
- }
39
- if (((parseInt($('#revechat_aid').val()) !== 0) || $('#has_revechat_account').is(':checked')))
40
- {
41
- return ReveChat.alreadyHaveAccountForm();
42
- }
43
- else
44
- {
45
- return ReveChat.newLicenseForm();
46
- }
47
-
48
- });
49
- },
50
-
51
- alreadyHaveAccountForm: function()
52
- {
53
- var email = $.trim($('#edit-revechat-account-email').val());
54
-
55
- if(ReveChat.isValidEmailAddress(email))
56
- {
57
- if((parseInt($('#revechat_aid').val()) == 0 || $('#revechat_aid').val() == ""))
58
- {
59
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait&hellip;');
60
-
61
- ReveChat.signIn(email);
62
- return false;
63
- }
64
- }
65
- else
66
- {
67
- alert('Please provide a valid email address');
68
- $('#edit-revechat-account-email').focus();
69
- return false;
70
- }
71
- return true;
72
- },
73
- signIn: function (email) {
74
- var signInUrl = baseUrl +'/license/adminId/'+email+'/?callback=?';
75
- $.getJSON(signInUrl,
76
- function(response)
77
- {
78
- if (response.error)
79
- {
80
- alert('Incorrect REVE Chat login');
81
- $('.ajax_message').removeClass('wait');
82
- $('#edit-revechat-account-email').focus();
83
- return false;
84
- }
85
- else
86
- {
87
- $('#revechat_aid').val(response.data.account_id);
88
- $('#revechat-admin-settings-form').submit();
89
- }
90
- });
91
- },
92
- newLicenseForm: function()
93
- {
94
- if (parseInt(($('#revechat_aid').val()) > 0))
95
- {
96
- return true;
97
- }
98
-
99
- if(this.validateNewLicenseForm())
100
- {
101
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
102
- ReveChat.createLicense();
103
- }
104
- return false;
105
- },
106
- createLicense: function()
107
- {
108
-
109
- $('.ajax_message').removeClass('message').addClass('wait').html('Creating new account&hellip;');
110
-
111
- var firstName = $.trim($('#edit-firstname').val());
112
- var lastName = $.trim($('#edit-lastname').val());
113
- var email = $.trim($('#edit-email').val());
114
- var password = $.trim($('#edit-accountpassword').val());
115
- var rePassword = $.trim($('#edit-retypepassword').val());
116
-
117
- var signUpUrl = baseUrl + 'revechat/cms/api/signup.do';
118
-
119
- $.ajax({
120
- data: { 'firstname':firstName, 'lastname':lastName, 'mailAddr':email, 'password':password, 'utm_source':'cms', 'utm_content':'wordpress', 'referrer':'https://wordpress.org/plugins/' },
121
- type:'POST',
122
- url:signUpUrl,
123
- dataType: 'json',
124
- cache:false,
125
- success: function(response) {
126
- if(response.status == 'error')
127
- {
128
- $('.ajax_message').removeClass('wait');
129
- alert(response.message);
130
- return false;
131
- }
132
- else if(response.status == 'success')
133
- {
134
- $('#edit-revechat-account-email').val(email);
135
- ReveChat.signIn(email);
136
- return false;
137
- }
138
- }
139
- });
140
- },
141
- validateNewLicenseForm: function()
142
- {
143
-
144
- var firstName = $.trim($('#edit-firstname').val());
145
- var lastName = $.trim($('#edit-lastname').val());
146
- var email = $.trim($('#edit-email').val());
147
- var password = $.trim($('#edit-accountpassword').val());
148
- var rePassword = $.trim($('#edit-retypepassword').val());
149
-
150
-
151
-
152
- if (!firstName.length)
153
- {
154
- alert('Please provide your first name.');
155
- $('.ajax_message').removeClass('wait');
156
- $('#edit-firstname').focus();
157
- return false;
158
- }
159
-
160
- if (!lastName.length)
161
- {
162
- alert('Please provide your last name.');
163
- $('.ajax_message').removeClass('wait');
164
- $('#edit-lastname').focus();
165
- return false;
166
- }
167
-
168
- if (!ReveChat.isValidEmailAddress(email))
169
- {
170
- alert('Please provide your valid email address.');
171
- $('.ajax_message').removeClass('wait');
172
- $('#edit-email').focus();
173
- return false;
174
- }
175
-
176
- if(password.length < 6){
177
- alert('Please provide your password. The password must be at least 6 characters long.')
178
- $('.ajax_message').removeClass('wait');
179
- $('#edit-accountpassword').focus();
180
- return false;
181
- }
182
-
183
- if(!rePassword.length || password.length < 6){
184
- alert('Please retype your password.');
185
- $('.ajax_message').removeClass('wait');
186
- $('#edit-retypepassword').focus();
187
- return false;
188
- }
189
-
190
- if(password != rePassword){
191
- alert('Password does not match the confirm password.');
192
- $('.ajax_message').removeClass('wait');
193
- return false;
194
- }
195
-
196
-
197
- return true;
198
- },
199
- isValidEmailAddress: function (emailAddress) {
200
- var pattern = /^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i;
201
- return pattern.test(emailAddress);
202
- },
203
- }
204
- $(document).ready(function()
205
- {
206
- ReveChat.init();
207
- });
208
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.1/readme.txt DELETED
@@ -1,165 +0,0 @@
1
- === REVE Chat - WP Live Chat Support plugin ===
2
- Contributors: revechat
3
- Tags: live chat,live support,chat software,chat plugin,wordpress live chat, wordpress chat,chat,chat for web,web chat,chat online,chat software,IM Chat,live web chat,web support,live chat software,online chat,online support,chat widget,video chat,voice chat,snapengage,wordpress chat,wordpress live chat,webrtc,screen sharing,co-browsing,co browsing,facebook chat plugin,facebook chat,web analytics, analytics, analytics dashboard,facebook, facebook messenger, messenger, facebook live chat, crisp, pure chat, purechat, zendesk, zendesk chat, liveagent, olark, happyfox, reve chat, chatra, provide support, comm100, kayako, zoho, zoho salesiq, userlike, userengage, drift, livehelpnow, live help now, intercom, freshdesk, zendesk, clickdesk, liveperson, live person, bold360, velaro, hubspot, salesforce, zapier, zopim, mailchimp, analytics, google analytics, im chat, slack,casengo, tagove, mylivechat, my live chat, livezilla, chatrify,live chat tool, live chat widget, live support button, live chat solution, customer service software, chat, customer service chat, live chat button,wp livechat support, tidio, jivochat, formilla, tawk, tawkto,tawk.to livechat inc, livechatinc, live chat inc,revechat
4
- Requires at least: 2.7
5
- Tested up to: 4.9.4
6
- Stable tag: 6.1.1
7
-
8
- Live chat and help desk software plugin for WordPress website. An application for live chat, help desk, online customer service and support.
9
-
10
-
11
- ==Description ==
12
- REVE Chat is a multi-channel cloud based live chat software that provides real time assistance to your website visitors for better customer support, service and boost sales conversions. Businesses can instantly engage with their customers across various channels such as Website live chat, Voice/ Video Chat, Facebook Messenger, Viber, Mobile apps (Android, iOS) using a single platform.
13
-
14
- REVE Chat also has advanced features such as Screen sharing and co-browsing, Department Management, Auto Triggers, and Visitor Analytics, Queuing, fully customizable chat banner and more to personalize every customer interaction across multiple channels.
15
-
16
-
17
- https://youtu.be/t1dykZ9Tg8U
18
-
19
-
20
- **Live Chat Key Features-**
21
- * **Voice/ Video Chat:** Talk to your customers using voice/ video chat right inside your web or mobile apps with click to call solution.
22
- * **Co-browsing:** Provide real time assistance and remote support to your website visitors and customers screen in real time.
23
- * **Facebook Messenger:** Chat with your Facebook customers using REVE Chat from single dashboard.
24
- * **Viber Messaging:** Chat with your customers on Viber messaging using your public account from single dashboard.
25
- * **Screen sharing:** Support your website visitors in real time and help them to navigate the website with screen sharing.
26
- * **Real-time Visitor Analytics:** Get real time insights about your customers (location, history, IP address, Referral source) and personalize every interaction to improve user experience
27
- * **Department Management:** Improve customer response time by routing your customer queries to the right department.
28
- * **Queuing:** Manage your customer expectations effectively by providing them right information about waiting time when your agents are busy with other customers
29
- * **Auto Triggers:** Send automatic invitations to your website visitors based on certain time, ULR or location.
30
- * **Chat Monitoring:** Monitor your agent performance and responses in real time to provide more appropriate answers to your customer queries.
31
-
32
-
33
- **Live Chat Benefits-**
34
-
35
-
36
- Out of all the customer support channels available whether offline or online — live chat is by far the most fast and convenient method to handle customer queries.
37
- * Get complete overview and insights about your customer interactions across multiple channels
38
- * Offer your visitors instant assistance and increase your sales conversions
39
- * Reduce cost of service by managing multiple customers simultaneously.
40
- * Receive valuable customer feedback after every chat session to gain insights and improve the quality of your service.
41
- * Proactively engage to assist website visitors in real-time before they leave your website being frustrated.
42
-
43
-
44
- **What makes Reve Chat the best choice for live chat?**
45
-
46
- * A simple and highly customizable Live chat solution
47
- * User friendly interface and Dashboard
48
- * Intuitive Chat Window
49
- * Innovative and unique features
50
- * 24x7 hour live chat support from our trained experts on any weekday (visit revechat.com)
51
-
52
-
53
- **Supported Language**
54
-
55
- * Arabic | Bangla | Chinese | Dutch | English | French| German | Hindi | Italian | Japanese | Korean | Malay | Polish | Portuguese | Romanian | Russian | Spanish | Swedish | Tagalog | Turkish | Vietnamese
56
-
57
-
58
- **Some Geeky Facts**
59
-
60
- * Work across major browsers (Internet Explorer 7+, Firefox, Google Chrome, Opera, Safari).
61
- * Average uptime is 99.8%.
62
- * Mobile Optimized Dashboard
63
- * Should you need any assistance, feel free to chat with our customer advocates on www.revechat.com or email us at support@revechat.com
64
-
65
-
66
- = Support =
67
-
68
-
69
- REVE Chat offers 24x7-365 live support, visit https://www.revechat.com and initiate a chat or send us an email at support@revechat.com.
70
-
71
-
72
- Don't have a reve chat account ? [Create one from here!](https://www.revechat.com/signup/?utm_source=wpdirectory&utm_medium=link&utm_campaign=signup)
73
-
74
-
75
-
76
- == Changelog ==
77
-
78
-
79
- = 1.2.0 =
80
-
81
- * Feature: Add the Reve chat widget to your site!
82
- * Feature: Customize look and feel of the widget, including themes and color!
83
-
84
- = 2.0 =
85
- * New Admin Menu page for REVE Chat
86
- * New for integration
87
- * Added link of settings page to display on the plugins page (beside the activate/deactivate links).
88
-
89
- = 2.0.1 =
90
- * Updated chat script
91
-
92
- = 2.0.3 =
93
- * updated the UI
94
-
95
- = 3.0 =
96
- * introduced new signup process
97
- * fixed signin bug
98
-
99
- == Screenshots ==
100
-
101
- 1. Chat window on your website - active chat
102
- 2. Account Configuration - Link Up
103
- 3. Account Configuration - Linked Up with Launch Dashboard
104
- 4. Dashboard View - Open new browser tab
105
- 5. Widget Customization from Dashboard
106
-
107
-
108
- == Installation ==
109
-
110
- Adding reve chat live chat widget to your Wordpress site is very easy, follow following steps :
111
-
112
- * Clone this repository into your plugins directory or download the zip file and unzip on your plugins directory
113
- * or Install the plugin from the WordPress directory and activate it.
114
- * Go to `Settings`, then to the 'revechat' sub menu, and login to your reve chat account to select a widget.
115
- * Customize the chat widget from within the [reve chat dashboard](https://dashboard.revechat.com) to your preference.
116
- * Start chatting with your visitors! :)
117
-
118
- Note: You will need a reve chat account : [Create one from here!](https://revechat.com/signup/?utm_source=wpdirectory&utm_medium=link&utm_campaign=signup)
119
-
120
- == Frequently Asked Questions ==
121
-
122
-
123
- = Do I have to install any software on my server to get this working? =
124
- REVE live chat plugin need to be installed from your WordPress panel. It is a cloud based live chat software hence it would only activate the script when you install the plugin.
125
-
126
- = Why should I use REVE Chat? =
127
- REVE chat is a complete online sales and support tool to engage your website visitors. With advanced features such as Click to call, Facebook Chat Integration, Queuing, Chat Monitoring and others, REVE Chat provides full insights to communicate with your visitors to become your loyal customers.
128
-
129
- = Which web browsers work best with this plugin? =
130
- Though it is designed to work on almost all the browsers, REVE Chat works best in the following environment: IE 7+ or later (PC), Firefox 2 or later (Mac, PC, or Linux), Safari 2 or later (Mac), Google Chrome (PC, Mac).
131
-
132
- = How much is price of REVE Chat? =
133
- REVE Chat plugin in free to install and it offers a complete 14 days free trial to understand its all features. REVE Chat offers 3 packages
134
- 1. Basic (Free)
135
- 2. Standard
136
- 3. Advanced
137
- Please click here to find out more about pricing.
138
- The live chat support plugin is completely free to install. However, if you want to use Standard and Advanced REVE Chat package then you have to purchase the package.
139
-
140
- = How can I chat with more visitors at the same time? =
141
- REVE Chat allows unlimited concurrent chats for the paid plans. Hence you can chat with as many visitors as you want at the same time. REVE Chat also allows you to proactively chat with your website visitors before they leave your website.
142
-
143
- = How can I take further information regarding REVE Chat? =
144
- You can find out more at our site at http://www.revechat.com or at support@revechat.com and we will help you with installation.
145
-
146
- = Is there any demo or trial period to do some testing? =
147
- Yes, definitely you can use all the features of REVE Chat for 14days in the trial period.
148
-
149
- = Can I customize the REVE Chat window? =
150
- Yes, REVE Chat window is customizable. Some of the things which you can change in the chat window include:
151
- * Changing the color scheme
152
- * Changing the font size
153
- * Chat Widget text
154
- * Offline Widget Text
155
- * Pre chat & Post chat form
156
-
157
- = Can I add REVE Chat on more than one website at the same time? =
158
- Yes, there is no limit on websites for the paid plans. However our free Basic package has limited features and it can be used only on one website.
159
-
160
-
161
- = Contributors & Developers =
162
-
163
- “REVE Chat – WP Live Chat Support plugin” is open source software. The following people have contributed to this plugin.
164
-
165
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.1/revechat.php DELETED
@@ -1,203 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: REVE Chat - WP Live Chat Support plugin
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 5.0
6
- Author: REVE Chat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- /**
13
- * Core class which interacts with
14
- * WordPress hooks and filters
15
- */
16
- class WP_Plugin_Revechat
17
- {
18
- /**
19
- * Constructor method of the plugin object.
20
- * This method initialize the stdClass,
21
- * defines plugin name, plugin display name etc.
22
- *
23
- * This method also calls necessary wodpress hooks and filters.
24
- * for more about hooks please visit @link [https://developer.wordpress.org/reference/functions/add_action/]
25
- * for more information on filters @link [https://developer.wordpress.org/reference/functions/add_filter/]
26
- */
27
- public function __construct()
28
- {
29
- // Plugin Details
30
- $this->plugin = new stdClass;
31
- $this->plugin->name = 'revechat'; // Plugin Folder
32
- $this->plugin->displayName = 'REVE Chat'; // Plugin Name
33
-
34
- // Hooks
35
- add_action('admin_init', array(&$this, 'registerSettings'));
36
-
37
- add_action('wp_head', array(&$this, 'frontendHeader'));
38
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
39
-
40
- // Add Menu Page
41
- add_action('admin_menu',array($this,'admin_menu'));
42
-
43
- //enqueue scripts
44
- add_action('admin_enqueue_scripts',array($this,'admin_scripts'));
45
-
46
- } // END public function __construct
47
-
48
- /**
49
- * REVE Chat widget script.
50
- *
51
- * This script will be rendered in frontend of the site.
52
- * This funtion is called when wp_head action triggered.
53
- * The wp_head action hook is triggered within the <head></head> section of the user's template
54
- * by the wp_head() function. Although this is theme-dependent,
55
- * it is one of the most essential theme hooks, so it is widely supported.
56
- *
57
- */
58
- public static function frontendHeader()
59
- {
60
- $accountId = get_option('revechat_accountid' , '');
61
- if( (isset($accountId) && !empty($accountId)) ) {
62
-
63
- $script = "<script type='text/javascript'>";
64
- $script .= 'window.$_REVECHAT_API || (function(d, w) { var r = $_REVECHAT_API = function(c) {r._.push(c);}; w.__revechat_account=\''.$accountId.'\';w.__revechat_version=2;
65
- r._= []; var rc = d.createElement(\'script\'); rc.type = \'text/javascript\'; rc.async = true; rc.setAttribute(\'charset\', \'utf-8\');
66
- rc.src = (\'https:\' == document.location.protocol ? \'https://\' : \'http://\') + \'static.revechat.com/widget/scripts/new-livechat.js?\'+new Date().getTime();
67
- var s = d.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(rc, s);
68
- })(document, window);';
69
-
70
- $script .='</script>';
71
-
72
- echo $script ;
73
-
74
- }
75
-
76
- }
77
-
78
- /**
79
- * Register a setting and its data.
80
- * refer to @link [https://developer.wordpress.org/reference/functions/register_setting/]
81
- * for more information about register setting
82
- */
83
- public function registerSettings(){
84
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
85
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
86
- }
87
-
88
- /**
89
- * Render the settings form
90
- */
91
- public function reveChatOptions(){
92
- if ( !current_user_can( 'manage_options' ) ) {
93
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
94
- }
95
- // variables for the field and option names
96
- $accountId = 'revechat_accountid';
97
-
98
- // Read in existing option value from database
99
- $val_accountId = get_option( $accountId );
100
-
101
- if( isset($_POST[ $accountId ])){
102
-
103
- // Read in existing option value from POST
104
- $val_accountId = $_POST[ $accountId ];
105
- update_option( $accountId , $val_accountId );
106
- ?>
107
- <div class="updated" xmlns="http://www.w3.org/1999/html"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
108
- <?php
109
- }
110
- ?>
111
- <div class="wrap" id="revechat">
112
-
113
- <div>
114
- <div class="reve-chat-logo">
115
- <img src="<?php echo plugin_dir_url( __FILE__ )."images/logo.png";?>" alt="REVE Chat">
116
- </div>
117
-
118
- <form name="form1" id="revechat-admin-settings-form" method="post" action="">
119
-
120
- <?php
121
- if(isset($val_accountId) && $val_accountId != 0){
122
- require (plugin_dir_path( __FILE__ )."includes/remove-form.php");
123
- echo '</div>';
124
- return;
125
- }
126
-
127
- require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
128
- ?>
129
- <div class="form-item form-type-item" id="edit-ajax-message">
130
- <p class="ajax_message"></p>
131
- </div>
132
- <?php
133
- require (plugin_dir_path( __FILE__ )."includes/login-form.php");
134
- require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
135
- ?>
136
-
137
- </form>
138
- </div>
139
- </div>
140
-
141
- <?php
142
- }
143
-
144
- /**
145
- * Add page in admin menu
146
- * This method takes a capability which will be used to determine whether or not a page is included in the menu.
147
- * this method which is hooked in to handle the output of the page also check that the user has the required
148
- * capability as well.
149
- */
150
- public function admin_menu()
151
- {
152
- add_menu_page(__($this->plugin->displayName.' Dashboard','revechat-settings'), __($this->plugin->displayName,'menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions'), plugin_dir_url( __FILE__ )."images/favicon.png");
153
- }
154
-
155
- /**
156
- * Triggers when the user deactivate/uninstall the plugin.
157
- * this method simply delete all the data of this
158
- * plugin from database.
159
- */
160
-
161
- public static function deactivate()
162
- {
163
- delete_option('revechat_accountid');
164
- }
165
-
166
-
167
- /**
168
- * Load necessary JavaScript and CSS library
169
- * in admin panel.
170
- */
171
- public function admin_scripts(){
172
-
173
- wp_enqueue_script( 'jquery');
174
-
175
- wp_enqueue_script( 'revechat-admin-script', plugin_dir_url( __FILE__ ) . '/js/revechat-admin.js',array('jquery') );
176
-
177
- wp_enqueue_style( 'custom_wp_admin_css',plugin_dir_url( __FILE__ ).'css/admin-styles.css' );
178
- }
179
-
180
- /**
181
- * Applied to the list of links to display on the plugins page (beside the activate/deactivate links).
182
- *
183
- * @param $links
184
- * @return array
185
- */
186
- function add_action_links ( $links ) {
187
- $menu_link = array(
188
- '<a href="' . admin_url( 'admin.php?page=revechatsettings' ) . '">Settings</a>',
189
- );
190
- return array_merge( $links, $menu_link );
191
- }
192
- }
193
- } // END if(!class_exists('WP_Plugin_Revechat'))
194
-
195
- /**
196
- * Initialize the core class
197
- */
198
- $revechat = new WP_Plugin_Revechat();
199
-
200
- /**
201
- * Register the deactivation hook.
202
- */
203
- register_deactivation_hook( __FILE__, array( 'WP_Plugin_Revechat', 'deactivate' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.1/screenshot-1.jpg DELETED
Binary file
tags/6.1.1/screenshot-2.jpg DELETED
Binary file
tags/6.1.1/screenshot-3.jpg DELETED
Binary file
tags/6.1.1/screenshot-4.jpg DELETED
Binary file
tags/6.1.1/screenshot-5.jpg DELETED
Binary file
tags/6.1.1/screenshot-6.jpg DELETED
Binary file
tags/6.1.1/screenshot-7.jpg DELETED
Binary file
tags/6.1.1/screenshot-8.jpg DELETED
Binary file
tags/6.1.1/screenshot-9.jpg DELETED
Binary file
tags/6.1.2/css/admin-styles.css DELETED
@@ -1,109 +0,0 @@
1
- #revechat ul#revechat_choose_form{}
2
- #revechat ul#revechat_choose_form li{
3
- list-style: none;
4
- display: block;
5
- }
6
- #revechat ul#revechat_choose_form li label{
7
- display: inline-block;
8
- }
9
- #revechat .revechat_email_error{
10
- color: red;
11
- }
12
- #revechat .ajax_message {
13
- display: none;
14
- background: url(ajax_loader.gif) no-repeat 24px 51%;
15
- padding: 0;
16
- margin-top: 1em;
17
- }
18
- #revechat .ajax_message.wait,
19
- #revechat .ajax_message.message
20
- {
21
- display: block;
22
- font-size: 1.2em;
23
- padding: 20px;
24
- box-shadow: 2px 2px 2px rgba(0,0,0,.2);
25
- }
26
- #revechat .ajax_message.wait {
27
- text-indent: 28px;
28
- background-color: #fff;
29
- }
30
- #revechat .ajax_message.message {
31
- background-image: none;
32
- text-indent: 0px;
33
- }
34
-
35
- #revechat .ajax_message.message.alert{
36
- background-color: #f2dede;
37
- border-color: #ebccd1;
38
- color: #a94442;
39
- padding: 20px;
40
- }
41
- #revechat .ajax_message.message.success{
42
- background-color: #dff0d8;
43
- border: 1px solid #dff0d8;
44
- color: #3c763d;
45
- padding: 20px;
46
- }
47
- #revechat .revechat_success_message{
48
- background: #ffffff;
49
- padding: 50px;
50
- height: auto;
51
- font-size: 1.5em;
52
- border-bottom: 5px solid #F16915;
53
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
54
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
55
- box-shadow: 0px 0px 6px rgba(0,0,0,.3);
56
- }
57
- #revechat .revechat_success_message h3{
58
- font-weight: bold;
59
- border-bottom: 1px solid #B1B4B9;
60
- padding-bottom: 20px;
61
- line-height: 2em;
62
- }
63
- #revechat .messages.revechat_success{
64
- background-color: #dff0d8;
65
- border: 1px solid #bee99a;
66
- color: #3c763d;
67
- padding: 20px;
68
- margin-bottom: 30px;
69
- font-weight: 600;
70
- }
71
- #revechat .form-submit{
72
- background: #FF5800 none repeat scroll 0 0;
73
- border-color: #bd4302 #ab3c02 #ab3c02;
74
- -webkit-box-shadow: 0 1px 0 #ab3c02;
75
- box-shadow: 0 1px 0 #ab3c02;
76
- color: #fff;
77
- text-decoration: none;
78
- text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
79
- }
80
- #revechat .box {
81
- background: #ffffff;
82
- border: 1px solid #e5e5e5;
83
- padding: 20px;
84
- margin-bottom: 50px;
85
- }
86
- #revechat #revechat-admin-settings-form {
87
- padding: 18px;
88
- }
89
- #revechat fieldset {
90
- border: 1px solid #c0c0c0;
91
- margin-top: 20px;
92
- }
93
- #revechat #revechat_already_have > h3 {
94
- margin-top: 19px;
95
- }
96
- #revechat ul#revechat_choose_form li {
97
- display: block;
98
- list-style: outside none none;
99
- padding-left: 20px;
100
- }
101
-
102
- #revechat .form-item > label {
103
- display: table;
104
- margin-bottom: 11px;
105
- margin-top: 20px;
106
- }
107
- #revechat input.form-submit{
108
- cursor: pointer;
109
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.2/css/ajax_loader.gif DELETED
Binary file
tags/6.1.2/images/favicon.png DELETED
Binary file
tags/6.1.2/images/logo.png DELETED
Binary file
tags/6.1.2/includes/choose-form.php DELETED
@@ -1,13 +0,0 @@
1
- <div id="edit-choose-form" class="box">
2
- <h3>Do you already have a REVE Chat account?</h3>
3
- <ul id="revechat_choose_form">
4
- <li>
5
- <input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
6
- <label for="has_revechat_account">Yes, I already have a REVE Chat account</label>
7
- </li>
8
- <li>
9
- <input type="radio" id="new_revechat_account" name="revechat_choose_form">
10
- <label for="new_revechat_account">No, I want to create one</label>
11
- </li>
12
- </ul>
13
- </div><!-- Edit Choose Form -->
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.2/includes/login-form.php DELETED
@@ -1,23 +0,0 @@
1
- <div id="revechat_already_have" class="box">
2
- <h3>Account Details</h3>
3
- <table class="form-table">
4
- <tbody>
5
- <tr>
6
- <th>
7
- <label for="edit-revechat-account-email">
8
- <?php
9
- _e("REVE Chat login email");
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email" placeholder="Enter your email address">
15
- <input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
16
- </td>
17
- </tr>
18
- </tbody>
19
- </table>
20
- <p class="submit">
21
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
22
- </p>
23
- </div><!-- revechat_already_have -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.2/includes/remove-form.php DELETED
@@ -1,10 +0,0 @@
1
- <div class="box">
2
- <h3>REVE Chat has been installed.</h3>
3
- <p>Sign in to REVE Chat Dashboard and start chatting with your customers.</p>
4
- <p><a href="https://dashboard.revechat.com" class="form-submit button-primary" target="_blank">Go to Dashboard</a></p>
5
-
6
- <div id="edit-actions" class="form-actions form-wrapper">
7
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
8
- <p><small>Something went wrong? <input type="submit" style="background: transparent; border: 0; text-decoration: underline;text-transform: lowercase; font-size: 10px; cursor: pointer;" value="Disconnect" name="revechat_remove" id="edit-submit"></small></p>
9
- </div>
10
- </div>
 
 
 
 
 
 
 
 
 
 
tags/6.1.2/includes/signup-form.php DELETED
@@ -1,75 +0,0 @@
1
- <div id="revechat_new_account" class="box">
2
-
3
- <h3>Create a new REVE Chat account</h3>
4
- <table class="form-table">
5
- <tr>
6
- <th>
7
- <label for="edit-firstname">
8
- <?php
9
- _e("First Name")
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="text" class="regular-text" name="firstName" id="edit-firstname" placeholder="First Name">
15
- </td>
16
- </tr>
17
-
18
-
19
- <tr>
20
- <th>
21
- <label for="edit-lastname">
22
- <?php
23
- _e("Last Name")
24
- ?>
25
- </label>
26
- </th>
27
- <td>
28
- <input type="text" class="regular-text" name="firstName" id="edit-lastname" placeholder="Last Name">
29
- </td>
30
- </tr>
31
-
32
- <tr>
33
- <th>
34
- <label for="edit-email">
35
- <?php
36
- _e('Email Address')
37
- ?>
38
- </label>
39
-
40
- </th>
41
- <td>
42
- <input type="text" class="regular-text" name="email" id="edit-email" placeholder="Email address">
43
- </td>
44
- </tr>
45
-
46
- <tr>
47
- <th>
48
- <label for="edit-accountpassword">
49
- <?php
50
- _e('Password')
51
- ?>
52
- </label>
53
- </th>
54
- <td>
55
- <input type="password" class="regular-text" name="edit-accountpassword" id="edit-accountpassword" placeholder="Password">
56
- </td>
57
- </tr>
58
-
59
- <tr>
60
- <th>
61
- <label for="edit-retypepassword">
62
- <?php
63
- _e('Confirm your password')
64
- ?>
65
- </label>
66
- </th>
67
- <td>
68
- <input type="password" class="regular-text" name="edit-retypepassword" id="edit-retypepassword" placeholder="Confirm your password">
69
- </td>
70
- </tr>
71
- </table>
72
- <p class="submit">
73
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Create Account') ?>" />
74
- </p>
75
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.2/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/6.1.2/js/revechat-admin.js DELETED
@@ -1,208 +0,0 @@
1
- jQuery.noConflict();
2
- (function($){
3
- var baseUrl = 'https://dashboard.revechat.com/';
4
- var ReveChat ={
5
- init: function () {
6
- this.toggleForms();
7
- this.bindFormSubmit();
8
- },
9
-
10
- toggleForms: function ()
11
- {
12
- var toggleForms = function ()
13
- {
14
- if ($('#new_revechat_account').is(':checked'))
15
- {
16
- $('#revechat_already_have').hide();
17
- $('#revechat_new_account').show();
18
- }
19
- else if ($('#has_revechat_account').is(':checked'))
20
- {
21
- $('#revechat_new_account').hide();
22
- $('#revechat_already_have').show();
23
- $('#edit-revechat-account-email').focus();
24
- }
25
- };
26
- toggleForms();
27
-
28
- $('#revechat_choose_form input').click(toggleForms);
29
- },
30
-
31
- bindFormSubmit: function () {
32
- $('#revechat-admin-settings-form').submit(function(e)
33
- {
34
-
35
- if($('#edit-submit').val() == 'Disconnect'){
36
- $('#revechat_aid').val(0);
37
- $('#revechat-admin-settings-form').submit();
38
- }
39
- if (((parseInt($('#revechat_aid').val()) !== 0) || $('#has_revechat_account').is(':checked')))
40
- {
41
- return ReveChat.alreadyHaveAccountForm();
42
- }
43
- else
44
- {
45
- return ReveChat.newLicenseForm();
46
- }
47
-
48
- });
49
- },
50
-
51
- alreadyHaveAccountForm: function()
52
- {
53
- var email = $.trim($('#edit-revechat-account-email').val());
54
-
55
- if(ReveChat.isValidEmailAddress(email))
56
- {
57
- if((parseInt($('#revechat_aid').val()) == 0 || $('#revechat_aid').val() == ""))
58
- {
59
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait&hellip;');
60
-
61
- ReveChat.signIn(email);
62
- return false;
63
- }
64
- }
65
- else
66
- {
67
- alert('Please provide a valid email address');
68
- $('#edit-revechat-account-email').focus();
69
- return false;
70
- }
71
- return true;
72
- },
73
- signIn: function (email) {
74
- var signInUrl = baseUrl +'/license/adminId/'+email+'/?callback=?';
75
- $.getJSON(signInUrl,
76
- function(response)
77
- {
78
- if (response.error)
79
- {
80
- alert('Incorrect REVE Chat login');
81
- $('.ajax_message').removeClass('wait');
82
- $('#edit-revechat-account-email').focus();
83
- return false;
84
- }
85
- else
86
- {
87
- $('#revechat_aid').val(response.data.account_id);
88
- $('#revechat-admin-settings-form').submit();
89
- }
90
- });
91
- },
92
- newLicenseForm: function()
93
- {
94
- if (parseInt(($('#revechat_aid').val()) > 0))
95
- {
96
- return true;
97
- }
98
-
99
- if(this.validateNewLicenseForm())
100
- {
101
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
102
- ReveChat.createLicense();
103
- }
104
- return false;
105
- },
106
- createLicense: function()
107
- {
108
-
109
- $('.ajax_message').removeClass('message').addClass('wait').html('Creating new account&hellip;');
110
-
111
- var firstName = $.trim($('#edit-firstname').val());
112
- var lastName = $.trim($('#edit-lastname').val());
113
- var email = $.trim($('#edit-email').val());
114
- var password = $.trim($('#edit-accountpassword').val());
115
- var rePassword = $.trim($('#edit-retypepassword').val());
116
-
117
- var signUpUrl = baseUrl + 'revechat/cms/api/signup.do';
118
-
119
- $.ajax({
120
- data: { 'firstname':firstName, 'lastname':lastName, 'mailAddr':email, 'password':password, 'utm_source':'cms', 'utm_content':'wordpress', 'referrer':'https://wordpress.org/plugins/' },
121
- type:'POST',
122
- url:signUpUrl,
123
- dataType: 'json',
124
- cache:false,
125
- success: function(response) {
126
- if(response.status == 'error')
127
- {
128
- $('.ajax_message').removeClass('wait');
129
- alert(response.message);
130
- return false;
131
- }
132
- else if(response.status == 'success')
133
- {
134
- $('#edit-revechat-account-email').val(email);
135
- ReveChat.signIn(email);
136
- return false;
137
- }
138
- }
139
- });
140
- },
141
- validateNewLicenseForm: function()
142
- {
143
-
144
- var firstName = $.trim($('#edit-firstname').val());
145
- var lastName = $.trim($('#edit-lastname').val());
146
- var email = $.trim($('#edit-email').val());
147
- var password = $.trim($('#edit-accountpassword').val());
148
- var rePassword = $.trim($('#edit-retypepassword').val());
149
-
150
-
151
-
152
- if (!firstName.length)
153
- {
154
- alert('Please provide your first name.');
155
- $('.ajax_message').removeClass('wait');
156
- $('#edit-firstname').focus();
157
- return false;
158
- }
159
-
160
- if (!lastName.length)
161
- {
162
- alert('Please provide your last name.');
163
- $('.ajax_message').removeClass('wait');
164
- $('#edit-lastname').focus();
165
- return false;
166
- }
167
-
168
- if (!ReveChat.isValidEmailAddress(email))
169
- {
170
- alert('Please provide your valid email address.');
171
- $('.ajax_message').removeClass('wait');
172
- $('#edit-email').focus();
173
- return false;
174
- }
175
-
176
- if(password.length < 6){
177
- alert('Please provide your password. The password must be at least 6 characters long.')
178
- $('.ajax_message').removeClass('wait');
179
- $('#edit-accountpassword').focus();
180
- return false;
181
- }
182
-
183
- if(!rePassword.length || password.length < 6){
184
- alert('Please retype your password.');
185
- $('.ajax_message').removeClass('wait');
186
- $('#edit-retypepassword').focus();
187
- return false;
188
- }
189
-
190
- if(password != rePassword){
191
- alert('Password does not match the confirm password.');
192
- $('.ajax_message').removeClass('wait');
193
- return false;
194
- }
195
-
196
-
197
- return true;
198
- },
199
- isValidEmailAddress: function (emailAddress) {
200
- var pattern = /^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i;
201
- return pattern.test(emailAddress);
202
- },
203
- }
204
- $(document).ready(function()
205
- {
206
- ReveChat.init();
207
- });
208
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.2/readme.txt DELETED
@@ -1,165 +0,0 @@
1
- === REVE Chat - WP Live Chat Support plugin ===
2
- Contributors: revechat
3
- Tags: live chat,live support,chat software,chat plugin,wordpress live chat, wordpress chat,chat,chat for web,web chat,chat online,chat software,IM Chat,live web chat,web support,live chat software,online chat,online support,chat widget,video chat,voice chat,snapengage,wordpress chat,wordpress live chat,webrtc,screen sharing,co-browsing,co browsing,facebook chat plugin,facebook chat,web analytics, analytics, analytics dashboard,facebook, facebook messenger, messenger, facebook live chat, crisp, pure chat, purechat, zendesk, zendesk chat, liveagent, olark, happyfox, reve chat, chatra, provide support, comm100, kayako, zoho, zoho salesiq, userlike, userengage, drift, livehelpnow, live help now, intercom, freshdesk, zendesk, clickdesk, liveperson, live person, bold360, velaro, hubspot, salesforce, zapier, zopim, mailchimp, analytics, google analytics, im chat, slack,casengo, tagove, mylivechat, my live chat, livezilla, chatrify,live chat tool, live chat widget, live support button, live chat solution, customer service software, chat, customer service chat, live chat button,wp livechat support, tidio, jivochat, formilla, tawk, tawkto,tawk.to livechat inc, livechatinc, live chat inc,revechat
4
- Requires at least: 2.7
5
- Tested up to: 4.9.4
6
- Stable tag: 6.1.2
7
-
8
- Live chat and help desk software plugin for WordPress website. An application for live chat, help desk, online customer service and support.
9
-
10
-
11
- ==Description ==
12
- REVE Chat is a multi-channel cloud based live chat software that provides real time assistance to your website visitors for better customer support, service and boost sales conversions. Businesses can instantly engage with their customers across various channels such as Website live chat, Voice/ Video Chat, Facebook Messenger, Viber, Mobile apps (Android, iOS) using a single platform.
13
-
14
- REVE Chat also has advanced features such as Screen sharing and co-browsing, Department Management, Auto Triggers, and Visitor Analytics, Queuing, fully customizable chat banner and more to personalize every customer interaction across multiple channels.
15
-
16
-
17
- https://youtu.be/t1dykZ9Tg8U
18
-
19
-
20
- **Live Chat Key Features-**
21
- * **Voice/ Video Chat:** Talk to your customers using voice/ video chat right inside your web or mobile apps with click to call solution.
22
- * **Co-browsing:** Provide real time assistance and remote support to your website visitors and customers screen in real time.
23
- * **Facebook Messenger:** Chat with your Facebook customers using REVE Chat from single dashboard.
24
- * **Viber Messaging:** Chat with your customers on Viber messaging using your public account from single dashboard.
25
- * **Screen sharing:** Support your website visitors in real time and help them to navigate the website with screen sharing.
26
- * **Real-time Visitor Analytics:** Get real time insights about your customers (location, history, IP address, Referral source) and personalize every interaction to improve user experience
27
- * **Department Management:** Improve customer response time by routing your customer queries to the right department.
28
- * **Queuing:** Manage your customer expectations effectively by providing them right information about waiting time when your agents are busy with other customers
29
- * **Auto Triggers:** Send automatic invitations to your website visitors based on certain time, ULR or location.
30
- * **Chat Monitoring:** Monitor your agent performance and responses in real time to provide more appropriate answers to your customer queries.
31
-
32
-
33
- **Live Chat Benefits-**
34
-
35
-
36
- Out of all the customer support channels available whether offline or online — live chat is by far the most fast and convenient method to handle customer queries.
37
- * Get complete overview and insights about your customer interactions across multiple channels
38
- * Offer your visitors instant assistance and increase your sales conversions
39
- * Reduce cost of service by managing multiple customers simultaneously.
40
- * Receive valuable customer feedback after every chat session to gain insights and improve the quality of your service.
41
- * Proactively engage to assist website visitors in real-time before they leave your website being frustrated.
42
-
43
-
44
- **What makes Reve Chat the best choice for live chat?**
45
-
46
- * A simple and highly customizable Live chat solution
47
- * User friendly interface and Dashboard
48
- * Intuitive Chat Window
49
- * Innovative and unique features
50
- * 24x7 hour live chat support from our trained experts on any weekday (visit revechat.com)
51
-
52
-
53
- **Supported Language**
54
-
55
- * Arabic | Bangla | Chinese | Dutch | English | French| German | Hindi | Italian | Japanese | Korean | Malay | Polish | Portuguese | Romanian | Russian | Spanish | Swedish | Tagalog | Turkish | Vietnamese
56
-
57
-
58
- **Some Geeky Facts**
59
-
60
- * Work across major browsers (Internet Explorer 7+, Firefox, Google Chrome, Opera, Safari).
61
- * Average uptime is 99.8%.
62
- * Mobile Optimized Dashboard
63
- * Should you need any assistance, feel free to chat with our customer advocates on www.revechat.com or email us at support@revechat.com
64
-
65
-
66
- = Support =
67
-
68
-
69
- REVE Chat offers 24x7-365 live support, visit https://www.revechat.com and initiate a chat or send us an email at support@revechat.com.
70
-
71
-
72
- Don't have a reve chat account ? [Create one from here!](https://www.revechat.com/signup/?utm_source=wpdirectory&utm_medium=link&utm_campaign=signup)
73
-
74
-
75
-
76
- == Changelog ==
77
-
78
-
79
- = 1.2.0 =
80
-
81
- * Feature: Add the Reve chat widget to your site!
82
- * Feature: Customize look and feel of the widget, including themes and color!
83
-
84
- = 2.0 =
85
- * New Admin Menu page for REVE Chat
86
- * New for integration
87
- * Added link of settings page to display on the plugins page (beside the activate/deactivate links).
88
-
89
- = 2.0.1 =
90
- * Updated chat script
91
-
92
- = 2.0.3 =
93
- * updated the UI
94
-
95
- = 3.0 =
96
- * introduced new signup process
97
- * fixed signin bug
98
-
99
- == Screenshots ==
100
-
101
- 1. Chat window on your website - active chat
102
- 2. Account Configuration - Link Up
103
- 3. Account Configuration - Linked Up with Launch Dashboard
104
- 4. Dashboard View - Open new browser tab
105
- 5. Widget Customization from Dashboard
106
-
107
-
108
- == Installation ==
109
-
110
- Adding reve chat live chat widget to your Wordpress site is very easy, follow following steps :
111
-
112
- * Clone this repository into your plugins directory or download the zip file and unzip on your plugins directory
113
- * or Install the plugin from the WordPress directory and activate it.
114
- * Go to `Settings`, then to the 'revechat' sub menu, and login to your reve chat account to select a widget.
115
- * Customize the chat widget from within the [reve chat dashboard](https://dashboard.revechat.com) to your preference.
116
- * Start chatting with your visitors! :)
117
-
118
- Note: You will need a reve chat account : [Create one from here!](https://revechat.com/signup/?utm_source=wpdirectory&utm_medium=link&utm_campaign=signup)
119
-
120
- == Frequently Asked Questions ==
121
-
122
-
123
- = Do I have to install any software on my server to get this working? =
124
- REVE live chat plugin need to be installed from your WordPress panel. It is a cloud based live chat software hence it would only activate the script when you install the plugin.
125
-
126
- = Why should I use REVE Chat? =
127
- REVE chat is a complete online sales and support tool to engage your website visitors. With advanced features such as Click to call, Facebook Chat Integration, Queuing, Chat Monitoring and others, REVE Chat provides full insights to communicate with your visitors to become your loyal customers.
128
-
129
- = Which web browsers work best with this plugin? =
130
- Though it is designed to work on almost all the browsers, REVE Chat works best in the following environment: IE 7+ or later (PC), Firefox 2 or later (Mac, PC, or Linux), Safari 2 or later (Mac), Google Chrome (PC, Mac).
131
-
132
- = How much is price of REVE Chat? =
133
- REVE Chat plugin in free to install and it offers a complete 14 days free trial to understand its all features. REVE Chat offers 3 packages
134
- 1. Basic (Free)
135
- 2. Standard
136
- 3. Advanced
137
- Please click here to find out more about pricing.
138
- The live chat support plugin is completely free to install. However, if you want to use Standard and Advanced REVE Chat package then you have to purchase the package.
139
-
140
- = How can I chat with more visitors at the same time? =
141
- REVE Chat allows unlimited concurrent chats for the paid plans. Hence you can chat with as many visitors as you want at the same time. REVE Chat also allows you to proactively chat with your website visitors before they leave your website.
142
-
143
- = How can I take further information regarding REVE Chat? =
144
- You can find out more at our site at http://www.revechat.com or at support@revechat.com and we will help you with installation.
145
-
146
- = Is there any demo or trial period to do some testing? =
147
- Yes, definitely you can use all the features of REVE Chat for 14days in the trial period.
148
-
149
- = Can I customize the REVE Chat window? =
150
- Yes, REVE Chat window is customizable. Some of the things which you can change in the chat window include:
151
- * Changing the color scheme
152
- * Changing the font size
153
- * Chat Widget text
154
- * Offline Widget Text
155
- * Pre chat & Post chat form
156
-
157
- = Can I add REVE Chat on more than one website at the same time? =
158
- Yes, there is no limit on websites for the paid plans. However our free Basic package has limited features and it can be used only on one website.
159
-
160
-
161
- = Contributors & Developers =
162
-
163
- “REVE Chat – WP Live Chat Support plugin” is open source software. The following people have contributed to this plugin.
164
-
165
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.2/revechat.php DELETED
@@ -1,203 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: REVE Chat - WP Live Chat Support plugin
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 5.0
6
- Author: REVE Chat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- /**
13
- * Core class which interacts with
14
- * WordPress hooks and filters
15
- */
16
- class WP_Plugin_Revechat
17
- {
18
- /**
19
- * Constructor method of the plugin object.
20
- * This method initialize the stdClass,
21
- * defines plugin name, plugin display name etc.
22
- *
23
- * This method also calls necessary wodpress hooks and filters.
24
- * for more about hooks please visit @link [https://developer.wordpress.org/reference/functions/add_action/]
25
- * for more information on filters @link [https://developer.wordpress.org/reference/functions/add_filter/]
26
- */
27
- public function __construct()
28
- {
29
- // Plugin Details
30
- $this->plugin = new stdClass;
31
- $this->plugin->name = 'revechat'; // Plugin Folder
32
- $this->plugin->displayName = 'REVE Chat'; // Plugin Name
33
-
34
- // Hooks
35
- add_action('admin_init', array(&$this, 'registerSettings'));
36
-
37
- add_action('wp_head', array(&$this, 'frontendHeader'));
38
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
39
-
40
- // Add Menu Page
41
- add_action('admin_menu',array($this,'admin_menu'));
42
-
43
- //enqueue scripts
44
- add_action('admin_enqueue_scripts',array($this,'admin_scripts'));
45
-
46
- } // END public function __construct
47
-
48
- /**
49
- * REVE Chat widget script.
50
- *
51
- * This script will be rendered in frontend of the site.
52
- * This funtion is called when wp_head action triggered.
53
- * The wp_head action hook is triggered within the <head></head> section of the user's template
54
- * by the wp_head() function. Although this is theme-dependent,
55
- * it is one of the most essential theme hooks, so it is widely supported.
56
- *
57
- */
58
- public static function frontendHeader()
59
- {
60
- $accountId = get_option('revechat_accountid' , '');
61
- if( (isset($accountId) && !empty($accountId)) ) {
62
-
63
- $script = "<script type='text/javascript'>";
64
- $script .= 'window.$_REVECHAT_API || (function(d, w) { var r = $_REVECHAT_API = function(c) {r._.push(c);}; w.__revechat_account=\''.$accountId.'\';w.__revechat_version=2;
65
- r._= []; var rc = d.createElement(\'script\'); rc.type = \'text/javascript\'; rc.async = true; rc.setAttribute(\'charset\', \'utf-8\');
66
- rc.src = (\'https:\' == document.location.protocol ? \'https://\' : \'http://\') + \'static.revechat.com/widget/scripts/new-livechat.js?\'+new Date().getTime();
67
- var s = d.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(rc, s);
68
- })(document, window);';
69
-
70
- $script .='</script>';
71
-
72
- echo $script ;
73
-
74
- }
75
-
76
- }
77
-
78
- /**
79
- * Register a setting and its data.
80
- * refer to @link [https://developer.wordpress.org/reference/functions/register_setting/]
81
- * for more information about register setting
82
- */
83
- public function registerSettings(){
84
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
85
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
86
- }
87
-
88
- /**
89
- * Render the settings form
90
- */
91
- public function reveChatOptions(){
92
- if ( !current_user_can( 'manage_options' ) ) {
93
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
94
- }
95
- // variables for the field and option names
96
- $accountId = 'revechat_accountid';
97
-
98
- // Read in existing option value from database
99
- $val_accountId = get_option( $accountId );
100
-
101
- if( isset($_POST[ $accountId ])){
102
-
103
- // Read in existing option value from POST
104
- $val_accountId = $_POST[ $accountId ];
105
- update_option( $accountId , $val_accountId );
106
- ?>
107
- <div class="updated" xmlns="http://www.w3.org/1999/html"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
108
- <?php
109
- }
110
- ?>
111
- <div class="wrap" id="revechat">
112
-
113
- <div>
114
- <div class="reve-chat-logo">
115
- <img src="<?php echo plugin_dir_url( __FILE__ )."images/logo.png";?>" alt="REVE Chat">
116
- </div>
117
-
118
- <form name="form1" id="revechat-admin-settings-form" method="post" action="">
119
-
120
- <?php
121
- if(isset($val_accountId) && $val_accountId != 0){
122
- require (plugin_dir_path( __FILE__ )."includes/remove-form.php");
123
- echo '</div>';
124
- return;
125
- }
126
-
127
- require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
128
- ?>
129
- <div class="form-item form-type-item" id="edit-ajax-message">
130
- <p class="ajax_message"></p>
131
- </div>
132
- <?php
133
- require (plugin_dir_path( __FILE__ )."includes/login-form.php");
134
- require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
135
- ?>
136
-
137
- </form>
138
- </div>
139
- </div>
140
-
141
- <?php
142
- }
143
-
144
- /**
145
- * Add page in admin menu
146
- * This method takes a capability which will be used to determine whether or not a page is included in the menu.
147
- * this method which is hooked in to handle the output of the page also check that the user has the required
148
- * capability as well.
149
- */
150
- public function admin_menu()
151
- {
152
- add_menu_page(__($this->plugin->displayName.' Dashboard','revechat-settings'), __($this->plugin->displayName,'menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions'), plugin_dir_url( __FILE__ )."images/favicon.png");
153
- }
154
-
155
- /**
156
- * Triggers when the user deactivate/uninstall the plugin.
157
- * this method simply delete all the data of this
158
- * plugin from database.
159
- */
160
-
161
- public static function deactivate()
162
- {
163
- delete_option('revechat_accountid');
164
- }
165
-
166
-
167
- /**
168
- * Load necessary JavaScript and CSS library
169
- * in admin panel.
170
- */
171
- public function admin_scripts(){
172
-
173
- wp_enqueue_script( 'jquery');
174
-
175
- wp_enqueue_script( 'revechat-admin-script', plugin_dir_url( __FILE__ ) . '/js/revechat-admin.js',array('jquery') );
176
-
177
- wp_enqueue_style( 'custom_wp_admin_css',plugin_dir_url( __FILE__ ).'css/admin-styles.css' );
178
- }
179
-
180
- /**
181
- * Applied to the list of links to display on the plugins page (beside the activate/deactivate links).
182
- *
183
- * @param $links
184
- * @return array
185
- */
186
- function add_action_links ( $links ) {
187
- $menu_link = array(
188
- '<a href="' . admin_url( 'admin.php?page=revechatsettings' ) . '">Settings</a>',
189
- );
190
- return array_merge( $links, $menu_link );
191
- }
192
- }
193
- } // END if(!class_exists('WP_Plugin_Revechat'))
194
-
195
- /**
196
- * Initialize the core class
197
- */
198
- $revechat = new WP_Plugin_Revechat();
199
-
200
- /**
201
- * Register the deactivation hook.
202
- */
203
- register_deactivation_hook( __FILE__, array( 'WP_Plugin_Revechat', 'deactivate' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.2/screenshot-1.jpg DELETED
Binary file
tags/6.1.2/screenshot-2.jpg DELETED
Binary file
tags/6.1.2/screenshot-3.jpg DELETED
Binary file
tags/6.1.2/screenshot-4.jpg DELETED
Binary file
tags/6.1.2/screenshot-5.jpg DELETED
Binary file
tags/6.1.2/screenshot-6.jpg DELETED
Binary file
tags/6.1.2/screenshot-7.jpg DELETED
Binary file
tags/6.1.2/screenshot-8.jpg DELETED
Binary file
tags/6.1.2/screenshot-9.jpg DELETED
Binary file
tags/6.1.3/css/admin-styles.css DELETED
@@ -1,109 +0,0 @@
1
- #revechat ul#revechat_choose_form{}
2
- #revechat ul#revechat_choose_form li{
3
- list-style: none;
4
- display: block;
5
- }
6
- #revechat ul#revechat_choose_form li label{
7
- display: inline-block;
8
- }
9
- #revechat .revechat_email_error{
10
- color: red;
11
- }
12
- #revechat .ajax_message {
13
- display: none;
14
- background: url(ajax_loader.gif) no-repeat 24px 51%;
15
- padding: 0;
16
- margin-top: 1em;
17
- }
18
- #revechat .ajax_message.wait,
19
- #revechat .ajax_message.message
20
- {
21
- display: block;
22
- font-size: 1.2em;
23
- padding: 20px;
24
- box-shadow: 2px 2px 2px rgba(0,0,0,.2);
25
- }
26
- #revechat .ajax_message.wait {
27
- text-indent: 28px;
28
- background-color: #fff;
29
- }
30
- #revechat .ajax_message.message {
31
- background-image: none;
32
- text-indent: 0px;
33
- }
34
-
35
- #revechat .ajax_message.message.alert{
36
- background-color: #f2dede;
37
- border-color: #ebccd1;
38
- color: #a94442;
39
- padding: 20px;
40
- }
41
- #revechat .ajax_message.message.success{
42
- background-color: #dff0d8;
43
- border: 1px solid #dff0d8;
44
- color: #3c763d;
45
- padding: 20px;
46
- }
47
- #revechat .revechat_success_message{
48
- background: #ffffff;
49
- padding: 50px;
50
- height: auto;
51
- font-size: 1.5em;
52
- border-bottom: 5px solid #F16915;
53
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
54
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
55
- box-shadow: 0px 0px 6px rgba(0,0,0,.3);
56
- }
57
- #revechat .revechat_success_message h3{
58
- font-weight: bold;
59
- border-bottom: 1px solid #B1B4B9;
60
- padding-bottom: 20px;
61
- line-height: 2em;
62
- }
63
- #revechat .messages.revechat_success{
64
- background-color: #dff0d8;
65
- border: 1px solid #bee99a;
66
- color: #3c763d;
67
- padding: 20px;
68
- margin-bottom: 30px;
69
- font-weight: 600;
70
- }
71
- #revechat .form-submit{
72
- background: #FF5800 none repeat scroll 0 0;
73
- border-color: #bd4302 #ab3c02 #ab3c02;
74
- -webkit-box-shadow: 0 1px 0 #ab3c02;
75
- box-shadow: 0 1px 0 #ab3c02;
76
- color: #fff;
77
- text-decoration: none;
78
- text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
79
- }
80
- #revechat .box {
81
- background: #ffffff;
82
- border: 1px solid #e5e5e5;
83
- padding: 20px;
84
- margin-bottom: 50px;
85
- }
86
- #revechat #revechat-admin-settings-form {
87
- padding: 18px;
88
- }
89
- #revechat fieldset {
90
- border: 1px solid #c0c0c0;
91
- margin-top: 20px;
92
- }
93
- #revechat #revechat_already_have > h3 {
94
- margin-top: 19px;
95
- }
96
- #revechat ul#revechat_choose_form li {
97
- display: block;
98
- list-style: outside none none;
99
- padding-left: 20px;
100
- }
101
-
102
- #revechat .form-item > label {
103
- display: table;
104
- margin-bottom: 11px;
105
- margin-top: 20px;
106
- }
107
- #revechat input.form-submit{
108
- cursor: pointer;
109
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.3/css/ajax_loader.gif DELETED
Binary file
tags/6.1.3/images/favicon.png DELETED
Binary file
tags/6.1.3/images/logo.png DELETED
Binary file
tags/6.1.3/includes/choose-form.php DELETED
@@ -1,13 +0,0 @@
1
- <div id="edit-choose-form" class="box">
2
- <h3>Do you already have a REVE Chat account?</h3>
3
- <ul id="revechat_choose_form">
4
- <li>
5
- <input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
6
- <label for="has_revechat_account">Yes, I already have a REVE Chat account</label>
7
- </li>
8
- <li>
9
- <input type="radio" id="new_revechat_account" name="revechat_choose_form">
10
- <label for="new_revechat_account">No, I want to create one</label>
11
- </li>
12
- </ul>
13
- </div><!-- Edit Choose Form -->
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.3/includes/login-form.php DELETED
@@ -1,23 +0,0 @@
1
- <div id="revechat_already_have" class="box">
2
- <h3>Account Details</h3>
3
- <table class="form-table">
4
- <tbody>
5
- <tr>
6
- <th>
7
- <label for="edit-revechat-account-email">
8
- <?php
9
- _e("REVE Chat login email");
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email" placeholder="Enter your email address">
15
- <input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
16
- </td>
17
- </tr>
18
- </tbody>
19
- </table>
20
- <p class="submit">
21
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
22
- </p>
23
- </div><!-- revechat_already_have -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.3/includes/remove-form.php DELETED
@@ -1,10 +0,0 @@
1
- <div class="box">
2
- <h3>REVE Chat has been installed.</h3>
3
- <p>Sign in to REVE Chat Dashboard and start chatting with your customers.</p>
4
- <p><a href="https://dashboard.revechat.com" class="form-submit button-primary" target="_blank">Go to Dashboard</a></p>
5
-
6
- <div id="edit-actions" class="form-actions form-wrapper">
7
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
8
- <p><small>Something went wrong? <input type="submit" style="background: transparent; border: 0; text-decoration: underline;text-transform: lowercase; font-size: 10px; cursor: pointer;" value="Disconnect" name="revechat_remove" id="edit-submit"></small></p>
9
- </div>
10
- </div>
 
 
 
 
 
 
 
 
 
 
tags/6.1.3/includes/signup-form.php DELETED
@@ -1,75 +0,0 @@
1
- <div id="revechat_new_account" class="box">
2
-
3
- <h3>Create a new REVE Chat account</h3>
4
- <table class="form-table">
5
- <tr>
6
- <th>
7
- <label for="edit-firstname">
8
- <?php
9
- _e("First Name")
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="text" class="regular-text" name="firstName" id="edit-firstname" placeholder="First Name">
15
- </td>
16
- </tr>
17
-
18
-
19
- <tr>
20
- <th>
21
- <label for="edit-lastname">
22
- <?php
23
- _e("Last Name")
24
- ?>
25
- </label>
26
- </th>
27
- <td>
28
- <input type="text" class="regular-text" name="firstName" id="edit-lastname" placeholder="Last Name">
29
- </td>
30
- </tr>
31
-
32
- <tr>
33
- <th>
34
- <label for="edit-email">
35
- <?php
36
- _e('Email Address')
37
- ?>
38
- </label>
39
-
40
- </th>
41
- <td>
42
- <input type="text" class="regular-text" name="email" id="edit-email" placeholder="Email address">
43
- </td>
44
- </tr>
45
-
46
- <tr>
47
- <th>
48
- <label for="edit-accountpassword">
49
- <?php
50
- _e('Password')
51
- ?>
52
- </label>
53
- </th>
54
- <td>
55
- <input type="password" class="regular-text" name="edit-accountpassword" id="edit-accountpassword" placeholder="Password">
56
- </td>
57
- </tr>
58
-
59
- <tr>
60
- <th>
61
- <label for="edit-retypepassword">
62
- <?php
63
- _e('Confirm your password')
64
- ?>
65
- </label>
66
- </th>
67
- <td>
68
- <input type="password" class="regular-text" name="edit-retypepassword" id="edit-retypepassword" placeholder="Confirm your password">
69
- </td>
70
- </tr>
71
- </table>
72
- <p class="submit">
73
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Create Account') ?>" />
74
- </p>
75
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.3/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/6.1.3/js/revechat-admin.js DELETED
@@ -1,208 +0,0 @@
1
- jQuery.noConflict();
2
- (function($){
3
- var baseUrl = 'https://dashboard.revechat.com/';
4
- var ReveChat ={
5
- init: function () {
6
- this.toggleForms();
7
- this.bindFormSubmit();
8
- },
9
-
10
- toggleForms: function ()
11
- {
12
- var toggleForms = function ()
13
- {
14
- if ($('#new_revechat_account').is(':checked'))
15
- {
16
- $('#revechat_already_have').hide();
17
- $('#revechat_new_account').show();
18
- }
19
- else if ($('#has_revechat_account').is(':checked'))
20
- {
21
- $('#revechat_new_account').hide();
22
- $('#revechat_already_have').show();
23
- $('#edit-revechat-account-email').focus();
24
- }
25
- };
26
- toggleForms();
27
-
28
- $('#revechat_choose_form input').click(toggleForms);
29
- },
30
-
31
- bindFormSubmit: function () {
32
- $('#revechat-admin-settings-form').submit(function(e)
33
- {
34
-
35
- if($('#edit-submit').val() == 'Disconnect'){
36
- $('#revechat_aid').val(0);
37
- $('#revechat-admin-settings-form').submit();
38
- }
39
- if (((parseInt($('#revechat_aid').val()) !== 0) || $('#has_revechat_account').is(':checked')))
40
- {
41
- return ReveChat.alreadyHaveAccountForm();
42
- }
43
- else
44
- {
45
- return ReveChat.newLicenseForm();
46
- }
47
-
48
- });
49
- },
50
-
51
- alreadyHaveAccountForm: function()
52
- {
53
- var email = $.trim($('#edit-revechat-account-email').val());
54
-
55
- if(ReveChat.isValidEmailAddress(email))
56
- {
57
- if((parseInt($('#revechat_aid').val()) == 0 || $('#revechat_aid').val() == ""))
58
- {
59
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait&hellip;');
60
-
61
- ReveChat.signIn(email);
62
- return false;
63
- }
64
- }
65
- else
66
- {
67
- alert('Please provide a valid email address');
68
- $('#edit-revechat-account-email').focus();
69
- return false;
70
- }
71
- return true;
72
- },
73
- signIn: function (email) {
74
- var signInUrl = baseUrl +'/license/adminId/'+email+'/?callback=?';
75
- $.getJSON(signInUrl,
76
- function(response)
77
- {
78
- if (response.error)
79
- {
80
- alert('Incorrect REVE Chat login');
81
- $('.ajax_message').removeClass('wait');
82
- $('#edit-revechat-account-email').focus();
83
- return false;
84
- }
85
- else
86
- {
87
- $('#revechat_aid').val(response.data.account_id);
88
- $('#revechat-admin-settings-form').submit();
89
- }
90
- });
91
- },
92
- newLicenseForm: function()
93
- {
94
- if (parseInt(($('#revechat_aid').val()) > 0))
95
- {
96
- return true;
97
- }
98
-
99
- if(this.validateNewLicenseForm())
100
- {
101
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
102
- ReveChat.createLicense();
103
- }
104
- return false;
105
- },
106
- createLicense: function()
107
- {
108
-
109
- $('.ajax_message').removeClass('message').addClass('wait').html('Creating new account&hellip;');
110
-
111
- var firstName = $.trim($('#edit-firstname').val());
112
- var lastName = $.trim($('#edit-lastname').val());
113
- var email = $.trim($('#edit-email').val());
114
- var password = $.trim($('#edit-accountpassword').val());
115
- var rePassword = $.trim($('#edit-retypepassword').val());
116
-
117
- var signUpUrl = baseUrl + 'revechat/cms/api/signup.do';
118
-
119
- $.ajax({
120
- data: { 'firstname':firstName, 'lastname':lastName, 'mailAddr':email, 'password':password, 'utm_source':'cms', 'utm_content':'wordpress', 'referrer':'https://wordpress.org/plugins/' },
121
- type:'POST',
122
- url:signUpUrl,
123
- dataType: 'json',
124
- cache:false,
125
- success: function(response) {
126
- if(response.status == 'error')
127
- {
128
- $('.ajax_message').removeClass('wait');
129
- alert(response.message);
130
- return false;
131
- }
132
- else if(response.status == 'success')
133
- {
134
- $('#edit-revechat-account-email').val(email);
135
- ReveChat.signIn(email);
136
- return false;
137
- }
138
- }
139
- });
140
- },
141
- validateNewLicenseForm: function()
142
- {
143
-
144
- var firstName = $.trim($('#edit-firstname').val());
145
- var lastName = $.trim($('#edit-lastname').val());
146
- var email = $.trim($('#edit-email').val());
147
- var password = $.trim($('#edit-accountpassword').val());
148
- var rePassword = $.trim($('#edit-retypepassword').val());
149
-
150
-
151
-
152
- if (!firstName.length)
153
- {
154
- alert('Please provide your first name.');
155
- $('.ajax_message').removeClass('wait');
156
- $('#edit-firstname').focus();
157
- return false;
158
- }
159
-
160
- if (!lastName.length)
161
- {
162
- alert('Please provide your last name.');
163
- $('.ajax_message').removeClass('wait');
164
- $('#edit-lastname').focus();
165
- return false;
166
- }
167
-
168
- if (!ReveChat.isValidEmailAddress(email))
169
- {
170
- alert('Please provide your valid email address.');
171
- $('.ajax_message').removeClass('wait');
172
- $('#edit-email').focus();
173
- return false;
174
- }
175
-
176
- if(password.length < 6){
177
- alert('Please provide your password. The password must be at least 6 characters long.')
178
- $('.ajax_message').removeClass('wait');
179
- $('#edit-accountpassword').focus();
180
- return false;
181
- }
182
-
183
- if(!rePassword.length || password.length < 6){
184
- alert('Please retype your password.');
185
- $('.ajax_message').removeClass('wait');
186
- $('#edit-retypepassword').focus();
187
- return false;
188
- }
189
-
190
- if(password != rePassword){
191
- alert('Password does not match the confirm password.');
192
- $('.ajax_message').removeClass('wait');
193
- return false;
194
- }
195
-
196
-
197
- return true;
198
- },
199
- isValidEmailAddress: function (emailAddress) {
200
- var pattern = /^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i;
201
- return pattern.test(emailAddress);
202
- },
203
- }
204
- $(document).ready(function()
205
- {
206
- ReveChat.init();
207
- });
208
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.3/readme.txt DELETED
@@ -1,178 +0,0 @@
1
- === REVE Chat - WP Live Chat Support plugin ===
2
- Contributors: revechat
3
- Tags: live chat,live support,chat software,chat plugin,wordpress live chat, wordpress chat,chat,chat for web,web chat,chat online,chat software,IM Chat,live web chat,web support,live chat software,online chat,online support,chat widget,video chat,voice chat,snapengage,wordpress chat,wordpress live chat,webrtc,screen sharing,co-browsing,co browsing,facebook chat plugin,facebook chat,web analytics, analytics, analytics dashboard,facebook, facebook messenger, messenger, facebook live chat, crisp, pure chat, purechat, zendesk, zendesk chat, liveagent, olark, happyfox, reve chat, chatra, provide support, comm100, kayako, zoho, zoho salesiq, userlike, userengage, drift, livehelpnow, live help now, intercom, freshdesk, zendesk, clickdesk, liveperson, live person, bold360, velaro, hubspot, salesforce, zapier, zopim, mailchimp, analytics, google analytics, im chat, slack,casengo, tagove, mylivechat, my live chat, livezilla, chatrify,live chat tool, live chat widget, live support button, live chat solution, customer service software, chat, customer service chat, live chat button,wp livechat support, tidio, jivochat, formilla, tawk, tawkto,tawk.to livechat inc, livechatinc, live chat inc,revechat
4
- Requires at least: 2.7
5
- Tested up to: 4.9.4
6
- Stable tag: 6.1.3
7
-
8
- Live chat and help desk software plugin for WordPress website. An application for live chat, help desk, online customer service and support.
9
-
10
-
11
- ==Description ==
12
- REVE Chat is a multi-channel cloud based live chat software that provides real time assistance to your website visitors for better customer support, service and boost sales conversions. Businesses can instantly engage with their customers across various channels such as Website live chat, Voice/ Video Chat, Facebook Messenger, Viber, Mobile apps (Android, iOS) using a single platform.
13
-
14
- REVE Chat also has advanced features such as Screen sharing and co-browsing, Department Management, Auto Triggers, and Visitor Analytics, Queuing, fully customizable chat banner and more to personalize every customer interaction across multiple channels.
15
-
16
-
17
- https://youtu.be/t1dykZ9Tg8U
18
-
19
-
20
- **Live Chat Key Features-**
21
- **Voice/ Video Chat:** Talk to your customers using voice/ video chat right inside your web or mobile apps with click to call solution.
22
-
23
- **Co-browsing:** Provide real time assistance and remote support to your website visitors and customers screen in real time.
24
-
25
- **Facebook Messenger:** Chat with your Facebook customers using REVE Chat from single dashboard.
26
-
27
- **Viber Messaging:** Chat with your customers on Viber messaging using your public account from single dashboard.
28
-
29
- **Screen sharing:** Support your website visitors in real time and help them to navigate the website with screen sharing.
30
-
31
- **Real-time Visitor Analytics:** Get real time insights about your customers (location, history, IP address, Referral source) and personalize every interaction to improve user experience
32
-
33
- **Department Management:** Improve customer response time by routing your customer queries to the right department.
34
-
35
- **Queuing:** Manage your customer expectations effectively by providing them right information about waiting time when your agents are busy with other customers
36
-
37
- **Auto Triggers:** Send automatic invitations to your website visitors based on certain time, ULR or location.
38
-
39
- **Chat Monitoring:** Monitor your agent performance and responses in real time to provide more appropriate answers to your customer queries.
40
-
41
-
42
- **Live Chat Benefits-**
43
-
44
-
45
- Out of all the customer support channels available whether offline or online — live chat is by far the most fast and convenient method to handle customer queries.
46
- Get complete overview and insights about your customer interactions across multiple channels
47
-
48
- Offer your visitors instant assistance and increase your sales conversions
49
-
50
- Reduce cost of service by managing multiple customers simultaneously.
51
-
52
- Receive valuable customer feedback after every chat session to gain insights and improve the quality of your service.
53
-
54
- Proactively engage to assist website visitors in real-time before they leave your website being frustrated.
55
-
56
-
57
- **What makes Reve Chat the best choice for live chat?**
58
-
59
- * A simple and highly customizable Live chat solution
60
- * User friendly interface and Dashboard
61
- * Intuitive Chat Window
62
- * Innovative and unique features
63
- * 24x7 hour live chat support from our trained experts on any weekday (visit revechat.com)
64
-
65
-
66
- **Supported Language**
67
-
68
- * Arabic | Bangla | Chinese | Dutch | English | French| German | Hindi | Italian | Japanese | Korean | Malay | Polish | Portuguese | Romanian | Russian | Spanish | Swedish | Tagalog | Turkish | Vietnamese
69
-
70
-
71
- **Some Geeky Facts**
72
-
73
- * Work across major browsers (Internet Explorer 7+, Firefox, Google Chrome, Opera, Safari).
74
- * Average uptime is 99.8%.
75
- * Mobile Optimized Dashboard
76
- * Should you need any assistance, feel free to chat with our customer advocates on www.revechat.com or email us at support@revechat.com
77
-
78
-
79
- = Support =
80
-
81
-
82
- REVE Chat offers 24x7-365 live support, visit https://www.revechat.com and initiate a chat or send us an email at support@revechat.com.
83
-
84
-
85
- Don't have a reve chat account ? [Create one from here!](https://www.revechat.com/signup/?utm_source=wpdirectory&utm_medium=link&utm_campaign=signup)
86
-
87
-
88
-
89
- == Changelog ==
90
-
91
-
92
- = 1.2.0 =
93
-
94
- * Feature: Add the Reve chat widget to your site!
95
- * Feature: Customize look and feel of the widget, including themes and color!
96
-
97
- = 2.0 =
98
- * New Admin Menu page for REVE Chat
99
- * New for integration
100
- * Added link of settings page to display on the plugins page (beside the activate/deactivate links).
101
-
102
- = 2.0.1 =
103
- * Updated chat script
104
-
105
- = 2.0.3 =
106
- * updated the UI
107
-
108
- = 3.0 =
109
- * introduced new signup process
110
- * fixed signin bug
111
-
112
- == Screenshots ==
113
-
114
- 1. Chat window on your website - active chat
115
- 2. Account Configuration - Link Up
116
- 3. Account Configuration - Linked Up with Launch Dashboard
117
- 4. Dashboard View - Open new browser tab
118
- 5. Widget Customization from Dashboard
119
-
120
-
121
- == Installation ==
122
-
123
- Adding reve chat live chat widget to your Wordpress site is very easy, follow following steps :
124
-
125
- * Clone this repository into your plugins directory or download the zip file and unzip on your plugins directory
126
- * or Install the plugin from the WordPress directory and activate it.
127
- * Go to `Settings`, then to the 'revechat' sub menu, and login to your reve chat account to select a widget.
128
- * Customize the chat widget from within the [reve chat dashboard](https://dashboard.revechat.com) to your preference.
129
- * Start chatting with your visitors! :)
130
-
131
- Note: You will need a reve chat account : [Create one from here!](https://revechat.com/signup/?utm_source=wpdirectory&utm_medium=link&utm_campaign=signup)
132
-
133
- == Frequently Asked Questions ==
134
-
135
-
136
- = Do I have to install any software on my server to get this working? =
137
- REVE live chat plugin need to be installed from your WordPress panel. It is a cloud based live chat software hence it would only activate the script when you install the plugin.
138
-
139
- = Why should I use REVE Chat? =
140
- REVE chat is a complete online sales and support tool to engage your website visitors. With advanced features such as Click to call, Facebook Chat Integration, Queuing, Chat Monitoring and others, REVE Chat provides full insights to communicate with your visitors to become your loyal customers.
141
-
142
- = Which web browsers work best with this plugin? =
143
- Though it is designed to work on almost all the browsers, REVE Chat works best in the following environment: IE 7+ or later (PC), Firefox 2 or later (Mac, PC, or Linux), Safari 2 or later (Mac), Google Chrome (PC, Mac).
144
-
145
- = How much is price of REVE Chat? =
146
- REVE Chat plugin in free to install and it offers a complete 14 days free trial to understand its all features. REVE Chat offers 3 packages
147
- 1. Basic (Free)
148
- 2. Standard
149
- 3. Advanced
150
- Please click here to find out more about pricing.
151
- The live chat support plugin is completely free to install. However, if you want to use Standard and Advanced REVE Chat package then you have to purchase the package.
152
-
153
- = How can I chat with more visitors at the same time? =
154
- REVE Chat allows unlimited concurrent chats for the paid plans. Hence you can chat with as many visitors as you want at the same time. REVE Chat also allows you to proactively chat with your website visitors before they leave your website.
155
-
156
- = How can I take further information regarding REVE Chat? =
157
- You can find out more at our site at http://www.revechat.com or at support@revechat.com and we will help you with installation.
158
-
159
- = Is there any demo or trial period to do some testing? =
160
- Yes, definitely you can use all the features of REVE Chat for 14days in the trial period.
161
-
162
- = Can I customize the REVE Chat window? =
163
- Yes, REVE Chat window is customizable. Some of the things which you can change in the chat window include:
164
- * Changing the color scheme
165
- * Changing the font size
166
- * Chat Widget text
167
- * Offline Widget Text
168
- * Pre chat & Post chat form
169
-
170
- = Can I add REVE Chat on more than one website at the same time? =
171
- Yes, there is no limit on websites for the paid plans. However our free Basic package has limited features and it can be used only on one website.
172
-
173
-
174
- = Contributors & Developers =
175
-
176
- “REVE Chat – WP Live Chat Support plugin” is open source software. The following people have contributed to this plugin.
177
-
178
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.3/revechat.php DELETED
@@ -1,203 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: REVE Chat - WP Live Chat Support plugin
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 5.0
6
- Author: REVE Chat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- /**
13
- * Core class which interacts with
14
- * WordPress hooks and filters
15
- */
16
- class WP_Plugin_Revechat
17
- {
18
- /**
19
- * Constructor method of the plugin object.
20
- * This method initialize the stdClass,
21
- * defines plugin name, plugin display name etc.
22
- *
23
- * This method also calls necessary wodpress hooks and filters.
24
- * for more about hooks please visit @link [https://developer.wordpress.org/reference/functions/add_action/]
25
- * for more information on filters @link [https://developer.wordpress.org/reference/functions/add_filter/]
26
- */
27
- public function __construct()
28
- {
29
- // Plugin Details
30
- $this->plugin = new stdClass;
31
- $this->plugin->name = 'revechat'; // Plugin Folder
32
- $this->plugin->displayName = 'REVE Chat'; // Plugin Name
33
-
34
- // Hooks
35
- add_action('admin_init', array(&$this, 'registerSettings'));
36
-
37
- add_action('wp_head', array(&$this, 'frontendHeader'));
38
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
39
-
40
- // Add Menu Page
41
- add_action('admin_menu',array($this,'admin_menu'));
42
-
43
- //enqueue scripts
44
- add_action('admin_enqueue_scripts',array($this,'admin_scripts'));
45
-
46
- } // END public function __construct
47
-
48
- /**
49
- * REVE Chat widget script.
50
- *
51
- * This script will be rendered in frontend of the site.
52
- * This funtion is called when wp_head action triggered.
53
- * The wp_head action hook is triggered within the <head></head> section of the user's template
54
- * by the wp_head() function. Although this is theme-dependent,
55
- * it is one of the most essential theme hooks, so it is widely supported.
56
- *
57
- */
58
- public static function frontendHeader()
59
- {
60
- $accountId = get_option('revechat_accountid' , '');
61
- if( (isset($accountId) && !empty($accountId)) ) {
62
-
63
- $script = "<script type='text/javascript'>";
64
- $script .= 'window.$_REVECHAT_API || (function(d, w) { var r = $_REVECHAT_API = function(c) {r._.push(c);}; w.__revechat_account=\''.$accountId.'\';w.__revechat_version=2;
65
- r._= []; var rc = d.createElement(\'script\'); rc.type = \'text/javascript\'; rc.async = true; rc.setAttribute(\'charset\', \'utf-8\');
66
- rc.src = (\'https:\' == document.location.protocol ? \'https://\' : \'http://\') + \'static.revechat.com/widget/scripts/new-livechat.js?\'+new Date().getTime();
67
- var s = d.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(rc, s);
68
- })(document, window);';
69
-
70
- $script .='</script>';
71
-
72
- echo $script ;
73
-
74
- }
75
-
76
- }
77
-
78
- /**
79
- * Register a setting and its data.
80
- * refer to @link [https://developer.wordpress.org/reference/functions/register_setting/]
81
- * for more information about register setting
82
- */
83
- public function registerSettings(){
84
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
85
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
86
- }
87
-
88
- /**
89
- * Render the settings form
90
- */
91
- public function reveChatOptions(){
92
- if ( !current_user_can( 'manage_options' ) ) {
93
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
94
- }
95
- // variables for the field and option names
96
- $accountId = 'revechat_accountid';
97
-
98
- // Read in existing option value from database
99
- $val_accountId = get_option( $accountId );
100
-
101
- if( isset($_POST[ $accountId ])){
102
-
103
- // Read in existing option value from POST
104
- $val_accountId = $_POST[ $accountId ];
105
- update_option( $accountId , $val_accountId );
106
- ?>
107
- <div class="updated" xmlns="http://www.w3.org/1999/html"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
108
- <?php
109
- }
110
- ?>
111
- <div class="wrap" id="revechat">
112
-
113
- <div>
114
- <div class="reve-chat-logo">
115
- <img src="<?php echo plugin_dir_url( __FILE__ )."images/logo.png";?>" alt="REVE Chat">
116
- </div>
117
-
118
- <form name="form1" id="revechat-admin-settings-form" method="post" action="">
119
-
120
- <?php
121
- if(isset($val_accountId) && $val_accountId != 0){
122
- require (plugin_dir_path( __FILE__ )."includes/remove-form.php");
123
- echo '</div>';
124
- return;
125
- }
126
-
127
- require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
128
- ?>
129
- <div class="form-item form-type-item" id="edit-ajax-message">
130
- <p class="ajax_message"></p>
131
- </div>
132
- <?php
133
- require (plugin_dir_path( __FILE__ )."includes/login-form.php");
134
- require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
135
- ?>
136
-
137
- </form>
138
- </div>
139
- </div>
140
-
141
- <?php
142
- }
143
-
144
- /**
145
- * Add page in admin menu
146
- * This method takes a capability which will be used to determine whether or not a page is included in the menu.
147
- * this method which is hooked in to handle the output of the page also check that the user has the required
148
- * capability as well.
149
- */
150
- public function admin_menu()
151
- {
152
- add_menu_page(__($this->plugin->displayName.' Dashboard','revechat-settings'), __($this->plugin->displayName,'menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions'), plugin_dir_url( __FILE__ )."images/favicon.png");
153
- }
154
-
155
- /**
156
- * Triggers when the user deactivate/uninstall the plugin.
157
- * this method simply delete all the data of this
158
- * plugin from database.
159
- */
160
-
161
- public static function deactivate()
162
- {
163
- delete_option('revechat_accountid');
164
- }
165
-
166
-
167
- /**
168
- * Load necessary JavaScript and CSS library
169
- * in admin panel.
170
- */
171
- public function admin_scripts(){
172
-
173
- wp_enqueue_script( 'jquery');
174
-
175
- wp_enqueue_script( 'revechat-admin-script', plugin_dir_url( __FILE__ ) . '/js/revechat-admin.js',array('jquery') );
176
-
177
- wp_enqueue_style( 'custom_wp_admin_css',plugin_dir_url( __FILE__ ).'css/admin-styles.css' );
178
- }
179
-
180
- /**
181
- * Applied to the list of links to display on the plugins page (beside the activate/deactivate links).
182
- *
183
- * @param $links
184
- * @return array
185
- */
186
- function add_action_links ( $links ) {
187
- $menu_link = array(
188
- '<a href="' . admin_url( 'admin.php?page=revechatsettings' ) . '">Settings</a>',
189
- );
190
- return array_merge( $links, $menu_link );
191
- }
192
- }
193
- } // END if(!class_exists('WP_Plugin_Revechat'))
194
-
195
- /**
196
- * Initialize the core class
197
- */
198
- $revechat = new WP_Plugin_Revechat();
199
-
200
- /**
201
- * Register the deactivation hook.
202
- */
203
- register_deactivation_hook( __FILE__, array( 'WP_Plugin_Revechat', 'deactivate' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.3/screenshot-1.jpg DELETED
Binary file
tags/6.1.3/screenshot-2.jpg DELETED
Binary file
tags/6.1.3/screenshot-3.jpg DELETED
Binary file
tags/6.1.3/screenshot-4.jpg DELETED
Binary file
tags/6.1.3/screenshot-5.jpg DELETED
Binary file
tags/6.1.3/screenshot-6.jpg DELETED
Binary file
tags/6.1.3/screenshot-7.jpg DELETED
Binary file
tags/6.1.3/screenshot-8.jpg DELETED
Binary file
tags/6.1.3/screenshot-9.jpg DELETED
Binary file
tags/6.1.5/css/admin-styles.css DELETED
@@ -1,109 +0,0 @@
1
- #revechat ul#revechat_choose_form{}
2
- #revechat ul#revechat_choose_form li{
3
- list-style: none;
4
- display: block;
5
- }
6
- #revechat ul#revechat_choose_form li label{
7
- display: inline-block;
8
- }
9
- #revechat .revechat_email_error{
10
- color: red;
11
- }
12
- #revechat .ajax_message {
13
- display: none;
14
- background: url(ajax_loader.gif) no-repeat 24px 51%;
15
- padding: 0;
16
- margin-top: 1em;
17
- }
18
- #revechat .ajax_message.wait,
19
- #revechat .ajax_message.message
20
- {
21
- display: block;
22
- font-size: 1.2em;
23
- padding: 20px;
24
- box-shadow: 2px 2px 2px rgba(0,0,0,.2);
25
- }
26
- #revechat .ajax_message.wait {
27
- text-indent: 28px;
28
- background-color: #fff;
29
- }
30
- #revechat .ajax_message.message {
31
- background-image: none;
32
- text-indent: 0px;
33
- }
34
-
35
- #revechat .ajax_message.message.alert{
36
- background-color: #f2dede;
37
- border-color: #ebccd1;
38
- color: #a94442;
39
- padding: 20px;
40
- }
41
- #revechat .ajax_message.message.success{
42
- background-color: #dff0d8;
43
- border: 1px solid #dff0d8;
44
- color: #3c763d;
45
- padding: 20px;
46
- }
47
- #revechat .revechat_success_message{
48
- background: #ffffff;
49
- padding: 50px;
50
- height: auto;
51
- font-size: 1.5em;
52
- border-bottom: 5px solid #F16915;
53
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
54
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
55
- box-shadow: 0px 0px 6px rgba(0,0,0,.3);
56
- }
57
- #revechat .revechat_success_message h3{
58
- font-weight: bold;
59
- border-bottom: 1px solid #B1B4B9;
60
- padding-bottom: 20px;
61
- line-height: 2em;
62
- }
63
- #revechat .messages.revechat_success{
64
- background-color: #dff0d8;
65
- border: 1px solid #bee99a;
66
- color: #3c763d;
67
- padding: 20px;
68
- margin-bottom: 30px;
69
- font-weight: 600;
70
- }
71
- #revechat .form-submit{
72
- background: #FF5800 none repeat scroll 0 0;
73
- border-color: #bd4302 #ab3c02 #ab3c02;
74
- -webkit-box-shadow: 0 1px 0 #ab3c02;
75
- box-shadow: 0 1px 0 #ab3c02;
76
- color: #fff;
77
- text-decoration: none;
78
- text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
79
- }
80
- #revechat .box {
81
- background: #ffffff;
82
- border: 1px solid #e5e5e5;
83
- padding: 20px;
84
- margin-bottom: 50px;
85
- }
86
- #revechat #revechat-admin-settings-form {
87
- padding: 18px;
88
- }
89
- #revechat fieldset {
90
- border: 1px solid #c0c0c0;
91
- margin-top: 20px;
92
- }
93
- #revechat #revechat_already_have > h3 {
94
- margin-top: 19px;
95
- }
96
- #revechat ul#revechat_choose_form li {
97
- display: block;
98
- list-style: outside none none;
99
- padding-left: 20px;
100
- }
101
-
102
- #revechat .form-item > label {
103
- display: table;
104
- margin-bottom: 11px;
105
- margin-top: 20px;
106
- }
107
- #revechat input.form-submit{
108
- cursor: pointer;
109
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.5/css/ajax_loader.gif DELETED
Binary file
tags/6.1.5/images/favicon.png DELETED
Binary file
tags/6.1.5/images/logo.png DELETED
Binary file
tags/6.1.5/includes/choose-form.php DELETED
@@ -1,13 +0,0 @@
1
- <div id="edit-choose-form" class="box">
2
- <h3>Do you already have a REVE Chat account?</h3>
3
- <ul id="revechat_choose_form">
4
- <li>
5
- <input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
6
- <label for="has_revechat_account">Yes, I already have a REVE Chat account</label>
7
- </li>
8
- <li>
9
- <input type="radio" id="new_revechat_account" name="revechat_choose_form">
10
- <label for="new_revechat_account">No, I want to create one</label>
11
- </li>
12
- </ul>
13
- </div><!-- Edit Choose Form -->
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.5/includes/login-form.php DELETED
@@ -1,23 +0,0 @@
1
- <div id="revechat_already_have" class="box">
2
- <h3>Account Details</h3>
3
- <table class="form-table">
4
- <tbody>
5
- <tr>
6
- <th>
7
- <label for="edit-revechat-account-email">
8
- <?php
9
- _e("REVE Chat login email");
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email" placeholder="Enter your email address">
15
- <input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
16
- </td>
17
- </tr>
18
- </tbody>
19
- </table>
20
- <p class="submit">
21
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
22
- </p>
23
- </div><!-- revechat_already_have -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.5/includes/remove-form.php DELETED
@@ -1,10 +0,0 @@
1
- <div class="box">
2
- <h3>REVE Chat has been installed.</h3>
3
- <p>Sign in to REVE Chat Dashboard and start chatting with your customers.</p>
4
- <p><a href="https://dashboard.revechat.com" class="form-submit button-primary" target="_blank">Go to Dashboard</a></p>
5
-
6
- <div id="edit-actions" class="form-actions form-wrapper">
7
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
8
- <p><small>Something went wrong? <input type="submit" style="background: transparent; border: 0; text-decoration: underline;text-transform: lowercase; font-size: 10px; cursor: pointer;" value="Disconnect" name="revechat_remove" id="edit-submit"></small></p>
9
- </div>
10
- </div>
 
 
 
 
 
 
 
 
 
 
tags/6.1.5/includes/signup-form.php DELETED
@@ -1,75 +0,0 @@
1
- <div id="revechat_new_account" class="box">
2
-
3
- <h3>Create a new REVE Chat account</h3>
4
- <table class="form-table">
5
- <tr>
6
- <th>
7
- <label for="edit-firstname">
8
- <?php
9
- _e("First Name")
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="text" class="regular-text" name="firstName" id="edit-firstname" placeholder="First Name">
15
- </td>
16
- </tr>
17
-
18
-
19
- <tr>
20
- <th>
21
- <label for="edit-lastname">
22
- <?php
23
- _e("Last Name")
24
- ?>
25
- </label>
26
- </th>
27
- <td>
28
- <input type="text" class="regular-text" name="firstName" id="edit-lastname" placeholder="Last Name">
29
- </td>
30
- </tr>
31
-
32
- <tr>
33
- <th>
34
- <label for="edit-email">
35
- <?php
36
- _e('Email Address')
37
- ?>
38
- </label>
39
-
40
- </th>
41
- <td>
42
- <input type="text" class="regular-text" name="email" id="edit-email" placeholder="Email address">
43
- </td>
44
- </tr>
45
-
46
- <tr>
47
- <th>
48
- <label for="edit-accountpassword">
49
- <?php
50
- _e('Password')
51
- ?>
52
- </label>
53
- </th>
54
- <td>
55
- <input type="password" class="regular-text" name="edit-accountpassword" id="edit-accountpassword" placeholder="Password">
56
- </td>
57
- </tr>
58
-
59
- <tr>
60
- <th>
61
- <label for="edit-retypepassword">
62
- <?php
63
- _e('Confirm your password')
64
- ?>
65
- </label>
66
- </th>
67
- <td>
68
- <input type="password" class="regular-text" name="edit-retypepassword" id="edit-retypepassword" placeholder="Confirm your password">
69
- </td>
70
- </tr>
71
- </table>
72
- <p class="submit">
73
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Create Account') ?>" />
74
- </p>
75
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.5/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/6.1.5/js/revechat-admin.js DELETED
@@ -1,208 +0,0 @@
1
- jQuery.noConflict();
2
- (function($){
3
- var baseUrl = 'https://dashboard.revechat.com/';
4
- var ReveChat ={
5
- init: function () {
6
- this.toggleForms();
7
- this.bindFormSubmit();
8
- },
9
-
10
- toggleForms: function ()
11
- {
12
- var toggleForms = function ()
13
- {
14
- if ($('#new_revechat_account').is(':checked'))
15
- {
16
- $('#revechat_already_have').hide();
17
- $('#revechat_new_account').show();
18
- }
19
- else if ($('#has_revechat_account').is(':checked'))
20
- {
21
- $('#revechat_new_account').hide();
22
- $('#revechat_already_have').show();
23
- $('#edit-revechat-account-email').focus();
24
- }
25
- };
26
- toggleForms();
27
-
28
- $('#revechat_choose_form input').click(toggleForms);
29
- },
30
-
31
- bindFormSubmit: function () {
32
- $('#revechat-admin-settings-form').submit(function(e)
33
- {
34
-
35
- if($('#edit-submit').val() == 'Disconnect'){
36
- $('#revechat_aid').val(0);
37
- $('#revechat-admin-settings-form').submit();
38
- }
39
- if (((parseInt($('#revechat_aid').val()) !== 0) || $('#has_revechat_account').is(':checked')))
40
- {
41
- return ReveChat.alreadyHaveAccountForm();
42
- }
43
- else
44
- {
45
- return ReveChat.newLicenseForm();
46
- }
47
-
48
- });
49
- },
50
-
51
- alreadyHaveAccountForm: function()
52
- {
53
- var email = $.trim($('#edit-revechat-account-email').val());
54
-
55
- if(ReveChat.isValidEmailAddress(email))
56
- {
57
- if((parseInt($('#revechat_aid').val()) == 0 || $('#revechat_aid').val() == ""))
58
- {
59
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait&hellip;');
60
-
61
- ReveChat.signIn(email);
62
- return false;
63
- }
64
- }
65
- else
66
- {
67
- alert('Please provide a valid email address');
68
- $('#edit-revechat-account-email').focus();
69
- return false;
70
- }
71
- return true;
72
- },
73
- signIn: function (email) {
74
- var signInUrl = baseUrl +'/license/adminId/'+email+'/?callback=?';
75
- $.getJSON(signInUrl,
76
- function(response)
77
- {
78
- if (response.error)
79
- {
80
- alert('Incorrect REVE Chat login');
81
- $('.ajax_message').removeClass('wait');
82
- $('#edit-revechat-account-email').focus();
83
- return false;
84
- }
85
- else
86
- {
87
- $('#revechat_aid').val(response.data.account_id);
88
- $('#revechat-admin-settings-form').submit();
89
- }
90
- });
91
- },
92
- newLicenseForm: function()
93
- {
94
- if (parseInt(($('#revechat_aid').val()) > 0))
95
- {
96
- return true;
97
- }
98
-
99
- if(this.validateNewLicenseForm())
100
- {
101
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
102
- ReveChat.createLicense();
103
- }
104
- return false;
105
- },
106
- createLicense: function()
107
- {
108
-
109
- $('.ajax_message').removeClass('message').addClass('wait').html('Creating new account&hellip;');
110
-
111
- var firstName = $.trim($('#edit-firstname').val());
112
- var lastName = $.trim($('#edit-lastname').val());
113
- var email = $.trim($('#edit-email').val());
114
- var password = $.trim($('#edit-accountpassword').val());
115
- var rePassword = $.trim($('#edit-retypepassword').val());
116
-
117
- var signUpUrl = baseUrl + 'revechat/cms/api/signup.do';
118
-
119
- $.ajax({
120
- data: { 'firstname':firstName, 'lastname':lastName, 'mailAddr':email, 'password':password, 'utm_source':'cms', 'utm_content':'wordpress', 'referrer':'https://wordpress.org/plugins/' },
121
- type:'POST',
122
- url:signUpUrl,
123
- dataType: 'json',
124
- cache:false,
125
- success: function(response) {
126
- if(response.status == 'error')
127
- {
128
- $('.ajax_message').removeClass('wait');
129
- alert(response.message);
130
- return false;
131
- }
132
- else if(response.status == 'success')
133
- {
134
- $('#edit-revechat-account-email').val(email);
135
- ReveChat.signIn(email);
136
- return false;
137
- }
138
- }
139
- });
140
- },
141
- validateNewLicenseForm: function()
142
- {
143
-
144
- var firstName = $.trim($('#edit-firstname').val());
145
- var lastName = $.trim($('#edit-lastname').val());
146
- var email = $.trim($('#edit-email').val());
147
- var password = $.trim($('#edit-accountpassword').val());
148
- var rePassword = $.trim($('#edit-retypepassword').val());
149
-
150
-
151
-
152
- if (!firstName.length)
153
- {
154
- alert('Please provide your first name.');
155
- $('.ajax_message').removeClass('wait');
156
- $('#edit-firstname').focus();
157
- return false;
158
- }
159
-
160
- if (!lastName.length)
161
- {
162
- alert('Please provide your last name.');
163
- $('.ajax_message').removeClass('wait');
164
- $('#edit-lastname').focus();
165
- return false;
166
- }
167
-
168
- if (!ReveChat.isValidEmailAddress(email))
169
- {
170
- alert('Please provide your valid email address.');
171
- $('.ajax_message').removeClass('wait');
172
- $('#edit-email').focus();
173
- return false;
174
- }
175
-
176
- if(password.length < 6){
177
- alert('Please provide your password. The password must be at least 6 characters long.')
178
- $('.ajax_message').removeClass('wait');
179
- $('#edit-accountpassword').focus();
180
- return false;
181
- }
182
-
183
- if(!rePassword.length || password.length < 6){
184
- alert('Please retype your password.');
185
- $('.ajax_message').removeClass('wait');
186
- $('#edit-retypepassword').focus();
187
- return false;
188
- }
189
-
190
- if(password != rePassword){
191
- alert('Password does not match the confirm password.');
192
- $('.ajax_message').removeClass('wait');
193
- return false;
194
- }
195
-
196
-
197
- return true;
198
- },
199
- isValidEmailAddress: function (emailAddress) {
200
- var pattern = /^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i;
201
- return pattern.test(emailAddress);
202
- },
203
- }
204
- $(document).ready(function()
205
- {
206
- ReveChat.init();
207
- });
208
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.5/readme.txt DELETED
@@ -1,181 +0,0 @@
1
- === REVE Chat - WP Live Chat Support plugin ===
2
- Contributors: revechat
3
- Tags: live chat,live support,chat software,chat plugin,wordpress live chat, wordpress chat,chat,chat for web,web chat,chat online,chat software,IM Chat,live web chat,web support,live chat software,online chat,online support,chat widget,video chat,voice chat,snapengage,wordpress chat,wordpress live chat,webrtc,screen sharing,co-browsing,co browsing,facebook chat plugin,facebook chat,web analytics, analytics, analytics dashboard,facebook, facebook messenger, messenger, facebook live chat, crisp, pure chat, purechat, zendesk, zendesk chat, liveagent, olark, happyfox, reve chat, chatra, provide support, comm100, kayako, zoho, zoho salesiq, userlike, userengage, drift, livehelpnow, live help now, intercom, freshdesk, zendesk, clickdesk, liveperson, live person, bold360, velaro, hubspot, salesforce, zapier, zopim, mailchimp, analytics, google analytics, im chat, slack,casengo, tagove, mylivechat, my live chat, livezilla, chatrify,live chat tool, live chat widget, live support button, live chat solution, customer service software, chat, customer service chat, live chat button,wp livechat support, tidio, jivochat, formilla, tawk, tawkto,tawk.to livechat inc, livechatinc, live chat inc,revechat
4
- Requires at least: 2.7
5
- Tested up to: 4.9.4
6
- Stable tag: 6.1.5
7
-
8
- Live chat and help desk software plugin for WordPress website. An application for live chat, help desk, online customer service and support.
9
-
10
-
11
- ==Description ==
12
- REVE Chat is a multi-channel cloud based live chat software plugin that provides real time assistance to your website visitors for better customer support, service and boost sales conversions. Businesses can instantly engage with their customers across various channels such as Website live chat, Voice/ Video Chat, Facebook Messenger, Viber, Mobile apps (Android, iOS) using a single platform.
13
-
14
- REVE Chat WP live chat plugin for WordPress also has advanced features such as Screen sharing and co-browsing, Department Management, Auto Triggers, and Visitor Analytics, Queuing, fully customizable chat banner and more to personalize every customer interaction across multiple channels.
15
-
16
-
17
- https://youtu.be/t1dykZ9Tg8U
18
-
19
-
20
- **Live Chat Key Features-**
21
- **Voice/ Video Chat:** With live chat for WordPress, Business can Talk to your customers using voice/ video chat plubin right inside your web or mobile apps with click to call solution.
22
-
23
- **Co-browsing:** Using live chat and WordPress together, Provide real time assistance and remote support to your website visitors and customers screen in real time.
24
-
25
- **Facebook Messenger:** Using live chat and facebook together,Chat with your Facebook customers using REVE Chat from single dashboard.
26
-
27
- **Viber Messaging:** Using live chat and viber together,Chat with your customers on Viber messaging using your public account from single dashboard.
28
-
29
- **Screen sharing:** With the REVE Chat chat plugin for WordPress, Support your website visitors in real time and help them to navigate the website with screen sharing.
30
-
31
- **Real-time Visitor Analytics:** With the REVE Chat chat plugin for WordPress, Get real time insights about your customers (location, history, IP address, Referral source) and personalize every interaction to improve user experience
32
-
33
- **Department Management:** With the REVE Chat chat plugin for WordPress, Improve customer response time by routing your customer queries to the right department.
34
-
35
- **Queuing:** With the REVE Chat chat plugin for WordPress, Manage your customer expectations effectively by providing them right information about waiting time when your agents are busy with other customers
36
-
37
- **Auto Triggers:** With the REVE Chat chat plugin for WordPress, Send automatic invitations to your website visitors based on certain time, ULR or location.
38
-
39
- **Chat Monitoring:** With the REVE Chat chat plugin for WordPress, Monitor your agent performance and responses in real time to provide more appropriate answers to your customer queries.
40
-
41
- **Mobile live chat applications:** - mobile apps for iOS and Android will help you chat with customers wherever you are.
42
-
43
-
44
- **Live Chat Benefits-**
45
-
46
-
47
- Out of all the customer support channels available whether offline or online — live chat is by far the most fast and convenient method to handle customer queries.
48
-
49
- Get complete overview and insights about your customer interactions across multiple channels
50
-
51
- Offer your visitors instant assistance and increase your sales conversions
52
-
53
- Reduce cost of service by managing multiple customers simultaneously.
54
-
55
- Receive valuable customer feedback after every chat session to gain insights and improve the quality of your service.
56
-
57
- Proactively engage to assist website visitors in real-time before they leave your website being frustrated.
58
-
59
-
60
- **What makes Reve Chat the best choice for live chat?**
61
-
62
- * A simple and highly customizable Live chat solution
63
- * User friendly interface and Dashboard
64
- * Intuitive Chat Window
65
- * Innovative and unique features
66
- * 24x7 hour live chat support from our trained experts on any weekday (visit revechat.com)
67
-
68
-
69
- **Supported Language**
70
-
71
- * Arabic | Bangla | Chinese | Dutch | English | French| German | Hindi | Italian | Japanese | Korean | Malay | Polish | Portuguese | Romanian | Russian | Spanish | Swedish | Tagalog | Turkish | Vietnamese
72
-
73
-
74
- **Some Geeky Facts**
75
-
76
- * Work across major browsers (Internet Explorer 7+, Firefox, Google Chrome, Opera, Safari).
77
- * Average uptime is 99.8%.
78
- * Mobile Optimized Dashboard
79
- * Should you need any assistance, feel free to chat with our customer advocates on www.revechat.com or email us at support@revechat.com
80
-
81
-
82
- = Support =
83
-
84
-
85
- REVE Chat offers 24x7-365 live support, visit https://www.revechat.com and initiate a chat or send us an email at support@revechat.com.
86
-
87
-
88
- Don't have a reve chat account ? [Create one from here!](https://www.revechat.com/signup/?utm_source=wpdirectory&utm_medium=link&utm_campaign=signup)
89
-
90
-
91
-
92
- == Changelog ==
93
-
94
-
95
- = 1.2.0 =
96
-
97
- * Feature: Add the Reve chat widget to your site!
98
- * Feature: Customize look and feel of the widget, including themes and color!
99
-
100
- = 2.0 =
101
- * New Admin Menu page for REVE Chat
102
- * New for integration
103
- * Added link of settings page to display on the plugins page (beside the activate/deactivate links).
104
-
105
- = 2.0.1 =
106
- * Updated chat script
107
-
108
- = 2.0.3 =
109
- * updated the UI
110
-
111
- = 3.0 =
112
- * introduced new signup process
113
- * fixed signin bug
114
-
115
- == Screenshots ==
116
-
117
- 1. Chat window on your website - active chat
118
- 2. Account Configuration - Link Up
119
- 3. Account Configuration - Linked Up with Launch Dashboard
120
- 4. Dashboard View - Open new browser tab
121
- 5. Widget Customization from Dashboard
122
-
123
-
124
- == Installation ==
125
-
126
- Adding reve chat live chat widget to your Wordpress site is very easy, follow following steps :
127
-
128
- * Clone this repository into your plugins directory or download the zip file and unzip on your plugins directory
129
- * or Install the plugin from the WordPress directory and activate it.
130
- * Go to `Settings`, then to the 'revechat' sub menu, and login to your reve chat account to select a widget.
131
- * Customize the chat widget from within the [reve chat dashboard](https://dashboard.revechat.com) to your preference.
132
- * Start chatting with your visitors! :)
133
-
134
- Note: You will need a reve chat account : [Create one from here!](https://revechat.com/signup/?utm_source=wpdirectory&utm_medium=link&utm_campaign=signup)
135
-
136
- == Frequently Asked Questions ==
137
-
138
-
139
- = Do I have to install any software on my server to get working the chat plugin? =
140
- REVE live chat plugin need to be installed from your WordPress panel. It is a cloud based live chat software hence it would only activate the script when you install the plugin.
141
-
142
- = Why should I use REVE Chat live chat support? =
143
- REVE chat is a complete online sales and support tool to engage your website visitors. With advanced features such as Click to call, Facebook Chat Integration, Queuing, Chat Monitoring and others, REVE Chat provides full insights to communicate with your visitors to become your loyal customers.
144
-
145
- = Which web browsers work best with this chat plugin? =
146
- Though it is designed to work on almost all the browsers, REVE Chat works best in the following environment: IE 7+ or later (PC), Firefox 2 or later (Mac, PC, or Linux), Safari 2 or later (Mac), Google Chrome (PC, Mac).
147
-
148
- = How much is price of REVE Chat web chat plugin? =
149
- REVE Chat plugin in free to install and it offers a complete 14 days free trial to understand its all features. REVE Chat offers 3 packages
150
- 1. Basic (Free)
151
- 2. Standard
152
- 3. Advanced
153
- Please click here to find out more about pricing.
154
- The live chat support plugin is completely free to install. However, if you want to use Standard and Advanced REVE Chat package then you have to purchase the package.
155
-
156
- = How can I chat with more visitors at the same time? =
157
- REVE Chat web chat plugin allows unlimited concurrent chats for the paid plans. Hence you can chat with as many visitors as you want at the same time. REVE Chat also allows you to proactively chat with your website visitors before they leave your website.
158
-
159
- = How can I take further information regarding REVE Chat live chat support plugin? =
160
- You can find out more at our site at http://www.revechat.com or at support@revechat.com and we will help you with installation.
161
-
162
- = Is there any demo or trial period to do some testing? =
163
- Yes, definitely you can use all the features of REVE Chat live chat plugin for 14days in the trial period.
164
-
165
- = Can I customize the REVE Chat window? =
166
- Yes, REVE Chat window is customizable. Some of the things which you can change in the chat window include:
167
- * Changing the color scheme
168
- * Changing the font size
169
- * Chat Widget text
170
- * Offline Widget Text
171
- * Pre chat & Post chat form
172
-
173
- = Can I add REVE Chat plugin on more than one website at the same time? =
174
- Yes, there is no limit on websites for the paid plans. However our free Basic package has limited features and it can be used only on one website.
175
-
176
-
177
- = Contributors & Developers =
178
-
179
- “REVE Chat – WP Live Chat Support plugin” is open source software. The following people have contributed to this plugin.
180
-
181
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.5/revechat.php DELETED
@@ -1,203 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: REVE Chat - WP Live Chat Support plugin
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 5.0
6
- Author: REVE Chat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- /**
13
- * Core class which interacts with
14
- * WordPress hooks and filters
15
- */
16
- class WP_Plugin_Revechat
17
- {
18
- /**
19
- * Constructor method of the plugin object.
20
- * This method initialize the stdClass,
21
- * defines plugin name, plugin display name etc.
22
- *
23
- * This method also calls necessary wodpress hooks and filters.
24
- * for more about hooks please visit @link [https://developer.wordpress.org/reference/functions/add_action/]
25
- * for more information on filters @link [https://developer.wordpress.org/reference/functions/add_filter/]
26
- */
27
- public function __construct()
28
- {
29
- // Plugin Details
30
- $this->plugin = new stdClass;
31
- $this->plugin->name = 'revechat'; // Plugin Folder
32
- $this->plugin->displayName = 'REVE Chat'; // Plugin Name
33
-
34
- // Hooks
35
- add_action('admin_init', array(&$this, 'registerSettings'));
36
-
37
- add_action('wp_head', array(&$this, 'frontendHeader'));
38
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
39
-
40
- // Add Menu Page
41
- add_action('admin_menu',array($this,'admin_menu'));
42
-
43
- //enqueue scripts
44
- add_action('admin_enqueue_scripts',array($this,'admin_scripts'));
45
-
46
- } // END public function __construct
47
-
48
- /**
49
- * REVE Chat widget script.
50
- *
51
- * This script will be rendered in frontend of the site.
52
- * This funtion is called when wp_head action triggered.
53
- * The wp_head action hook is triggered within the <head></head> section of the user's template
54
- * by the wp_head() function. Although this is theme-dependent,
55
- * it is one of the most essential theme hooks, so it is widely supported.
56
- *
57
- */
58
- public static function frontendHeader()
59
- {
60
- $accountId = get_option('revechat_accountid' , '');
61
- if( (isset($accountId) && !empty($accountId)) ) {
62
-
63
- $script = "<script type='text/javascript'>";
64
- $script .= 'window.$_REVECHAT_API || (function(d, w) { var r = $_REVECHAT_API = function(c) {r._.push(c);}; w.__revechat_account=\''.$accountId.'\';w.__revechat_version=2;
65
- r._= []; var rc = d.createElement(\'script\'); rc.type = \'text/javascript\'; rc.async = true; rc.setAttribute(\'charset\', \'utf-8\');
66
- rc.src = (\'https:\' == document.location.protocol ? \'https://\' : \'http://\') + \'static.revechat.com/widget/scripts/new-livechat.js?\'+new Date().getTime();
67
- var s = d.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(rc, s);
68
- })(document, window);';
69
-
70
- $script .='</script>';
71
-
72
- echo $script ;
73
-
74
- }
75
-
76
- }
77
-
78
- /**
79
- * Register a setting and its data.
80
- * refer to @link [https://developer.wordpress.org/reference/functions/register_setting/]
81
- * for more information about register setting
82
- */
83
- public function registerSettings(){
84
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
85
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
86
- }
87
-
88
- /**
89
- * Render the settings form
90
- */
91
- public function reveChatOptions(){
92
- if ( !current_user_can( 'manage_options' ) ) {
93
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
94
- }
95
- // variables for the field and option names
96
- $accountId = 'revechat_accountid';
97
-
98
- // Read in existing option value from database
99
- $val_accountId = get_option( $accountId );
100
-
101
- if( isset($_POST[ $accountId ])){
102
-
103
- // Read in existing option value from POST
104
- $val_accountId = $_POST[ $accountId ];
105
- update_option( $accountId , $val_accountId );
106
- ?>
107
- <div class="updated" xmlns="http://www.w3.org/1999/html"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
108
- <?php
109
- }
110
- ?>
111
- <div class="wrap" id="revechat">
112
-
113
- <div>
114
- <div class="reve-chat-logo">
115
- <img src="<?php echo plugin_dir_url( __FILE__ )."images/logo.png";?>" alt="REVE Chat">
116
- </div>
117
-
118
- <form name="form1" id="revechat-admin-settings-form" method="post" action="">
119
-
120
- <?php
121
- if(isset($val_accountId) && $val_accountId != 0){
122
- require (plugin_dir_path( __FILE__ )."includes/remove-form.php");
123
- echo '</div>';
124
- return;
125
- }
126
-
127
- require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
128
- ?>
129
- <div class="form-item form-type-item" id="edit-ajax-message">
130
- <p class="ajax_message"></p>
131
- </div>
132
- <?php
133
- require (plugin_dir_path( __FILE__ )."includes/login-form.php");
134
- require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
135
- ?>
136
-
137
- </form>
138
- </div>
139
- </div>
140
-
141
- <?php
142
- }
143
-
144
- /**
145
- * Add page in admin menu
146
- * This method takes a capability which will be used to determine whether or not a page is included in the menu.
147
- * this method which is hooked in to handle the output of the page also check that the user has the required
148
- * capability as well.
149
- */
150
- public function admin_menu()
151
- {
152
- add_menu_page(__($this->plugin->displayName.' Dashboard','revechat-settings'), __($this->plugin->displayName,'menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions'), plugin_dir_url( __FILE__ )."images/favicon.png");
153
- }
154
-
155
- /**
156
- * Triggers when the user deactivate/uninstall the plugin.
157
- * this method simply delete all the data of this
158
- * plugin from database.
159
- */
160
-
161
- public static function deactivate()
162
- {
163
- delete_option('revechat_accountid');
164
- }
165
-
166
-
167
- /**
168
- * Load necessary JavaScript and CSS library
169
- * in admin panel.
170
- */
171
- public function admin_scripts(){
172
-
173
- wp_enqueue_script( 'jquery');
174
-
175
- wp_enqueue_script( 'revechat-admin-script', plugin_dir_url( __FILE__ ) . '/js/revechat-admin.js',array('jquery') );
176
-
177
- wp_enqueue_style( 'custom_wp_admin_css',plugin_dir_url( __FILE__ ).'css/admin-styles.css' );
178
- }
179
-
180
- /**
181
- * Applied to the list of links to display on the plugins page (beside the activate/deactivate links).
182
- *
183
- * @param $links
184
- * @return array
185
- */
186
- function add_action_links ( $links ) {
187
- $menu_link = array(
188
- '<a href="' . admin_url( 'admin.php?page=revechatsettings' ) . '">Settings</a>',
189
- );
190
- return array_merge( $links, $menu_link );
191
- }
192
- }
193
- } // END if(!class_exists('WP_Plugin_Revechat'))
194
-
195
- /**
196
- * Initialize the core class
197
- */
198
- $revechat = new WP_Plugin_Revechat();
199
-
200
- /**
201
- * Register the deactivation hook.
202
- */
203
- register_deactivation_hook( __FILE__, array( 'WP_Plugin_Revechat', 'deactivate' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.5/screenshot-1.jpg DELETED
Binary file
tags/6.1.5/screenshot-2.jpg DELETED
Binary file
tags/6.1.5/screenshot-3.jpg DELETED
Binary file
tags/6.1.5/screenshot-4.jpg DELETED
Binary file
tags/6.1.5/screenshot-5.jpg DELETED
Binary file
tags/6.1.5/screenshot-6.jpg DELETED
Binary file
tags/6.1.5/screenshot-7.jpg DELETED
Binary file
tags/6.1.5/screenshot-8.jpg DELETED
Binary file
tags/6.1.5/screenshot-9.jpg DELETED
Binary file
tags/6.1.6/css/admin-styles.css DELETED
@@ -1,109 +0,0 @@
1
- #revechat ul#revechat_choose_form{}
2
- #revechat ul#revechat_choose_form li{
3
- list-style: none;
4
- display: block;
5
- }
6
- #revechat ul#revechat_choose_form li label{
7
- display: inline-block;
8
- }
9
- #revechat .revechat_email_error{
10
- color: red;
11
- }
12
- #revechat .ajax_message {
13
- display: none;
14
- background: url(ajax_loader.gif) no-repeat 24px 51%;
15
- padding: 0;
16
- margin-top: 1em;
17
- }
18
- #revechat .ajax_message.wait,
19
- #revechat .ajax_message.message
20
- {
21
- display: block;
22
- font-size: 1.2em;
23
- padding: 20px;
24
- box-shadow: 2px 2px 2px rgba(0,0,0,.2);
25
- }
26
- #revechat .ajax_message.wait {
27
- text-indent: 28px;
28
- background-color: #fff;
29
- }
30
- #revechat .ajax_message.message {
31
- background-image: none;
32
- text-indent: 0px;
33
- }
34
-
35
- #revechat .ajax_message.message.alert{
36
- background-color: #f2dede;
37
- border-color: #ebccd1;
38
- color: #a94442;
39
- padding: 20px;
40
- }
41
- #revechat .ajax_message.message.success{
42
- background-color: #dff0d8;
43
- border: 1px solid #dff0d8;
44
- color: #3c763d;
45
- padding: 20px;
46
- }
47
- #revechat .revechat_success_message{
48
- background: #ffffff;
49
- padding: 50px;
50
- height: auto;
51
- font-size: 1.5em;
52
- border-bottom: 5px solid #F16915;
53
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
54
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
55
- box-shadow: 0px 0px 6px rgba(0,0,0,.3);
56
- }
57
- #revechat .revechat_success_message h3{
58
- font-weight: bold;
59
- border-bottom: 1px solid #B1B4B9;
60
- padding-bottom: 20px;
61
- line-height: 2em;
62
- }
63
- #revechat .messages.revechat_success{
64
- background-color: #dff0d8;
65
- border: 1px solid #bee99a;
66
- color: #3c763d;
67
- padding: 20px;
68
- margin-bottom: 30px;
69
- font-weight: 600;
70
- }
71
- #revechat .form-submit{
72
- background: #FF5800 none repeat scroll 0 0;
73
- border-color: #bd4302 #ab3c02 #ab3c02;
74
- -webkit-box-shadow: 0 1px 0 #ab3c02;
75
- box-shadow: 0 1px 0 #ab3c02;
76
- color: #fff;
77
- text-decoration: none;
78
- text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
79
- }
80
- #revechat .box {
81
- background: #ffffff;
82
- border: 1px solid #e5e5e5;
83
- padding: 20px;
84
- margin-bottom: 50px;
85
- }
86
- #revechat #revechat-admin-settings-form {
87
- padding: 18px;
88
- }
89
- #revechat fieldset {
90
- border: 1px solid #c0c0c0;
91
- margin-top: 20px;
92
- }
93
- #revechat #revechat_already_have > h3 {
94
- margin-top: 19px;
95
- }
96
- #revechat ul#revechat_choose_form li {
97
- display: block;
98
- list-style: outside none none;
99
- padding-left: 20px;
100
- }
101
-
102
- #revechat .form-item > label {
103
- display: table;
104
- margin-bottom: 11px;
105
- margin-top: 20px;
106
- }
107
- #revechat input.form-submit{
108
- cursor: pointer;
109
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.6/css/ajax_loader.gif DELETED
Binary file
tags/6.1.6/images/favicon.png DELETED
Binary file
tags/6.1.6/images/logo.png DELETED
Binary file
tags/6.1.6/includes/choose-form.php DELETED
@@ -1,13 +0,0 @@
1
- <div id="edit-choose-form" class="box">
2
- <h3>Do you already have a REVE Chat account?</h3>
3
- <ul id="revechat_choose_form">
4
- <li>
5
- <input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
6
- <label for="has_revechat_account">Yes, I already have a REVE Chat account</label>
7
- </li>
8
- <li>
9
- <input type="radio" id="new_revechat_account" name="revechat_choose_form">
10
- <label for="new_revechat_account">No, I want to create one</label>
11
- </li>
12
- </ul>
13
- </div><!-- Edit Choose Form -->
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.6/includes/login-form.php DELETED
@@ -1,23 +0,0 @@
1
- <div id="revechat_already_have" class="box">
2
- <h3>Account Details</h3>
3
- <table class="form-table">
4
- <tbody>
5
- <tr>
6
- <th>
7
- <label for="edit-revechat-account-email">
8
- <?php
9
- _e("REVE Chat login email");
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email" placeholder="Enter your email address">
15
- <input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
16
- </td>
17
- </tr>
18
- </tbody>
19
- </table>
20
- <p class="submit">
21
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
22
- </p>
23
- </div><!-- revechat_already_have -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.6/includes/remove-form.php DELETED
@@ -1,10 +0,0 @@
1
- <div class="box">
2
- <h3>REVE Chat has been installed.</h3>
3
- <p>Sign in to REVE Chat Dashboard and start chatting with your customers.</p>
4
- <p><a href="https://dashboard.revechat.com" class="form-submit button-primary" target="_blank">Go to Dashboard</a></p>
5
-
6
- <div id="edit-actions" class="form-actions form-wrapper">
7
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
8
- <p><small>Something went wrong? <input type="submit" style="background: transparent; border: 0; text-decoration: underline;text-transform: lowercase; font-size: 10px; cursor: pointer;" value="Disconnect" name="revechat_remove" id="edit-submit"></small></p>
9
- </div>
10
- </div>
 
 
 
 
 
 
 
 
 
 
tags/6.1.6/includes/signup-form.php DELETED
@@ -1,75 +0,0 @@
1
- <div id="revechat_new_account" class="box">
2
-
3
- <h3>Create a new REVE Chat account</h3>
4
- <table class="form-table">
5
- <tr>
6
- <th>
7
- <label for="edit-firstname">
8
- <?php
9
- _e("First Name")
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="text" class="regular-text" name="firstName" id="edit-firstname" placeholder="First Name">
15
- </td>
16
- </tr>
17
-
18
-
19
- <tr>
20
- <th>
21
- <label for="edit-lastname">
22
- <?php
23
- _e("Last Name")
24
- ?>
25
- </label>
26
- </th>
27
- <td>
28
- <input type="text" class="regular-text" name="firstName" id="edit-lastname" placeholder="Last Name">
29
- </td>
30
- </tr>
31
-
32
- <tr>
33
- <th>
34
- <label for="edit-email">
35
- <?php
36
- _e('Email Address')
37
- ?>
38
- </label>
39
-
40
- </th>
41
- <td>
42
- <input type="text" class="regular-text" name="email" id="edit-email" placeholder="Email address">
43
- </td>
44
- </tr>
45
-
46
- <tr>
47
- <th>
48
- <label for="edit-accountpassword">
49
- <?php
50
- _e('Password')
51
- ?>
52
- </label>
53
- </th>
54
- <td>
55
- <input type="password" class="regular-text" name="edit-accountpassword" id="edit-accountpassword" placeholder="Password">
56
- </td>
57
- </tr>
58
-
59
- <tr>
60
- <th>
61
- <label for="edit-retypepassword">
62
- <?php
63
- _e('Confirm your password')
64
- ?>
65
- </label>
66
- </th>
67
- <td>
68
- <input type="password" class="regular-text" name="edit-retypepassword" id="edit-retypepassword" placeholder="Confirm your password">
69
- </td>
70
- </tr>
71
- </table>
72
- <p class="submit">
73
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Create Account') ?>" />
74
- </p>
75
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.6/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/6.1.6/js/revechat-admin.js DELETED
@@ -1,208 +0,0 @@
1
- jQuery.noConflict();
2
- (function($){
3
- var baseUrl = 'https://dashboard.revechat.com/';
4
- var ReveChat ={
5
- init: function () {
6
- this.toggleForms();
7
- this.bindFormSubmit();
8
- },
9
-
10
- toggleForms: function ()
11
- {
12
- var toggleForms = function ()
13
- {
14
- if ($('#new_revechat_account').is(':checked'))
15
- {
16
- $('#revechat_already_have').hide();
17
- $('#revechat_new_account').show();
18
- }
19
- else if ($('#has_revechat_account').is(':checked'))
20
- {
21
- $('#revechat_new_account').hide();
22
- $('#revechat_already_have').show();
23
- $('#edit-revechat-account-email').focus();
24
- }
25
- };
26
- toggleForms();
27
-
28
- $('#revechat_choose_form input').click(toggleForms);
29
- },
30
-
31
- bindFormSubmit: function () {
32
- $('#revechat-admin-settings-form').submit(function(e)
33
- {
34
-
35
- if($('#edit-submit').val() == 'Disconnect'){
36
- $('#revechat_aid').val(0);
37
- $('#revechat-admin-settings-form').submit();
38
- }
39
- if (((parseInt($('#revechat_aid').val()) !== 0) || $('#has_revechat_account').is(':checked')))
40
- {
41
- return ReveChat.alreadyHaveAccountForm();
42
- }
43
- else
44
- {
45
- return ReveChat.newLicenseForm();
46
- }
47
-
48
- });
49
- },
50
-
51
- alreadyHaveAccountForm: function()
52
- {
53
- var email = $.trim($('#edit-revechat-account-email').val());
54
-
55
- if(ReveChat.isValidEmailAddress(email))
56
- {
57
- if((parseInt($('#revechat_aid').val()) == 0 || $('#revechat_aid').val() == ""))
58
- {
59
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait&hellip;');
60
-
61
- ReveChat.signIn(email);
62
- return false;
63
- }
64
- }
65
- else
66
- {
67
- alert('Please provide a valid email address');
68
- $('#edit-revechat-account-email').focus();
69
- return false;
70
- }
71
- return true;
72
- },
73
- signIn: function (email) {
74
- var signInUrl = baseUrl +'/license/adminId/'+email+'/?callback=?';
75
- $.getJSON(signInUrl,
76
- function(response)
77
- {
78
- if (response.error)
79
- {
80
- alert('Incorrect REVE Chat login');
81
- $('.ajax_message').removeClass('wait');
82
- $('#edit-revechat-account-email').focus();
83
- return false;
84
- }
85
- else
86
- {
87
- $('#revechat_aid').val(response.data.account_id);
88
- $('#revechat-admin-settings-form').submit();
89
- }
90
- });
91
- },
92
- newLicenseForm: function()
93
- {
94
- if (parseInt(($('#revechat_aid').val()) > 0))
95
- {
96
- return true;
97
- }
98
-
99
- if(this.validateNewLicenseForm())
100
- {
101
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
102
- ReveChat.createLicense();
103
- }
104
- return false;
105
- },
106
- createLicense: function()
107
- {
108
-
109
- $('.ajax_message').removeClass('message').addClass('wait').html('Creating new account&hellip;');
110
-
111
- var firstName = $.trim($('#edit-firstname').val());
112
- var lastName = $.trim($('#edit-lastname').val());
113
- var email = $.trim($('#edit-email').val());
114
- var password = $.trim($('#edit-accountpassword').val());
115
- var rePassword = $.trim($('#edit-retypepassword').val());
116
-
117
- var signUpUrl = baseUrl + 'revechat/cms/api/signup.do';
118
-
119
- $.ajax({
120
- data: { 'firstname':firstName, 'lastname':lastName, 'mailAddr':email, 'password':password, 'utm_source':'cms', 'utm_content':'wordpress', 'referrer':'https://wordpress.org/plugins/' },
121
- type:'POST',
122
- url:signUpUrl,
123
- dataType: 'json',
124
- cache:false,
125
- success: function(response) {
126
- if(response.status == 'error')
127
- {
128
- $('.ajax_message').removeClass('wait');
129
- alert(response.message);
130
- return false;
131
- }
132
- else if(response.status == 'success')
133
- {
134
- $('#edit-revechat-account-email').val(email);
135
- ReveChat.signIn(email);
136
- return false;
137
- }
138
- }
139
- });
140
- },
141
- validateNewLicenseForm: function()
142
- {
143
-
144
- var firstName = $.trim($('#edit-firstname').val());
145
- var lastName = $.trim($('#edit-lastname').val());
146
- var email = $.trim($('#edit-email').val());
147
- var password = $.trim($('#edit-accountpassword').val());
148
- var rePassword = $.trim($('#edit-retypepassword').val());
149
-
150
-
151
-
152
- if (!firstName.length)
153
- {
154
- alert('Please provide your first name.');
155
- $('.ajax_message').removeClass('wait');
156
- $('#edit-firstname').focus();
157
- return false;
158
- }
159
-
160
- if (!lastName.length)
161
- {
162
- alert('Please provide your last name.');
163
- $('.ajax_message').removeClass('wait');
164
- $('#edit-lastname').focus();
165
- return false;
166
- }
167
-
168
- if (!ReveChat.isValidEmailAddress(email))
169
- {
170
- alert('Please provide your valid email address.');
171
- $('.ajax_message').removeClass('wait');
172
- $('#edit-email').focus();
173
- return false;
174
- }
175
-
176
- if(password.length < 6){
177
- alert('Please provide your password. The password must be at least 6 characters long.')
178
- $('.ajax_message').removeClass('wait');
179
- $('#edit-accountpassword').focus();
180
- return false;
181
- }
182
-
183
- if(!rePassword.length || password.length < 6){
184
- alert('Please retype your password.');
185
- $('.ajax_message').removeClass('wait');
186
- $('#edit-retypepassword').focus();
187
- return false;
188
- }
189
-
190
- if(password != rePassword){
191
- alert('Password does not match the confirm password.');
192
- $('.ajax_message').removeClass('wait');
193
- return false;
194
- }
195
-
196
-
197
- return true;
198
- },
199
- isValidEmailAddress: function (emailAddress) {
200
- var pattern = /^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i;
201
- return pattern.test(emailAddress);
202
- },
203
- }
204
- $(document).ready(function()
205
- {
206
- ReveChat.init();
207
- });
208
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.6/readme.txt DELETED
@@ -1,190 +0,0 @@
1
- === REVE Chat - WP Live Chat Support plugin ===
2
- Contributors: revechat
3
- Tags: live chat,live support,chat software,chat plugin,wordpress live chat, wordpress chat,chat,chat for web,web chat,chat online,chat software,IM Chat,live web chat,web support,live chat software,online chat,online support,chat widget,video chat,voice chat,snapengage,wordpress chat,wordpress live chat,webrtc,screen sharing,co-browsing,co browsing,facebook chat plugin,facebook chat,web analytics, analytics, analytics dashboard,facebook, facebook messenger, messenger, facebook live chat, crisp, pure chat, purechat, zendesk, zendesk chat, liveagent, olark, happyfox, reve chat, chatra, provide support, comm100, kayako, zoho, zoho salesiq, userlike, userengage, drift, livehelpnow, live help now, intercom, freshdesk, zendesk, clickdesk, liveperson, live person, bold360, velaro, hubspot, salesforce, zapier, zopim, mailchimp, analytics, google analytics, im chat, slack,casengo, tagove, mylivechat, my live chat, livezilla, chatrify,live chat tool, live chat widget, live support button, live chat solution, customer service software, chat, customer service chat, live chat button,wp livechat support, tidio, jivochat, formilla, tawk, tawkto,tawk.to livechat inc, livechatinc, live chat inc,revechat
4
- Requires at least: 2.7
5
- Tested up to: 4.9.4
6
- Stable tag: 6.1.6
7
-
8
- Live chat and help desk software plugin for WordPress website. An application for live chat, help desk, online customer service and support.
9
-
10
-
11
- ==Description ==
12
- REVE Chat is a multi-channel cloud based live chat software plugin that provides real time assistance to your website visitors for better customer support, service and boost sales conversions. Businesses can instantly engage with their customers across various channels such as Website live chat, Voice/ Video Chat, Facebook Messenger, Viber, Mobile apps (Android, iOS) using a single platform.
13
-
14
- REVE Chat WP live chat plugin for WordPress also has advanced features such as Screen sharing and co-browsing, Department Management, Auto Triggers, and Visitor Analytics, Queuing, fully customizable chat banner and more to personalize every customer interaction across multiple channels.
15
-
16
-
17
- https://youtu.be/t1dykZ9Tg8U
18
-
19
-
20
- **Live Chat Key Features-**
21
- **Voice/ Video Chat:** With live chat for WordPress, Business can Talk to your customers using voice/ video chat plubin right inside your web or mobile apps with click to call solution.
22
-
23
- **Co-browsing:** Using live chat and WordPress together, Provide real time assistance and remote support to your website visitors and customers screen in real time.
24
-
25
- **Facebook Messenger:** Using live chat and facebook together,Chat with your Facebook customers using REVE Chat from single dashboard.
26
-
27
- **Viber Messaging:** Using live chat and viber together,Chat with your customers on Viber messaging using your public account from single dashboard.
28
-
29
- **Screen sharing:** With the REVE Chat chat plugin for WordPress, Support your website visitors in real time and help them to navigate the website with screen sharing.
30
-
31
- **Real-time Visitor Analytics:** With the REVE Chat chat plugin for WordPress, Get real time insights about your customers (location, history, IP address, Referral source) and personalize every interaction to improve user experience
32
-
33
- **Department Management:** With the REVE Chat chat plugin for WordPress, Improve customer response time by routing your customer queries to the right department.
34
-
35
- **Queuing:** With the REVE Chat chat plugin for WordPress, Manage your customer expectations effectively by providing them right information about waiting time when your agents are busy with other customers
36
-
37
- **Auto Triggers:** With the REVE Chat chat plugin for WordPress, Send automatic invitations to your website visitors based on certain time, ULR or location.
38
-
39
- **Chat Monitoring:** With the REVE Chat chat plugin for WordPress, Monitor your agent performance and responses in real time to provide more appropriate answers to your customer queries.
40
-
41
- **Mobile live chat applications:** - mobile apps for iOS and Android will help you chat with customers wherever you are.
42
-
43
-
44
- **Live Chat Benefits-**
45
-
46
-
47
- Out of all the customer support channels available whether offline or online — live chat is by far the most fast and convenient method to handle customer queries.
48
-
49
- Get complete overview and insights about your customer interactions across multiple channels
50
-
51
- Offer your visitors instant assistance and increase your sales conversions
52
-
53
- Reduce cost of service by managing multiple customers simultaneously.
54
-
55
- Receive valuable customer feedback after every chat session to gain insights and improve the quality of your service.
56
-
57
- Proactively engage to assist website visitors in real-time before they leave your website being frustrated.
58
-
59
-
60
- == What is live chat for WordPress? ==
61
-
62
- If you have a website, and you are serious about your business then using live chat will be best. Live chat plugin for WordPress adds a live chat widget to the bottom of your website that allows visitors to chat to you in real time.
63
-
64
- == Usage ==
65
-
66
- With the REVE chat chat plugin for WordPress, you can add live chat to every page of your website, including the checkout in no time. To answer chats, chat agents have to be logged into one of our dashboard - from web dashboard or mobile apps. There are also applications for mobile devices - iPhone and Android.
67
-
68
-
69
- **What makes Reve Chat the best choice for live chat?**
70
-
71
- * A simple and highly customizable Live chat solution
72
- * User friendly interface and Dashboard
73
- * Intuitive Chat Window
74
- * Innovative and unique features
75
- * 24x7 hour live chat support from our trained experts on any weekday (visit revechat.com)
76
-
77
-
78
- **Supported Language**
79
-
80
- * Arabic | Bangla | Chinese | Dutch | English | French| German | Hindi | Italian | Japanese | Korean | Malay | Polish | Portuguese | Romanian | Russian | Spanish | Swedish | Tagalog | Turkish | Vietnamese
81
-
82
-
83
- **Some Geeky Facts**
84
-
85
- * Work across major browsers (Internet Explorer 7+, Firefox, Google Chrome, Opera, Safari).
86
- * Average uptime is 99.8%.
87
- * Mobile Optimized Dashboard
88
- * Should you need any assistance, feel free to chat with our customer advocates on www.revechat.com or email us at support@revechat.com
89
-
90
-
91
- = Support =
92
-
93
-
94
- REVE Chat offers 24x7-365 live support, visit https://www.revechat.com and initiate a chat or send us an email at support@revechat.com.
95
-
96
-
97
- Don't have a reve chat account ? [Create one from here!](https://www.revechat.com/signup/?utm_source=wpdirectory&utm_medium=link&utm_campaign=signup)
98
-
99
-
100
-
101
- == Changelog ==
102
-
103
-
104
- = 1.2.0 =
105
-
106
- * Feature: Add the Reve chat widget to your site!
107
- * Feature: Customize look and feel of the widget, including themes and color!
108
-
109
- = 2.0 =
110
- * New Admin Menu page for REVE Chat
111
- * New for integration
112
- * Added link of settings page to display on the plugins page (beside the activate/deactivate links).
113
-
114
- = 2.0.1 =
115
- * Updated chat script
116
-
117
- = 2.0.3 =
118
- * updated the UI
119
-
120
- = 3.0 =
121
- * introduced new signup process
122
- * fixed signin bug
123
-
124
- == Screenshots ==
125
-
126
- 1. Chat window on your website - active chat
127
- 2. Account Configuration - Link Up
128
- 3. Account Configuration - Linked Up with Launch Dashboard
129
- 4. Dashboard View - Open new browser tab
130
- 5. Widget Customization from Dashboard
131
-
132
-
133
- == Installation ==
134
-
135
- Adding reve chat live chat widget to your Wordpress site is very easy, follow following steps :
136
-
137
- * Clone this repository into your plugins directory or download the zip file and unzip on your plugins directory
138
- * or Install the plugin from the WordPress directory and activate it.
139
- * Go to `Settings`, then to the 'revechat' sub menu, and login to your reve chat account to select a widget.
140
- * Customize the chat widget from within the [reve chat dashboard](https://dashboard.revechat.com) to your preference.
141
- * Start chatting with your visitors! :)
142
-
143
- Note: You will need a reve chat account : [Create one from here!](https://revechat.com/signup/?utm_source=wpdirectory&utm_medium=link&utm_campaign=signup)
144
-
145
- == Frequently Asked Questions ==
146
-
147
-
148
- = Do I have to install any software on my server to get working the chat plugin? =
149
- REVE live chat plugin need to be installed from your WordPress panel. It is a cloud based live chat software hence it would only activate the script when you install the plugin.
150
-
151
- = Why should I use REVE Chat live chat support? =
152
- REVE chat is a complete online sales and support tool to engage your website visitors. With advanced features such as Click to call, Facebook Chat Integration, Queuing, Chat Monitoring and others, REVE Chat provides full insights to communicate with your visitors to become your loyal customers.
153
-
154
- = Which web browsers work best with this chat plugin? =
155
- Though it is designed to work on almost all the browsers, REVE Chat works best in the following environment: IE 7+ or later (PC), Firefox 2 or later (Mac, PC, or Linux), Safari 2 or later (Mac), Google Chrome (PC, Mac).
156
-
157
- = How much is price of REVE Chat web chat plugin? =
158
- REVE Chat plugin in free to install and it offers a complete 14 days free trial to understand its all features. REVE Chat offers 3 packages
159
- 1. Basic (Free)
160
- 2. Standard
161
- 3. Advanced
162
- Please click here to find out more about pricing.
163
- The live chat support plugin is completely free to install. However, if you want to use Standard and Advanced REVE Chat package then you have to purchase the package.
164
-
165
- = How can I chat with more visitors at the same time? =
166
- REVE Chat web chat plugin allows unlimited concurrent chats for the paid plans. Hence you can chat with as many visitors as you want at the same time. REVE Chat also allows you to proactively chat with your website visitors before they leave your website.
167
-
168
- = How can I take further information regarding REVE Chat live chat support plugin? =
169
- You can find out more at our site at http://www.revechat.com or at support@revechat.com and we will help you with installation.
170
-
171
- = Is there any demo or trial period to do some testing? =
172
- Yes, definitely you can use all the features of REVE Chat live chat plugin for 14days in the trial period.
173
-
174
- = Can I customize the REVE Chat window? =
175
- Yes, REVE Chat window is customizable. Some of the things which you can change in the chat window include:
176
- * Changing the color scheme
177
- * Changing the font size
178
- * Chat Widget text
179
- * Offline Widget Text
180
- * Pre chat & Post chat form
181
-
182
- = Can I add REVE Chat plugin on more than one website at the same time? =
183
- Yes, there is no limit on websites for the paid plans. However our free Basic package has limited features and it can be used only on one website.
184
-
185
-
186
- = Contributors & Developers =
187
-
188
- “REVE Chat – WP Live Chat Support plugin” is open source software. The following people have contributed to this plugin.
189
-
190
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.6/revechat.php DELETED
@@ -1,203 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: REVE Chat - WP Live Chat Support plugin
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 5.0
6
- Author: REVE Chat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- /**
13
- * Core class which interacts with
14
- * WordPress hooks and filters
15
- */
16
- class WP_Plugin_Revechat
17
- {
18
- /**
19
- * Constructor method of the plugin object.
20
- * This method initialize the stdClass,
21
- * defines plugin name, plugin display name etc.
22
- *
23
- * This method also calls necessary wodpress hooks and filters.
24
- * for more about hooks please visit @link [https://developer.wordpress.org/reference/functions/add_action/]
25
- * for more information on filters @link [https://developer.wordpress.org/reference/functions/add_filter/]
26
- */
27
- public function __construct()
28
- {
29
- // Plugin Details
30
- $this->plugin = new stdClass;
31
- $this->plugin->name = 'revechat'; // Plugin Folder
32
- $this->plugin->displayName = 'REVE Chat'; // Plugin Name
33
-
34
- // Hooks
35
- add_action('admin_init', array(&$this, 'registerSettings'));
36
-
37
- add_action('wp_head', array(&$this, 'frontendHeader'));
38
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
39
-
40
- // Add Menu Page
41
- add_action('admin_menu',array($this,'admin_menu'));
42
-
43
- //enqueue scripts
44
- add_action('admin_enqueue_scripts',array($this,'admin_scripts'));
45
-
46
- } // END public function __construct
47
-
48
- /**
49
- * REVE Chat widget script.
50
- *
51
- * This script will be rendered in frontend of the site.
52
- * This funtion is called when wp_head action triggered.
53
- * The wp_head action hook is triggered within the <head></head> section of the user's template
54
- * by the wp_head() function. Although this is theme-dependent,
55
- * it is one of the most essential theme hooks, so it is widely supported.
56
- *
57
- */
58
- public static function frontendHeader()
59
- {
60
- $accountId = get_option('revechat_accountid' , '');
61
- if( (isset($accountId) && !empty($accountId)) ) {
62
-
63
- $script = "<script type='text/javascript'>";
64
- $script .= 'window.$_REVECHAT_API || (function(d, w) { var r = $_REVECHAT_API = function(c) {r._.push(c);}; w.__revechat_account=\''.$accountId.'\';w.__revechat_version=2;
65
- r._= []; var rc = d.createElement(\'script\'); rc.type = \'text/javascript\'; rc.async = true; rc.setAttribute(\'charset\', \'utf-8\');
66
- rc.src = (\'https:\' == document.location.protocol ? \'https://\' : \'http://\') + \'static.revechat.com/widget/scripts/new-livechat.js?\'+new Date().getTime();
67
- var s = d.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(rc, s);
68
- })(document, window);';
69
-
70
- $script .='</script>';
71
-
72
- echo $script ;
73
-
74
- }
75
-
76
- }
77
-
78
- /**
79
- * Register a setting and its data.
80
- * refer to @link [https://developer.wordpress.org/reference/functions/register_setting/]
81
- * for more information about register setting
82
- */
83
- public function registerSettings(){
84
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
85
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
86
- }
87
-
88
- /**
89
- * Render the settings form
90
- */
91
- public function reveChatOptions(){
92
- if ( !current_user_can( 'manage_options' ) ) {
93
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
94
- }
95
- // variables for the field and option names
96
- $accountId = 'revechat_accountid';
97
-
98
- // Read in existing option value from database
99
- $val_accountId = get_option( $accountId );
100
-
101
- if( isset($_POST[ $accountId ])){
102
-
103
- // Read in existing option value from POST
104
- $val_accountId = $_POST[ $accountId ];
105
- update_option( $accountId , $val_accountId );
106
- ?>
107
- <div class="updated" xmlns="http://www.w3.org/1999/html"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
108
- <?php
109
- }
110
- ?>
111
- <div class="wrap" id="revechat">
112
-
113
- <div>
114
- <div class="reve-chat-logo">
115
- <img src="<?php echo plugin_dir_url( __FILE__ )."images/logo.png";?>" alt="REVE Chat">
116
- </div>
117
-
118
- <form name="form1" id="revechat-admin-settings-form" method="post" action="">
119
-
120
- <?php
121
- if(isset($val_accountId) && $val_accountId != 0){
122
- require (plugin_dir_path( __FILE__ )."includes/remove-form.php");
123
- echo '</div>';
124
- return;
125
- }
126
-
127
- require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
128
- ?>
129
- <div class="form-item form-type-item" id="edit-ajax-message">
130
- <p class="ajax_message"></p>
131
- </div>
132
- <?php
133
- require (plugin_dir_path( __FILE__ )."includes/login-form.php");
134
- require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
135
- ?>
136
-
137
- </form>
138
- </div>
139
- </div>
140
-
141
- <?php
142
- }
143
-
144
- /**
145
- * Add page in admin menu
146
- * This method takes a capability which will be used to determine whether or not a page is included in the menu.
147
- * this method which is hooked in to handle the output of the page also check that the user has the required
148
- * capability as well.
149
- */
150
- public function admin_menu()
151
- {
152
- add_menu_page(__($this->plugin->displayName.' Dashboard','revechat-settings'), __($this->plugin->displayName,'menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions'), plugin_dir_url( __FILE__ )."images/favicon.png");
153
- }
154
-
155
- /**
156
- * Triggers when the user deactivate/uninstall the plugin.
157
- * this method simply delete all the data of this
158
- * plugin from database.
159
- */
160
-
161
- public static function deactivate()
162
- {
163
- delete_option('revechat_accountid');
164
- }
165
-
166
-
167
- /**
168
- * Load necessary JavaScript and CSS library
169
- * in admin panel.
170
- */
171
- public function admin_scripts(){
172
-
173
- wp_enqueue_script( 'jquery');
174
-
175
- wp_enqueue_script( 'revechat-admin-script', plugin_dir_url( __FILE__ ) . '/js/revechat-admin.js',array('jquery') );
176
-
177
- wp_enqueue_style( 'custom_wp_admin_css',plugin_dir_url( __FILE__ ).'css/admin-styles.css' );
178
- }
179
-
180
- /**
181
- * Applied to the list of links to display on the plugins page (beside the activate/deactivate links).
182
- *
183
- * @param $links
184
- * @return array
185
- */
186
- function add_action_links ( $links ) {
187
- $menu_link = array(
188
- '<a href="' . admin_url( 'admin.php?page=revechatsettings' ) . '">Settings</a>',
189
- );
190
- return array_merge( $links, $menu_link );
191
- }
192
- }
193
- } // END if(!class_exists('WP_Plugin_Revechat'))
194
-
195
- /**
196
- * Initialize the core class
197
- */
198
- $revechat = new WP_Plugin_Revechat();
199
-
200
- /**
201
- * Register the deactivation hook.
202
- */
203
- register_deactivation_hook( __FILE__, array( 'WP_Plugin_Revechat', 'deactivate' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.6/screenshot-1.jpg DELETED
Binary file
tags/6.1.6/screenshot-2.jpg DELETED
Binary file
tags/6.1.6/screenshot-3.jpg DELETED
Binary file
tags/6.1.6/screenshot-4.jpg DELETED
Binary file
tags/6.1.6/screenshot-5.jpg DELETED
Binary file
tags/6.1.6/screenshot-6.jpg DELETED
Binary file
tags/6.1.6/screenshot-7.jpg DELETED
Binary file
tags/6.1.6/screenshot-8.jpg DELETED
Binary file
tags/6.1.6/screenshot-9.jpg DELETED
Binary file
tags/6.1.7/css/admin-styles.css DELETED
@@ -1,109 +0,0 @@
1
- #revechat ul#revechat_choose_form{}
2
- #revechat ul#revechat_choose_form li{
3
- list-style: none;
4
- display: block;
5
- }
6
- #revechat ul#revechat_choose_form li label{
7
- display: inline-block;
8
- }
9
- #revechat .revechat_email_error{
10
- color: red;
11
- }
12
- #revechat .ajax_message {
13
- display: none;
14
- background: url(ajax_loader.gif) no-repeat 24px 51%;
15
- padding: 0;
16
- margin-top: 1em;
17
- }
18
- #revechat .ajax_message.wait,
19
- #revechat .ajax_message.message
20
- {
21
- display: block;
22
- font-size: 1.2em;
23
- padding: 20px;
24
- box-shadow: 2px 2px 2px rgba(0,0,0,.2);
25
- }
26
- #revechat .ajax_message.wait {
27
- text-indent: 28px;
28
- background-color: #fff;
29
- }
30
- #revechat .ajax_message.message {
31
- background-image: none;
32
- text-indent: 0px;
33
- }
34
-
35
- #revechat .ajax_message.message.alert{
36
- background-color: #f2dede;
37
- border-color: #ebccd1;
38
- color: #a94442;
39
- padding: 20px;
40
- }
41
- #revechat .ajax_message.message.success{
42
- background-color: #dff0d8;
43
- border: 1px solid #dff0d8;
44
- color: #3c763d;
45
- padding: 20px;
46
- }
47
- #revechat .revechat_success_message{
48
- background: #ffffff;
49
- padding: 50px;
50
- height: auto;
51
- font-size: 1.5em;
52
- border-bottom: 5px solid #F16915;
53
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
54
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
55
- box-shadow: 0px 0px 6px rgba(0,0,0,.3);
56
- }
57
- #revechat .revechat_success_message h3{
58
- font-weight: bold;
59
- border-bottom: 1px solid #B1B4B9;
60
- padding-bottom: 20px;
61
- line-height: 2em;
62
- }
63
- #revechat .messages.revechat_success{
64
- background-color: #dff0d8;
65
- border: 1px solid #bee99a;
66
- color: #3c763d;
67
- padding: 20px;
68
- margin-bottom: 30px;
69
- font-weight: 600;
70
- }
71
- #revechat .form-submit{
72
- background: #FF5800 none repeat scroll 0 0;
73
- border-color: #bd4302 #ab3c02 #ab3c02;
74
- -webkit-box-shadow: 0 1px 0 #ab3c02;
75
- box-shadow: 0 1px 0 #ab3c02;
76
- color: #fff;
77
- text-decoration: none;
78
- text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
79
- }
80
- #revechat .box {
81
- background: #ffffff;
82
- border: 1px solid #e5e5e5;
83
- padding: 20px;
84
- margin-bottom: 50px;
85
- }
86
- #revechat #revechat-admin-settings-form {
87
- padding: 18px;
88
- }
89
- #revechat fieldset {
90
- border: 1px solid #c0c0c0;
91
- margin-top: 20px;
92
- }
93
- #revechat #revechat_already_have > h3 {
94
- margin-top: 19px;
95
- }
96
- #revechat ul#revechat_choose_form li {
97
- display: block;
98
- list-style: outside none none;
99
- padding-left: 20px;
100
- }
101
-
102
- #revechat .form-item > label {
103
- display: table;
104
- margin-bottom: 11px;
105
- margin-top: 20px;
106
- }
107
- #revechat input.form-submit{
108
- cursor: pointer;
109
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.7/css/ajax_loader.gif DELETED
Binary file
tags/6.1.7/images/favicon.png DELETED
Binary file
tags/6.1.7/images/logo.png DELETED
Binary file
tags/6.1.7/includes/choose-form.php DELETED
@@ -1,13 +0,0 @@
1
- <div id="edit-choose-form" class="box">
2
- <h3>Do you already have a REVE Chat account?</h3>
3
- <ul id="revechat_choose_form">
4
- <li>
5
- <input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
6
- <label for="has_revechat_account">Yes, I already have a REVE Chat account</label>
7
- </li>
8
- <li>
9
- <input type="radio" id="new_revechat_account" name="revechat_choose_form">
10
- <label for="new_revechat_account">No, I want to create one</label>
11
- </li>
12
- </ul>
13
- </div><!-- Edit Choose Form -->
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.7/includes/login-form.php DELETED
@@ -1,23 +0,0 @@
1
- <div id="revechat_already_have" class="box">
2
- <h3>Account Details</h3>
3
- <table class="form-table">
4
- <tbody>
5
- <tr>
6
- <th>
7
- <label for="edit-revechat-account-email">
8
- <?php
9
- _e("REVE Chat login email");
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email" placeholder="Enter your email address">
15
- <input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
16
- </td>
17
- </tr>
18
- </tbody>
19
- </table>
20
- <p class="submit">
21
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
22
- </p>
23
- </div><!-- revechat_already_have -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.7/includes/remove-form.php DELETED
@@ -1,10 +0,0 @@
1
- <div class="box">
2
- <h3>REVE Chat has been installed.</h3>
3
- <p>Sign in to REVE Chat Dashboard and start chatting with your customers.</p>
4
- <p><a href="https://dashboard.revechat.com" class="form-submit button-primary" target="_blank">Go to Dashboard</a></p>
5
-
6
- <div id="edit-actions" class="form-actions form-wrapper">
7
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
8
- <p><small>Something went wrong? <input type="submit" style="background: transparent; border: 0; text-decoration: underline;text-transform: lowercase; font-size: 10px; cursor: pointer;" value="Disconnect" name="revechat_remove" id="edit-submit"></small></p>
9
- </div>
10
- </div>
 
 
 
 
 
 
 
 
 
 
tags/6.1.7/includes/signup-form.php DELETED
@@ -1,75 +0,0 @@
1
- <div id="revechat_new_account" class="box">
2
-
3
- <h3>Create a new REVE Chat account</h3>
4
- <table class="form-table">
5
- <tr>
6
- <th>
7
- <label for="edit-firstname">
8
- <?php
9
- _e("First Name")
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="text" class="regular-text" name="firstName" id="edit-firstname" placeholder="First Name">
15
- </td>
16
- </tr>
17
-
18
-
19
- <tr>
20
- <th>
21
- <label for="edit-lastname">
22
- <?php
23
- _e("Last Name")
24
- ?>
25
- </label>
26
- </th>
27
- <td>
28
- <input type="text" class="regular-text" name="firstName" id="edit-lastname" placeholder="Last Name">
29
- </td>
30
- </tr>
31
-
32
- <tr>
33
- <th>
34
- <label for="edit-email">
35
- <?php
36
- _e('Email Address')
37
- ?>
38
- </label>
39
-
40
- </th>
41
- <td>
42
- <input type="text" class="regular-text" name="email" id="edit-email" placeholder="Email address">
43
- </td>
44
- </tr>
45
-
46
- <tr>
47
- <th>
48
- <label for="edit-accountpassword">
49
- <?php
50
- _e('Password')
51
- ?>
52
- </label>
53
- </th>
54
- <td>
55
- <input type="password" class="regular-text" name="edit-accountpassword" id="edit-accountpassword" placeholder="Password">
56
- </td>
57
- </tr>
58
-
59
- <tr>
60
- <th>
61
- <label for="edit-retypepassword">
62
- <?php
63
- _e('Confirm your password')
64
- ?>
65
- </label>
66
- </th>
67
- <td>
68
- <input type="password" class="regular-text" name="edit-retypepassword" id="edit-retypepassword" placeholder="Confirm your password">
69
- </td>
70
- </tr>
71
- </table>
72
- <p class="submit">
73
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Create Account') ?>" />
74
- </p>
75
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.7/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/6.1.7/js/revechat-admin.js DELETED
@@ -1,208 +0,0 @@
1
- jQuery.noConflict();
2
- (function($){
3
- var baseUrl = 'https://dashboard.revechat.com/';
4
- var ReveChat ={
5
- init: function () {
6
- this.toggleForms();
7
- this.bindFormSubmit();
8
- },
9
-
10
- toggleForms: function ()
11
- {
12
- var toggleForms = function ()
13
- {
14
- if ($('#new_revechat_account').is(':checked'))
15
- {
16
- $('#revechat_already_have').hide();
17
- $('#revechat_new_account').show();
18
- }
19
- else if ($('#has_revechat_account').is(':checked'))
20
- {
21
- $('#revechat_new_account').hide();
22
- $('#revechat_already_have').show();
23
- $('#edit-revechat-account-email').focus();
24
- }
25
- };
26
- toggleForms();
27
-
28
- $('#revechat_choose_form input').click(toggleForms);
29
- },
30
-
31
- bindFormSubmit: function () {
32
- $('#revechat-admin-settings-form').submit(function(e)
33
- {
34
-
35
- if($('#edit-submit').val() == 'Disconnect'){
36
- $('#revechat_aid').val(0);
37
- $('#revechat-admin-settings-form').submit();
38
- }
39
- if (((parseInt($('#revechat_aid').val()) !== 0) || $('#has_revechat_account').is(':checked')))
40
- {
41
- return ReveChat.alreadyHaveAccountForm();
42
- }
43
- else
44
- {
45
- return ReveChat.newLicenseForm();
46
- }
47
-
48
- });
49
- },
50
-
51
- alreadyHaveAccountForm: function()
52
- {
53
- var email = $.trim($('#edit-revechat-account-email').val());
54
-
55
- if(ReveChat.isValidEmailAddress(email))
56
- {
57
- if((parseInt($('#revechat_aid').val()) == 0 || $('#revechat_aid').val() == ""))
58
- {
59
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait&hellip;');
60
-
61
- ReveChat.signIn(email);
62
- return false;
63
- }
64
- }
65
- else
66
- {
67
- alert('Please provide a valid email address');
68
- $('#edit-revechat-account-email').focus();
69
- return false;
70
- }
71
- return true;
72
- },
73
- signIn: function (email) {
74
- var signInUrl = baseUrl +'/license/adminId/'+email+'/?callback=?';
75
- $.getJSON(signInUrl,
76
- function(response)
77
- {
78
- if (response.error)
79
- {
80
- alert('Incorrect REVE Chat login');
81
- $('.ajax_message').removeClass('wait');
82
- $('#edit-revechat-account-email').focus();
83
- return false;
84
- }
85
- else
86
- {
87
- $('#revechat_aid').val(response.data.account_id);
88
- $('#revechat-admin-settings-form').submit();
89
- }
90
- });
91
- },
92
- newLicenseForm: function()
93
- {
94
- if (parseInt(($('#revechat_aid').val()) > 0))
95
- {
96
- return true;
97
- }
98
-
99
- if(this.validateNewLicenseForm())
100
- {
101
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
102
- ReveChat.createLicense();
103
- }
104
- return false;
105
- },
106
- createLicense: function()
107
- {
108
-
109
- $('.ajax_message').removeClass('message').addClass('wait').html('Creating new account&hellip;');
110
-
111
- var firstName = $.trim($('#edit-firstname').val());
112
- var lastName = $.trim($('#edit-lastname').val());
113
- var email = $.trim($('#edit-email').val());
114
- var password = $.trim($('#edit-accountpassword').val());
115
- var rePassword = $.trim($('#edit-retypepassword').val());
116
-
117
- var signUpUrl = baseUrl + 'revechat/cms/api/signup.do';
118
-
119
- $.ajax({
120
- data: { 'firstname':firstName, 'lastname':lastName, 'mailAddr':email, 'password':password, 'utm_source':'cms', 'utm_content':'wordpress', 'referrer':'https://wordpress.org/plugins/' },
121
- type:'POST',
122
- url:signUpUrl,
123
- dataType: 'json',
124
- cache:false,
125
- success: function(response) {
126
- if(response.status == 'error')
127
- {
128
- $('.ajax_message').removeClass('wait');
129
- alert(response.message);
130
- return false;
131
- }
132
- else if(response.status == 'success')
133
- {
134
- $('#edit-revechat-account-email').val(email);
135
- ReveChat.signIn(email);
136
- return false;
137
- }
138
- }
139
- });
140
- },
141
- validateNewLicenseForm: function()
142
- {
143
-
144
- var firstName = $.trim($('#edit-firstname').val());
145
- var lastName = $.trim($('#edit-lastname').val());
146
- var email = $.trim($('#edit-email').val());
147
- var password = $.trim($('#edit-accountpassword').val());
148
- var rePassword = $.trim($('#edit-retypepassword').val());
149
-
150
-
151
-
152
- if (!firstName.length)
153
- {
154
- alert('Please provide your first name.');
155
- $('.ajax_message').removeClass('wait');
156
- $('#edit-firstname').focus();
157
- return false;
158
- }
159
-
160
- if (!lastName.length)
161
- {
162
- alert('Please provide your last name.');
163
- $('.ajax_message').removeClass('wait');
164
- $('#edit-lastname').focus();
165
- return false;
166
- }
167
-
168
- if (!ReveChat.isValidEmailAddress(email))
169
- {
170
- alert('Please provide your valid email address.');
171
- $('.ajax_message').removeClass('wait');
172
- $('#edit-email').focus();
173
- return false;
174
- }
175
-
176
- if(password.length < 6){
177
- alert('Please provide your password. The password must be at least 6 characters long.')
178
- $('.ajax_message').removeClass('wait');
179
- $('#edit-accountpassword').focus();
180
- return false;
181
- }
182
-
183
- if(!rePassword.length || password.length < 6){
184
- alert('Please retype your password.');
185
- $('.ajax_message').removeClass('wait');
186
- $('#edit-retypepassword').focus();
187
- return false;
188
- }
189
-
190
- if(password != rePassword){
191
- alert('Password does not match the confirm password.');
192
- $('.ajax_message').removeClass('wait');
193
- return false;
194
- }
195
-
196
-
197
- return true;
198
- },
199
- isValidEmailAddress: function (emailAddress) {
200
- var pattern = /^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i;
201
- return pattern.test(emailAddress);
202
- },
203
- }
204
- $(document).ready(function()
205
- {
206
- ReveChat.init();
207
- });
208
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.7/readme.txt DELETED
@@ -1,190 +0,0 @@
1
- === REVE Chat - WP Live Chat Support plugin ===
2
- Contributors: revechat
3
- Tags: live chat,live support,chat software,chat plugin,wordpress live chat, wordpress chat,chat,chat for web,web chat,chat online,chat software,IM Chat,live web chat,web support,live chat software,online chat,online support,chat widget,video chat,voice chat,snapengage,wordpress chat,wordpress live chat,webrtc,screen sharing,co-browsing,co browsing,facebook chat plugin,facebook chat,web analytics, analytics, analytics dashboard,facebook, facebook messenger, messenger, facebook live chat, crisp, pure chat, purechat, zendesk, zendesk chat, liveagent, olark, happyfox, reve chat, chatra, provide support, comm100, kayako, zoho, zoho salesiq, userlike, userengage, drift, livehelpnow, live help now, intercom, freshdesk, zendesk, clickdesk, liveperson, live person, bold360, velaro, hubspot, salesforce, zapier, zopim, mailchimp, analytics, google analytics, im chat, slack,casengo, tagove, mylivechat, my live chat, livezilla, chatrify,live chat tool, live chat widget, live support button, live chat solution, customer service software, chat, customer service chat, live chat button,wp livechat support, tidio, jivochat, formilla, tawk, tawkto,tawk.to livechat inc, livechatinc, live chat inc,revechat
4
- Requires at least: 2.7
5
- Tested up to: 4.9.4
6
- Stable tag: 6.1.7
7
-
8
- Live chat and help desk software plugin for WordPress website. An application for live chat, help desk, online customer service and support.
9
-
10
-
11
- ==Description ==
12
- REVE Chat is a multi-channel cloud based live chat software plugin that provides real time assistance to your website visitors for better customer support, service and boost sales conversions. Businesses can instantly engage with their customers across various channels such as Website live chat, Voice/ Video Chat, Facebook Messenger, Viber, Mobile apps (Android, iOS) using a single platform.
13
-
14
- REVE Chat WP live chat plugin for WordPress also has advanced features such as Screen sharing and co-browsing, Department Management, Auto Triggers, and Visitor Analytics, Queuing, fully customizable chat banner and more to personalize every customer interaction across multiple channels.
15
-
16
-
17
- https://youtu.be/t1dykZ9Tg8U
18
-
19
-
20
- **Live Chat Key Features-**
21
- **Voice/ Video Chat:** With live chat for WordPress, Business can Talk to your customers using voice/ video chat plubin right inside your web or mobile apps with click to call solution.
22
-
23
- **Co-browsing:** Using live chat and WordPress together, Provide real time assistance and remote support to your website visitors and customers screen in real time.
24
-
25
- **Facebook Messenger:** Using live chat and facebook together,Chat with your Facebook customers using REVE Chat from single dashboard.
26
-
27
- **Viber Messaging:** Using live chat and viber together,Chat with your customers on Viber messaging using your public account from single dashboard.
28
-
29
- **Screen sharing:** With the REVE Chat chat plugin for WordPress, Support your website visitors in real time and help them to navigate the website with screen sharing.
30
-
31
- **Real-time Visitor Analytics:** With the REVE Chat chat plugin for WordPress, Get real time insights about your customers (location, history, IP address, Referral source) and personalize every interaction to improve user experience
32
-
33
- **Department Management:** With the REVE Chat chat plugin for WordPress, Improve customer response time by routing your customer queries to the right department.
34
-
35
- **Queuing:** With the REVE Chat chat plugin for WordPress, Manage your customer expectations effectively by providing them right information about waiting time when your agents are busy with other customers
36
-
37
- **Auto Triggers:** With the REVE Chat chat plugin for WordPress, Send automatic invitations to your website visitors based on certain time, ULR or location.
38
-
39
- **Chat Monitoring:** With the REVE Chat chat plugin for WordPress, Monitor your agent performance and responses in real time to provide more appropriate answers to your customer queries.
40
-
41
- **Mobile live chat applications:** - mobile apps for iOS and Android will help you chat with customers wherever you are.
42
-
43
-
44
- **Live Chat Benefits-**
45
-
46
-
47
- Out of all the customer support channels available whether offline or online — live chat is by far the most fast and convenient method to handle customer queries.
48
-
49
- Get complete overview and insights about your customer interactions across multiple channels
50
-
51
- Offer your visitors instant assistance and increase your sales conversions
52
-
53
- Reduce cost of service by managing multiple customers simultaneously.
54
-
55
- Receive valuable customer feedback after every chat session to gain insights and improve the quality of your service.
56
-
57
- Proactively engage to assist website visitors in real-time before they leave your website being frustrated.
58
-
59
-
60
- == What is live chat for WordPress? ==
61
-
62
- If you have a website, and you are serious about your business then using live chat will be best. Live chat plugin for WordPress adds a live chat widget to the bottom of your website that allows visitors to chat to you in real time.
63
-
64
- == Usage ==
65
-
66
- With the REVE chat chat plugin for WordPress, you can add live chat to every page of your website. To answer chats, chat agents have to be logged into one of our dashboard - from web dashboard or mobile apps. There are also applications for mobile devices - iPhone and Android.
67
-
68
-
69
- **What makes Reve Chat the best choice for live chat?**
70
-
71
- * A simple and highly customizable Live chat solution
72
- * User friendly interface and Dashboard
73
- * Intuitive Chat Window
74
- * Innovative and unique features
75
- * 24x7 hour live chat support from our trained experts on any weekday (visit revechat.com)
76
-
77
-
78
- **Supported Language**
79
-
80
- * Arabic | Bangla | Chinese | Dutch | English | French| German | Hindi | Italian | Japanese | Korean | Malay | Polish | Portuguese | Romanian | Russian | Spanish | Swedish | Tagalog | Turkish | Vietnamese
81
-
82
-
83
- **Some Geeky Facts**
84
-
85
- * Work across major browsers (Internet Explorer 7+, Firefox, Google Chrome, Opera, Safari).
86
- * Average uptime is 99.8%.
87
- * Mobile Optimized Dashboard
88
- * Should you need any assistance, feel free to chat with our customer advocates on www.revechat.com or email us at support@revechat.com
89
-
90
-
91
- = Support =
92
-
93
-
94
- REVE Chat offers 24x7-365 live support, visit https://www.revechat.com and initiate a chat or send us an email at support@revechat.com.
95
-
96
-
97
- Don't have a reve chat account ? [Create one from here!](https://www.revechat.com/signup/?utm_source=wpdirectory&utm_medium=link&utm_campaign=signup)
98
-
99
-
100
-
101
- == Changelog ==
102
-
103
-
104
- = 1.2.0 =
105
-
106
- * Feature: Add the Reve chat widget to your site!
107
- * Feature: Customize look and feel of the widget, including themes and color!
108
-
109
- = 2.0 =
110
- * New Admin Menu page for REVE Chat
111
- * New for integration
112
- * Added link of settings page to display on the plugins page (beside the activate/deactivate links).
113
-
114
- = 2.0.1 =
115
- * Updated chat script
116
-
117
- = 2.0.3 =
118
- * updated the UI
119
-
120
- = 3.0 =
121
- * introduced new signup process
122
- * fixed signin bug
123
-
124
- == Screenshots ==
125
-
126
- 1. Chat window on your website - active chat
127
- 2. Account Configuration - Link Up
128
- 3. Account Configuration - Linked Up with Launch Dashboard
129
- 4. Dashboard View - Open new browser tab
130
- 5. Widget Customization from Dashboard
131
-
132
-
133
- == Installation ==
134
-
135
- Adding reve chat live chat widget to your Wordpress site is very easy, follow following steps :
136
-
137
- * Clone this repository into your plugins directory or download the zip file and unzip on your plugins directory
138
- * or Install the plugin from the WordPress directory and activate it.
139
- * Go to `Settings`, then to the 'revechat' sub menu, and login to your reve chat account to select a widget.
140
- * Customize the chat widget from within the [reve chat dashboard](https://dashboard.revechat.com) to your preference.
141
- * Start chatting with your visitors! :)
142
-
143
- Note: You will need a reve chat account : [Create one from here!](https://revechat.com/signup/?utm_source=wpdirectory&utm_medium=link&utm_campaign=signup)
144
-
145
- == Frequently Asked Questions ==
146
-
147
-
148
- = Do I have to install any software on my server to get working the chat plugin? =
149
- REVE live chat plugin need to be installed from your WordPress panel. It is a cloud based live chat software hence it would only activate the script when you install the plugin.
150
-
151
- = Why should I use REVE Chat live chat support? =
152
- REVE chat is a complete online sales and support tool to engage your website visitors. With advanced features such as Click to call, Facebook Chat Integration, Queuing, Chat Monitoring and others, REVE Chat provides full insights to communicate with your visitors to become your loyal customers.
153
-
154
- = Which web browsers work best with this chat plugin? =
155
- Though it is designed to work on almost all the browsers, REVE Chat works best in the following environment: IE 7+ or later (PC), Firefox 2 or later (Mac, PC, or Linux), Safari 2 or later (Mac), Google Chrome (PC, Mac).
156
-
157
- = How much is price of REVE Chat web chat plugin? =
158
- REVE Chat plugin in free to install and it offers a complete 14 days free trial to understand its all features. REVE Chat offers 3 packages
159
- 1. Basic (Free)
160
- 2. Standard
161
- 3. Advanced
162
- Please click here to find out more about pricing.
163
- The live chat support plugin is completely free to install. However, if you want to use Standard and Advanced REVE Chat package then you have to purchase the package.
164
-
165
- = How can I chat with more visitors at the same time? =
166
- REVE Chat web chat plugin allows unlimited concurrent chats for the paid plans. Hence you can chat with as many visitors as you want at the same time. REVE Chat also allows you to proactively chat with your website visitors before they leave your website.
167
-
168
- = How can I take further information regarding REVE Chat live chat support plugin? =
169
- You can find out more at our site at http://www.revechat.com or at support@revechat.com and we will help you with installation.
170
-
171
- = Is there any demo or trial period to do some testing? =
172
- Yes, definitely you can use all the features of REVE Chat live chat plugin for 14days in the trial period.
173
-
174
- = Can I customize the REVE Chat window? =
175
- Yes, REVE Chat window is customizable. Some of the things which you can change in the chat window include:
176
- * Changing the color scheme
177
- * Changing the font size
178
- * Chat Widget text
179
- * Offline Widget Text
180
- * Pre chat & Post chat form
181
-
182
- = Can I add REVE Chat plugin on more than one website at the same time? =
183
- Yes, there is no limit on websites for the paid plans. However our free Basic package has limited features and it can be used only on one website.
184
-
185
-
186
- = Contributors & Developers =
187
-
188
- “REVE Chat – WP Live Chat Support plugin” is open source software. The following people have contributed to this plugin.
189
-
190
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.7/revechat.php DELETED
@@ -1,203 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: REVE Chat - WP Live Chat Support plugin
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 5.0
6
- Author: REVE Chat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- /**
13
- * Core class which interacts with
14
- * WordPress hooks and filters
15
- */
16
- class WP_Plugin_Revechat
17
- {
18
- /**
19
- * Constructor method of the plugin object.
20
- * This method initialize the stdClass,
21
- * defines plugin name, plugin display name etc.
22
- *
23
- * This method also calls necessary wodpress hooks and filters.
24
- * for more about hooks please visit @link [https://developer.wordpress.org/reference/functions/add_action/]
25
- * for more information on filters @link [https://developer.wordpress.org/reference/functions/add_filter/]
26
- */
27
- public function __construct()
28
- {
29
- // Plugin Details
30
- $this->plugin = new stdClass;
31
- $this->plugin->name = 'revechat'; // Plugin Folder
32
- $this->plugin->displayName = 'REVE Chat'; // Plugin Name
33
-
34
- // Hooks
35
- add_action('admin_init', array(&$this, 'registerSettings'));
36
-
37
- add_action('wp_head', array(&$this, 'frontendHeader'));
38
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
39
-
40
- // Add Menu Page
41
- add_action('admin_menu',array($this,'admin_menu'));
42
-
43
- //enqueue scripts
44
- add_action('admin_enqueue_scripts',array($this,'admin_scripts'));
45
-
46
- } // END public function __construct
47
-
48
- /**
49
- * REVE Chat widget script.
50
- *
51
- * This script will be rendered in frontend of the site.
52
- * This funtion is called when wp_head action triggered.
53
- * The wp_head action hook is triggered within the <head></head> section of the user's template
54
- * by the wp_head() function. Although this is theme-dependent,
55
- * it is one of the most essential theme hooks, so it is widely supported.
56
- *
57
- */
58
- public static function frontendHeader()
59
- {
60
- $accountId = get_option('revechat_accountid' , '');
61
- if( (isset($accountId) && !empty($accountId)) ) {
62
-
63
- $script = "<script type='text/javascript'>";
64
- $script .= 'window.$_REVECHAT_API || (function(d, w) { var r = $_REVECHAT_API = function(c) {r._.push(c);}; w.__revechat_account=\''.$accountId.'\';w.__revechat_version=2;
65
- r._= []; var rc = d.createElement(\'script\'); rc.type = \'text/javascript\'; rc.async = true; rc.setAttribute(\'charset\', \'utf-8\');
66
- rc.src = (\'https:\' == document.location.protocol ? \'https://\' : \'http://\') + \'static.revechat.com/widget/scripts/new-livechat.js?\'+new Date().getTime();
67
- var s = d.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(rc, s);
68
- })(document, window);';
69
-
70
- $script .='</script>';
71
-
72
- echo $script ;
73
-
74
- }
75
-
76
- }
77
-
78
- /**
79
- * Register a setting and its data.
80
- * refer to @link [https://developer.wordpress.org/reference/functions/register_setting/]
81
- * for more information about register setting
82
- */
83
- public function registerSettings(){
84
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
85
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
86
- }
87
-
88
- /**
89
- * Render the settings form
90
- */
91
- public function reveChatOptions(){
92
- if ( !current_user_can( 'manage_options' ) ) {
93
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
94
- }
95
- // variables for the field and option names
96
- $accountId = 'revechat_accountid';
97
-
98
- // Read in existing option value from database
99
- $val_accountId = get_option( $accountId );
100
-
101
- if( isset($_POST[ $accountId ])){
102
-
103
- // Read in existing option value from POST
104
- $val_accountId = $_POST[ $accountId ];
105
- update_option( $accountId , $val_accountId );
106
- ?>
107
- <div class="updated" xmlns="http://www.w3.org/1999/html"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
108
- <?php
109
- }
110
- ?>
111
- <div class="wrap" id="revechat">
112
-
113
- <div>
114
- <div class="reve-chat-logo">
115
- <img src="<?php echo plugin_dir_url( __FILE__ )."images/logo.png";?>" alt="REVE Chat">
116
- </div>
117
-
118
- <form name="form1" id="revechat-admin-settings-form" method="post" action="">
119
-
120
- <?php
121
- if(isset($val_accountId) && $val_accountId != 0){
122
- require (plugin_dir_path( __FILE__ )."includes/remove-form.php");
123
- echo '</div>';
124
- return;
125
- }
126
-
127
- require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
128
- ?>
129
- <div class="form-item form-type-item" id="edit-ajax-message">
130
- <p class="ajax_message"></p>
131
- </div>
132
- <?php
133
- require (plugin_dir_path( __FILE__ )."includes/login-form.php");
134
- require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
135
- ?>
136
-
137
- </form>
138
- </div>
139
- </div>
140
-
141
- <?php
142
- }
143
-
144
- /**
145
- * Add page in admin menu
146
- * This method takes a capability which will be used to determine whether or not a page is included in the menu.
147
- * this method which is hooked in to handle the output of the page also check that the user has the required
148
- * capability as well.
149
- */
150
- public function admin_menu()
151
- {
152
- add_menu_page(__($this->plugin->displayName.' Dashboard','revechat-settings'), __($this->plugin->displayName,'menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions'), plugin_dir_url( __FILE__ )."images/favicon.png");
153
- }
154
-
155
- /**
156
- * Triggers when the user deactivate/uninstall the plugin.
157
- * this method simply delete all the data of this
158
- * plugin from database.
159
- */
160
-
161
- public static function deactivate()
162
- {
163
- delete_option('revechat_accountid');
164
- }
165
-
166
-
167
- /**
168
- * Load necessary JavaScript and CSS library
169
- * in admin panel.
170
- */
171
- public function admin_scripts(){
172
-
173
- wp_enqueue_script( 'jquery');
174
-
175
- wp_enqueue_script( 'revechat-admin-script', plugin_dir_url( __FILE__ ) . '/js/revechat-admin.js',array('jquery') );
176
-
177
- wp_enqueue_style( 'custom_wp_admin_css',plugin_dir_url( __FILE__ ).'css/admin-styles.css' );
178
- }
179
-
180
- /**
181
- * Applied to the list of links to display on the plugins page (beside the activate/deactivate links).
182
- *
183
- * @param $links
184
- * @return array
185
- */
186
- function add_action_links ( $links ) {
187
- $menu_link = array(
188
- '<a href="' . admin_url( 'admin.php?page=revechatsettings' ) . '">Settings</a>',
189
- );
190
- return array_merge( $links, $menu_link );
191
- }
192
- }
193
- } // END if(!class_exists('WP_Plugin_Revechat'))
194
-
195
- /**
196
- * Initialize the core class
197
- */
198
- $revechat = new WP_Plugin_Revechat();
199
-
200
- /**
201
- * Register the deactivation hook.
202
- */
203
- register_deactivation_hook( __FILE__, array( 'WP_Plugin_Revechat', 'deactivate' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.7/screenshot-1.jpg DELETED
Binary file
tags/6.1.7/screenshot-2.jpg DELETED
Binary file
tags/6.1.7/screenshot-3.jpg DELETED
Binary file
tags/6.1.7/screenshot-4.jpg DELETED
Binary file
tags/6.1.7/screenshot-5.jpg DELETED
Binary file
tags/6.1.7/screenshot-6.jpg DELETED
Binary file
tags/6.1.7/screenshot-7.jpg DELETED
Binary file
tags/6.1.7/screenshot-8.jpg DELETED
Binary file
tags/6.1.7/screenshot-9.jpg DELETED
Binary file
tags/6.1.8/assets/banner-772x250.png DELETED
Binary file
tags/6.1.8/assets/icon-128x128.png DELETED
Binary file
tags/6.1.8/assets/icon-256x256.png DELETED
Binary file
tags/6.1.8/assets/screenshot-1.jpg DELETED
Binary file
tags/6.1.8/assets/screenshot-2.jpg DELETED
Binary file
tags/6.1.8/assets/screenshot-3.jpg DELETED
Binary file
tags/6.1.8/assets/screenshot-4.jpg DELETED
Binary file
tags/6.1.8/assets/screenshot-5.jpg DELETED
Binary file
tags/6.1.8/assets/screenshot-6.jpg DELETED
Binary file
tags/6.1.8/assets/screenshot-7.jpg DELETED
Binary file
tags/6.1.8/assets/screenshot-8.jpg DELETED
Binary file
tags/6.1.8/assets/screenshot-9.jpg DELETED
Binary file
tags/6.1.8/tags/1.2.2/assets/banner-772x250.png DELETED
Binary file
tags/6.1.8/tags/1.2.2/assets/icon-128x128.png DELETED
Binary file
tags/6.1.8/tags/1.2.2/assets/icon-256x256.png DELETED
Binary file
tags/6.1.8/tags/1.2.2/assets/screenshot-1.png DELETED
Binary file
tags/6.1.8/tags/1.2.2/assets/screenshot-2.png DELETED
Binary file
tags/6.1.8/tags/1.2.2/assets/screenshot-3.png DELETED
Binary file
tags/6.1.8/tags/1.2.2/assets/screenshot-4.png DELETED
Binary file
tags/6.1.8/tags/1.2.2/trunk/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/6.1.8/tags/1.2.2/trunk/readme.txt DELETED
@@ -1 +0,0 @@
1
- === Reve Chat ===
2
 
3
 
 
0
 
1
 
tags/6.1.8/tags/1.2.2/trunk/revechat.php DELETED
@@ -1,146 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: Reve Chat
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 1.2.2
6
- Author: ReveChat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- class WP_Plugin_Revechat
13
- {
14
- /**
15
- * Construct the plugin object
16
- */
17
- public function __construct()
18
- {
19
- // Plugin Details
20
- $this->plugin = new stdClass;
21
- $this->plugin->name = 'revechat'; // Plugin Folder
22
- $this->plugin->displayName = 'ReveChat'; // Plugin Name
23
- $this->plugin->version = '1.1.1';
24
-
25
- // Hooks
26
- add_action('admin_init', array(&$this, 'registerSettings'));
27
- add_action('admin_menu', array(&$this, 'adminPanels'));
28
-
29
- add_action('wp_head', array(&$this, 'frontendHeader'));
30
- } // END public function __construct
31
-
32
- /**
33
- * Activate the frontendHeader
34
- */
35
- public static function frontendHeader()
36
- {
37
- $aid = get_option('revechat_accountid' , '');
38
- $trackingID = get_option('revechat_trackingid' , '');
39
-
40
- if( (isset($aid) && !empty($aid)) && (isset($trackingID) && !empty($trackingID)) ) {
41
-
42
- $script = "<script type='text/javascript'>";
43
- $script .= ' var url = "https://static.revechat.com/client/scripts/configuration.js";
44
- var trackingID ="'.$trackingID.'"
45
- function initializeWidget(){
46
- var aid="'.$aid.'";
47
- new ReveChatWidget(aid);
48
- var trackingID ="'.$trackingID.'";}
49
- (function loadSrc(src_url, onload_callback){
50
- var script = document.createElement("script");
51
- if(script.readyState){
52
- script.onreadystatechange = function (){
53
- if(script.readyState === "loaded" || script.readyState === "complete"){
54
- script.onreadystatechange = null
55
- onload_callback();}}
56
- } else {
57
- script.onload = function(){
58
- onload_callback();
59
- } }
60
- script.src = src_url;
61
- var first_script = document.getElementsByTagName("script")[0];
62
- first_script.parentNode.insertBefore(script, first_script);
63
- })(url, initializeWidget);
64
- <!-- Add textArea code at every page in your website -->';
65
-
66
- $script .='</script>';
67
-
68
- echo $script ;
69
-
70
- }
71
-
72
- } // END public static function activate
73
- /*
74
- * show parameter section
75
- */
76
- public function registerSettings(){
77
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
78
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
79
- }
80
- /*
81
- * admin panel
82
- */
83
- public function adminPanels(){
84
- //add_options_page("ReveChat Dashboard" , "ReveChat" , "read" , "reveChatOptions");
85
- // Add a new submenu under Settings:
86
- add_options_page(__('ReveChat Dashboard','revechat-settings'), __('ReveChat Settings','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions') );
87
- }
88
- /*
89
- * revechat options
90
- */
91
- public function reveChatOptions(){
92
- if ( !current_user_can( 'manage_options' ) ) {
93
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
94
- }
95
- // variables for the field and option names
96
- $accountId = 'revechat_accountid';
97
- $trackingId = 'revechat_trackingid';
98
-
99
- // Read in existing option value from database
100
- $val_accountId = get_option( $accountId );
101
- $val_trackingId = get_option( $trackingId );
102
-
103
- if( isset($_POST[ $accountId ]) && isset($_POST[ $trackingId ] ) ){
104
-
105
- // Read in existing option value from POST
106
- $val_accountId = $_POST[ $accountId ];
107
- $val_trackingId = $_POST[ $trackingId ];
108
- update_option( $accountId , $val_accountId );
109
- update_option( $trackingId , $val_trackingId );
110
- ?>
111
- <div class="updated"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
112
- <?php
113
- }
114
- ?>
115
- <div class="wrap">
116
- <?php echo "<h2>" . __( 'ReveChat Plugin Settings', 'revechat-menu' ) . "</h2>"; ?>
117
- <form name="form1" method="post" action="">
118
-
119
-
120
- <p><?php _e("Account ID", 'revechat-menu' ); ?>
121
- <input type="text" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" size="20">
122
- </p><hr />
123
- <p><?php _e("Tracking ID", 'revechat-menu' ); ?>
124
- <input type="text" name="<?php echo $trackingId; ?>" value="<?php echo $val_trackingId; ?>" size="20">
125
- </p><hr />
126
-
127
- <p class="submit">
128
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
129
- </p>
130
-
131
- </form>
132
- </div>
133
-
134
- <?php
135
- }
136
-
137
- /**
138
- * Deactivate the plugin
139
- */
140
- public static function deactivate()
141
- {
142
- // Do nothing
143
- } // END public static function deactivate
144
- } // END class WP_Plugin_Revechat
145
- } // END if(!class_exists('WP_Plugin_Revechat'))
146
- $revechat = new WP_Plugin_Revechat ;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/1.2.2/trunk/screenshot-1.png DELETED
Binary file
tags/6.1.8/tags/1.2.2/trunk/screenshot-2.png DELETED
Binary file
tags/6.1.8/tags/1.2.2/trunk/screenshot-3.png DELETED
Binary file
tags/6.1.8/tags/1.2.2/trunk/screenshot-4.png DELETED
Binary file
tags/6.1.8/tags/1.2.3/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/6.1.8/tags/1.2.3/readme.txt DELETED
@@ -1 +0,0 @@
1
- === Reve Chat ===
2
 
3
 
 
0
 
1
 
tags/6.1.8/tags/1.2.3/revechat.php DELETED
@@ -1,125 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: Reve Chat
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 1.2.3
6
- Author: ReveChat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- class WP_Plugin_Revechat
13
- {
14
- /**
15
- * Construct the plugin object
16
- */
17
- public function __construct()
18
- {
19
- // Plugin Details
20
- $this->plugin = new stdClass;
21
- $this->plugin->name = 'revechat'; // Plugin Folder
22
- $this->plugin->displayName = 'ReveChat'; // Plugin Name
23
- $this->plugin->version = '1.1.1';
24
-
25
- // Hooks
26
- add_action('admin_init', array(&$this, 'registerSettings'));
27
- add_action('admin_menu', array(&$this, 'adminPanels'));
28
-
29
- add_action('wp_head', array(&$this, 'frontendHeader'));
30
- } // END public function __construct
31
-
32
- /**
33
- * Activate the frontendHeader
34
- */
35
- public static function frontendHeader()
36
- {
37
- $accountId = get_option('revechat_accountid' , '');
38
- //$trackingID = get_option('revechat_trackingid' , '');
39
-
40
- if( (isset($accountId) && !empty($accountId)) ) {
41
-
42
- $script = "<script type='text/javascript'>";
43
- $script .= ';!function(){function e(){var e="'.$accountId.'";new ReveChatWidget(e)}var t=document.createElement("script");t.readyState?t.onreadystatechange=function(){("loaded"===t.readyState||"complete"===t.readyState)&&(t.onreadystatechange=null,e())}:t.onload=function(){e()},t.src="https://static.revechat.com/client/scripts/configuration.js";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(t,a)}();';
44
-
45
- $script .='</script>';
46
-
47
- echo $script ;
48
-
49
- }
50
-
51
- } // END public static function activate
52
- /*
53
- * show parameter section
54
- */
55
- public function registerSettings(){
56
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
57
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
58
- }
59
- /*
60
- * admin panel
61
- */
62
- public function adminPanels(){
63
- //add_options_page("ReveChat Dashboard" , "ReveChat" , "read" , "reveChatOptions");
64
- // Add a new submenu under Settings:
65
- add_options_page(__('ReveChat Dashboard','revechat-settings'), __('ReveChat Settings','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions') );
66
- }
67
- /*
68
- * revechat options
69
- */
70
- public function reveChatOptions(){
71
- if ( !current_user_can( 'manage_options' ) ) {
72
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
73
- }
74
- // variables for the field and option names
75
- $accountId = 'revechat_accountid';
76
- $trackingId = 'revechat_trackingid';
77
-
78
- // Read in existing option value from database
79
- $val_accountId = get_option( $accountId );
80
- $val_trackingId = get_option( $trackingId );
81
-
82
- if( isset($_POST[ $accountId ]) && isset($_POST[ $trackingId ] ) ){
83
-
84
- // Read in existing option value from POST
85
- $val_accountId = $_POST[ $accountId ];
86
- $val_trackingId = $_POST[ $trackingId ];
87
- update_option( $accountId , $val_accountId );
88
- update_option( $trackingId , $val_trackingId );
89
- ?>
90
- <div class="updated"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
91
- <?php
92
- }
93
- ?>
94
- <div class="wrap">
95
- <?php echo "<h2>" . __( 'ReveChat Plugin Settings', 'revechat-menu' ) . "</h2>"; ?>
96
- <form name="form1" method="post" action="">
97
-
98
-
99
- <p><?php _e("Account ID", 'revechat-menu' ); ?>
100
- <input type="text" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" size="20">
101
- </p><hr />
102
- <p><?php _e("Tracking ID", 'revechat-menu' ); ?>
103
- <input type="text" name="<?php echo $trackingId; ?>" value="<?php echo $val_trackingId; ?>" size="20">
104
- </p><hr />
105
-
106
- <p class="submit">
107
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
108
- </p>
109
-
110
- </form>
111
- </div>
112
-
113
- <?php
114
- }
115
-
116
- /**
117
- * Deactivate the plugin
118
- */
119
- public static function deactivate()
120
- {
121
- // Do nothing
122
- } // END public static function deactivate
123
- } // END class WP_Plugin_Revechat
124
- } // END if(!class_exists('WP_Plugin_Revechat'))
125
- $revechat = new WP_Plugin_Revechat ;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/1.2.3/screenshot-1.png DELETED
Binary file
tags/6.1.8/tags/1.2.3/screenshot-2.png DELETED
Binary file
tags/6.1.8/tags/1.2.3/screenshot-3.png DELETED
Binary file
tags/6.1.8/tags/1.2.3/screenshot-4.png DELETED
Binary file
tags/6.1.8/tags/1.2.4/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/6.1.8/tags/1.2.4/readme.txt DELETED
@@ -1 +0,0 @@
1
- === Reve Chat ===
2
 
3
 
 
0
 
1
 
tags/6.1.8/tags/1.2.4/revechat.php DELETED
@@ -1,140 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: Reve Chat
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 1.2.4
6
- Author: ReveChat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- class WP_Plugin_Revechat
13
- {
14
- /**
15
- * Construct the plugin object
16
- */
17
- public function __construct()
18
- {
19
- // Plugin Details
20
- $this->plugin = new stdClass;
21
- $this->plugin->name = 'revechat'; // Plugin Folder
22
- $this->plugin->displayName = 'ReveChat'; // Plugin Name
23
- $this->plugin->version = '1.2.4';
24
-
25
- // Hooks
26
- add_action('admin_init', array(&$this, 'registerSettings'));
27
- add_action('admin_menu', array(&$this, 'adminPanels'));
28
-
29
- add_action('wp_head', array(&$this, 'frontendHeader'));
30
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
31
-
32
- } // END public function __construct
33
-
34
- /**
35
- * Activate the frontendHeader
36
- */
37
- public static function frontendHeader()
38
- {
39
- $accountId = get_option('revechat_accountid' , '');
40
- //$trackingID = get_option('revechat_trackingid' , '');
41
-
42
- if( (isset($accountId) && !empty($accountId)) ) {
43
-
44
- $script = "<script type='text/javascript'>";
45
-
46
- $script .= "window.__revechat_account = window.__revechat_account || {};
47
- window.__revechat_account = '".$accountId."';
48
- (function() {
49
- var rc = document.createElement('script'); rc.type = 'text/javascript'; rc.async = true;
50
- rc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'static.revechat.com/widget/scripts/new-livechat.js';
51
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(rc, s);
52
- })();";
53
- $script .='</script>';
54
-
55
- echo $script ;
56
-
57
- }
58
-
59
- } // END public static function activate
60
- /*
61
- * show parameter section
62
- */
63
- public function registerSettings(){
64
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
65
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
66
- }
67
- /*
68
- * admin panel
69
- */
70
- public function adminPanels(){
71
- //add_options_page("ReveChat Dashboard" , "ReveChat" , "read" , "reveChatOptions");
72
- // Add a new submenu under Settings:
73
- add_options_page(__('ReveChat Dashboard','revechat-settings'), __('ReveChat Settings','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions') );
74
- }
75
- /*
76
- * revechat options
77
- */
78
- public function reveChatOptions(){
79
- if ( !current_user_can( 'manage_options' ) ) {
80
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
81
- }
82
- // variables for the field and option names
83
- $accountId = 'revechat_accountid';
84
- $trackingId = 'revechat_trackingid';
85
-
86
- // Read in existing option value from database
87
- $val_accountId = get_option( $accountId );
88
- $val_trackingId = get_option( $trackingId );
89
-
90
- if( isset($_POST[ $accountId ]) && isset($_POST[ $trackingId ] ) ){
91
-
92
- // Read in existing option value from POST
93
- $val_accountId = $_POST[ $accountId ];
94
- $val_trackingId = $_POST[ $trackingId ];
95
- update_option( $accountId , $val_accountId );
96
- update_option( $trackingId , $val_trackingId );
97
- ?>
98
- <div class="updated"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
99
- <?php
100
- }
101
- ?>
102
- <div class="wrap">
103
- <?php echo "<h2>" . __( 'ReveChat Plugin Settings', 'revechat-menu' ) . "</h2>"; ?>
104
- <form name="form1" method="post" action="">
105
-
106
-
107
- <p><?php _e("Account ID", 'revechat-menu' ); ?>
108
- <input type="text" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" size="20">
109
- </p><hr />
110
- <p><?php _e("Tracking ID", 'revechat-menu' ); ?>
111
- <input type="text" name="<?php echo $trackingId; ?>" value="<?php echo $val_trackingId; ?>" size="20">
112
- </p><hr />
113
-
114
- <p class="submit">
115
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
116
- </p>
117
-
118
- </form>
119
- </div>
120
-
121
- <?php
122
- }
123
-
124
- /**
125
- * Deactivate the plugin
126
- */
127
- public static function deactivate()
128
- {
129
- // Do nothing
130
- } // END public static function deactivate
131
-
132
- function add_action_links ( $links ) {
133
- $menu_link = array(
134
- '<a href="' . admin_url( 'options-general.php?page=revechatsettings' ) . '">Settings</a>',
135
- );
136
- return array_merge( $links, $menu_link );
137
- }
138
- } // END class WP_Plugin_Revechat
139
- } // END if(!class_exists('WP_Plugin_Revechat'))
140
- $revechat = new WP_Plugin_Revechat ;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/1.2.4/screenshot-1.png DELETED
Binary file
tags/6.1.8/tags/1.2.4/screenshot-2.png DELETED
Binary file
tags/6.1.8/tags/1.2.4/screenshot-3.png DELETED
Binary file
tags/6.1.8/tags/1.2.4/screenshot-4.png DELETED
Binary file
tags/6.1.8/tags/2.0.0/css/admin-styles.css DELETED
@@ -1,106 +0,0 @@
1
- #revechat #edit-choose-form h3,
2
- #revechat #revechat_already_have h3,
3
- #revechat #revechat_new_account h3{
4
- color: coral;
5
- }
6
- #revechat ul#revechat_choose_form{}
7
- #revechat ul#revechat_choose_form li{
8
- list-style: none;
9
- display: block;
10
- }
11
- #revechat ul#revechat_choose_form li label{
12
- display: inline-block;
13
- }
14
- #revechat .revechat_email_error{
15
- color: red;
16
- }
17
- #revechat .ajax_message {
18
- display: none;
19
- background: url(ajax_loader.gif) no-repeat 24px 51%;
20
- padding: 0;
21
- margin-top: 1em;
22
- }
23
- #revechat .ajax_message.wait,
24
- #revechat .ajax_message.message
25
- {
26
- display: block;
27
- font-size: 1.2em;
28
- padding: 20px;
29
- box-shadow: 2px 2px 2px rgba(0,0,0,.2);
30
- }
31
- #revechat .ajax_message.wait {
32
- text-indent: 28px;
33
- background-color: #fff;
34
- }
35
- #revechat .ajax_message.message {
36
- background-image: none;
37
- text-indent: 0px;
38
- }
39
-
40
- #revechat .ajax_message.message.alert{
41
- background-color: #f2dede;
42
- border-color: #ebccd1;
43
- color: #a94442;
44
- padding: 20px;
45
- }
46
- #revechat .revechat_success_message{
47
- background: #ffffff;
48
- padding: 50px;
49
- height: auto;
50
- font-size: 1.5em;
51
- border-bottom: 5px solid #F16915;
52
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
53
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
54
- box-shadow: 0px 0px 6px rgba(0,0,0,.3);
55
- }
56
- #revechat .revechat_success_message h3{
57
- font-weight: bold;
58
- border-bottom: 1px solid #B1B4B9;
59
- padding-bottom: 20px;
60
- line-height: 2em;
61
- }
62
- #revechat .messages.revechat_success{
63
- background-color: #dff0d8;
64
- border: 1px solid #bee99a;
65
- color: #3c763d;
66
- padding: 20px;
67
- margin-bottom: 30px;
68
- font-weight: 600;
69
- }
70
- #revechat .form-submit{
71
- background: #FF5800 none repeat scroll 0 0;
72
- border-color: #bd4302 #ab3c02 #ab3c02;
73
- -webkit-box-shadow: 0 1px 0 #ab3c02;
74
- box-shadow: 0 1px 0 #ab3c02;
75
- color: #fff;
76
- text-decoration: none;
77
- text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
78
- }
79
-
80
- #revechat #revechat-admin-settings-form {
81
- padding: 18px;
82
- }
83
- #revechat fieldset {
84
- border: 1px solid #c0c0c0;
85
- margin-top: 20px;
86
- }
87
- #revechat #revechat_already_have > h3 {
88
- margin-top: 19px;
89
- }
90
- #revechat ul#revechat_choose_form li {
91
- display: block;
92
- list-style: outside none none;
93
- padding-left: 20px;
94
- }
95
- #revechat .form-wrapper {
96
- padding: 16px;
97
- padding-bottom: 31px;
98
- }
99
- #revechat .form-item > label {
100
- display: table;
101
- margin-bottom: 11px;
102
- margin-top: 20px;
103
- }
104
- #revechat input.form-submit{
105
- cursor: pointer;
106
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.0/css/ajax_loader.gif DELETED
Binary file
tags/6.1.8/tags/2.0.0/images/favicon.png DELETED
Binary file
tags/6.1.8/tags/2.0.0/images/logo.png DELETED
Binary file
tags/6.1.8/tags/2.0.0/includes/choose-form.php DELETED
@@ -1,13 +0,0 @@
1
- <div id="edit-choose-form">
2
- <h3>Already have a REVE Chat account?</h3>
3
- <ul id="revechat_choose_form">
4
- <li>
5
- <input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
6
- <label for="has_revechat_account">Yes, I already have a REVE Chat account</label>
7
- </li>
8
- <li>
9
- <input type="radio" id="new_revechat_account" name="revechat_choose_form">
10
- <label for="new_revechat_account">No, I want to create one</label>
11
- </li>
12
- </ul>
13
- </div><!-- Edit Choose Form -->
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.0/includes/login-form.php DELETED
@@ -1,20 +0,0 @@
1
- <div id="revechat_already_have">
2
- <h3>Account Details</h3>
3
- <table class="form-table">
4
- <tbody>
5
- <tr>
6
- <th>
7
- <label for="edit-revechat-account-email">
8
- <?php
9
- _e("REVE Chat Login Email");
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email">
15
- <input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
16
- </td>
17
- </tr>
18
- </tbody>
19
- </table>
20
- </div><!-- revechat_already_have -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.0/includes/remove-form.php DELETED
@@ -1,9 +0,0 @@
1
- <div>
2
- <div class="messages revechat_success">REVE Chat
3
- is already installed.</div>
4
-
5
- <div id="edit-actions" class="form-actions form-wrapper">
6
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
7
- <input type="submit" class="form-submit button-primary" value="Remove" name="revechat_remove" id="edit-submit">
8
- </div>
9
- </div>
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.0/includes/signup-form.php DELETED
@@ -1,46 +0,0 @@
1
- <div id="revechat_new_account">
2
-
3
- <h3>Create a new REVE Chat account</h3>
4
- <table class="form-table">
5
- <tr>
6
- <th>
7
- <label for="edit-name">
8
- <?php
9
- _e("Name")
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="text" class="regular-text" name="name" id="edit-name">
15
- </td>
16
- </tr>
17
-
18
- <tr>
19
- <th>
20
- <label for="edit-email">
21
- <?php
22
- _e('Email')
23
- ?>
24
- </label>
25
-
26
- </th>
27
- <td>
28
- <input type="text" class="regular-text" name="email" id="edit-email">
29
- </td>
30
- </tr>
31
-
32
- <tr>
33
- <th>
34
- <label for="edit-phone">
35
- <?php
36
- _e('Phone')
37
- ?>
38
- </label>
39
- </th>
40
- <td>
41
- <input type="text" class="regular-text" name="Phone" id="edit-phone">
42
- </td>
43
- </tr>
44
- </table>
45
-
46
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.0/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/6.1.8/tags/2.0.0/js/revechat-admin.js DELETED
@@ -1,189 +0,0 @@
1
- jQuery.noConflict();
2
- (function($){
3
- var baseUrl = 'https://dashboard.revechat.com/';
4
- var ReveChat ={
5
- init: function () {
6
- this.toggleForms();
7
- this.bindFormSubmit();
8
- },
9
-
10
- toggleForms: function ()
11
- {
12
- var toggleForms = function ()
13
- {
14
- if ($('#new_revechat_account').is(':checked'))
15
- {
16
- $('#revechat_already_have').hide();
17
- $('#revechat_new_account').show();
18
- $('#edit-name').focus();
19
- }
20
- else if ($('#has_revechat_account').is(':checked'))
21
- {
22
- $('#revechat_new_account').hide();
23
- $('#revechat_already_have').show();
24
- $('#edit-revechat-account-email').focus();
25
- }
26
- };
27
- toggleForms();
28
-
29
- $('#revechat_choose_form input').click(toggleForms);
30
- },
31
-
32
- bindFormSubmit: function () {
33
- $('#revechat-admin-settings-form').submit(function(e)
34
- {
35
- //e.preventDefault();
36
-
37
- if($('#edit-submit').val() == 'Remove'){
38
- $('#revechat_aid').val(0);
39
- $('#revechat-admin-settings-form').submit();
40
- }
41
- if (((parseInt($('#revechat_aid').val()) !== 0) || $('#has_revechat_account').is(':checked')))
42
- {
43
- return ReveChat.alreadyHaveAccountForm();
44
- }
45
- else
46
- {
47
- return ReveChat.newLicenseForm();
48
- }
49
-
50
- });
51
- },
52
-
53
- alreadyHaveAccountForm: function()
54
- {
55
-
56
- if(this.validEmail())
57
- {
58
- if((parseInt($('#revechat_aid').val()) == 0 || $('#revechat_aid').val() == ""))
59
- {
60
- var login = $.trim($('#edit-revechat-account-email').val());
61
- if(!login.length)
62
- {
63
- $('#edit-revechat-account-email').focus();
64
- return false;
65
- }
66
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait&hellip;');
67
- var signInUrl = baseUrl +'/license/adminId/'+$('#edit-revechat-account-email').val()+'/?callback=?';
68
- $.getJSON(signInUrl,
69
- function(response)
70
- {
71
- if (response.error)
72
- {
73
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Incorrect REVE Chat login.');
74
- $('#edit-revechat-account-email').focus();
75
- return false;
76
- }
77
- else
78
- {
79
- $('#revechat_aid').val(response.data.account_id);
80
- $('#revechat-admin-settings-form').submit();
81
- }
82
- });
83
- return false;
84
- }
85
- }
86
- else
87
- {
88
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Invalid Email.');
89
- $('#edit-revechat-account-email').focus();
90
- return false;
91
- }
92
- return true;
93
- },
94
-
95
- newLicenseForm: function()
96
- {
97
- if (parseInt(($('#revechat_aid').val()) > 0))
98
- {
99
- return true;
100
- }
101
-
102
- if(this.validateNewLicenseForm())
103
- {
104
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
105
-
106
- ReveChat.createLicense();
107
- }
108
- return false;
109
- },
110
- createLicense: function()
111
- {
112
-
113
- $('.ajax_message').removeClass('message').addClass('wait').html('Creating new account&hellip;');
114
-
115
- var signUpUrl = baseUrl + '/revechat/rest/api/signup.do';
116
-
117
- $.ajax({
118
- data: { 'firstname':$('#edit-name').val(), 'lastname':' ', 'mailAddr':$('#edit-email').val(), 'phoneNo':$('#edit-phone').val() },
119
- type:'POST',
120
- url:signUpUrl,
121
- dataType: 'json',
122
- cache:false,
123
- success: function(response) {
124
- if(response.error)
125
- {
126
- $('.ajax_message').html(response.error).addClass('message alert').removeClass('wait');
127
- return false;
128
- }
129
- else if(response.success)
130
- {
131
- $('#revechat-admin-settings-form').children('div').remove();
132
- var message = '<div class="revechat_success_message">';
133
- message += '<h3>Thank you for sigining up with REVE Chat</h3>';
134
- message += '<p>A verification link has been sent to your registered email address from <strong><a href="#">support@revechat.com</a></strong>. Kindly verify your email to complete the signup process</p>';
135
- message += '<p>Then come backe again to integrate REVE Chat in your website.</p>';
136
- message += '</div>';
137
- $(message).appendTo('#revechat-admin-settings-form');
138
- $('p.submit').remove();
139
- $('.ajax_message').removeClass('wait');
140
- return false;
141
- }
142
- }
143
- });
144
- },
145
- validEmail: function()
146
- {
147
- if($('#edit-submit').val() != 'Remove')
148
- {
149
- if (/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i.test($('#edit-revechat-account-email').val()) == false)
150
- {
151
- //alert ('Please enter a valid email address.');
152
- $('#edit-email').focus();
153
- return false;
154
- }
155
- }
156
- return true;
157
- },
158
-
159
- validateNewLicenseForm: function()
160
- {
161
- if ($('#edit-name').val().length < 1)
162
- {
163
- alert ('Please enter your full name.');
164
- $('#edit-name').addClass('error').focus();
165
- return false;
166
- }
167
-
168
- if (/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i.test($('#edit-email').val()) == false)
169
- {
170
- alert ('Please enter a valid email address.');
171
- $('#edit-email').addClass('error').focus();
172
- return false;
173
- }
174
-
175
- if ($('#edit-phone').val().length < 1)
176
- {
177
- alert ('Please enter your phone number.');
178
- $('#edit-phone').addClass('error').focus();
179
- return false;
180
- }
181
-
182
- return true;
183
- }
184
- }
185
- $(document).ready(function()
186
- {
187
- ReveChat.init();
188
- });
189
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.0/readme.txt DELETED
@@ -1 +0,0 @@
1
- === Reve Chat ===
2
 
3
 
 
0
 
1
 
tags/6.1.8/tags/2.0.0/revechat.php DELETED
@@ -1,162 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: Reve Chat
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 2.0.0
6
- Author: ReveChat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- class WP_Plugin_Revechat
13
- {
14
- /**
15
- * Construct the plugin object
16
- */
17
- public function __construct()
18
- {
19
- // Plugin Details
20
- $this->plugin = new stdClass;
21
- $this->plugin->name = 'revechat'; // Plugin Folder
22
- $this->plugin->displayName = 'ReveChat'; // Plugin Name
23
- $this->plugin->version = '1.2.4';
24
-
25
- // Hooks
26
- add_action('admin_init', array(&$this, 'registerSettings'));
27
- //add_action('admin_menu', array(&$this, 'adminPanels'));
28
-
29
- add_action('wp_head', array(&$this, 'frontendHeader'));
30
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
31
-
32
- // Add Menu Page
33
- add_action('admin_menu',array($this,'admin_menu'));
34
-
35
- //enqueue scripts
36
- add_action('admin_enqueue_scripts',array($this,'admin_scripts'));
37
- } // END public function __construct
38
-
39
- /**
40
- * Activate the frontendHeader
41
- */
42
- public static function frontendHeader()
43
- {
44
- $accountId = get_option('revechat_accountid' , '');
45
- if( (isset($accountId) && !empty($accountId)) ) {
46
-
47
- $script = "<script type='text/javascript'>";
48
-
49
- $script .= "window.__revechat_account = window.__revechat_account || {};
50
- window.__revechat_account = '".$accountId."';
51
- (function() {
52
- var rc = document.createElement('script'); rc.type = 'text/javascript'; rc.async = true;
53
- rc.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'static.revechat.com/widget/scripts/new-livechat.js';
54
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(rc, s);
55
- })();";
56
- $script .='</script>';
57
-
58
- echo $script ;
59
-
60
- }
61
-
62
- } // END public static function activate
63
- /*
64
- * show parameter section
65
- */
66
- public function registerSettings(){
67
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
68
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
69
- }
70
- /*
71
- * admin panel
72
- */
73
- public function adminPanels(){
74
- //add_options_page("ReveChat Dashboard" , "ReveChat" , "read" , "reveChatOptions");
75
- // Add a new submenu under Settings:
76
- add_options_page(__('ReveChat Dashboard','revechat-settings'), __('ReveChat Settings','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions') );
77
- }
78
- /*
79
- * revechat options
80
- */
81
- public function reveChatOptions(){
82
- if ( !current_user_can( 'manage_options' ) ) {
83
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
84
- }
85
- // variables for the field and option names
86
- $accountId = 'revechat_accountid';
87
-
88
- // Read in existing option value from database
89
- $val_accountId = get_option( $accountId );
90
-
91
- if( isset($_POST[ $accountId ])){
92
-
93
- // Read in existing option value from POST
94
- $val_accountId = $_POST[ $accountId ];
95
- update_option( $accountId , $val_accountId );
96
- ?>
97
- <div class="updated" xmlns="http://www.w3.org/1999/html"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
98
- <?php
99
- }
100
- ?>
101
- <div class="wrap" id="revechat">
102
-
103
- <div class="reve-chat-logo">
104
- <img src="<?php echo plugin_dir_url( __FILE__ )."images/logo.png";?>" alt="REVE Chat">
105
- </div>
106
- <div class="form-item form-type-item" id="edit-ajax-message">
107
- <p class="ajax_message"></p>
108
- </div>
109
-
110
- <form name="form1" id="revechat-admin-settings-form" method="post" action="">
111
-
112
- <?php
113
- if(isset($val_accountId) && $val_accountId != 0){
114
- require (plugin_dir_path( __FILE__ )."includes/remove-form.php");
115
- return;
116
- }
117
-
118
- require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
119
- require (plugin_dir_path( __FILE__ )."includes/login-form.php");
120
- require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
121
- ?>
122
-
123
- <p class="submit">
124
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
125
- </p>
126
-
127
- </form>
128
- </div>
129
-
130
- <?php
131
- }
132
-
133
- public function admin_menu()
134
- {
135
- // add_menu_page( string $page_title, string $menu_title, string $capability, string $menu_slug, callable $function = '', string $icon_url = '', int $position = null )
136
- add_menu_page(__('ReveChat Dashboard','revechat-settings'), __('REVE Chat','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions'), plugin_dir_url( __FILE__ )."images/favicon.png");
137
-
138
- }
139
-
140
- /**
141
- * Deactivate the plugin
142
- */
143
- public static function deactivate()
144
- {
145
- delete_option('revechat_accountid');
146
- } // END public static function deactivate
147
-
148
- public function admin_scripts(){
149
- wp_enqueue_script( 'revechat-admin-script', plugin_dir_url( __FILE__ ) . '/js/revechat-admin.js' );
150
- wp_enqueue_style( 'custom_wp_admin_css',plugin_dir_url( __FILE__ ).'css/admin-styles.css' );
151
- }
152
-
153
- function add_action_links ( $links ) {
154
- $menu_link = array(
155
- '<a href="' . admin_url( 'options-general.php?page=revechatsettings' ) . '">Settings</a>',
156
- );
157
- return array_merge( $links, $menu_link );
158
- }
159
- } // END class WP_Plugin_Revechat
160
- } // END if(!class_exists('WP_Plugin_Revechat'))
161
- $revechat = new WP_Plugin_Revechat ;
162
- register_deactivation_hook( __FILE__, array( 'WP_Plugin_Revechat', 'deactivate' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.0/screenshot-1.png DELETED
Binary file
tags/6.1.8/tags/2.0.0/screenshot-2.png DELETED
Binary file
tags/6.1.8/tags/2.0.0/screenshot-3.png DELETED
Binary file
tags/6.1.8/tags/2.0.0/screenshot-4.png DELETED
Binary file
tags/6.1.8/tags/2.0.1/css/admin-styles.css DELETED
@@ -1,106 +0,0 @@
1
- #revechat #edit-choose-form h3,
2
- #revechat #revechat_already_have h3,
3
- #revechat #revechat_new_account h3{
4
- color: coral;
5
- }
6
- #revechat ul#revechat_choose_form{}
7
- #revechat ul#revechat_choose_form li{
8
- list-style: none;
9
- display: block;
10
- }
11
- #revechat ul#revechat_choose_form li label{
12
- display: inline-block;
13
- }
14
- #revechat .revechat_email_error{
15
- color: red;
16
- }
17
- #revechat .ajax_message {
18
- display: none;
19
- background: url(ajax_loader.gif) no-repeat 24px 51%;
20
- padding: 0;
21
- margin-top: 1em;
22
- }
23
- #revechat .ajax_message.wait,
24
- #revechat .ajax_message.message
25
- {
26
- display: block;
27
- font-size: 1.2em;
28
- padding: 20px;
29
- box-shadow: 2px 2px 2px rgba(0,0,0,.2);
30
- }
31
- #revechat .ajax_message.wait {
32
- text-indent: 28px;
33
- background-color: #fff;
34
- }
35
- #revechat .ajax_message.message {
36
- background-image: none;
37
- text-indent: 0px;
38
- }
39
-
40
- #revechat .ajax_message.message.alert{
41
- background-color: #f2dede;
42
- border-color: #ebccd1;
43
- color: #a94442;
44
- padding: 20px;
45
- }
46
- #revechat .revechat_success_message{
47
- background: #ffffff;
48
- padding: 50px;
49
- height: auto;
50
- font-size: 1.5em;
51
- border-bottom: 5px solid #F16915;
52
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
53
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
54
- box-shadow: 0px 0px 6px rgba(0,0,0,.3);
55
- }
56
- #revechat .revechat_success_message h3{
57
- font-weight: bold;
58
- border-bottom: 1px solid #B1B4B9;
59
- padding-bottom: 20px;
60
- line-height: 2em;
61
- }
62
- #revechat .messages.revechat_success{
63
- background-color: #dff0d8;
64
- border: 1px solid #bee99a;
65
- color: #3c763d;
66
- padding: 20px;
67
- margin-bottom: 30px;
68
- font-weight: 600;
69
- }
70
- #revechat .form-submit{
71
- background: #FF5800 none repeat scroll 0 0;
72
- border-color: #bd4302 #ab3c02 #ab3c02;
73
- -webkit-box-shadow: 0 1px 0 #ab3c02;
74
- box-shadow: 0 1px 0 #ab3c02;
75
- color: #fff;
76
- text-decoration: none;
77
- text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
78
- }
79
-
80
- #revechat #revechat-admin-settings-form {
81
- padding: 18px;
82
- }
83
- #revechat fieldset {
84
- border: 1px solid #c0c0c0;
85
- margin-top: 20px;
86
- }
87
- #revechat #revechat_already_have > h3 {
88
- margin-top: 19px;
89
- }
90
- #revechat ul#revechat_choose_form li {
91
- display: block;
92
- list-style: outside none none;
93
- padding-left: 20px;
94
- }
95
- #revechat .form-wrapper {
96
- padding: 16px;
97
- padding-bottom: 31px;
98
- }
99
- #revechat .form-item > label {
100
- display: table;
101
- margin-bottom: 11px;
102
- margin-top: 20px;
103
- }
104
- #revechat input.form-submit{
105
- cursor: pointer;
106
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.1/css/ajax_loader.gif DELETED
Binary file
tags/6.1.8/tags/2.0.1/images/favicon.png DELETED
Binary file
tags/6.1.8/tags/2.0.1/images/logo.png DELETED
Binary file
tags/6.1.8/tags/2.0.1/includes/choose-form.php DELETED
@@ -1,13 +0,0 @@
1
- <div id="edit-choose-form">
2
- <h3>Already have a REVE Chat account?</h3>
3
- <ul id="revechat_choose_form">
4
- <li>
5
- <input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
6
- <label for="has_revechat_account">Yes, I already have a REVE Chat account</label>
7
- </li>
8
- <li>
9
- <input type="radio" id="new_revechat_account" name="revechat_choose_form">
10
- <label for="new_revechat_account">No, I want to create one</label>
11
- </li>
12
- </ul>
13
- </div><!-- Edit Choose Form -->
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.1/includes/login-form.php DELETED
@@ -1,20 +0,0 @@
1
- <div id="revechat_already_have">
2
- <h3>Account Details</h3>
3
- <table class="form-table">
4
- <tbody>
5
- <tr>
6
- <th>
7
- <label for="edit-revechat-account-email">
8
- <?php
9
- _e("REVE Chat Login Email");
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email">
15
- <input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
16
- </td>
17
- </tr>
18
- </tbody>
19
- </table>
20
- </div><!-- revechat_already_have -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.1/includes/remove-form.php DELETED
@@ -1,9 +0,0 @@
1
- <div>
2
- <div class="messages revechat_success">REVE Chat
3
- is already installed.</div>
4
-
5
- <div id="edit-actions" class="form-actions form-wrapper">
6
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
7
- <input type="submit" class="form-submit button-primary" value="Remove" name="revechat_remove" id="edit-submit">
8
- </div>
9
- </div>
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.1/includes/signup-form.php DELETED
@@ -1,46 +0,0 @@
1
- <div id="revechat_new_account">
2
-
3
- <h3>Create a new REVE Chat account</h3>
4
- <table class="form-table">
5
- <tr>
6
- <th>
7
- <label for="edit-name">
8
- <?php
9
- _e("Name")
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="text" class="regular-text" name="name" id="edit-name">
15
- </td>
16
- </tr>
17
-
18
- <tr>
19
- <th>
20
- <label for="edit-email">
21
- <?php
22
- _e('Email')
23
- ?>
24
- </label>
25
-
26
- </th>
27
- <td>
28
- <input type="text" class="regular-text" name="email" id="edit-email">
29
- </td>
30
- </tr>
31
-
32
- <tr>
33
- <th>
34
- <label for="edit-phone">
35
- <?php
36
- _e('Phone')
37
- ?>
38
- </label>
39
- </th>
40
- <td>
41
- <input type="text" class="regular-text" name="Phone" id="edit-phone">
42
- </td>
43
- </tr>
44
- </table>
45
-
46
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.1/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/6.1.8/tags/2.0.1/js/revechat-admin.js DELETED
@@ -1,189 +0,0 @@
1
- jQuery.noConflict();
2
- (function($){
3
- var baseUrl = 'https://dashboard.revechat.com/';
4
- var ReveChat ={
5
- init: function () {
6
- this.toggleForms();
7
- this.bindFormSubmit();
8
- },
9
-
10
- toggleForms: function ()
11
- {
12
- var toggleForms = function ()
13
- {
14
- if ($('#new_revechat_account').is(':checked'))
15
- {
16
- $('#revechat_already_have').hide();
17
- $('#revechat_new_account').show();
18
- $('#edit-name').focus();
19
- }
20
- else if ($('#has_revechat_account').is(':checked'))
21
- {
22
- $('#revechat_new_account').hide();
23
- $('#revechat_already_have').show();
24
- $('#edit-revechat-account-email').focus();
25
- }
26
- };
27
- toggleForms();
28
-
29
- $('#revechat_choose_form input').click(toggleForms);
30
- },
31
-
32
- bindFormSubmit: function () {
33
- $('#revechat-admin-settings-form').submit(function(e)
34
- {
35
- //e.preventDefault();
36
-
37
- if($('#edit-submit').val() == 'Remove'){
38
- $('#revechat_aid').val(0);
39
- $('#revechat-admin-settings-form').submit();
40
- }
41
- if (((parseInt($('#revechat_aid').val()) !== 0) || $('#has_revechat_account').is(':checked')))
42
- {
43
- return ReveChat.alreadyHaveAccountForm();
44
- }
45
- else
46
- {
47
- return ReveChat.newLicenseForm();
48
- }
49
-
50
- });
51
- },
52
-
53
- alreadyHaveAccountForm: function()
54
- {
55
-
56
- if(this.validEmail())
57
- {
58
- if((parseInt($('#revechat_aid').val()) == 0 || $('#revechat_aid').val() == ""))
59
- {
60
- var login = $.trim($('#edit-revechat-account-email').val());
61
- if(!login.length)
62
- {
63
- $('#edit-revechat-account-email').focus();
64
- return false;
65
- }
66
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait&hellip;');
67
- var signInUrl = baseUrl +'/license/adminId/'+$('#edit-revechat-account-email').val()+'/?callback=?';
68
- $.getJSON(signInUrl,
69
- function(response)
70
- {
71
- if (response.error)
72
- {
73
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Incorrect REVE Chat login.');
74
- $('#edit-revechat-account-email').focus();
75
- return false;
76
- }
77
- else
78
- {
79
- $('#revechat_aid').val(response.data.account_id);
80
- $('#revechat-admin-settings-form').submit();
81
- }
82
- });
83
- return false;
84
- }
85
- }
86
- else
87
- {
88
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Invalid Email.');
89
- $('#edit-revechat-account-email').focus();
90
- return false;
91
- }
92
- return true;
93
- },
94
-
95
- newLicenseForm: function()
96
- {
97
- if (parseInt(($('#revechat_aid').val()) > 0))
98
- {
99
- return true;
100
- }
101
-
102
- if(this.validateNewLicenseForm())
103
- {
104
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
105
-
106
- ReveChat.createLicense();
107
- }
108
- return false;
109
- },
110
- createLicense: function()
111
- {
112
-
113
- $('.ajax_message').removeClass('message').addClass('wait').html('Creating new account&hellip;');
114
-
115
- var signUpUrl = baseUrl + '/revechat/rest/api/signup.do';
116
-
117
- $.ajax({
118
- data: { 'firstname':$('#edit-name').val(), 'lastname':' ', 'mailAddr':$('#edit-email').val(), 'phoneNo':$('#edit-phone').val() },
119
- type:'POST',
120
- url:signUpUrl,
121
- dataType: 'json',
122
- cache:false,
123
- success: function(response) {
124
- if(response.error)
125
- {
126
- $('.ajax_message').html(response.error).addClass('message alert').removeClass('wait');
127
- return false;
128
- }
129
- else if(response.success)
130
- {
131
- $('#revechat-admin-settings-form').children('div').remove();
132
- var message = '<div class="revechat_success_message">';
133
- message += '<h3>Thank you for sigining up with REVE Chat</h3>';
134
- message += '<p>A verification link has been sent to your registered email address from <strong><a href="#">support@revechat.com</a></strong>. Kindly verify your email to complete the signup process</p>';
135
- message += '<p>Then come backe again to integrate REVE Chat in your website.</p>';
136
- message += '</div>';
137
- $(message).appendTo('#revechat-admin-settings-form');
138
- $('p.submit').remove();
139
- $('.ajax_message').removeClass('wait');
140
- return false;
141
- }
142
- }
143
- });
144
- },
145
- validEmail: function()
146
- {
147
- if($('#edit-submit').val() != 'Remove')
148
- {
149
- if (/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i.test($('#edit-revechat-account-email').val()) == false)
150
- {
151
- //alert ('Please enter a valid email address.');
152
- $('#edit-email').focus();
153
- return false;
154
- }
155
- }
156
- return true;
157
- },
158
-
159
- validateNewLicenseForm: function()
160
- {
161
- if ($('#edit-name').val().length < 1)
162
- {
163
- alert ('Please enter your full name.');
164
- $('#edit-name').addClass('error').focus();
165
- return false;
166
- }
167
-
168
- if (/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i.test($('#edit-email').val()) == false)
169
- {
170
- alert ('Please enter a valid email address.');
171
- $('#edit-email').addClass('error').focus();
172
- return false;
173
- }
174
-
175
- if ($('#edit-phone').val().length < 1)
176
- {
177
- alert ('Please enter your phone number.');
178
- $('#edit-phone').addClass('error').focus();
179
- return false;
180
- }
181
-
182
- return true;
183
- }
184
- }
185
- $(document).ready(function()
186
- {
187
- ReveChat.init();
188
- });
189
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.1/readme.txt DELETED
@@ -1,201 +0,0 @@
1
- === Reve Chat ===
2
- Contributors: revechat_official
3
- Tags: chat, chat online, contact plugin, customer support, free chat, chat software, IM chat, live chat, live chat inc, live chat services, live chat software, live chatting, live help, live support, live web chat, livechat, live help, live support, olark, online chat, online support, php live chat, snapengage, support software, website chat, wordpress chat, wordpress live chat, wordpress live chat plugin, ReveChat, REVE Chat, zendesk, Zopim live chat, clickdesk, olark, click desk, visitor analytics, web analytics, lead generation, online leads
4
-
5
- Stable tag: 2.0.1
6
-
7
-
8
- REVE Chat is powerful and intuitive real-time customer engagement software.
9
-
10
- == Description ==
11
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display.
12
-
13
- In the fast paced ambience of live customer support, the efficient usage of valuable time is the main key to both happy customers and professional management. Traditionally interactions between support agents and customers have been restricted to one-on-one supports over phones or emails. Live chat for customer support has now become the alternative that today's multitasking and net savvy generation is looking for. It offers quick response in real time and higher customer satisfaction which can generate more conversions. In the era of automated customer assistance systems, the chance to chat with a person in real time through your website is a distinct feature. Now just like a sales person in the shop, talk to the visitors of your website in real-time.
14
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use. So place this customizable REVE Chat widget to your business and start getting sales conversion and higher customer satisfaction.
15
-
16
- **Key Features**
17
-
18
- * **Real-time Visitor Info:** Agent as well as Admin can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
19
- * **Proactive Chat:** Proactive chat enables agents to initiate a Chat request from their Chat Window. Moreover Trigger based proactive chat automatically sends customized chat alerts for the visitors on the website.
20
- * **Chat Monitoring:** Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents
21
- * **Click to Call:** Click to call is a powerful solution that can be implemented on REVE Chat to offer real-time voice assistance to online customers. It allows visitor and agent to initiate Voice and Video Call from their Chat window.
22
- * **Queuing:** With this chat software handle chat requests efficiently when all your agents are busy. REVE live chat software gives information to website visitors regarding their waiting time in the chat queue
23
- * **Facebook Integration:** REVE Chat allows you to engage with your potential customers through your company Facebook page. Facebook is very effective tool for business. Smart use of social media increases sales, retention and customer satisfaction. REVE Chat Facebook app makes it easier than ever to engage online visitors. Facebook integration lets customers reach you directly on your Facebook fan page, whether or not you are online, increasing customer happiness and organic marketing and outreach.
24
-
25
- **What makes Reve Chat the best choice for live chat?**
26
-
27
- * A simple and highly customizable Live chat solution
28
- * User friendly interface and Dashboard
29
- * Intuitive Chat Window
30
- * Innovative and unique features
31
- * 24x7 hour live chat support from our trained experts on any weekday (visit revechat.com)
32
-
33
-
34
-
35
- **Some Geeky Facts**
36
-
37
- * Work across major browsers (Internet Explorer 7+, Firefox, Google Chrome, Opera, Safari).
38
- * Average uptime is 99.8%.
39
- * Mobile Optimized Dashboard
40
-
41
-
42
-
43
- Should you need any assistance, feel free to chat with our customer advocates on www.revechat.com or email us at support@revechat.com
44
-
45
-
46
- == Changelog ==
47
-
48
-
49
- = 1.2.0 =
50
-
51
- * Feature: Add the Reve chat widget to your site!
52
- * Feature: Customize look and feel of the widget, including themes and color!
53
-
54
- = 2.0 =
55
- * New Admin Menu page for REVE Chat
56
- * New for integration
57
- * Added link of settings page to display on the plugins page (beside the activate/deactivate links).
58
-
59
- = 2.0.1 =
60
- * Updated chat script
61
-
62
- == Screenshots ==
63
-
64
- 1. Chat window on your website - active chat
65
- 2. Account Configuration - Link Up
66
- 3. Account Configuration - Linked Up with Launch Dashboard
67
- 4. Dashboard View - Open new browser tab
68
- 5. Widget Customization from Dashboard
69
-
70
- == Frequently Asked Questions ==
71
-
72
- = Do I have to install any software on my server to get this working? =
73
-
74
- REVE Chat plugin need to be installed from your wordpress panel. It is a cloud based live chat software hence it would only activate the script when you install the plugin.
75
-
76
- = Why should I use REVE Chat? =
77
-
78
- REVE chat is a complete online sales and support tool to engage your website visitors. With advanced features such as Click to call, Facebook Chat Integration, Queuing, Chat Monitoring and others, REVE Chat provides full insights to communicate with your visitors to become your loyal customers.
79
-
80
- = Which web browsers work best with this plugin =
81
-
82
- Though it is designed to work on almost all the browsers, REVE Chat works best in the following environment: IE 7+ or later (PC), Firefox 2 or later (Mac, PC, or Linux), Safari 2 or later (Mac), Google Chrome (PC, Mac).
83
-
84
- = I managed to install the plugin but cannot link up to REVE Chat. Why? =
85
-
86
- Please insert required parameter Account ID and Tracking ID into plugin's configuration page.
87
-
88
- = How much is price of REVE Chat? =
89
-
90
- REVE Chat plugin in free to install and it offers a complete 14 days free trial to understand its all features. REVE Chat offers 3 packages
91
- 1. Basic (Free)
92
- 2. Standard
93
- 3. Advanced
94
- Please click here to find out more about pricing
95
- The plugin is completely free to install. However if you want to use Standard and Advanced REVE Chat package then you have to purchase the package.
96
-
97
- = How can I chat with more visitors at the same time? =
98
-
99
- REVE Chat allows unlimited concurrent chats for the paid plans. Hence you can chat with as many visitors as you want at the same time. REVE Chat also allows you to proactively chat with your website visitors before they leave your website
100
-
101
- = How can I take further information regarding REVE Chat? =
102
-
103
- You can find out more at our site at http://www.revechat.com or at support@revechat.com and we will help you with installation.
104
-
105
- = Is there any demo or trial period to do some testing? =
106
-
107
- Yes, defiantly you can use all the features of REVE Chat for 14days in the trial period.
108
-
109
- = Can I customize the REVE Chat window? =
110
-
111
- Yes, REVE Chat window is customizable. Some of the things which you can change in the chat window include:
112
-
113
- * Changing the colour scheme
114
- * Changing the font size
115
- * Chat Widget text
116
- * Offline Widget Text
117
- * Prechat & Post chat form
118
-
119
- = Can I add REVE Chat on more than one website at the same time? =
120
-
121
- Yes, there is no limit on websites for the paid plans. However our free Basic package has limited features and it can be used only on one website.
122
-
123
- == Usage ==
124
-
125
- = Agent management =
126
-
127
- From the dashboard you to keep a track on your agents with its special agent management feature. Here you can add your agents and see all the details like status, last login time, total no of assigned concurrent chat of each and every agent etc. In real time which will help you to manage your support service more efficiently
128
-
129
- = How to configuring a chat operator =
130
-
131
- Please follow the below mentioned directions to manage your agents.
132
- * After logging in to your REVE Chat dash board, click on 'Agent Management' option. Here you will get the below mentioned information:
133
- * List of your agent names
134
- * Roles assigned to each and every agent
135
- * Email address of your agents
136
- * Phone numbers of your agents
137
- * Status of your agents online or offline
138
- * Each and every agent's last login time
139
- * Total number of concurrent chats assigned to each and every agent
140
-
141
-
142
- = Agent creation =
143
-
144
- To create an agent, you need to follow the below mentioned steps:
145
- * Login to your REVE Chat dashboard
146
- * Click on 'Agent Management'
147
- * For adding your agent, click on the 'Create Agent' option
148
- * After that you need to fill up a from mentioning the email address, password, role which you want to assign to the agent, total no of concurrent chats you want to assign to that agent, the agent's first and last name, designation and contact no. After that click on the 'Submit' button
149
-
150
- = Chat Conversation =
151
-
152
- In the conversation box agent can directly engage with visitor. Each message is accompanied by the name of the person who sent that message and a timestamp so you can easily follow the conversation
153
-
154
- = Engaged Visitors =
155
-
156
- In the top left side corner of the panel Chat operator can see all of his on-going chats.
157
-
158
- = Online Agents =
159
-
160
- Chat operator can chat with other operators from the same Chat Window. At the left corner there is a menu called Online Agents. In that menu all the logged in operators name will be shown. By clicking one operator name you can start conversation with him.
161
-
162
- = New Chat Request =
163
-
164
- Agents can see new chat requests from website visitors on the left side corner of their dashboard.
165
-
166
- = Chat Panel =
167
-
168
- The central position is for running conversation. Agent will type from the messaging field and also share file by clicking attachment file. There are some other fields in the chat panel.
169
- * History: Agent can see all the previous chat conversations of that particular visitors.
170
- * Chat Transfer: Agent can easily transfer a chat to other agent. This transfer chat option is available in the chat window itself. Agent can click on it and select to whom he wants to transfer the chat. The new chat agent can take over the current live chat conversation without breaking the chat session
171
- * Visitor Info: Agent can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
172
- * Map: During the chat session chat operator can see the visitor real time location map.
173
-
174
- = Online Visitors =
175
-
176
- In the online visitor list agent can see all the web visitors who are currently viewing your websites. You can see their current viewing page, city name and visiting time. Besides you can also send a proactive chat request to the visitor to know whether they need any sort of help or not.
177
-
178
- = Queued Visitor =
179
-
180
- Queued Visitor list will show who is the visitors is waiting for Live Chat. It gives information to your website visitors regarding their waiting time in chat queue and sets accurate response time expectations.
181
-
182
- = Monitoring Panel =
183
-
184
- Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents.
185
-
186
-
187
-
188
- == Installation ==
189
-
190
- *Server Requirements:* PHP4 or PHP5.
191
-
192
- *Wordpress versions:* Wordpress 2.7 and up.
193
-
194
- = Step-by-step Guide =
195
- * Search Plugin from Wordpress Directory
196
- * Install REVE Chat plugin
197
- * Copy Account ID and Tracking ID from integration page
198
- * Paste it REVE Chat Plugins setting page
199
- * Customize the chat widget to your preference.
200
- * Finally, make full use of our intuitive Dashboard to manage your chat widget.
201
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.1/revechat.php DELETED
@@ -1,160 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: Reve Chat
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 2.0.1
6
- Author: ReveChat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- class WP_Plugin_Revechat
13
- {
14
- /**
15
- * Construct the plugin object
16
- */
17
- public function __construct()
18
- {
19
- // Plugin Details
20
- $this->plugin = new stdClass;
21
- $this->plugin->name = 'revechat'; // Plugin Folder
22
- $this->plugin->displayName = 'ReveChat'; // Plugin Name
23
- $this->plugin->version = '2.0.1';
24
-
25
- // Hooks
26
- add_action('admin_init', array(&$this, 'registerSettings'));
27
- //add_action('admin_menu', array(&$this, 'adminPanels'));
28
-
29
- add_action('wp_head', array(&$this, 'frontendHeader'));
30
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
31
-
32
- // Add Menu Page
33
- add_action('admin_menu',array($this,'admin_menu'));
34
-
35
- //enqueue scripts
36
- add_action('admin_enqueue_scripts',array($this,'admin_scripts'));
37
- } // END public function __construct
38
-
39
- /**
40
- * Activate the frontendHeader
41
- */
42
- public static function frontendHeader()
43
- {
44
- $accountId = get_option('revechat_accountid' , '');
45
- if( (isset($accountId) && !empty($accountId)) ) {
46
-
47
- $script = "<script type='text/javascript'>";
48
- $script .= 'window.$_REVECHAT_API || (function(d, w) { var r = $_REVECHAT_API = function(c) {r._.push(c);}; w.__revechat_account=\''.$accountId.'\';w.__revechat_version=2;
49
- r._= []; var rc = d.createElement(\'script\'); rc.type = \'text/javascript\'; rc.async = true; rc.setAttribute(\'charset\', \'utf-8\');
50
- rc.src = (\'https:\' == document.location.protocol ? \'https://\' : \'http://\') + \'static.revechat.com/widget/scripts/new-livechat.js?\'+new Date().getTime();
51
- var s = d.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(rc, s);
52
- })(document, window);';
53
-
54
- $script .='</script>';
55
-
56
- echo $script ;
57
-
58
- }
59
-
60
- } // END public static function activate
61
- /*
62
- * show parameter section
63
- */
64
- public function registerSettings(){
65
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
66
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
67
- }
68
- /*
69
- * admin panel
70
- */
71
- public function adminPanels(){
72
- //add_options_page("ReveChat Dashboard" , "ReveChat" , "read" , "reveChatOptions");
73
- // Add a new submenu under Settings:
74
- add_options_page(__('ReveChat Dashboard','revechat-settings'), __('ReveChat Settings','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions') );
75
- }
76
- /*
77
- * revechat options
78
- */
79
- public function reveChatOptions(){
80
- if ( !current_user_can( 'manage_options' ) ) {
81
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
82
- }
83
- // variables for the field and option names
84
- $accountId = 'revechat_accountid';
85
-
86
- // Read in existing option value from database
87
- $val_accountId = get_option( $accountId );
88
-
89
- if( isset($_POST[ $accountId ])){
90
-
91
- // Read in existing option value from POST
92
- $val_accountId = $_POST[ $accountId ];
93
- update_option( $accountId , $val_accountId );
94
- ?>
95
- <div class="updated" xmlns="http://www.w3.org/1999/html"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
96
- <?php
97
- }
98
- ?>
99
- <div class="wrap" id="revechat">
100
-
101
- <div class="reve-chat-logo">
102
- <img src="<?php echo plugin_dir_url( __FILE__ )."images/logo.png";?>" alt="REVE Chat">
103
- </div>
104
- <div class="form-item form-type-item" id="edit-ajax-message">
105
- <p class="ajax_message"></p>
106
- </div>
107
-
108
- <form name="form1" id="revechat-admin-settings-form" method="post" action="">
109
-
110
- <?php
111
- if(isset($val_accountId) && $val_accountId != 0){
112
- require (plugin_dir_path( __FILE__ )."includes/remove-form.php");
113
- return;
114
- }
115
-
116
- require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
117
- require (plugin_dir_path( __FILE__ )."includes/login-form.php");
118
- require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
119
- ?>
120
-
121
- <p class="submit">
122
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
123
- </p>
124
-
125
- </form>
126
- </div>
127
-
128
- <?php
129
- }
130
-
131
- public function admin_menu()
132
- {
133
- // add_menu_page( string $page_title, string $menu_title, string $capability, string $menu_slug, callable $function = '', string $icon_url = '', int $position = null )
134
- add_menu_page(__('ReveChat Dashboard','revechat-settings'), __('REVE Chat','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions'), plugin_dir_url( __FILE__ )."images/favicon.png");
135
-
136
- }
137
-
138
- /**
139
- * Deactivate the plugin
140
- */
141
- public static function deactivate()
142
- {
143
- delete_option('revechat_accountid');
144
- } // END public static function deactivate
145
-
146
- public function admin_scripts(){
147
- wp_enqueue_script( 'revechat-admin-script', plugin_dir_url( __FILE__ ) . '/js/revechat-admin.js' );
148
- wp_enqueue_style( 'custom_wp_admin_css',plugin_dir_url( __FILE__ ).'css/admin-styles.css' );
149
- }
150
-
151
- function add_action_links ( $links ) {
152
- $menu_link = array(
153
- '<a href="' . admin_url( 'admin.php?page=revechatsettings' ) . '">Settings</a>',
154
- );
155
- return array_merge( $links, $menu_link );
156
- }
157
- } // END class WP_Plugin_Revechat
158
- } // END if(!class_exists('WP_Plugin_Revechat'))
159
- $revechat = new WP_Plugin_Revechat ;
160
- register_deactivation_hook( __FILE__, array( 'WP_Plugin_Revechat', 'deactivate' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.1/screenshot-1.png DELETED
Binary file
tags/6.1.8/tags/2.0.1/screenshot-2.png DELETED
Binary file
tags/6.1.8/tags/2.0.1/screenshot-3.png DELETED
Binary file
tags/6.1.8/tags/2.0.1/screenshot-4.png DELETED
Binary file
tags/6.1.8/tags/2.0.2/css/admin-styles.css DELETED
@@ -1,113 +0,0 @@
1
- #revechat #edit-choose-form h3,
2
- #revechat #revechat_already_have h3,
3
- #revechat #revechat_new_account h3{
4
- color: coral;
5
- }
6
- #revechat ul#revechat_choose_form{}
7
- #revechat ul#revechat_choose_form li{
8
- list-style: none;
9
- display: block;
10
- }
11
- #revechat ul#revechat_choose_form li label{
12
- display: inline-block;
13
- }
14
- #revechat .revechat_email_error{
15
- color: red;
16
- }
17
- #revechat .ajax_message {
18
- display: none;
19
- background: url(ajax_loader.gif) no-repeat 24px 51%;
20
- padding: 0;
21
- margin-top: 1em;
22
- }
23
- #revechat .ajax_message.wait,
24
- #revechat .ajax_message.message
25
- {
26
- display: block;
27
- font-size: 1.2em;
28
- padding: 20px;
29
- box-shadow: 2px 2px 2px rgba(0,0,0,.2);
30
- }
31
- #revechat .ajax_message.wait {
32
- text-indent: 28px;
33
- background-color: #fff;
34
- }
35
- #revechat .ajax_message.message {
36
- background-image: none;
37
- text-indent: 0px;
38
- }
39
-
40
- #revechat .ajax_message.message.alert{
41
- background-color: #f2dede;
42
- border-color: #ebccd1;
43
- color: #a94442;
44
- padding: 20px;
45
- }
46
- #revechat .ajax_message.message.success{
47
- background-color: #dff0d8;
48
- border: 1px solid #dff0d8;
49
- color: #3c763d;
50
- padding: 20px;
51
- }
52
- #revechat .revechat_success_message{
53
- background: #ffffff;
54
- padding: 50px;
55
- height: auto;
56
- font-size: 1.5em;
57
- border-bottom: 5px solid #F16915;
58
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
59
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
60
- box-shadow: 0px 0px 6px rgba(0,0,0,.3);
61
- }
62
- #revechat .revechat_success_message h3{
63
- font-weight: bold;
64
- border-bottom: 1px solid #B1B4B9;
65
- padding-bottom: 20px;
66
- line-height: 2em;
67
- }
68
- #revechat .messages.revechat_success{
69
- background-color: #dff0d8;
70
- border: 1px solid #bee99a;
71
- color: #3c763d;
72
- padding: 20px;
73
- margin-bottom: 30px;
74
- font-weight: 600;
75
- }
76
- #revechat .form-submit{
77
- background: #FF5800 none repeat scroll 0 0;
78
- border-color: #bd4302 #ab3c02 #ab3c02;
79
- -webkit-box-shadow: 0 1px 0 #ab3c02;
80
- box-shadow: 0 1px 0 #ab3c02;
81
- color: #fff;
82
- text-decoration: none;
83
- text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
84
- }
85
- #revechat .box {
86
- background: #ffffff;
87
- border: 1px solid #e5e5e5;
88
- padding: 20px;
89
- }
90
- #revechat #revechat-admin-settings-form {
91
- padding: 18px;
92
- }
93
- #revechat fieldset {
94
- border: 1px solid #c0c0c0;
95
- margin-top: 20px;
96
- }
97
- #revechat #revechat_already_have > h3 {
98
- margin-top: 19px;
99
- }
100
- #revechat ul#revechat_choose_form li {
101
- display: block;
102
- list-style: outside none none;
103
- padding-left: 20px;
104
- }
105
-
106
- #revechat .form-item > label {
107
- display: table;
108
- margin-bottom: 11px;
109
- margin-top: 20px;
110
- }
111
- #revechat input.form-submit{
112
- cursor: pointer;
113
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.2/css/ajax_loader.gif DELETED
Binary file
tags/6.1.8/tags/2.0.2/images/favicon.png DELETED
Binary file
tags/6.1.8/tags/2.0.2/images/logo.png DELETED
Binary file
tags/6.1.8/tags/2.0.2/includes/choose-form.php DELETED
@@ -1,13 +0,0 @@
1
- <div id="edit-choose-form">
2
- <h3>Already have a REVE Chat account?</h3>
3
- <ul id="revechat_choose_form">
4
- <li>
5
- <input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
6
- <label for="has_revechat_account">Yes, I already have a REVE Chat account</label>
7
- </li>
8
- <li>
9
- <input type="radio" id="new_revechat_account" name="revechat_choose_form">
10
- <label for="new_revechat_account">No, I want to create one</label>
11
- </li>
12
- </ul>
13
- </div><!-- Edit Choose Form -->
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.2/includes/login-form.php DELETED
@@ -1,20 +0,0 @@
1
- <div id="revechat_already_have">
2
- <h3>Account Details</h3>
3
- <table class="form-table">
4
- <tbody>
5
- <tr>
6
- <th>
7
- <label for="edit-revechat-account-email">
8
- <?php
9
- _e("REVE Chat Login Email");
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email">
15
- <input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
16
- </td>
17
- </tr>
18
- </tbody>
19
- </table>
20
- </div><!-- revechat_already_have -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.2/includes/remove-form.php DELETED
@@ -1,23 +0,0 @@
1
- <div class="box">
2
- <h3>REVE Chat has been installed.</h3>
3
- <p>Sign in to REVE Chat Dashboard and start chatting with your customers.</p>
4
- <p><a href="https://dashboard.revechat.com" class="form-submit button-primary" target="_blank">Go to Dashboard</a></p>
5
-
6
-
7
- </div>
8
- <div id="edit-actions" class="form-actions form-wrapper">
9
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
10
- <p><small>Something went wrong? <input type="submit" style="background: transparent; border: 0; text-decoration: underline;text-transform: lowercase; font-size: 10px; cursor: pointer;" value="Remove" name="revechat_remove" id="edit-submit"></small></p>
11
- </div>
12
-
13
-
14
- <!--
15
- <div>
16
- <div class="messages revechat_success">REVE Chat
17
- is already installed.</div>
18
-
19
- <div id="edit-actions" class="form-actions form-wrapper">
20
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
21
- <input type="submit" class="form-submit button-primary" value="Remove" name="revechat_remove" id="edit-submit">
22
- </div>
23
- </div> -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.2/includes/signup-form.php DELETED
@@ -1,73 +0,0 @@
1
- <div id="revechat_new_account">
2
-
3
- <h3>Create a new REVE Chat account</h3>
4
- <table class="form-table">
5
- <tr>
6
- <th>
7
- <label for="edit-firstname">
8
- <?php
9
- _e("First Name")
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="text" class="regular-text" name="firstName" id="edit-firstname">
15
- </td>
16
- </tr>
17
-
18
-
19
- <tr>
20
- <th>
21
- <label for="edit-lastname">
22
- <?php
23
- _e("Last Name")
24
- ?>
25
- </label>
26
- </th>
27
- <td>
28
- <input type="text" class="regular-text" name="firstName" id="edit-lastname">
29
- </td>
30
- </tr>
31
-
32
- <tr>
33
- <th>
34
- <label for="edit-email">
35
- <?php
36
- _e('Email')
37
- ?>
38
- </label>
39
-
40
- </th>
41
- <td>
42
- <input type="text" class="regular-text" name="email" id="edit-email">
43
- </td>
44
- </tr>
45
-
46
- <tr>
47
- <th>
48
- <label for="edit-accountpassword">
49
- <?php
50
- _e('Create Password')
51
- ?>
52
- </label>
53
- </th>
54
- <td>
55
- <input type="password" class="regular-text" name="edit-accountpassword" id="edit-accountpassword">
56
- </td>
57
- </tr>
58
-
59
- <tr>
60
- <th>
61
- <label for="edit-retypepassword">
62
- <?php
63
- _e('Confirm your Password')
64
- ?>
65
- </label>
66
- </th>
67
- <td>
68
- <input type="password" class="regular-text" name="edit-retypepassword" id="edit-retypepassword">
69
- </td>
70
- </tr>
71
- </table>
72
-
73
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.2/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/6.1.8/tags/2.0.2/js/revechat-admin.js DELETED
@@ -1,222 +0,0 @@
1
- jQuery.noConflict();
2
- (function($){
3
- var baseUrl = 'https://dashboard.revechat.com/';
4
- var ReveChat ={
5
- init: function () {
6
- this.toggleForms();
7
- this.bindFormSubmit();
8
- },
9
-
10
- toggleForms: function ()
11
- {
12
- var toggleForms = function ()
13
- {
14
- if ($('#new_revechat_account').is(':checked'))
15
- {
16
- $('#revechat_already_have').hide();
17
- $('#revechat_new_account').show();
18
- $('#edit-name').focus();
19
- }
20
- else if ($('#has_revechat_account').is(':checked'))
21
- {
22
- $('#revechat_new_account').hide();
23
- $('#revechat_already_have').show();
24
- $('#edit-revechat-account-email').focus();
25
- }
26
- };
27
- toggleForms();
28
-
29
- $('#revechat_choose_form input').click(toggleForms);
30
- },
31
-
32
- bindFormSubmit: function () {
33
- $('#revechat-admin-settings-form').submit(function(e)
34
- {
35
- // e.preventDefault();
36
-
37
- if($('#edit-submit').val() == 'Remove'){
38
- $('#revechat_aid').val(0);
39
- $('#revechat-admin-settings-form').submit();
40
- }
41
- if (((parseInt($('#revechat_aid').val()) !== 0) || $('#has_revechat_account').is(':checked')))
42
- {
43
- return ReveChat.alreadyHaveAccountForm();
44
- }
45
- else
46
- {
47
- return ReveChat.newLicenseForm();
48
- }
49
-
50
- });
51
- },
52
-
53
- alreadyHaveAccountForm: function()
54
- {
55
-
56
- if(this.validEmail())
57
- {
58
- if((parseInt($('#revechat_aid').val()) == 0 || $('#revechat_aid').val() == ""))
59
- {
60
- var login = $.trim($('#edit-revechat-account-email').val());
61
- if(!login.length)
62
- {
63
- $('#edit-revechat-account-email').focus();
64
- return false;
65
- }
66
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait&hellip;');
67
-
68
- ReveChat.signIn($('#edit-revechat-account-email').val());
69
- return false;
70
- }
71
- }
72
- else
73
- {
74
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Invalid Email.');
75
- $('#edit-revechat-account-email').focus();
76
- return false;
77
- }
78
- return true;
79
- },
80
- signIn: function (email) {
81
- var signInUrl = baseUrl +'/license/adminId/'+email+'/?callback=?';
82
- $.getJSON(signInUrl,
83
- function(response)
84
- {
85
- if (response.error)
86
- {
87
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Incorrect REVE Chat login.');
88
- $('#edit-revechat-account-email').focus();
89
- return false;
90
- }
91
- else
92
- {
93
- $('#revechat_aid').val(response.data.account_id);
94
- $('#revechat-admin-settings-form').submit();
95
- }
96
- });
97
- },
98
- newLicenseForm: function()
99
- {
100
- if (parseInt(($('#revechat_aid').val()) > 0))
101
- {
102
- return true;
103
- }
104
-
105
- if(this.validateNewLicenseForm())
106
- {
107
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
108
-
109
- ReveChat.createLicense();
110
- }
111
- return false;
112
- },
113
- createLicense: function()
114
- {
115
-
116
- $('.ajax_message').removeClass('message').addClass('wait').html('Creating new account&hellip;');
117
-
118
- var firstName = $.trim($('#edit-firstname').val());
119
- var lastName = $.trim($('#edit-lastname').val());
120
- var email = $.trim($('#edit-email').val());
121
- var password = $.trim($('#edit-accountpassword').val());
122
- var rePassword = $.trim($('#edit-retypepassword').val());
123
-
124
- var signUpUrl = baseUrl + 'revechat/cms/api/signup.do';
125
-
126
- $.ajax({
127
- data: { 'firstname':firstName, 'lastname':lastName, 'mailAddr':email, 'password':password },
128
- type:'POST',
129
- url:signUpUrl,
130
- dataType: 'json',
131
- cache:false,
132
- success: function(response) {
133
- if(response.status == 'error')
134
- {
135
- $('.ajax_message').html(response.message).addClass('message alert').removeClass('wait');
136
- return false;
137
- }
138
- else if(response.status == 'success')
139
- {
140
- $('#edit-revechat-account-email').val(email);
141
- ReveChat.signIn(email);
142
- return false;
143
- }
144
- }
145
- });
146
- },
147
- validEmail: function()
148
- {
149
- if($('#edit-submit').val() != 'Remove')
150
- {
151
- if (/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i.test($('#edit-revechat-account-email').val()) == false)
152
- {
153
- //alert ('Please enter a valid email address.');
154
- $('#edit-email').focus();
155
- return false;
156
- }
157
- }
158
- return true;
159
- },
160
-
161
- validateNewLicenseForm: function()
162
- {
163
-
164
- var firstName = $.trim($('#edit-firstname').val());
165
- var lastName = $.trim($('#edit-lastname').val());
166
- var email = $.trim($('#edit-email').val());
167
- var password = $.trim($('#edit-accountpassword').val());
168
- var rePassword = $.trim($('#edit-retypepassword').val());
169
-
170
-
171
-
172
- if (!firstName.length)
173
- {
174
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Please provide your first name.');
175
- $('#edit-firstname').focus();
176
- return false;
177
- }
178
-
179
- if (!lastName.length)
180
- {
181
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Please provide your last name.');
182
- $('#edit-lastname').focus();
183
- return false;
184
- }
185
-
186
- if (!ReveChat.isValidEmailAddress(email))
187
- {
188
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Please provide valid email address.');
189
- $('#edit-email').focus();
190
- return false;
191
- }
192
-
193
- if(password.length < 6){
194
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Please provide your password. The password must be at least 6 characters long.');
195
- $('#edit-accountpassword').focus();
196
- return false;
197
- }
198
-
199
- if(!rePassword.length || password.length < 6){
200
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Please retype your password.');
201
- $('#edit-retypepassword').focus();
202
- return false;
203
- }
204
-
205
- if(password != rePassword){
206
- $('.ajax_message').removeClass('wait').addClass('message alert').html('Please retype your password.');
207
- return false;
208
- }
209
-
210
-
211
- return true;
212
- },
213
- isValidEmailAddress: function (emailAddress) {
214
- var pattern = /^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i;
215
- return pattern.test(emailAddress);
216
- },
217
- }
218
- $(document).ready(function()
219
- {
220
- ReveChat.init();
221
- });
222
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.2/readme.txt DELETED
@@ -1,203 +0,0 @@
1
- === Reve Chat ===
2
- Contributors: revechat_official
3
- Tags: chat online, contact plugin, customer support, free chat, chat software, IM chat, live chat, live chat inc, live chat services, live chat software, live chatting, live help, live support, live web chat, livechat, live help, live support, olark, online chat, online support, php live chat, snapengage, support software, website chat, wordpress chat, wordpress live chat, wordpress live chat plugin, ReveChat, REVE Chat, zendesk, Zopim live chat, clickdesk, olark, click desk, visitor analytics, web analytics, lead generation, online leads
4
-
5
- Stable tag: 2.0.1
6
-
7
-
8
- REVE Chat is powerful and intuitive real-time customer engagement software.
9
-
10
- == Description ==
11
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display.
12
-
13
- https://youtu.be/t1dykZ9Tg8U
14
-
15
- In the fast paced ambience of live customer support, the efficient usage of valuable time is the main key to both happy customers and professional management. Traditionally interactions between support agents and customers have been restricted to one-on-one supports over phones or emails. Live chat for customer support has now become the alternative that today's multitasking and net savvy generation is looking for. It offers quick response in real time and higher customer satisfaction which can generate more conversions. In the era of automated customer assistance systems, the chance to chat with a person in real time through your website is a distinct feature. Now just like a sales person in the shop, talk to the visitors of your website in real-time.
16
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use. So place this customizable REVE Chat widget to your business and start getting sales conversion and higher customer satisfaction.
17
-
18
- **Key Features**
19
-
20
- * **Real-time Visitor Info:** Agent as well as Admin can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
21
- * **Proactive Chat:** Proactive chat enables agents to initiate a Chat request from their Chat Window. Moreover Trigger based proactive chat automatically sends customized chat alerts for the visitors on the website.
22
- * **Chat Monitoring:** Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents
23
- * **Click to Call:** Click to call is a powerful solution that can be implemented on REVE Chat to offer real-time voice assistance to online customers. It allows visitor and agent to initiate Voice and Video Call from their Chat window.
24
- * **Queuing:** With this chat software handle chat requests efficiently when all your agents are busy. REVE live chat software gives information to website visitors regarding their waiting time in the chat queue
25
- * **Facebook Integration:** REVE Chat allows you to engage with your potential customers through your company Facebook page. Facebook is very effective tool for business. Smart use of social media increases sales, retention and customer satisfaction. REVE Chat Facebook app makes it easier than ever to engage online visitors. Facebook integration lets customers reach you directly on your Facebook fan page, whether or not you are online, increasing customer happiness and organic marketing and outreach.
26
-
27
- **What makes Reve Chat the best choice for live chat?**
28
-
29
- * A simple and highly customizable Live chat solution
30
- * User friendly interface and Dashboard
31
- * Intuitive Chat Window
32
- * Innovative and unique features
33
- * 24x7 hour live chat support from our trained experts on any weekday (visit revechat.com)
34
-
35
-
36
-
37
- **Some Geeky Facts**
38
-
39
- * Work across major browsers (Internet Explorer 7+, Firefox, Google Chrome, Opera, Safari).
40
- * Average uptime is 99.8%.
41
- * Mobile Optimized Dashboard
42
-
43
-
44
-
45
- Should you need any assistance, feel free to chat with our customer advocates on www.revechat.com or email us at support@revechat.com
46
-
47
-
48
- == Changelog ==
49
-
50
-
51
- = 1.2.0 =
52
-
53
- * Feature: Add the Reve chat widget to your site!
54
- * Feature: Customize look and feel of the widget, including themes and color!
55
-
56
- = 2.0 =
57
- * New Admin Menu page for REVE Chat
58
- * New for integration
59
- * Added link of settings page to display on the plugins page (beside the activate/deactivate links).
60
-
61
- = 2.0.1 =
62
- * Updated chat script
63
-
64
- == Screenshots ==
65
-
66
- 1. Chat window on your website - active chat
67
- 2. Account Configuration - Link Up
68
- 3. Account Configuration - Linked Up with Launch Dashboard
69
- 4. Dashboard View - Open new browser tab
70
- 5. Widget Customization from Dashboard
71
-
72
- == Frequently Asked Questions ==
73
-
74
- = Do I have to install any software on my server to get this working? =
75
-
76
- REVE Chat plugin need to be installed from your wordpress panel. It is a cloud based live chat software hence it would only activate the script when you install the plugin.
77
-
78
- = Why should I use REVE Chat? =
79
-
80
- REVE chat is a complete online sales and support tool to engage your website visitors. With advanced features such as Click to call, Facebook Chat Integration, Queuing, Chat Monitoring and others, REVE Chat provides full insights to communicate with your visitors to become your loyal customers.
81
-
82
- = Which web browsers work best with this plugin =
83
-
84
- Though it is designed to work on almost all the browsers, REVE Chat works best in the following environment: IE 7+ or later (PC), Firefox 2 or later (Mac, PC, or Linux), Safari 2 or later (Mac), Google Chrome (PC, Mac).
85
-
86
- = I managed to install the plugin but cannot link up to REVE Chat. Why? =
87
-
88
- Please insert required parameter Account ID and Tracking ID into plugin's configuration page.
89
-
90
- = How much is price of REVE Chat? =
91
-
92
- REVE Chat plugin in free to install and it offers a complete 14 days free trial to understand its all features. REVE Chat offers 3 packages
93
- 1. Basic (Free)
94
- 2. Standard
95
- 3. Advanced
96
- Please click here to find out more about pricing
97
- The plugin is completely free to install. However if you want to use Standard and Advanced REVE Chat package then you have to purchase the package.
98
-
99
- = How can I chat with more visitors at the same time? =
100
-
101
- REVE Chat allows unlimited concurrent chats for the paid plans. Hence you can chat with as many visitors as you want at the same time. REVE Chat also allows you to proactively chat with your website visitors before they leave your website
102
-
103
- = How can I take further information regarding REVE Chat? =
104
-
105
- You can find out more at our site at http://www.revechat.com or at support@revechat.com and we will help you with installation.
106
-
107
- = Is there any demo or trial period to do some testing? =
108
-
109
- Yes, defiantly you can use all the features of REVE Chat for 14days in the trial period.
110
-
111
- = Can I customize the REVE Chat window? =
112
-
113
- Yes, REVE Chat window is customizable. Some of the things which you can change in the chat window include:
114
-
115
- * Changing the colour scheme
116
- * Changing the font size
117
- * Chat Widget text
118
- * Offline Widget Text
119
- * Prechat & Post chat form
120
-
121
- = Can I add REVE Chat on more than one website at the same time? =
122
-
123
- Yes, there is no limit on websites for the paid plans. However our free Basic package has limited features and it can be used only on one website.
124
-
125
- == Usage ==
126
-
127
- = Agent management =
128
-
129
- From the dashboard you to keep a track on your agents with its special agent management feature. Here you can add your agents and see all the details like status, last login time, total no of assigned concurrent chat of each and every agent etc. In real time which will help you to manage your support service more efficiently
130
-
131
- = How to configuring a chat operator =
132
-
133
- Please follow the below mentioned directions to manage your agents.
134
- * After logging in to your REVE Chat dash board, click on 'Agent Management' option. Here you will get the below mentioned information:
135
- * List of your agent names
136
- * Roles assigned to each and every agent
137
- * Email address of your agents
138
- * Phone numbers of your agents
139
- * Status of your agents online or offline
140
- * Each and every agent's last login time
141
- * Total number of concurrent chats assigned to each and every agent
142
-
143
-
144
- = Agent creation =
145
-
146
- To create an agent, you need to follow the below mentioned steps:
147
- * Login to your REVE Chat dashboard
148
- * Click on 'Agent Management'
149
- * For adding your agent, click on the 'Create Agent' option
150
- * After that you need to fill up a from mentioning the email address, password, role which you want to assign to the agent, total no of concurrent chats you want to assign to that agent, the agent's first and last name, designation and contact no. After that click on the 'Submit' button
151
-
152
- = Chat Conversation =
153
-
154
- In the conversation box agent can directly engage with visitor. Each message is accompanied by the name of the person who sent that message and a timestamp so you can easily follow the conversation
155
-
156
- = Engaged Visitors =
157
-
158
- In the top left side corner of the panel Chat operator can see all of his on-going chats.
159
-
160
- = Online Agents =
161
-
162
- Chat operator can chat with other operators from the same Chat Window. At the left corner there is a menu called Online Agents. In that menu all the logged in operators name will be shown. By clicking one operator name you can start conversation with him.
163
-
164
- = New Chat Request =
165
-
166
- Agents can see new chat requests from website visitors on the left side corner of their dashboard.
167
-
168
- = Chat Panel =
169
-
170
- The central position is for running conversation. Agent will type from the messaging field and also share file by clicking attachment file. There are some other fields in the chat panel.
171
- * History: Agent can see all the previous chat conversations of that particular visitors.
172
- * Chat Transfer: Agent can easily transfer a chat to other agent. This transfer chat option is available in the chat window itself. Agent can click on it and select to whom he wants to transfer the chat. The new chat agent can take over the current live chat conversation without breaking the chat session
173
- * Visitor Info: Agent can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
174
- * Map: During the chat session chat operator can see the visitor real time location map.
175
-
176
- = Online Visitors =
177
-
178
- In the online visitor list agent can see all the web visitors who are currently viewing your websites. You can see their current viewing page, city name and visiting time. Besides you can also send a proactive chat request to the visitor to know whether they need any sort of help or not.
179
-
180
- = Queued Visitor =
181
-
182
- Queued Visitor list will show who is the visitors is waiting for Live Chat. It gives information to your website visitors regarding their waiting time in chat queue and sets accurate response time expectations.
183
-
184
- = Monitoring Panel =
185
-
186
- Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents.
187
-
188
-
189
-
190
- == Installation ==
191
-
192
- *Server Requirements:* PHP4 or PHP5.
193
-
194
- *Wordpress versions:* Wordpress 2.7 and up.
195
-
196
- = Step-by-step Guide =
197
- * Search Plugin from Wordpress Directory
198
- * Install REVE Chat plugin
199
- * Copy Account ID and Tracking ID from integration page
200
- * Paste it REVE Chat Plugins setting page
201
- * Customize the chat widget to your preference.
202
- * Finally, make full use of our intuitive Dashboard to manage your chat widget.
203
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.2/revechat.php DELETED
@@ -1,162 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: Reve Chat
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 2.0.2
6
- Author: ReveChat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- class WP_Plugin_Revechat
13
- {
14
- /**
15
- * Construct the plugin object
16
- */
17
- public function __construct()
18
- {
19
- // Plugin Details
20
- $this->plugin = new stdClass;
21
- $this->plugin->name = 'revechat'; // Plugin Folder
22
- $this->plugin->displayName = 'ReveChat'; // Plugin Name
23
- $this->plugin->version = '2.0.1';
24
-
25
- // Hooks
26
- add_action('admin_init', array(&$this, 'registerSettings'));
27
- //add_action('admin_menu', array(&$this, 'adminPanels'));
28
-
29
- add_action('wp_head', array(&$this, 'frontendHeader'));
30
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
31
-
32
- // Add Menu Page
33
- add_action('admin_menu',array($this,'admin_menu'));
34
-
35
- //enqueue scripts
36
- add_action('admin_enqueue_scripts',array($this,'admin_scripts'));
37
- } // END public function __construct
38
-
39
- /**
40
- * Activate the frontendHeader
41
- */
42
- public static function frontendHeader()
43
- {
44
- $accountId = get_option('revechat_accountid' , '');
45
- if( (isset($accountId) && !empty($accountId)) ) {
46
-
47
- $script = "<script type='text/javascript'>";
48
- $script .= 'window.$_REVECHAT_API || (function(d, w) { var r = $_REVECHAT_API = function(c) {r._.push(c);}; w.__revechat_account=\''.$accountId.'\';w.__revechat_version=2;
49
- r._= []; var rc = d.createElement(\'script\'); rc.type = \'text/javascript\'; rc.async = true; rc.setAttribute(\'charset\', \'utf-8\');
50
- rc.src = (\'https:\' == document.location.protocol ? \'https://\' : \'http://\') + \'static.revechat.com/widget/scripts/new-livechat.js?\'+new Date().getTime();
51
- var s = d.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(rc, s);
52
- })(document, window);';
53
-
54
- $script .='</script>';
55
-
56
- echo $script ;
57
-
58
- }
59
-
60
- } // END public static function activate
61
- /*
62
- * show parameter section
63
- */
64
- public function registerSettings(){
65
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
66
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
67
- }
68
- /*
69
- * admin panel
70
- */
71
- public function adminPanels(){
72
- //add_options_page("ReveChat Dashboard" , "ReveChat" , "read" , "reveChatOptions");
73
- // Add a new submenu under Settings:
74
- add_options_page(__('ReveChat Dashboard','revechat-settings'), __('ReveChat Settings','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions') );
75
- }
76
- /*
77
- * revechat options
78
- */
79
- public function reveChatOptions(){
80
- if ( !current_user_can( 'manage_options' ) ) {
81
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
82
- }
83
- // variables for the field and option names
84
- $accountId = 'revechat_accountid';
85
-
86
- // Read in existing option value from database
87
- $val_accountId = get_option( $accountId );
88
-
89
- if( isset($_POST[ $accountId ])){
90
-
91
- // Read in existing option value from POST
92
- $val_accountId = $_POST[ $accountId ];
93
- update_option( $accountId , $val_accountId );
94
- ?>
95
- <div class="updated" xmlns="http://www.w3.org/1999/html"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
96
- <?php
97
- }
98
- ?>
99
- <div class="wrap" id="revechat">
100
-
101
- <div class="box">
102
- <div class="reve-chat-logo">
103
- <img src="<?php echo plugin_dir_url( __FILE__ )."images/logo.png";?>" alt="REVE Chat">
104
- </div>
105
- <div class="form-item form-type-item" id="edit-ajax-message">
106
- <p class="ajax_message"></p>
107
- </div>
108
-
109
- <form name="form1" id="revechat-admin-settings-form" method="post" action="">
110
-
111
- <?php
112
- if(isset($val_accountId) && $val_accountId != 0){
113
- require (plugin_dir_path( __FILE__ )."includes/remove-form.php");
114
- return;
115
- }
116
-
117
- require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
118
- require (plugin_dir_path( __FILE__ )."includes/login-form.php");
119
- require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
120
- ?>
121
-
122
- <p class="submit">
123
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
124
- </p>
125
-
126
- </form>
127
- </div>
128
- </div>
129
-
130
- <?php
131
- }
132
-
133
- public function admin_menu()
134
- {
135
- // add_menu_page( string $page_title, string $menu_title, string $capability, string $menu_slug, callable $function = '', string $icon_url = '', int $position = null )
136
- add_menu_page(__('ReveChat Dashboard','revechat-settings'), __('REVE Chat','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions'), plugin_dir_url( __FILE__ )."images/favicon.png");
137
-
138
- }
139
-
140
- /**
141
- * Deactivate the plugin
142
- */
143
- public static function deactivate()
144
- {
145
- delete_option('revechat_accountid');
146
- } // END public static function deactivate
147
-
148
- public function admin_scripts(){
149
- wp_enqueue_script( 'revechat-admin-script', plugin_dir_url( __FILE__ ) . '/js/revechat-admin.js' );
150
- wp_enqueue_style( 'custom_wp_admin_css',plugin_dir_url( __FILE__ ).'css/admin-styles.css' );
151
- }
152
-
153
- function add_action_links ( $links ) {
154
- $menu_link = array(
155
- '<a href="' . admin_url( 'admin.php?page=revechatsettings' ) . '">Settings</a>',
156
- );
157
- return array_merge( $links, $menu_link );
158
- }
159
- } // END class WP_Plugin_Revechat
160
- } // END if(!class_exists('WP_Plugin_Revechat'))
161
- $revechat = new WP_Plugin_Revechat ;
162
- register_deactivation_hook( __FILE__, array( 'WP_Plugin_Revechat', 'deactivate' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.2/screenshot-1.png DELETED
Binary file
tags/6.1.8/tags/2.0.2/screenshot-2.png DELETED
Binary file
tags/6.1.8/tags/2.0.2/screenshot-3.png DELETED
Binary file
tags/6.1.8/tags/2.0.2/screenshot-4.png DELETED
Binary file
tags/6.1.8/tags/2.0.3/css/admin-styles.css DELETED
@@ -1,109 +0,0 @@
1
- #revechat ul#revechat_choose_form{}
2
- #revechat ul#revechat_choose_form li{
3
- list-style: none;
4
- display: block;
5
- }
6
- #revechat ul#revechat_choose_form li label{
7
- display: inline-block;
8
- }
9
- #revechat .revechat_email_error{
10
- color: red;
11
- }
12
- #revechat .ajax_message {
13
- display: none;
14
- background: url(ajax_loader.gif) no-repeat 24px 51%;
15
- padding: 0;
16
- margin-top: 1em;
17
- }
18
- #revechat .ajax_message.wait,
19
- #revechat .ajax_message.message
20
- {
21
- display: block;
22
- font-size: 1.2em;
23
- padding: 20px;
24
- box-shadow: 2px 2px 2px rgba(0,0,0,.2);
25
- }
26
- #revechat .ajax_message.wait {
27
- text-indent: 28px;
28
- background-color: #fff;
29
- }
30
- #revechat .ajax_message.message {
31
- background-image: none;
32
- text-indent: 0px;
33
- }
34
-
35
- #revechat .ajax_message.message.alert{
36
- background-color: #f2dede;
37
- border-color: #ebccd1;
38
- color: #a94442;
39
- padding: 20px;
40
- }
41
- #revechat .ajax_message.message.success{
42
- background-color: #dff0d8;
43
- border: 1px solid #dff0d8;
44
- color: #3c763d;
45
- padding: 20px;
46
- }
47
- #revechat .revechat_success_message{
48
- background: #ffffff;
49
- padding: 50px;
50
- height: auto;
51
- font-size: 1.5em;
52
- border-bottom: 5px solid #F16915;
53
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
54
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
55
- box-shadow: 0px 0px 6px rgba(0,0,0,.3);
56
- }
57
- #revechat .revechat_success_message h3{
58
- font-weight: bold;
59
- border-bottom: 1px solid #B1B4B9;
60
- padding-bottom: 20px;
61
- line-height: 2em;
62
- }
63
- #revechat .messages.revechat_success{
64
- background-color: #dff0d8;
65
- border: 1px solid #bee99a;
66
- color: #3c763d;
67
- padding: 20px;
68
- margin-bottom: 30px;
69
- font-weight: 600;
70
- }
71
- #revechat .form-submit{
72
- background: #FF5800 none repeat scroll 0 0;
73
- border-color: #bd4302 #ab3c02 #ab3c02;
74
- -webkit-box-shadow: 0 1px 0 #ab3c02;
75
- box-shadow: 0 1px 0 #ab3c02;
76
- color: #fff;
77
- text-decoration: none;
78
- text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
79
- }
80
- #revechat .box {
81
- background: #ffffff;
82
- border: 1px solid #e5e5e5;
83
- padding: 20px;
84
- margin-bottom: 50px;
85
- }
86
- #revechat #revechat-admin-settings-form {
87
- padding: 18px;
88
- }
89
- #revechat fieldset {
90
- border: 1px solid #c0c0c0;
91
- margin-top: 20px;
92
- }
93
- #revechat #revechat_already_have > h3 {
94
- margin-top: 19px;
95
- }
96
- #revechat ul#revechat_choose_form li {
97
- display: block;
98
- list-style: outside none none;
99
- padding-left: 20px;
100
- }
101
-
102
- #revechat .form-item > label {
103
- display: table;
104
- margin-bottom: 11px;
105
- margin-top: 20px;
106
- }
107
- #revechat input.form-submit{
108
- cursor: pointer;
109
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.3/css/ajax_loader.gif DELETED
Binary file
tags/6.1.8/tags/2.0.3/images/favicon.png DELETED
Binary file
tags/6.1.8/tags/2.0.3/images/logo.png DELETED
Binary file
tags/6.1.8/tags/2.0.3/includes/choose-form.php DELETED
@@ -1,13 +0,0 @@
1
- <div id="edit-choose-form" class="box">
2
- <h3>Do you already have a REVE Chat account?</h3>
3
- <ul id="revechat_choose_form">
4
- <li>
5
- <input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
6
- <label for="has_revechat_account">Yes, I already have a REVE Chat account</label>
7
- </li>
8
- <li>
9
- <input type="radio" id="new_revechat_account" name="revechat_choose_form">
10
- <label for="new_revechat_account">No, I want to create one</label>
11
- </li>
12
- </ul>
13
- </div><!-- Edit Choose Form -->
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.3/includes/login-form.php DELETED
@@ -1,23 +0,0 @@
1
- <div id="revechat_already_have" class="box">
2
- <h3>Account Details</h3>
3
- <table class="form-table">
4
- <tbody>
5
- <tr>
6
- <th>
7
- <label for="edit-revechat-account-email">
8
- <?php
9
- _e("REVE Chat login email");
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email" placeholder="Enter your email address">
15
- <input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
16
- </td>
17
- </tr>
18
- </tbody>
19
- </table>
20
- <p class="submit">
21
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
22
- </p>
23
- </div><!-- revechat_already_have -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.3/includes/remove-form.php DELETED
@@ -1,23 +0,0 @@
1
- <div class="box">
2
- <h3>REVE Chat has been installed.</h3>
3
- <p>Sign in to REVE Chat Dashboard and start chatting with your customers.</p>
4
- <p><a href="https://dashboard.revechat.com" class="form-submit button-primary" target="_blank">Go to Dashboard</a></p>
5
-
6
- <div id="edit-actions" class="form-actions form-wrapper">
7
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
8
- <p><small>Something went wrong? <input type="submit" style="background: transparent; border: 0; text-decoration: underline;text-transform: lowercase; font-size: 10px; cursor: pointer;" value="Disconnect" name="revechat_remove" id="edit-submit"></small></p>
9
- </div>
10
- </div>
11
-
12
-
13
-
14
- <!--
15
- <div>
16
- <div class="messages revechat_success">REVE Chat
17
- is already installed.</div>
18
-
19
- <div id="edit-actions" class="form-actions form-wrapper">
20
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
21
- <input type="submit" class="form-submit button-primary" value="Remove" name="revechat_remove" id="edit-submit">
22
- </div>
23
- </div> -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.3/includes/signup-form.php DELETED
@@ -1,75 +0,0 @@
1
- <div id="revechat_new_account" class="box">
2
-
3
- <h3>Create a new REVE Chat account</h3>
4
- <table class="form-table">
5
- <tr>
6
- <th>
7
- <label for="edit-firstname">
8
- <?php
9
- _e("First Name")
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="text" class="regular-text" name="firstName" id="edit-firstname" placeholder="First Name">
15
- </td>
16
- </tr>
17
-
18
-
19
- <tr>
20
- <th>
21
- <label for="edit-lastname">
22
- <?php
23
- _e("Last Name")
24
- ?>
25
- </label>
26
- </th>
27
- <td>
28
- <input type="text" class="regular-text" name="firstName" id="edit-lastname" placeholder="Last Name">
29
- </td>
30
- </tr>
31
-
32
- <tr>
33
- <th>
34
- <label for="edit-email">
35
- <?php
36
- _e('Email Address')
37
- ?>
38
- </label>
39
-
40
- </th>
41
- <td>
42
- <input type="text" class="regular-text" name="email" id="edit-email" placeholder="Email address">
43
- </td>
44
- </tr>
45
-
46
- <tr>
47
- <th>
48
- <label for="edit-accountpassword">
49
- <?php
50
- _e('Password')
51
- ?>
52
- </label>
53
- </th>
54
- <td>
55
- <input type="password" class="regular-text" name="edit-accountpassword" id="edit-accountpassword" placeholder="Password">
56
- </td>
57
- </tr>
58
-
59
- <tr>
60
- <th>
61
- <label for="edit-retypepassword">
62
- <?php
63
- _e('Confirm your password')
64
- ?>
65
- </label>
66
- </th>
67
- <td>
68
- <input type="password" class="regular-text" name="edit-retypepassword" id="edit-retypepassword" placeholder="Confirm your password">
69
- </td>
70
- </tr>
71
- </table>
72
- <p class="submit">
73
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Create Account') ?>" />
74
- </p>
75
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.3/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/6.1.8/tags/2.0.3/js/revechat-admin.js DELETED
@@ -1,220 +0,0 @@
1
- jQuery.noConflict();
2
- (function($){
3
- var baseUrl = 'https://dashboard.revechat.com/';
4
- var ReveChat ={
5
- init: function () {
6
- this.toggleForms();
7
- this.bindFormSubmit();
8
- },
9
-
10
- toggleForms: function ()
11
- {
12
- var toggleForms = function ()
13
- {
14
- if ($('#new_revechat_account').is(':checked'))
15
- {
16
- $('#revechat_already_have').hide();
17
- $('#revechat_new_account').show();
18
- $('#edit-name').focus();
19
- }
20
- else if ($('#has_revechat_account').is(':checked'))
21
- {
22
- $('#revechat_new_account').hide();
23
- $('#revechat_already_have').show();
24
- $('#edit-revechat-account-email').focus();
25
- }
26
- };
27
- toggleForms();
28
-
29
- $('#revechat_choose_form input').click(toggleForms);
30
- },
31
-
32
- bindFormSubmit: function () {
33
- $('#revechat-admin-settings-form').submit(function(e)
34
- {
35
-
36
- if($('#edit-submit').val() == 'Disconnect'){
37
- $('#revechat_aid').val(0);
38
- $('#revechat-admin-settings-form').submit();
39
- }
40
- if (((parseInt($('#revechat_aid').val()) !== 0) || $('#has_revechat_account').is(':checked')))
41
- {
42
- return ReveChat.alreadyHaveAccountForm();
43
- }
44
- else
45
- {
46
- return ReveChat.newLicenseForm();
47
- }
48
-
49
- });
50
- },
51
-
52
- alreadyHaveAccountForm: function()
53
- {
54
-
55
- if(this.validEmail())
56
- {
57
- if((parseInt($('#revechat_aid').val()) == 0 || $('#revechat_aid').val() == ""))
58
- {
59
- var login = $.trim($('#edit-revechat-account-email').val());
60
- if(!login.length)
61
- {
62
- $('#edit-revechat-account-email').focus();
63
- return false;
64
- }
65
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait&hellip;');
66
-
67
- ReveChat.signIn($('#edit-revechat-account-email').val());
68
- return false;
69
- }
70
- }
71
- else
72
- {
73
- $('#edit-revechat-account-email').focus();
74
- return false;
75
- }
76
- return true;
77
- },
78
- signIn: function (email) {
79
- var signInUrl = baseUrl +'/license/adminId/'+email+'/?callback=?';
80
- $.getJSON(signInUrl,
81
- function(response)
82
- {
83
- if (response.error)
84
- {
85
- alert('Incorrect REVE Chat login');
86
- $('#edit-revechat-account-email').focus();
87
- return false;
88
- }
89
- else
90
- {
91
- $('#revechat_aid').val(response.data.account_id);
92
- $('#revechat-admin-settings-form').submit();
93
- }
94
- });
95
- },
96
- newLicenseForm: function()
97
- {
98
- if (parseInt(($('#revechat_aid').val()) > 0))
99
- {
100
- return true;
101
- }
102
-
103
- if(this.validateNewLicenseForm())
104
- {
105
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
106
- ReveChat.createLicense();
107
- }
108
- return false;
109
- },
110
- createLicense: function()
111
- {
112
-
113
- $('.ajax_message').removeClass('message').addClass('wait').html('Creating new account&hellip;');
114
-
115
- var firstName = $.trim($('#edit-firstname').val());
116
- var lastName = $.trim($('#edit-lastname').val());
117
- var email = $.trim($('#edit-email').val());
118
- var password = $.trim($('#edit-accountpassword').val());
119
- var rePassword = $.trim($('#edit-retypepassword').val());
120
-
121
- var signUpUrl = baseUrl + 'revechat/cms/api/signup.do';
122
-
123
- $.ajax({
124
- data: { 'firstname':firstName, 'lastname':lastName, 'mailAddr':email, 'password':password },
125
- type:'POST',
126
- url:signUpUrl,
127
- dataType: 'json',
128
- cache:false,
129
- success: function(response) {
130
- if(response.status == 'error')
131
- {
132
- $('.ajax_message').removeClass('wait');
133
- alert(response.message);
134
- return false;
135
- }
136
- else if(response.status == 'success')
137
- {
138
- $('#edit-revechat-account-email').val(email);
139
- ReveChat.signIn(email);
140
- return false;
141
- }
142
- }
143
- });
144
- },
145
- validEmail: function()
146
- {
147
- if($('#edit-submit').val() != 'Disconnect')
148
- {
149
- if (/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i.test($('#edit-revechat-account-email').val()) == false)
150
- {
151
- alert ('Please enter a valid email address.');
152
- $('#edit-email').focus();
153
- return false;
154
- }
155
- }
156
- return true;
157
- },
158
-
159
- validateNewLicenseForm: function()
160
- {
161
-
162
- var firstName = $.trim($('#edit-firstname').val());
163
- var lastName = $.trim($('#edit-lastname').val());
164
- var email = $.trim($('#edit-email').val());
165
- var password = $.trim($('#edit-accountpassword').val());
166
- var rePassword = $.trim($('#edit-retypepassword').val());
167
-
168
-
169
-
170
- if (!firstName.length)
171
- {
172
- alert('Please provide your first name.');
173
- $('#edit-firstname').focus();
174
- return false;
175
- }
176
-
177
- if (!lastName.length)
178
- {
179
- alert('Please provide your last name.');
180
- $('#edit-lastname').focus();
181
- return false;
182
- }
183
-
184
- if (!ReveChat.isValidEmailAddress(email))
185
- {
186
- alert('Please provide your valid email address.');
187
- $('#edit-email').focus();
188
- return false;
189
- }
190
-
191
- if(password.length < 6){
192
- alert('Please provide your password. The password must be at least 6 characters long.')
193
- $('#edit-accountpassword').focus();
194
- return false;
195
- }
196
-
197
- if(!rePassword.length || password.length < 6){
198
- alert('Please retype your password.');
199
- $('#edit-retypepassword').focus();
200
- return false;
201
- }
202
-
203
- if(password != rePassword){
204
- alert('Password does not match the confirm password.')
205
- return false;
206
- }
207
-
208
-
209
- return true;
210
- },
211
- isValidEmailAddress: function (emailAddress) {
212
- var pattern = /^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i;
213
- return pattern.test(emailAddress);
214
- },
215
- }
216
- $(document).ready(function()
217
- {
218
- ReveChat.init();
219
- });
220
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.3/readme.txt DELETED
@@ -1,207 +0,0 @@
1
- === Reve Chat ===
2
- Contributors: revechat_official
3
- Tags: chat online, contact plugin, customer support, free chat, chat software, IM chat, live chat, live chat inc, live chat services, live chat software, live chatting, live help, live support, live web chat, livechat, live help, live support, olark, online chat, online support, php live chat, snapengage, support software, website chat, wordpress chat, wordpress live chat, wordpress live chat plugin, ReveChat, REVE Chat, zendesk, Zopim live chat, clickdesk, olark, click desk, visitor analytics, web analytics, lead generation, online leads
4
-
5
- Stable tag: 2.0.2
6
-
7
-
8
- REVE Chat is powerful and intuitive real-time customer engagement software.
9
-
10
- == Description ==
11
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display.
12
-
13
- https://youtu.be/t1dykZ9Tg8U
14
-
15
- In the fast paced ambience of live customer support, the efficient usage of valuable time is the main key to both happy customers and professional management. Traditionally interactions between support agents and customers have been restricted to one-on-one supports over phones or emails. Live chat for customer support has now become the alternative that today's multitasking and net savvy generation is looking for. It offers quick response in real time and higher customer satisfaction which can generate more conversions. In the era of automated customer assistance systems, the chance to chat with a person in real time through your website is a distinct feature. Now just like a sales person in the shop, talk to the visitors of your website in real-time.
16
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use. So place this customizable REVE Chat widget to your business and start getting sales conversion and higher customer satisfaction.
17
-
18
- **Key Features**
19
-
20
- * **Real-time Visitor Info:** Agent as well as Admin can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
21
- * **Proactive Chat:** Proactive chat enables agents to initiate a Chat request from their Chat Window. Moreover Trigger based proactive chat automatically sends customized chat alerts for the visitors on the website.
22
- * **Chat Monitoring:** Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents
23
- * **Click to Call:** Click to call is a powerful solution that can be implemented on REVE Chat to offer real-time voice assistance to online customers. It allows visitor and agent to initiate Voice and Video Call from their Chat window.
24
- * **Queuing:** With this chat software handle chat requests efficiently when all your agents are busy. REVE live chat software gives information to website visitors regarding their waiting time in the chat queue
25
- * **Facebook Integration:** REVE Chat allows you to engage with your potential customers through your company Facebook page. Facebook is very effective tool for business. Smart use of social media increases sales, retention and customer satisfaction. REVE Chat Facebook app makes it easier than ever to engage online visitors. Facebook integration lets customers reach you directly on your Facebook fan page, whether or not you are online, increasing customer happiness and organic marketing and outreach.
26
-
27
- **What makes Reve Chat the best choice for live chat?**
28
-
29
- * A simple and highly customizable Live chat solution
30
- * User friendly interface and Dashboard
31
- * Intuitive Chat Window
32
- * Innovative and unique features
33
- * 24x7 hour live chat support from our trained experts on any weekday (visit revechat.com)
34
-
35
-
36
-
37
- **Some Geeky Facts**
38
-
39
- * Work across major browsers (Internet Explorer 7+, Firefox, Google Chrome, Opera, Safari).
40
- * Average uptime is 99.8%.
41
- * Mobile Optimized Dashboard
42
-
43
-
44
-
45
- Should you need any assistance, feel free to chat with our customer advocates on www.revechat.com or email us at support@revechat.com
46
-
47
-
48
- == Changelog ==
49
-
50
-
51
- = 1.2.0 =
52
-
53
- * Feature: Add the Reve chat widget to your site!
54
- * Feature: Customize look and feel of the widget, including themes and color!
55
-
56
- = 2.0 =
57
- * New Admin Menu page for REVE Chat
58
- * New for integration
59
- * Added link of settings page to display on the plugins page (beside the activate/deactivate links).
60
-
61
- = 2.0.1 =
62
- * Updated chat script
63
-
64
-
65
- = 2.0.3 =
66
- * updated the UI
67
-
68
- == Screenshots ==
69
-
70
- 1. Chat window on your website - active chat
71
- 2. Account Configuration - Link Up
72
- 3. Account Configuration - Linked Up with Launch Dashboard
73
- 4. Dashboard View - Open new browser tab
74
- 5. Widget Customization from Dashboard
75
-
76
- == Frequently Asked Questions ==
77
-
78
- = Do I have to install any software on my server to get this working? =
79
-
80
- REVE Chat plugin need to be installed from your wordpress panel. It is a cloud based live chat software hence it would only activate the script when you install the plugin.
81
-
82
- = Why should I use REVE Chat? =
83
-
84
- REVE chat is a complete online sales and support tool to engage your website visitors. With advanced features such as Click to call, Facebook Chat Integration, Queuing, Chat Monitoring and others, REVE Chat provides full insights to communicate with your visitors to become your loyal customers.
85
-
86
- = Which web browsers work best with this plugin =
87
-
88
- Though it is designed to work on almost all the browsers, REVE Chat works best in the following environment: IE 7+ or later (PC), Firefox 2 or later (Mac, PC, or Linux), Safari 2 or later (Mac), Google Chrome (PC, Mac).
89
-
90
- = I managed to install the plugin but cannot link up to REVE Chat. Why? =
91
-
92
- Please insert required parameter Account ID and Tracking ID into plugin's configuration page.
93
-
94
- = How much is price of REVE Chat? =
95
-
96
- REVE Chat plugin in free to install and it offers a complete 14 days free trial to understand its all features. REVE Chat offers 3 packages
97
- 1. Basic (Free)
98
- 2. Standard
99
- 3. Advanced
100
- Please click here to find out more about pricing
101
- The plugin is completely free to install. However if you want to use Standard and Advanced REVE Chat package then you have to purchase the package.
102
-
103
- = How can I chat with more visitors at the same time? =
104
-
105
- REVE Chat allows unlimited concurrent chats for the paid plans. Hence you can chat with as many visitors as you want at the same time. REVE Chat also allows you to proactively chat with your website visitors before they leave your website
106
-
107
- = How can I take further information regarding REVE Chat? =
108
-
109
- You can find out more at our site at http://www.revechat.com or at support@revechat.com and we will help you with installation.
110
-
111
- = Is there any demo or trial period to do some testing? =
112
-
113
- Yes, defiantly you can use all the features of REVE Chat for 14days in the trial period.
114
-
115
- = Can I customize the REVE Chat window? =
116
-
117
- Yes, REVE Chat window is customizable. Some of the things which you can change in the chat window include:
118
-
119
- * Changing the colour scheme
120
- * Changing the font size
121
- * Chat Widget text
122
- * Offline Widget Text
123
- * Prechat & Post chat form
124
-
125
- = Can I add REVE Chat on more than one website at the same time? =
126
-
127
- Yes, there is no limit on websites for the paid plans. However our free Basic package has limited features and it can be used only on one website.
128
-
129
- == Usage ==
130
-
131
- = Agent management =
132
-
133
- From the dashboard you to keep a track on your agents with its special agent management feature. Here you can add your agents and see all the details like status, last login time, total no of assigned concurrent chat of each and every agent etc. In real time which will help you to manage your support service more efficiently
134
-
135
- = How to configuring a chat operator =
136
-
137
- Please follow the below mentioned directions to manage your agents.
138
- * After logging in to your REVE Chat dash board, click on 'Agent Management' option. Here you will get the below mentioned information:
139
- * List of your agent names
140
- * Roles assigned to each and every agent
141
- * Email address of your agents
142
- * Phone numbers of your agents
143
- * Status of your agents online or offline
144
- * Each and every agent's last login time
145
- * Total number of concurrent chats assigned to each and every agent
146
-
147
-
148
- = Agent creation =
149
-
150
- To create an agent, you need to follow the below mentioned steps:
151
- * Login to your REVE Chat dashboard
152
- * Click on 'Agent Management'
153
- * For adding your agent, click on the 'Create Agent' option
154
- * After that you need to fill up a from mentioning the email address, password, role which you want to assign to the agent, total no of concurrent chats you want to assign to that agent, the agent's first and last name, designation and contact no. After that click on the 'Submit' button
155
-
156
- = Chat Conversation =
157
-
158
- In the conversation box agent can directly engage with visitor. Each message is accompanied by the name of the person who sent that message and a timestamp so you can easily follow the conversation
159
-
160
- = Engaged Visitors =
161
-
162
- In the top left side corner of the panel Chat operator can see all of his on-going chats.
163
-
164
- = Online Agents =
165
-
166
- Chat operator can chat with other operators from the same Chat Window. At the left corner there is a menu called Online Agents. In that menu all the logged in operators name will be shown. By clicking one operator name you can start conversation with him.
167
-
168
- = New Chat Request =
169
-
170
- Agents can see new chat requests from website visitors on the left side corner of their dashboard.
171
-
172
- = Chat Panel =
173
-
174
- The central position is for running conversation. Agent will type from the messaging field and also share file by clicking attachment file. There are some other fields in the chat panel.
175
- * History: Agent can see all the previous chat conversations of that particular visitors.
176
- * Chat Transfer: Agent can easily transfer a chat to other agent. This transfer chat option is available in the chat window itself. Agent can click on it and select to whom he wants to transfer the chat. The new chat agent can take over the current live chat conversation without breaking the chat session
177
- * Visitor Info: Agent can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
178
- * Map: During the chat session chat operator can see the visitor real time location map.
179
-
180
- = Online Visitors =
181
-
182
- In the online visitor list agent can see all the web visitors who are currently viewing your websites. You can see their current viewing page, city name and visiting time. Besides you can also send a proactive chat request to the visitor to know whether they need any sort of help or not.
183
-
184
- = Queued Visitor =
185
-
186
- Queued Visitor list will show who is the visitors is waiting for Live Chat. It gives information to your website visitors regarding their waiting time in chat queue and sets accurate response time expectations.
187
-
188
- = Monitoring Panel =
189
-
190
- Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents.
191
-
192
-
193
-
194
- == Installation ==
195
-
196
- *Server Requirements:* PHP4 or PHP5.
197
-
198
- *Wordpress versions:* Wordpress 2.7 and up.
199
-
200
- = Step-by-step Guide =
201
- * Search Plugin from Wordpress Directory
202
- * Install REVE Chat plugin
203
- * Copy Account ID and Tracking ID from integration page
204
- * Paste it REVE Chat Plugins setting page
205
- * Customize the chat widget to your preference.
206
- * Finally, make full use of our intuitive Dashboard to manage your chat widget.
207
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.3/revechat.php DELETED
@@ -1,162 +0,0 @@
1
- <?php
2
- /*
3
- Plugin Name: Reve Chat
4
- Description: REVE Chat is a powerful and intuitive real-time customer engagement software. As a customer support software, REVE Chat puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This live chat service helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use.
5
- Version: 2.0.3
6
- Author: ReveChat
7
- Author URI: www.revechat.com
8
- License: GPL2
9
- */
10
- if(!class_exists('WP_Plugin_Revechat'))
11
- {
12
- class WP_Plugin_Revechat
13
- {
14
- /**
15
- * Construct the plugin object
16
- */
17
- public function __construct()
18
- {
19
- // Plugin Details
20
- $this->plugin = new stdClass;
21
- $this->plugin->name = 'revechat'; // Plugin Folder
22
- $this->plugin->displayName = 'ReveChat'; // Plugin Name
23
- $this->plugin->version = '2.0.1';
24
-
25
- // Hooks
26
- add_action('admin_init', array(&$this, 'registerSettings'));
27
- //add_action('admin_menu', array(&$this, 'adminPanels'));
28
-
29
- add_action('wp_head', array(&$this, 'frontendHeader'));
30
- add_filter( 'plugin_action_links_' . plugin_basename(__FILE__), array(&$this,'add_action_links') );
31
-
32
- // Add Menu Page
33
- add_action('admin_menu',array($this,'admin_menu'));
34
-
35
- //enqueue scripts
36
- add_action('admin_enqueue_scripts',array($this,'admin_scripts'));
37
- } // END public function __construct
38
-
39
- /**
40
- * Activate the frontendHeader
41
- */
42
- public static function frontendHeader()
43
- {
44
- $accountId = get_option('revechat_accountid' , '');
45
- if( (isset($accountId) && !empty($accountId)) ) {
46
-
47
- $script = "<script type='text/javascript'>";
48
- $script .= 'window.$_REVECHAT_API || (function(d, w) { var r = $_REVECHAT_API = function(c) {r._.push(c);}; w.__revechat_account=\''.$accountId.'\';w.__revechat_version=2;
49
- r._= []; var rc = d.createElement(\'script\'); rc.type = \'text/javascript\'; rc.async = true; rc.setAttribute(\'charset\', \'utf-8\');
50
- rc.src = (\'https:\' == document.location.protocol ? \'https://\' : \'http://\') + \'static.revechat.com/widget/scripts/new-livechat.js?\'+new Date().getTime();
51
- var s = d.getElementsByTagName(\'script\')[0]; s.parentNode.insertBefore(rc, s);
52
- })(document, window);';
53
-
54
- $script .='</script>';
55
-
56
- echo $script ;
57
-
58
- }
59
-
60
- } // END public static function activate
61
- /*
62
- * show parameter section
63
- */
64
- public function registerSettings(){
65
- register_setting($this->plugin->name, 'revechat_accountid', 'trim');
66
- register_setting($this->plugin->name, 'revechat_trackingid', 'trim');
67
- }
68
- /*
69
- * admin panel
70
- */
71
- public function adminPanels(){
72
- //add_options_page("ReveChat Dashboard" , "ReveChat" , "read" , "reveChatOptions");
73
- // Add a new submenu under Settings:
74
- add_options_page(__('ReveChat Dashboard','revechat-settings'), __('ReveChat Settings','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions') );
75
- }
76
- /*
77
- * revechat options
78
- */
79
- public function reveChatOptions(){
80
- if ( !current_user_can( 'manage_options' ) ) {
81
- wp_die( __( 'You do not have sufficient permissions to access this page.' ) );
82
- }
83
- // variables for the field and option names
84
- $accountId = 'revechat_accountid';
85
-
86
- // Read in existing option value from database
87
- $val_accountId = get_option( $accountId );
88
-
89
- if( isset($_POST[ $accountId ])){
90
-
91
- // Read in existing option value from POST
92
- $val_accountId = $_POST[ $accountId ];
93
- update_option( $accountId , $val_accountId );
94
- ?>
95
- <div class="updated" xmlns="http://www.w3.org/1999/html"><p><strong><?php _e('Settings saved.', 'revechat-menu' ); ?></strong></p></div>
96
- <?php
97
- }
98
- ?>
99
- <div class="wrap" id="revechat">
100
-
101
- <div>
102
- <div class="reve-chat-logo">
103
- <img src="<?php echo plugin_dir_url( __FILE__ )."images/logo.png";?>" alt="REVE Chat">
104
- </div>
105
-
106
- <form name="form1" id="revechat-admin-settings-form" method="post" action="">
107
-
108
- <?php
109
- if(isset($val_accountId) && $val_accountId != 0){
110
- require (plugin_dir_path( __FILE__ )."includes/remove-form.php");
111
- return;
112
- }
113
-
114
- require (plugin_dir_path( __FILE__ )."includes/choose-form.php");
115
- ?>
116
- <div class="form-item form-type-item" id="edit-ajax-message">
117
- <p class="ajax_message"></p>
118
- </div>
119
- <?php
120
- require (plugin_dir_path( __FILE__ )."includes/login-form.php");
121
- require (plugin_dir_path( __FILE__ )."includes/signup-form.php");
122
- ?>
123
-
124
-
125
-
126
- </form>
127
- </div>
128
- </div>
129
-
130
- <?php
131
- }
132
-
133
- public function admin_menu()
134
- {
135
- // add_menu_page( string $page_title, string $menu_title, string $capability, string $menu_slug, callable $function = '', string $icon_url = '', int $position = null )
136
- add_menu_page(__('ReveChat Dashboard','revechat-settings'), __('REVE Chat','menu-revechat'), 'manage_options', 'revechatsettings', array($this , 'reveChatOptions'), plugin_dir_url( __FILE__ )."images/favicon.png");
137
-
138
- }
139
-
140
- /**
141
- * Deactivate the plugin
142
- */
143
- public static function deactivate()
144
- {
145
- delete_option('revechat_accountid');
146
- } // END public static function deactivate
147
-
148
- public function admin_scripts(){
149
- wp_enqueue_script( 'revechat-admin-script', plugin_dir_url( __FILE__ ) . '/js/revechat-admin.js' );
150
- wp_enqueue_style( 'custom_wp_admin_css',plugin_dir_url( __FILE__ ).'css/admin-styles.css' );
151
- }
152
-
153
- function add_action_links ( $links ) {
154
- $menu_link = array(
155
- '<a href="' . admin_url( 'admin.php?page=revechatsettings' ) . '">Settings</a>',
156
- );
157
- return array_merge( $links, $menu_link );
158
- }
159
- } // END class WP_Plugin_Revechat
160
- } // END if(!class_exists('WP_Plugin_Revechat'))
161
- $revechat = new WP_Plugin_Revechat ;
162
- register_deactivation_hook( __FILE__, array( 'WP_Plugin_Revechat', 'deactivate' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.3/screenshot-1.jpg DELETED
Binary file
tags/6.1.8/tags/2.0.3/screenshot-2.jpg DELETED
Binary file
tags/6.1.8/tags/2.0.3/screenshot-3.jpg DELETED
Binary file
tags/6.1.8/tags/2.0.3/screenshot-4.jpg DELETED
Binary file
tags/6.1.8/tags/2.0.4/css/admin-styles.css DELETED
@@ -1,109 +0,0 @@
1
- #revechat ul#revechat_choose_form{}
2
- #revechat ul#revechat_choose_form li{
3
- list-style: none;
4
- display: block;
5
- }
6
- #revechat ul#revechat_choose_form li label{
7
- display: inline-block;
8
- }
9
- #revechat .revechat_email_error{
10
- color: red;
11
- }
12
- #revechat .ajax_message {
13
- display: none;
14
- background: url(ajax_loader.gif) no-repeat 24px 51%;
15
- padding: 0;
16
- margin-top: 1em;
17
- }
18
- #revechat .ajax_message.wait,
19
- #revechat .ajax_message.message
20
- {
21
- display: block;
22
- font-size: 1.2em;
23
- padding: 20px;
24
- box-shadow: 2px 2px 2px rgba(0,0,0,.2);
25
- }
26
- #revechat .ajax_message.wait {
27
- text-indent: 28px;
28
- background-color: #fff;
29
- }
30
- #revechat .ajax_message.message {
31
- background-image: none;
32
- text-indent: 0px;
33
- }
34
-
35
- #revechat .ajax_message.message.alert{
36
- background-color: #f2dede;
37
- border-color: #ebccd1;
38
- color: #a94442;
39
- padding: 20px;
40
- }
41
- #revechat .ajax_message.message.success{
42
- background-color: #dff0d8;
43
- border: 1px solid #dff0d8;
44
- color: #3c763d;
45
- padding: 20px;
46
- }
47
- #revechat .revechat_success_message{
48
- background: #ffffff;
49
- padding: 50px;
50
- height: auto;
51
- font-size: 1.5em;
52
- border-bottom: 5px solid #F16915;
53
- -webkit-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
54
- -moz-box-shadow: 0px 0px 6px rgba(0,0,0,.3);
55
- box-shadow: 0px 0px 6px rgba(0,0,0,.3);
56
- }
57
- #revechat .revechat_success_message h3{
58
- font-weight: bold;
59
- border-bottom: 1px solid #B1B4B9;
60
- padding-bottom: 20px;
61
- line-height: 2em;
62
- }
63
- #revechat .messages.revechat_success{
64
- background-color: #dff0d8;
65
- border: 1px solid #bee99a;
66
- color: #3c763d;
67
- padding: 20px;
68
- margin-bottom: 30px;
69
- font-weight: 600;
70
- }
71
- #revechat .form-submit{
72
- background: #FF5800 none repeat scroll 0 0;
73
- border-color: #bd4302 #ab3c02 #ab3c02;
74
- -webkit-box-shadow: 0 1px 0 #ab3c02;
75
- box-shadow: 0 1px 0 #ab3c02;
76
- color: #fff;
77
- text-decoration: none;
78
- text-shadow: 0 -1px 1px #ab3c02,1px 0 1px #ab3c02,0 1px 1px #ab3c02,-1px 0 1px #ab3c02;
79
- }
80
- #revechat .box {
81
- background: #ffffff;
82
- border: 1px solid #e5e5e5;
83
- padding: 20px;
84
- margin-bottom: 50px;
85
- }
86
- #revechat #revechat-admin-settings-form {
87
- padding: 18px;
88
- }
89
- #revechat fieldset {
90
- border: 1px solid #c0c0c0;
91
- margin-top: 20px;
92
- }
93
- #revechat #revechat_already_have > h3 {
94
- margin-top: 19px;
95
- }
96
- #revechat ul#revechat_choose_form li {
97
- display: block;
98
- list-style: outside none none;
99
- padding-left: 20px;
100
- }
101
-
102
- #revechat .form-item > label {
103
- display: table;
104
- margin-bottom: 11px;
105
- margin-top: 20px;
106
- }
107
- #revechat input.form-submit{
108
- cursor: pointer;
109
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.4/css/ajax_loader.gif DELETED
Binary file
tags/6.1.8/tags/2.0.4/images/favicon.png DELETED
Binary file
tags/6.1.8/tags/2.0.4/images/logo.png DELETED
Binary file
tags/6.1.8/tags/2.0.4/includes/choose-form.php DELETED
@@ -1,13 +0,0 @@
1
- <div id="edit-choose-form" class="box">
2
- <h3>Do you already have a REVE Chat account?</h3>
3
- <ul id="revechat_choose_form">
4
- <li>
5
- <input type="radio" checked="checked" id="has_revechat_account" name="revechat_choose_form">
6
- <label for="has_revechat_account">Yes, I already have a REVE Chat account</label>
7
- </li>
8
- <li>
9
- <input type="radio" id="new_revechat_account" name="revechat_choose_form">
10
- <label for="new_revechat_account">No, I want to create one</label>
11
- </li>
12
- </ul>
13
- </div><!-- Edit Choose Form -->
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.4/includes/login-form.php DELETED
@@ -1,23 +0,0 @@
1
- <div id="revechat_already_have" class="box">
2
- <h3>Account Details</h3>
3
- <table class="form-table">
4
- <tbody>
5
- <tr>
6
- <th>
7
- <label for="edit-revechat-account-email">
8
- <?php
9
- _e("REVE Chat login email");
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="email" class="revechat_account_email regular-text" name="revechat_account_email" id="edit-revechat-account-email" placeholder="Enter your email address">
15
- <input type="hidden" name="<?php echo $accountId; ?>" value="<?php echo $val_accountId; ?>" id="revechat_aid">
16
- </td>
17
- </tr>
18
- </tbody>
19
- </table>
20
- <p class="submit">
21
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes') ?>" />
22
- </p>
23
- </div><!-- revechat_already_have -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.4/includes/remove-form.php DELETED
@@ -1,23 +0,0 @@
1
- <div class="box">
2
- <h3>REVE Chat has been installed.</h3>
3
- <p>Sign in to REVE Chat Dashboard and start chatting with your customers.</p>
4
- <p><a href="https://dashboard.revechat.com" class="form-submit button-primary" target="_blank">Go to Dashboard</a></p>
5
-
6
- <div id="edit-actions" class="form-actions form-wrapper">
7
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
8
- <p><small>Something went wrong? <input type="submit" style="background: transparent; border: 0; text-decoration: underline;text-transform: lowercase; font-size: 10px; cursor: pointer;" value="Disconnect" name="revechat_remove" id="edit-submit"></small></p>
9
- </div>
10
- </div>
11
-
12
-
13
-
14
- <!--
15
- <div>
16
- <div class="messages revechat_success">REVE Chat
17
- is already installed.</div>
18
-
19
- <div id="edit-actions" class="form-actions form-wrapper">
20
- <input type="hidden" name="<?php echo $accountId; ?>" value="0" id="revechat_aid">
21
- <input type="submit" class="form-submit button-primary" value="Remove" name="revechat_remove" id="edit-submit">
22
- </div>
23
- </div> -->
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.4/includes/signup-form.php DELETED
@@ -1,75 +0,0 @@
1
- <div id="revechat_new_account" class="box">
2
-
3
- <h3>Create a new REVE Chat account</h3>
4
- <table class="form-table">
5
- <tr>
6
- <th>
7
- <label for="edit-firstname">
8
- <?php
9
- _e("First Name")
10
- ?>
11
- </label>
12
- </th>
13
- <td>
14
- <input type="text" class="regular-text" name="firstName" id="edit-firstname" placeholder="First Name">
15
- </td>
16
- </tr>
17
-
18
-
19
- <tr>
20
- <th>
21
- <label for="edit-lastname">
22
- <?php
23
- _e("Last Name")
24
- ?>
25
- </label>
26
- </th>
27
- <td>
28
- <input type="text" class="regular-text" name="firstName" id="edit-lastname" placeholder="Last Name">
29
- </td>
30
- </tr>
31
-
32
- <tr>
33
- <th>
34
- <label for="edit-email">
35
- <?php
36
- _e('Email Address')
37
- ?>
38
- </label>
39
-
40
- </th>
41
- <td>
42
- <input type="text" class="regular-text" name="email" id="edit-email" placeholder="Email address">
43
- </td>
44
- </tr>
45
-
46
- <tr>
47
- <th>
48
- <label for="edit-accountpassword">
49
- <?php
50
- _e('Password')
51
- ?>
52
- </label>
53
- </th>
54
- <td>
55
- <input type="password" class="regular-text" name="edit-accountpassword" id="edit-accountpassword" placeholder="Password">
56
- </td>
57
- </tr>
58
-
59
- <tr>
60
- <th>
61
- <label for="edit-retypepassword">
62
- <?php
63
- _e('Confirm your password')
64
- ?>
65
- </label>
66
- </th>
67
- <td>
68
- <input type="password" class="regular-text" name="edit-retypepassword" id="edit-retypepassword" placeholder="Confirm your password">
69
- </td>
70
- </tr>
71
- </table>
72
- <p class="submit">
73
- <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Create Account') ?>" />
74
- </p>
75
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.4/index.html DELETED
@@ -1 +0,0 @@
1
- <!DOCTYPE html><title></title>
 
tags/6.1.8/tags/2.0.4/js/revechat-admin.js DELETED
@@ -1,220 +0,0 @@
1
- jQuery.noConflict();
2
- (function($){
3
- var baseUrl = 'https://dashboard.revechat.com/';
4
- var ReveChat ={
5
- init: function () {
6
- this.toggleForms();
7
- this.bindFormSubmit();
8
- },
9
-
10
- toggleForms: function ()
11
- {
12
- var toggleForms = function ()
13
- {
14
- if ($('#new_revechat_account').is(':checked'))
15
- {
16
- $('#revechat_already_have').hide();
17
- $('#revechat_new_account').show();
18
- $('#edit-name').focus();
19
- }
20
- else if ($('#has_revechat_account').is(':checked'))
21
- {
22
- $('#revechat_new_account').hide();
23
- $('#revechat_already_have').show();
24
- $('#edit-revechat-account-email').focus();
25
- }
26
- };
27
- toggleForms();
28
-
29
- $('#revechat_choose_form input').click(toggleForms);
30
- },
31
-
32
- bindFormSubmit: function () {
33
- $('#revechat-admin-settings-form').submit(function(e)
34
- {
35
-
36
- if($('#edit-submit').val() == 'Disconnect'){
37
- $('#revechat_aid').val(0);
38
- $('#revechat-admin-settings-form').submit();
39
- }
40
- if (((parseInt($('#revechat_aid').val()) !== 0) || $('#has_revechat_account').is(':checked')))
41
- {
42
- return ReveChat.alreadyHaveAccountForm();
43
- }
44
- else
45
- {
46
- return ReveChat.newLicenseForm();
47
- }
48
-
49
- });
50
- },
51
-
52
- alreadyHaveAccountForm: function()
53
- {
54
-
55
- if(this.validEmail())
56
- {
57
- if((parseInt($('#revechat_aid').val()) == 0 || $('#revechat_aid').val() == ""))
58
- {
59
- var login = $.trim($('#edit-revechat-account-email').val());
60
- if(!login.length)
61
- {
62
- $('#edit-revechat-account-email').focus();
63
- return false;
64
- }
65
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait&hellip;');
66
-
67
- ReveChat.signIn($('#edit-revechat-account-email').val());
68
- return false;
69
- }
70
- }
71
- else
72
- {
73
- $('#edit-revechat-account-email').focus();
74
- return false;
75
- }
76
- return true;
77
- },
78
- signIn: function (email) {
79
- var signInUrl = baseUrl +'/license/adminId/'+email+'/?callback=?';
80
- $.getJSON(signInUrl,
81
- function(response)
82
- {
83
- if (response.error)
84
- {
85
- alert('Incorrect REVE Chat login');
86
- $('#edit-revechat-account-email').focus();
87
- return false;
88
- }
89
- else
90
- {
91
- $('#revechat_aid').val(response.data.account_id);
92
- $('#revechat-admin-settings-form').submit();
93
- }
94
- });
95
- },
96
- newLicenseForm: function()
97
- {
98
- if (parseInt(($('#revechat_aid').val()) > 0))
99
- {
100
- return true;
101
- }
102
-
103
- if(this.validateNewLicenseForm())
104
- {
105
- $('.ajax_message').removeClass('message').addClass('wait').html('Please wait...');
106
- ReveChat.createLicense();
107
- }
108
- return false;
109
- },
110
- createLicense: function()
111
- {
112
-
113
- $('.ajax_message').removeClass('message').addClass('wait').html('Creating new account&hellip;');
114
-
115
- var firstName = $.trim($('#edit-firstname').val());
116
- var lastName = $.trim($('#edit-lastname').val());
117
- var email = $.trim($('#edit-email').val());
118
- var password = $.trim($('#edit-accountpassword').val());
119
- var rePassword = $.trim($('#edit-retypepassword').val());
120
-
121
- var signUpUrl = baseUrl + 'revechat/cms/api/signup.do';
122
-
123
- $.ajax({
124
- data: { 'firstname':firstName, 'lastname':lastName, 'mailAddr':email, 'password':password, 'utm_source':'cms', 'utm_content':'wordpress', 'referrer':'https://wordpress.org/plugins/' },
125
- type:'POST',
126
- url:signUpUrl,
127
- dataType: 'json',
128
- cache:false,
129
- success: function(response) {
130
- if(response.status == 'error')
131
- {
132
- $('.ajax_message').removeClass('wait');
133
- alert(response.message);
134
- return false;
135
- }
136
- else if(response.status == 'success')
137
- {
138
- $('#edit-revechat-account-email').val(email);
139
- ReveChat.signIn(email);
140
- return false;
141
- }
142
- }
143
- });
144
- },
145
- validEmail: function()
146
- {
147
- if($('#edit-submit').val() != 'Disconnect')
148
- {
149
- if (/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,6}$/i.test($('#edit-revechat-account-email').val()) == false)
150
- {
151
- alert ('Please enter a valid email address.');
152
- $('#edit-email').focus();
153
- return false;
154
- }
155
- }
156
- return true;
157
- },
158
-
159
- validateNewLicenseForm: function()
160
- {
161
-
162
- var firstName = $.trim($('#edit-firstname').val());
163
- var lastName = $.trim($('#edit-lastname').val());
164
- var email = $.trim($('#edit-email').val());
165
- var password = $.trim($('#edit-accountpassword').val());
166
- var rePassword = $.trim($('#edit-retypepassword').val());
167
-
168
-
169
-
170
- if (!firstName.length)
171
- {
172
- alert('Please provide your first name.');
173
- $('#edit-firstname').focus();
174
- return false;
175
- }
176
-
177
- if (!lastName.length)
178
- {
179
- alert('Please provide your last name.');
180
- $('#edit-lastname').focus();
181
- return false;
182
- }
183
-
184
- if (!ReveChat.isValidEmailAddress(email))
185
- {
186
- alert('Please provide your valid email address.');
187
- $('#edit-email').focus();
188
- return false;
189
- }
190
-
191
- if(password.length < 6){
192
- alert('Please provide your password. The password must be at least 6 characters long.')
193
- $('#edit-accountpassword').focus();
194
- return false;
195
- }
196
-
197
- if(!rePassword.length || password.length < 6){
198
- alert('Please retype your password.');
199
- $('#edit-retypepassword').focus();
200
- return false;
201
- }
202
-
203
- if(password != rePassword){
204
- alert('Password does not match the confirm password.')
205
- return false;
206
- }
207
-
208
-
209
- return true;
210
- },
211
- isValidEmailAddress: function (emailAddress) {
212
- var pattern = /^([a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+(\.[a-z\d!#$%&'*+\-\/=?^_`{|}~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+)*|"((([ \t]*\r\n)?[ \t]+)?([\x01-\x08\x0b\x0c\x0e-\x1f\x7f\x21\x23-\x5b\x5d-\x7e\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|\\[\x01-\x09\x0b\x0c\x0d-\x7f\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))*(([ \t]*\r\n)?[ \t]+)?")@(([a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\d\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.)+([a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF][a-z\d\-._~\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]*[a-z\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])\.?$/i;
213
- return pattern.test(emailAddress);
214
- },
215
- }
216
- $(document).ready(function()
217
- {
218
- ReveChat.init();
219
- });
220
- })(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
tags/6.1.8/tags/2.0.4/readme.txt DELETED
@@ -1,213 +0,0 @@
1
- === REVE Chat - WP live chat plugin for WordPress ===
2
- Contributors: revechat
3
- Tags: free chat, tawk.to, live chat, live chat software, live support, chat plugin, chat, video chat, voice chat
4
- Requires at least: 2.7
5
- Tested up to: 4.9.1
6
-
7
-
8
- REVE Chat is powerful and intuitive real-time customer engagement software.
9
-
10
- == Description ==
11
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display.
12
-
13
- https://youtu.be/t1dykZ9Tg8U
14
-
15
- In the fast paced ambience of live customer support, the efficient usage of valuable time is the main key to both happy customers and professional management. Traditionally interactions between support agents and customers have been restricted to one-on-one supports over phones or emails. Live chat for customer support has now become the alternative that today's multitasking and net savvy generation is looking for. It offers quick response in real time and higher customer satisfaction which can generate more conversions. In the era of automated customer assistance systems, the chance to chat with a person in real time through your website is a distinct feature. Now just like a sales person in the shop, talk to the visitors of your website in real-time.
16
- REVE Chat is powerful and intuitive real-time customer engagement software. It puts a live person on your website to personally guide and help your visitors, while they go through the various sections of your digital display. This helps them to get the most out of your web presence, while allowing you to understand their diverse needs on a one-to-one basis. REVE Chat is easy to install and use. So place this customizable REVE Chat widget to your business and start getting sales conversion and higher customer satisfaction.
17
-
18
- **Key Features**
19
-
20
- * **Real-time Visitor Info:** Agent as well as Admin can see real time visitor information. It enables you to track the website visitor's country, city, appropriate location, IP address, ISP (Internet Service Provider), total time spent in your website, and referral website
21
- * **Proactive Chat:** Proactive chat enables agents to initiate a Chat request from their Chat Window. Moreover Trigger based proactive chat automatically sends customized chat alerts for the visitors on the website.
22
- * **Chat Monitoring:** Admin can monitor which agents are chatting and the detailed chat conversations between your website visitors and agents in real-time. Admin can also whisper the agent if they give any wrong information. Here you can monitor the chat conversation between agents and website visitors and among your agents
23
- * **Click to Call:** Click to call is a powerful solution that can be implemented on REVE Chat to offer real-time voice assistance to online customers. It allows visitor and agent to initiate Voice and Video Call from their Chat window.
24
- * **Queuing:** With this chat software handle chat requests efficiently when all your agents are busy. REVE live chat software gives information to website visitors regarding their waiting time in the chat queue
25
- * **Facebook Integration:** REVE Chat allows you to engage with your potential customers through your company Facebook page. Facebook is very effective tool for business. Smart use of social media increases sales, retention and customer satisfaction. REVE Chat Facebook app makes it easier than ever to engage online visitors. Facebook integration lets customers reach you directly on your Facebook fan page, whether or not you are online, increasing customer happiness and organic marketing and outreach.
26
-
27
-
28
- **What makes Reve Chat the best choice for live chat?**
29
-
30
- * A simple and highly customizable Live chat solution
31
- * User friendly interface and Dashboard
32
- * Intuitive Chat Window
33
- * Innovative and unique features
34
- * 24x7 hour live chat support from our trained experts on any weekday (visit revechat.com)
35
-
36
-
37
- **Supported Language**
38
-
39
- * Arabic | Bangla | Chinese | Dutch | English | French| German | Hindi | Italian | Japanese | Korean | Malay | Polish | Portuguese | Romanian | Russian | Spanish | Swedish | Tagalog | Turkish | Vietnamese
40
-
41
-
42
- **Some Geeky Facts**
43
-
44
- * Work across major browsers (Internet Explorer 7+, Firefox, Google Chrome, Opera, Safari).
45
- * Average uptime is 99.8%.
46
- * Mobile Optimized Dashboard
47
-
48
-
49
-
50
- Should you need any assistance, feel free to chat with our customer advocates on www.revechat.com or email us at support@revechat.com
51
-
52
-
53
- == Changelog ==
54
-
55
-
56
- = 1.2.0 =
57
-
58
- * Feature: Add the Reve chat widget to your site!
59
- * Feature: Customize look and feel of the widget, including themes and color!
60
-
61
- = 2.0 =
62
- * New Admin Menu page for REVE Chat
63
- * New for integration
64
- * Added link of settings page to display on the plugins page (beside the activate/deactivate links).
65
-
66
- = 2.0.1 =
67
- * Updated chat script
68
-
69
- = 2.0.3 =
70
- * updated the UI
71
-
72
-
73
- == Screenshots ==
74
-
75
- 1. Chat window on your website - active chat
76
- 2. Account Configuration - Link Up
77
- 3. Account Configuration - Linked Up with Launch Dashboard
78
- 4. Dashboard View - Open new browser tab
79
- 5. Widget Customization from Dashboard
80
-
81
- == Frequently Asked Questions ==
82
-
83
- = Do I have to install any software on my server to get this working? =
84
-
85
- REVE Chat plugin need to be installed from your wordpress panel. It is a cloud based live chat software hence it would only activate the script when you install the plugin.
86
-
87
- = Why should I use REVE Chat? =
88
-
89
- REVE chat is a complete online sales and support tool to engage your website visitors. With advanced features such as Click to call, Facebook Chat Integration, Queuing, Chat Monitoring and others, REVE Chat provides full insights to communicate with your visitors to become your loyal customers.
90
-
91
- = Which web browsers work best with this plugin =
92
-
93
- Though it is designed to work on almost all the browsers, REVE Chat works best in the following environment: IE 7+ or later (PC), Firefox 2 or later (Mac, PC, or Linux), Safari 2 or later (Mac), Google Chrome (PC, Mac).
94
-
95
- = I managed to install the plugin but cannot link up to REVE Chat. Why? =
96
-
97
- Please insert required parameter Account ID and Tracking ID into plugin's configuration page.
98
-
99
- = How much is price of REVE Chat? =
100
-
101
- REVE Chat plugin in free to install and it offers a complete 14 days free trial to understand its all features. REVE Chat offers 3 packages
102
- 1. Basic (Free)
103
- 2. Standard
104
- 3. Advanced
105
- Please click here to find out more about pricing
106
- The plugin is completely free to install. However if you want to use Standard and Advanced REVE Chat package then you have to purchase the package.
107
-
108
- = How can I chat with more visitors at the same time? =
109
-
110
- REVE Chat allows unlimited concurrent chats for the paid plans. Hence you can chat with as many visitors as you want at the same time. REVE Chat also allows you to proactively chat with your website visitors before they leave your website
111
-
112
- = How can I take further information regarding REVE Chat? =
113
-
114
- You can find out more at our site at http://www.revechat.com or at support@revechat.com and we will help you with installation.
115
-
116
- = Is there any demo or trial period to do some testing? =
117
-
118
- Yes, defiantly you can use all the features of REVE Chat for 14days in the trial period.
119
-
120
- = Can I customize the REVE Chat window? =
121
-
122
- Yes, REVE Chat window is customizable