Changeset 1758194
- Timestamp:
- 11/03/2017 07:30:26 PM (8 years ago)
- Location:
- wp-iclew
- Files:
-
- 3 edited
-
assets/banner-772x250.png (modified) (previous)
-
trunk/readme.txt (modified) (5 diffs)
-
trunk/wp-acobot.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-iclew/trunk/readme.txt
r1757767 r1758194 32 32 1. Install the plugin through the WordPress plugins screen directly, or upload the plugin files to the `/wp-content/plugins/wp-acobot` directory. 33 33 1. Activate the plugin through the **Settings->WP acobot** screen to configure the plugin 34 1. Copy the ** GID** and **Key** provided by acobot and save your settings.34 1. Copy the **Key** provided by acobot and save your settings. 35 35 36 36 == Frequently Asked Questions == … … 38 38 = How do I activate the Agent? = 39 39 40 After you create an account with acobot.ai, enter in your unique GID andKey.40 After you create an account with acobot.ai, enter in your unique Key. 41 41 42 42 = How do I use the plugin? = … … 51 51 == Screenshots == 52 52 53 1. The settings screen. This is where you enter the acobot GID and Key. Thisscreen also has a live demo of the Agent.53 1. The settings screen. This is where you enter the acobot Key. The admin screen also has a live demo of the Agent. 54 54 2. The Agent in action. 55 55 … … 83 83 Allow user to display Agent on all pages of the site. 84 84 85 = 1.4. 1=85 = 1.4.2 = 86 86 87 87 Admininstration changes. … … 89 89 == Learn More section == 90 90 91 Learn more about the assistant at [acobot.ai](https://acobot.ai/?ref=1072 "Link to the 92 AI Agent provider") 91 Learn more about the assistant at [acobot.ai](https://acobot.ai/?ref=1072 "Link to the AI Agent provider") 93 92 94 93 == How to Use == -
wp-iclew/trunk/wp-acobot.php
r1757767 r1758194 4 4 Plugin URI: http://vavoomdesign.com/wordpress/scott/wp-acobot/ 5 5 Description: Add a sophisticated, customizable serivce Agent to your pages. Powered by acobot 6 Version: 1.4. 16 Version: 1.4.2 7 7 Author: Scott Campbell 8 8 Author URI: http://vavoomdesign.com/wordpress/scott … … 76 76 77 77 if( (1 == $enb) && (1 == $showonall) && !empty($key) ) { 78 $this::add_acobot_script( false);79 } 80 } 81 82 private function add_acobot_script( $ admin = false) {78 $this::add_acobot_script( $key ); 79 } 80 } 81 82 private function add_acobot_script( $key ) { 83 83 $url = self::ACOBOT_URL; 84 $key = sanitize_text_field(get_option(self::OPT_KEY, '' ));85 84 86 85 // 2017-10-26 appears to run fine without a key, uses demo … … 103 102 // show the assistant on the admin page 104 103 if( $hook == 'settings_page_wp-acobot-admin-slug' ) { 105 $this::add_acobot_script( true ); 104 $key = '251040.R19bWEl2ztdedsXS'; // default key 105 $this::add_acobot_script( $key ); 106 106 } 107 107 } … … 118 118 // don't use if already showing on all pages 119 119 if( (1 == $enb) && (0 == $showonall) && !empty($key) ) { 120 $this::add_acobot_script( false);120 $this::add_acobot_script( $key ); 121 121 } 122 122
Note: See TracChangeset
for help on using the changeset viewer.