{"id":247527,"date":"2025-10-11T07:50:31","date_gmt":"2025-10-11T07:50:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/parschat\/"},"modified":"2026-10-18T11:05:37","modified_gmt":"2026-10-18T11:05:37","slug":"parschat","status":"publish","type":"plugin","link":"https:\/\/ps.wordpress.org\/plugins\/parschat\/","author":23350080,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.2.2","stable_tag":"1.2.2","tested":"7.1.3","requires":"5.0","requires_php":"7.4","requires_plugins":null,"header_name":"ParsChat","header_author":"ParsTech AI","header_description":"Connect your website to the ParsChat intelligent bot","assets_banners_color":"fcfdff","last_updated":"2026-10-18 11:05:37","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/parstechai.com\/products\/parschat\/","header_author_uri":"https:\/\/parstechai.com","rating":0,"author_block_rating":0,"active_installs":20,"downloads":786,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"parstechai","date":"2025-10-11 07:51:11","revision":3376559},"1.1.0":{"tag":"1.1.0","author":"parstechai","date":"2025-12-02 08:22:31","revision":3407639},"1.2.0":{"tag":"1.2.0","author":"parstechai","date":"2026-10-17 10:59:58","revision":3751821},"1.2.1":{"tag":"1.2.1","author":"parstechai","date":"2026-10-17 11:28:08","revision":3751858},"1.2.2":{"tag":"1.2.2","author":"parstechai","date":"2026-10-18 11:05:37","revision":3752930}},"upgrade_notice":{"1.2.2":"<p>Fixes the chat button not appearing after updating to 1.2.0 or 1.2.1. Update right away.<\/p>","1.2.0":"<p>Fixes the chatbot disappearing after updates from 1.0.0 and when caching plugins are active. Recommended for all sites.<\/p>"},"ratings":[],"assets_icons":{"icon.svg":{"filename":"icon.svg","revision":3377323,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3377323,"resolution":"1544x500","location":"assets","locale":"","width":6176,"height":2000},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3377314,"resolution":"772x250","location":"assets","locale":"","width":3088,"height":1000}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.1.0","1.2.0","1.2.1","1.2.2"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[191735,5707,2364,2369,2379],"plugin_category":[41],"plugin_contributors":[249037],"plugin_business_model":[],"class_list":["post-247527","plugin","type-plugin","status-publish","hentry","plugin_tags-ai-chatbot","plugin_tags-chat","plugin_tags-chatbot","plugin_tags-customer-support","plugin_tags-live-chat","plugin_category-communication","plugin_contributors-parstechai","plugin_committers-parstechai"],"banners":{"banner":"https:\/\/ps.w.org\/parschat\/assets\/banner-772x250.png?rev=3377314","banner_2x":"https:\/\/ps.w.org\/parschat\/assets\/banner-1544x500.png?rev=3377323","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/parschat\/assets\/icon.svg?rev=3377323","icon":"https:\/\/ps.w.org\/parschat\/assets\/icon.svg?rev=3377323","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>ParsChat connects your website to the ParsChat AI chatbot. After you paste the bot token from your ParsChat account, a chat button appears on every page of your site and visitors can talk to your bot or your operators directly.<\/p>\n\n<ul>\n<li>Works with any theme. The chat window is isolated from your theme's styles.<\/li>\n<li>Full support for Persian (right-to-left) and English.<\/li>\n<li>Clears the page cache of WP Rocket, WP Super Cache, LiteSpeed Cache, W3 Total Cache, SiteGround Optimizer, WP Fastest Cache and Autoptimize when you change the token, so visitors see the change right away.<\/li>\n<\/ul>\n\n<p>The admin page is available in English and Persian.<\/p>\n\n<h3>External services<\/h3>\n\n<p>This plugin does not work on its own: it loads the ParsChat chat widget, which connects to the services below. Nothing is loaded until you register a bot token, and nothing is loaded in the WordPress admin.<\/p>\n\n<p><strong>ParsChat widget and chat service (ParsTech AI)<\/strong><\/p>\n\n<ul>\n<li>What it is: the chat window itself, the libraries and Persian font it uses, and the service that answers your visitors.<\/li>\n<li>What is sent and when: on every front-end page view, the visitor's browser downloads the widget from <code>https:\/\/minio.parstechai.com\/pars-prod-pub\/plugin\/parschat_plugin_main.js<\/code>, and the widget then downloads its helper libraries (text formatting, live connection and DOMPurify, which displays messages safely) and the Vazirmatn font from <code>https:\/\/minio.parstechai.com\/pars-prod-pub\/plugin\/<\/code>. Both are ParsTech AI's own storage, and only the usual request data (IP address, browser user agent, referring page) is sent there. The widget then sends your bot token, the address of the page being viewed, the visitor's browser and operating system details, their public IP address and any messages or files the visitor sends in the chat to <code>https:\/\/api-chat.parstechai.com\/<\/code>.<\/li>\n<li>Provider: ParsTech AI, https:\/\/parstechai.com\/products\/parschat\/<\/li>\n<\/ul>\n\n<p><strong>jsDelivr CDN (backup only)<\/strong><\/p>\n\n<ul>\n<li>What it is: a public CDN that holds the same DOMPurify library and Vazirmatn font.<\/li>\n<li>What is sent and when: the visitor's browser contacts <code>https:\/\/cdn.jsdelivr.net\/<\/code> only if ParsChat's own storage cannot be reached. Only the usual request data is sent.<\/li>\n<li>Terms: https:\/\/www.jsdelivr.com\/terms<\/li>\n<li>Privacy policy: https:\/\/www.jsdelivr.com\/terms\/privacy-policy-jsdelivr-net<\/li>\n<\/ul>\n\n<p><strong>ipify<\/strong><\/p>\n\n<ul>\n<li>What it is: a service that returns the visitor's public IP address, which the widget includes in the visitor information it shows to your operators.<\/li>\n<li>What is sent and when: one request to <code>https:\/\/api.ipify.org\/<\/code> when the widget starts.<\/li>\n<li>Website and privacy statement: https:\/\/www.ipify.org\/<\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>In WordPress, go to Plugins &gt; Add New &gt; Upload Plugin and upload <code>parschat.zip<\/code>, or upload the <code>parschat<\/code> folder to <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate the plugin.<\/li>\n<li>Open the ParsChat menu.<\/li>\n<li>Paste the bot token from your ParsChat account and click Register.<\/li>\n<\/ol>\n\n<p>To stop showing the chatbot, open the ParsChat menu and click Remove token, or deactivate the plugin.<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id=\"the%20chat%20button%20does%20not%20appear\"><h3>The chat button does not appear<\/h3><\/dt>\n<dd><ul>\n<li>Make sure the token is registered on the ParsChat page and is the token of an active bot.<\/li>\n<li>The button appears about three seconds after the page loads, so the widget never slows down your page.<\/li>\n<li>If you use a JavaScript optimisation plugin (for example WP Rocket's \"Delay JavaScript execution\", LiteSpeed's \"JS Delayed\" or Cloudflare Rocket Loader), exclude <code>parschat<\/code> and <code>minio.parstechai.com<\/code> from it.<\/li>\n<li>If your site sends a Content-Security-Policy header, allow the hosts listed under External services.<\/li>\n<\/ul><\/dd>\n<dt id=\"can%20developers%20change%20how%20the%20widget%20loads%3F\"><h3>Can developers change how the widget loads?<\/h3><\/dt>\n<dd><p>Yes. The <code>parschat_load_delay<\/code> filter changes the delay in milliseconds (default 3000), the <code>parschat_widget_src<\/code> filter or the <code>PARSCHAT_CDN_URL<\/code> constant in <code>wp-config.php<\/code> changes the widget URL, and the <code>parschat_token_updated<\/code> action runs after the token is saved or removed.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.2.2<\/h4>\n\n<ul>\n<li>Fixed: the chat button did not appear on sites running 1.2.0 or 1.2.1 (the browser console showed \"ParsChat is not a constructor\").<\/li>\n<\/ul>\n\n<h4>1.2.1<\/h4>\n\n<ul>\n<li>The chat widget now loads all of its libraries and its font from ParsChat's own storage. Updated the External services section to match.<\/li>\n<\/ul>\n\n<h4>1.2.0<\/h4>\n\n<ul>\n<li>Sites upgrading from 1.0.0 keep their token (it is moved from the old database table).<\/li>\n<li>New \"Remove token\" button to turn the chatbot off.<\/li>\n<li>The widget is loaded with the standard WordPress script functions and is no longer delayed or broken by caching and optimisation plugins.<\/li>\n<li>The token is checked before it is saved, and tokens with special characters no longer break the page.<\/li>\n<li>If the widget cannot be downloaded, a clear message is written to the browser console.<\/li>\n<li>The LiteSpeed Cache purge now works, and W3 Total Cache, SiteGround Optimizer, WP Fastest Cache and Autoptimize are purged too.<\/li>\n<li>The Persian translation of the admin page is now loaded and covers every message.<\/li>\n<li>The admin page styles no longer affect the rest of the WordPress admin.<\/li>\n<li>Uninstalling removes all plugin data, on every site of a multisite network.<\/li>\n<li>Removed leftover files from the plugin package.<\/li>\n<\/ul>\n\n<h4>1.1.1<\/h4>\n\n<ul>\n<li>Load the ParsChat widget from the new MinIO storage (the previous storage URL no longer works)<\/li>\n<li>Document all external services the widget uses<\/li>\n<\/ul>\n\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>Fixed conflict with website caching systems<\/li>\n<li>Minor style improvements for input sections<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>","raw_excerpt":"Add the ParsChat AI chatbot to your WordPress site with one token.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/247527","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=247527"}],"author":[{"embeddable":true,"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/parstechai"}],"wp:attachment":[{"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=247527"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=247527"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=247527"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=247527"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=247527"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ps.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=247527"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}