Changeset 3833969
- Timestamp:
- 11/30/2026 12:21:25 AM (less than one hour ago)
- Location:
- c5-inquiries
- Files:
-
- 3 added
- 23 edited
- 1 copied
-
assets/banner-1544x500.png (modified) ( previous)
-
assets/banner-772x250.png (modified) ( previous)
-
assets/icon-128x128.png (modified) ( previous)
-
assets/icon-256x256.png (modified) ( previous)
-
assets/screenshot-1.png (modified) ( previous)
-
assets/screenshot-2.png (modified) ( previous)
-
assets/screenshot-3.png (modified) ( previous)
-
assets/screenshot-4.png (modified) ( previous)
-
assets/screenshot-5.png (modified) ( previous)
-
assets/screenshot-6.png (added)
-
tags/1.3.0 (copied) (copied from c5-inquiries/trunk )
-
tags/1.3.0/assets/doshpup-icon.svg (modified) (2 diffs)
-
tags/1.3.0/assets/doshpup-inquiries-logo.png (modified) ( previous)
-
tags/1.3.0/c5-inquiries.php (modified) (6 diffs)
-
tags/1.3.0/includes/class-c5lb-db.php (modified) (2 diffs)
-
tags/1.3.0/includes/class-c5lb-doshpup.php (added)
-
tags/1.3.0/includes/class-c5lb-settings.php (modified) (2 diffs)
-
tags/1.3.0/readme.txt (modified) (9 diffs)
-
tags/1.3.0/uninstall.php (modified) (1 diff)
-
trunk/assets/doshpup-icon.svg (modified) (2 diffs)
-
trunk/assets/doshpup-inquiries-logo.png (modified) ( previous)
-
trunk/c5-inquiries.php (modified) (6 diffs)
-
trunk/includes/class-c5lb-db.php (modified) (2 diffs)
-
trunk/includes/class-c5lb-doshpup.php (added)
-
trunk/includes/class-c5lb-settings.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (9 diffs)
-
trunk/uninstall.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
c5-inquiries/tags/1.3.0/assets/doshpup-icon.svg
r3806787 r3833969 1 1 <svg role="img" aria-label="Doshpup" viewBox="0 0 125 110" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"> 2 <!-- Pack colours, left to right: Inquiries, Quotes, Money, Orders, Follow-ups --> 3 <defs><linearGradient id="pack" gradientUnits="userSpaceOnUse" x1="4" y1="0" x2="209" y2="0" gradientTransform="rotate(-28 106 93)"><stop offset="0%" stop-color="#e27d95"/><stop offset="20%" stop-color="#e27d95"/><stop offset="20%" stop-color="#4fa9a3"/><stop offset="40%" stop-color="#4fa9a3"/><stop offset="40%" stop-color="#5fae7a"/><stop offset="60%" stop-color="#5fae7a"/><stop offset="60%" stop-color="#e8935a"/><stop offset="80%" stop-color="#e8935a"/><stop offset="80%" stop-color="#9486d8"/><stop offset="100%" stop-color="#9486d8"/></linearGradient></defs> 2 4 <g transform="matrix(1,0,0,1,-54.7553,-38.9917)"> 3 5 <g> 4 6 <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)"> 5 <path d="M172.014,121.488C172.014,121.488 175.378,130.429 178.122,138.043C180.867,145.656 188.392,148.578 198.219,129.19C208.045,109.802 213.269,90.414 213.269,80.056C213.269,69.698 204.858,51.284 164.135,31.984C164.135,31.984 153.865,0.113 107.121,0.113C60.377,0.113 49.045,31.984 49.045,31.984C49.045,31.984 0,53.409 0,81.561C0,92.008 3.541,104.136 11.243,121.266C18.945,138.397 24.124,143.576 29.701,143.576C35.279,143.576 37.271,128.837 41.254,121.93C41.254,121.93 42.715,140.787 54.003,160.175C65.29,179.563 84.679,187 108.582,187C132.485,187 152.537,175.048 161.036,156.855C169.535,138.662 172.014,121.488 172.014,121.488Z" style="fill: rgb(113,155,208);fill-rule:nonzero;"/>7 <path d="M172.014,121.488C172.014,121.488 175.378,130.429 178.122,138.043C180.867,145.656 188.392,148.578 198.219,129.19C208.045,109.802 213.269,90.414 213.269,80.056C213.269,69.698 204.858,51.284 164.135,31.984C164.135,31.984 153.865,0.113 107.121,0.113C60.377,0.113 49.045,31.984 49.045,31.984C49.045,31.984 0,53.409 0,81.561C0,92.008 3.541,104.136 11.243,121.266C18.945,138.397 24.124,143.576 29.701,143.576C35.279,143.576 37.271,128.837 41.254,121.93C41.254,121.93 42.715,140.787 54.003,160.175C65.29,179.563 84.679,187 108.582,187C132.485,187 152.537,175.048 161.036,156.855C169.535,138.662 172.014,121.488 172.014,121.488Z" style="fill:url(#pack);fill-rule:nonzero;"/> 6 8 </g> 7 9 <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)"> … … 9 11 </g> 10 12 <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)"> 11 <path d="M61.838,93.512C60.331,93.512 58.823,92.932 57.68,91.775C55.413,89.479 55.437,85.779 57.733,83.511L78.847,62.662C81.141,60.397 84.842,60.417 87.111,62.715C89.377,65.011 89.354,68.711 87.058,70.979L65.943,91.828C64.805,92.951 63.322,93.512 61.838,93.512Z" style="fill: rgb(113,155,208);fill-rule:nonzero;"/>13 <path d="M61.838,93.512C60.331,93.512 58.823,92.932 57.68,91.775C55.413,89.479 55.437,85.779 57.733,83.511L78.847,62.662C81.141,60.397 84.842,60.417 87.111,62.715C89.377,65.011 89.354,68.711 87.058,70.979L65.943,91.828C64.805,92.951 63.322,93.512 61.838,93.512Z" style="fill:url(#pack);fill-rule:nonzero;"/> 12 14 </g> 13 15 <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)"> 14 <path d="M83.085,92.716C81.609,92.716 80.132,92.16 78.994,91.044L58.278,70.727C55.974,68.467 55.938,64.767 58.198,62.463C60.458,60.16 64.156,60.124 66.461,62.383L87.177,82.701C89.48,84.961 89.517,88.66 87.257,90.964C86.113,92.131 84.599,92.716 83.085,92.716Z" style="fill: rgb(113,155,208);fill-rule:nonzero;"/>16 <path d="M83.085,92.716C81.609,92.716 80.132,92.16 78.994,91.044L58.278,70.727C55.974,68.467 55.938,64.767 58.198,62.463C60.458,60.16 64.156,60.124 66.461,62.383L87.177,82.701C89.48,84.961 89.517,88.66 87.257,90.964C86.113,92.131 84.599,92.716 83.085,92.716Z" style="fill:url(#pack);fill-rule:nonzero;"/> 15 17 </g> 16 18 <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)"> 17 <path d="M150.412,77.046C150.412,82.473 146.013,86.873 140.586,86.873C135.158,86.873 130.759,82.473 130.759,77.046C130.759,71.619 135.158,67.219 140.586,67.219C146.013,67.219 150.412,71.619 150.412,77.046Z" style="fill: rgb(113,155,208);fill-rule:nonzero;"/>19 <path d="M150.412,77.046C150.412,82.473 146.013,86.873 140.586,86.873C135.158,86.873 130.759,82.473 130.759,77.046C130.759,71.619 135.158,67.219 140.586,67.219C146.013,67.219 150.412,71.619 150.412,77.046Z" style="fill:url(#pack);fill-rule:nonzero;"/> 18 20 </g> 19 21 <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)"> 20 <path d="M124.296,146.01C124.296,155.985 116.21,164.071 106.236,164.071C96.261,164.071 88.175,155.985 88.175,146.01C88.175,136.036 96.261,127.95 106.236,127.95C116.21,127.95 124.296,136.036 124.296,146.01Z" style="fill: rgb(113,155,208);fill-rule:nonzero;"/>22 <path d="M124.296,146.01C124.296,155.985 116.21,164.071 106.236,164.071C96.261,164.071 88.175,155.985 88.175,146.01C88.175,136.036 96.261,127.95 106.236,127.95C116.21,127.95 124.296,136.036 124.296,146.01Z" style="fill:url(#pack);fill-rule:nonzero;"/> 21 23 </g> 22 24 </g> -
c5-inquiries/tags/1.3.0/c5-inquiries.php
r3808216 r3833969 4 4 * Plugin URI: https://doshpup.com/ 5 5 * Description: Never miss another customer inquiry. Saves every Contact Form 7 inquiry in WordPress, with attachments and where the visitor came from, so no lead is lost. Sorts inquiries into Sales and Help, tracks each one to Won or Resolved, and shows live analytics you can share. 6 * Version: 1. 2.16 * Version: 1.3.0 7 7 * Requires at least: 6.2 8 8 * Requires PHP: 7.4 … … 25 25 } 26 26 27 define( 'C5LB_VERSION', '1. 2.1' );27 define( 'C5LB_VERSION', '1.3.0' ); 28 28 define( 'C5LB_DB_VERSION', '7' ); 29 29 define( 'C5LB_FILE', __FILE__ ); … … 59 59 require_once C5LB_DIR . 'includes/class-c5lb-abilities.php'; 60 60 require_once C5LB_DIR . 'includes/class-c5lb-report.php'; 61 require_once C5LB_DIR . 'includes/class-c5lb-doshpup.php'; 61 62 62 63 register_activation_hook( … … 66 67 C5LB_Roles::install(); 67 68 delete_option( 'c5lb_rules_version' ); // Adds the share-link address on the next page load. 69 C5LB_Doshpup::ensure_sweep(); 68 70 } 69 71 ); … … 73 75 wp_clear_scheduled_hook( 'c5lb_cleanup_spam' ); 74 76 wp_clear_scheduled_hook( 'c5lb_send_report' ); 77 wp_clear_scheduled_hook( 'c5lb_doshpup_sync' ); 78 wp_clear_scheduled_hook( 'c5lb_doshpup_sweep' ); 75 79 flush_rewrite_rules( false ); 76 80 } … … 91 95 C5LB_Abilities::init(); 92 96 C5LB_Report::init(); 97 C5LB_Doshpup::init(); 93 98 94 99 if ( is_admin() ) { -
c5-inquiries/tags/1.3.0/includes/class-c5lb-db.php
r3806787 r3833969 45 45 // Core fields are columns; anything else from the form lives in extra_fields (JSON). 46 46 // lead_status is the enquiry's place in follow-up (New, Contacted, ...). 47 // status, retry_count, last_error and synced_at are reserved for a future CRM sync and unused for now.47 // status, last_error and synced_at are the send queue for Connect to Doshpup (C5LB_Doshpup); retry_count is unused. 48 48 $sql_submissions = "CREATE TABLE {$s} ( 49 49 id bigint(20) unsigned NOT NULL AUTO_INCREMENT, … … 360 360 public static function update_submission( $id, array $data ) { 361 361 global $wpdb; 362 return $wpdb->update( self::submissions_table(), $data, array( 'id' => (int) $id ) ); 362 $done = $wpdb->update( self::submissions_table(), $data, array( 'id' => (int) $id ) ); 363 if ( $done ) { 364 /** 365 * Fires after an inquiry's row changed (status, type, spam, email status, location, contact details). 366 * 367 * @param int $id Submission id. 368 * @param array $data The columns that were written. 369 */ 370 do_action( 'c5lb_submission_updated', (int) $id, $data ); 371 } 372 return $done; 363 373 } 364 374 -
c5-inquiries/tags/1.3.0/includes/class-c5lb-settings.php
r3806787 r3833969 588 588 $api = self::has_abilities_api(); 589 589 $mcp = self::has_mcp_adapter(); 590 $manual = 'https://comma5.au/ comma5-inquiries-manual/#ai';590 $manual = 'https://comma5.au/doshpup-inquiries-manual/#ai'; 591 591 $checks = array( 592 592 array( $api, 'WordPress ' . get_bloginfo( 'version' ), $api ? 'Has the Abilities API that AI assistants use.' : 'AI assistants need WordPress 6.9 or later. Everything else in Doshpup Inquiries works as normal.' ), … … 673 673 </div> 674 674 675 <?php C5LB_Doshpup::render_card(); ?> 676 675 677 <form method="post" action="options.php"> 676 678 <?php settings_fields( self::GROUP ); ?> -
c5-inquiries/tags/1.3.0/readme.txt
r3808216 r3833969 3 3 Tags: contact form 7, cf7 database, leads, lead tracking, crm 4 4 Requires at least: 6.2 5 Tested up to: 7. 15 Tested up to: 7.2 6 6 Requires PHP: 7.4 7 Stable tag: 1. 2.17 Stable tag: 1.3.0 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 31 31 32 32 * **Works on the forms you already build.** Activate it and the next submission is captured. No form changes are needed: name, email, phone and message are found automatically, and every other field is saved too. 33 * **Nothing to host or bill.** It is free, needs no outside service, and the data stays in the client's own database .33 * **Nothing to host or bill.** It is free, needs no outside service, and the data stays in the client's own database, unless they choose to connect to Doshpup. 34 34 * **Clients who log in as Editors.** Tick one box and Editors can see and update inquiries, while Settings and delete stay with administrators (and export too, unless you choose to allow it). 35 35 * **A weekly summary email.** The week's inquiries, how the week compares with the ones before, where inquiries came from, and failed emails or inquiries still waiting for a reply. … … 39 39 Free. No account, no monthly fee. Made by Comma5, a software company in Melbourne, Australia. 40 40 41 **Goes further with Doshpup (optional)** 42 43 Doshpup is the app that goes with this plugin. Connect your website and each inquiry is also kept in your Doshpup account, in Australia, so it is safe if the website goes down. Your team can see inquiries, assign them and follow them up without a WordPress login. The plugin works fully on its own, and nothing is sent unless you connect. Create an account at doshpup.com. 44 41 45 **Works with AI assistants** 42 46 … … 51 55 Each inquiry is sorted into **Sales** or **Help**. Sales leads move through New, Contacted, Quoted, Won and Lost. Help requests are tracked as cases until they are resolved, so every one gets an answer. One click changes a status, right from the list. 52 56 53 Everything stays on your own site . No account or outside service is needed.57 Everything stays on your own site unless you choose to connect to Doshpup. No account or outside service is needed. 54 58 55 59 **Inquiries** … … 100 104 = Is it really free? = 101 105 102 Yes. There is no account or monthly fee, and it runs entirely on your own site. It is made by Comma5, an Australian software company that also offers paid products such as Comma5 Live. You never need them to use this plugin. 106 Yes. There is no account or monthly fee, and it runs entirely on your own site. It is made by Comma5, an Australian software company that also offers paid products such as Comma5 Live. You never need them to use this plugin. Connecting to Doshpup is optional, and the plugin never needs it. 103 107 104 108 = Can my client see inquiries without being an administrator? = … … 116 120 = Does it work with AI assistants like Claude or ChatGPT? = 117 121 118 Yes, from version 1.1.0, on WordPress 6.9 or later. Install the free MCP Adapter plugin from WordPress (https://github.com/WordPress/mcp-adapter), turn on "Allow AI assistants to read inquiries" in Inquiries > Settings > AI assistants, and connect your AI client with an Application Password. It is off by default. Step-by-step instructions: https://comma5.au/ comma5-inquiries-manual/#ai122 Yes, from version 1.1.0, on WordPress 6.9 or later. Install the free MCP Adapter plugin from WordPress (https://github.com/WordPress/mcp-adapter), turn on "Allow AI assistants to read inquiries" in Inquiries > Settings > AI assistants, and connect your AI client with an Application Password. It is off by default. Step-by-step instructions: https://comma5.au/doshpup-inquiries-manual/#ai 119 123 120 124 = Do you send my inquiries to an AI service? = 121 125 122 No. The plugin never sends anything to an AI service , or to us. Nothing happens unless you switch it on: then your own AI client connects to your site as a WordPress user you choose, and sees only what that user is allowed to see. You can leave out names, emails and phone numbers.126 No. The plugin never sends anything to an AI service. Nothing happens unless you switch it on: then your own AI client connects to your site as a WordPress user you choose, and sees only what that user is allowed to see. You can leave out names, emails and phone numbers. 123 127 124 128 = Does it change how Contact Form 7 works? = … … 132 136 = Where is my data stored? = 133 137 134 In your own WordPress database, in the plugin's tables, and attachments in a protected folder inside your uploads folder. Nothing is sent anywhere unless you switch on the optional location lookup (see External services). 138 In your own WordPress database, in the plugin's tables, and attachments in a protected folder inside your uploads folder. Nothing is sent anywhere unless you switch on the optional location lookup or choose to connect to Doshpup (see External services). 139 140 = What is "Connect to Doshpup"? = 141 142 Doshpup is the app that goes with this plugin. Connecting is optional and off until you do it: you create a Doshpup account, copy a connection key from it, and paste the key into Inquiries > Settings > Connect to Doshpup. From then on each new inquiry, and each change to one, is also kept in your Doshpup account, so your inquiries are safe if your website goes down and your team can work on them without logging in to WordPress. Inquiries already on your website are copied across when you connect. A status or type changed in Doshpup stays in Doshpup for now: it is not sent back to your website. Attached files stay on your website: only their names, types and sizes are sent. Disconnect at any time and the sending stops; what is already in Doshpup stays there. See External services for exactly what is sent. 143 144 = Do I need a Doshpup account to use this plugin? = 145 146 No. The plugin saves, sorts and tracks your inquiries on your own website with no account and no outside service. A Doshpup account is only needed if you choose to connect. 135 147 136 148 = Who can see the share link? = … … 161 173 162 174 If your site is behind Cloudflare and you tell the plugin to trust proxy headers, the country is read from Cloudflare's header instead, without contacting any outside service. 175 176 **Doshpup (optional)** 177 178 This plugin can keep a copy of your inquiries in a Doshpup account. Doshpup is an online service run by Comma5, the makers of this plugin. This is **off by default** and only happens if an administrator pastes a Doshpup connection key into Inquiries > Settings > Connect to Doshpup. 179 180 When you connect, and when you press "Test connection", the key is sent to Doshpup to check it. When you connect, the plugin sends the inquiries already on your website. While connected, it sends each new inquiry shortly after it is saved, and again whenever one changes (its status, type, spam flag, email status, location or contact details). "Send existing inquiries", and Sync in Doshpup, send them all again. Each time, this is sent: 181 182 * the visitor's name, company, email address, phone number and message, and their other answers on the form; 183 * where they came from: campaign tags, the referring site, the page they landed on and the pages they viewed, their Google Analytics visitor number if your site uses it, and their country, state or region and city if you have switched on location lookup; 184 * the form's name, the inquiry's type, status, spam flag and reason, and whether its notification email was sent; 185 * the inquiry's history, including the display names of the WordPress users who made changes; 186 * the name, type and size of each attached file. 187 188 Attached files themselves are never sent, and neither are the notification email or its error. Doshpup stores the copies in Australia. Disconnecting stops the sending and removes the key from your website; copies already sent stay in your Doshpup account, including copies of inquiries you later delete in WordPress. You remain responsible for your customers' details, so mention Doshpup in your own privacy policy if you connect. 189 190 * Service: https://doshpup.com/ (inquiries are sent to https://api.doshpup.com) 191 * Terms of service: https://comma5.au/terms/ 192 * Privacy policy: https://doshpup.com/privacy/ 163 193 164 194 == Screenshots == … … 169 199 4. Live results on any phone through a private share link, with no names or contact details. 170 200 5. Choose which forms bring in sales leads and which bring in help requests. 201 6. Optional: connect to Doshpup and your team can work on inquiries without a WordPress login. 171 202 172 203 == Changelog == 204 205 = 1.3.0 = 206 * New logo: the coloured Doshpup logo, matching the Doshpup app. 207 * New: create a free Doshpup account straight from Inquiries > Settings > Connect to Doshpup. 208 * New screenshots and help pages. 209 * Tested with WordPress 7.2. 210 * New: Connect to Doshpup (optional, off unless you connect). Paste a connection key from your Doshpup account in Inquiries > Settings and a copy of each inquiry is kept there. Attached files stay on your website. Connecting copies the inquiries already on your website as well as new ones. You can test the connection, send everything again (from here, or with Sync in Doshpup), and disconnect at any time. See External services for what is sent. 211 * The connection key box is a plain text box, so browsers no longer offer to save the key as a password. 173 212 174 213 = 1.2.1 = -
c5-inquiries/tags/1.3.0/uninstall.php
r3806787 r3833969 16 16 // Each user's "new since you last looked" marker for the menu count. 17 17 delete_metadata( 'user', 0, 'c5lb_seen_id', '', true ); 18 // The Doshpup connection key never outlives the plugin, whether or not inquiries are kept. 19 delete_option( 'c5lb_doshpup' ); 20 delete_option( 'c5lb_doshpup_lock' ); 21 wp_clear_scheduled_hook( 'c5lb_doshpup_sync' ); 22 wp_clear_scheduled_hook( 'c5lb_doshpup_sweep' ); 18 23 19 24 $c5lb_settings = get_option( 'c5lb_settings', array() ); -
c5-inquiries/trunk/assets/doshpup-icon.svg
r3806787 r3833969 1 1 <svg role="img" aria-label="Doshpup" viewBox="0 0 125 110" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;"> 2 <!-- Pack colours, left to right: Inquiries, Quotes, Money, Orders, Follow-ups --> 3 <defs><linearGradient id="pack" gradientUnits="userSpaceOnUse" x1="4" y1="0" x2="209" y2="0" gradientTransform="rotate(-28 106 93)"><stop offset="0%" stop-color="#e27d95"/><stop offset="20%" stop-color="#e27d95"/><stop offset="20%" stop-color="#4fa9a3"/><stop offset="40%" stop-color="#4fa9a3"/><stop offset="40%" stop-color="#5fae7a"/><stop offset="60%" stop-color="#5fae7a"/><stop offset="60%" stop-color="#e8935a"/><stop offset="80%" stop-color="#e8935a"/><stop offset="80%" stop-color="#9486d8"/><stop offset="100%" stop-color="#9486d8"/></linearGradient></defs> 2 4 <g transform="matrix(1,0,0,1,-54.7553,-38.9917)"> 3 5 <g> 4 6 <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)"> 5 <path d="M172.014,121.488C172.014,121.488 175.378,130.429 178.122,138.043C180.867,145.656 188.392,148.578 198.219,129.19C208.045,109.802 213.269,90.414 213.269,80.056C213.269,69.698 204.858,51.284 164.135,31.984C164.135,31.984 153.865,0.113 107.121,0.113C60.377,0.113 49.045,31.984 49.045,31.984C49.045,31.984 0,53.409 0,81.561C0,92.008 3.541,104.136 11.243,121.266C18.945,138.397 24.124,143.576 29.701,143.576C35.279,143.576 37.271,128.837 41.254,121.93C41.254,121.93 42.715,140.787 54.003,160.175C65.29,179.563 84.679,187 108.582,187C132.485,187 152.537,175.048 161.036,156.855C169.535,138.662 172.014,121.488 172.014,121.488Z" style="fill: rgb(113,155,208);fill-rule:nonzero;"/>7 <path d="M172.014,121.488C172.014,121.488 175.378,130.429 178.122,138.043C180.867,145.656 188.392,148.578 198.219,129.19C208.045,109.802 213.269,90.414 213.269,80.056C213.269,69.698 204.858,51.284 164.135,31.984C164.135,31.984 153.865,0.113 107.121,0.113C60.377,0.113 49.045,31.984 49.045,31.984C49.045,31.984 0,53.409 0,81.561C0,92.008 3.541,104.136 11.243,121.266C18.945,138.397 24.124,143.576 29.701,143.576C35.279,143.576 37.271,128.837 41.254,121.93C41.254,121.93 42.715,140.787 54.003,160.175C65.29,179.563 84.679,187 108.582,187C132.485,187 152.537,175.048 161.036,156.855C169.535,138.662 172.014,121.488 172.014,121.488Z" style="fill:url(#pack);fill-rule:nonzero;"/> 6 8 </g> 7 9 <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)"> … … 9 11 </g> 10 12 <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)"> 11 <path d="M61.838,93.512C60.331,93.512 58.823,92.932 57.68,91.775C55.413,89.479 55.437,85.779 57.733,83.511L78.847,62.662C81.141,60.397 84.842,60.417 87.111,62.715C89.377,65.011 89.354,68.711 87.058,70.979L65.943,91.828C64.805,92.951 63.322,93.512 61.838,93.512Z" style="fill: rgb(113,155,208);fill-rule:nonzero;"/>13 <path d="M61.838,93.512C60.331,93.512 58.823,92.932 57.68,91.775C55.413,89.479 55.437,85.779 57.733,83.511L78.847,62.662C81.141,60.397 84.842,60.417 87.111,62.715C89.377,65.011 89.354,68.711 87.058,70.979L65.943,91.828C64.805,92.951 63.322,93.512 61.838,93.512Z" style="fill:url(#pack);fill-rule:nonzero;"/> 12 14 </g> 13 15 <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)"> 14 <path d="M83.085,92.716C81.609,92.716 80.132,92.16 78.994,91.044L58.278,70.727C55.974,68.467 55.938,64.767 58.198,62.463C60.458,60.16 64.156,60.124 66.461,62.383L87.177,82.701C89.48,84.961 89.517,88.66 87.257,90.964C86.113,92.131 84.599,92.716 83.085,92.716Z" style="fill: rgb(113,155,208);fill-rule:nonzero;"/>16 <path d="M83.085,92.716C81.609,92.716 80.132,92.16 78.994,91.044L58.278,70.727C55.974,68.467 55.938,64.767 58.198,62.463C60.458,60.16 64.156,60.124 66.461,62.383L87.177,82.701C89.48,84.961 89.517,88.66 87.257,90.964C86.113,92.131 84.599,92.716 83.085,92.716Z" style="fill:url(#pack);fill-rule:nonzero;"/> 15 17 </g> 16 18 <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)"> 17 <path d="M150.412,77.046C150.412,82.473 146.013,86.873 140.586,86.873C135.158,86.873 130.759,82.473 130.759,77.046C130.759,71.619 135.158,67.219 140.586,67.219C146.013,67.219 150.412,71.619 150.412,77.046Z" style="fill: rgb(113,155,208);fill-rule:nonzero;"/>19 <path d="M150.412,77.046C150.412,82.473 146.013,86.873 140.586,86.873C135.158,86.873 130.759,82.473 130.759,77.046C130.759,71.619 135.158,67.219 140.586,67.219C146.013,67.219 150.412,71.619 150.412,77.046Z" style="fill:url(#pack);fill-rule:nonzero;"/> 18 20 </g> 19 21 <g transform="matrix(0.583329,0,0,0.583329,54.7553,38.9258)"> 20 <path d="M124.296,146.01C124.296,155.985 116.21,164.071 106.236,164.071C96.261,164.071 88.175,155.985 88.175,146.01C88.175,136.036 96.261,127.95 106.236,127.95C116.21,127.95 124.296,136.036 124.296,146.01Z" style="fill: rgb(113,155,208);fill-rule:nonzero;"/>22 <path d="M124.296,146.01C124.296,155.985 116.21,164.071 106.236,164.071C96.261,164.071 88.175,155.985 88.175,146.01C88.175,136.036 96.261,127.95 106.236,127.95C116.21,127.95 124.296,136.036 124.296,146.01Z" style="fill:url(#pack);fill-rule:nonzero;"/> 21 23 </g> 22 24 </g> -
c5-inquiries/trunk/c5-inquiries.php
r3808216 r3833969 4 4 * Plugin URI: https://doshpup.com/ 5 5 * Description: Never miss another customer inquiry. Saves every Contact Form 7 inquiry in WordPress, with attachments and where the visitor came from, so no lead is lost. Sorts inquiries into Sales and Help, tracks each one to Won or Resolved, and shows live analytics you can share. 6 * Version: 1. 2.16 * Version: 1.3.0 7 7 * Requires at least: 6.2 8 8 * Requires PHP: 7.4 … … 25 25 } 26 26 27 define( 'C5LB_VERSION', '1. 2.1' );27 define( 'C5LB_VERSION', '1.3.0' ); 28 28 define( 'C5LB_DB_VERSION', '7' ); 29 29 define( 'C5LB_FILE', __FILE__ ); … … 59 59 require_once C5LB_DIR . 'includes/class-c5lb-abilities.php'; 60 60 require_once C5LB_DIR . 'includes/class-c5lb-report.php'; 61 require_once C5LB_DIR . 'includes/class-c5lb-doshpup.php'; 61 62 62 63 register_activation_hook( … … 66 67 C5LB_Roles::install(); 67 68 delete_option( 'c5lb_rules_version' ); // Adds the share-link address on the next page load. 69 C5LB_Doshpup::ensure_sweep(); 68 70 } 69 71 ); … … 73 75 wp_clear_scheduled_hook( 'c5lb_cleanup_spam' ); 74 76 wp_clear_scheduled_hook( 'c5lb_send_report' ); 77 wp_clear_scheduled_hook( 'c5lb_doshpup_sync' ); 78 wp_clear_scheduled_hook( 'c5lb_doshpup_sweep' ); 75 79 flush_rewrite_rules( false ); 76 80 } … … 91 95 C5LB_Abilities::init(); 92 96 C5LB_Report::init(); 97 C5LB_Doshpup::init(); 93 98 94 99 if ( is_admin() ) { -
c5-inquiries/trunk/includes/class-c5lb-db.php
r3806787 r3833969 45 45 // Core fields are columns; anything else from the form lives in extra_fields (JSON). 46 46 // lead_status is the enquiry's place in follow-up (New, Contacted, ...). 47 // status, retry_count, last_error and synced_at are reserved for a future CRM sync and unused for now.47 // status, last_error and synced_at are the send queue for Connect to Doshpup (C5LB_Doshpup); retry_count is unused. 48 48 $sql_submissions = "CREATE TABLE {$s} ( 49 49 id bigint(20) unsigned NOT NULL AUTO_INCREMENT, … … 360 360 public static function update_submission( $id, array $data ) { 361 361 global $wpdb; 362 return $wpdb->update( self::submissions_table(), $data, array( 'id' => (int) $id ) ); 362 $done = $wpdb->update( self::submissions_table(), $data, array( 'id' => (int) $id ) ); 363 if ( $done ) { 364 /** 365 * Fires after an inquiry's row changed (status, type, spam, email status, location, contact details). 366 * 367 * @param int $id Submission id. 368 * @param array $data The columns that were written. 369 */ 370 do_action( 'c5lb_submission_updated', (int) $id, $data ); 371 } 372 return $done; 363 373 } 364 374 -
c5-inquiries/trunk/includes/class-c5lb-settings.php
r3806787 r3833969 588 588 $api = self::has_abilities_api(); 589 589 $mcp = self::has_mcp_adapter(); 590 $manual = 'https://comma5.au/ comma5-inquiries-manual/#ai';590 $manual = 'https://comma5.au/doshpup-inquiries-manual/#ai'; 591 591 $checks = array( 592 592 array( $api, 'WordPress ' . get_bloginfo( 'version' ), $api ? 'Has the Abilities API that AI assistants use.' : 'AI assistants need WordPress 6.9 or later. Everything else in Doshpup Inquiries works as normal.' ), … … 673 673 </div> 674 674 675 <?php C5LB_Doshpup::render_card(); ?> 676 675 677 <form method="post" action="options.php"> 676 678 <?php settings_fields( self::GROUP ); ?> -
c5-inquiries/trunk/readme.txt
r3808216 r3833969 3 3 Tags: contact form 7, cf7 database, leads, lead tracking, crm 4 4 Requires at least: 6.2 5 Tested up to: 7. 15 Tested up to: 7.2 6 6 Requires PHP: 7.4 7 Stable tag: 1. 2.17 Stable tag: 1.3.0 8 8 License: GPLv2 or later 9 9 License URI: https://www.gnu.org/licenses/gpl-2.0.html … … 31 31 32 32 * **Works on the forms you already build.** Activate it and the next submission is captured. No form changes are needed: name, email, phone and message are found automatically, and every other field is saved too. 33 * **Nothing to host or bill.** It is free, needs no outside service, and the data stays in the client's own database .33 * **Nothing to host or bill.** It is free, needs no outside service, and the data stays in the client's own database, unless they choose to connect to Doshpup. 34 34 * **Clients who log in as Editors.** Tick one box and Editors can see and update inquiries, while Settings and delete stay with administrators (and export too, unless you choose to allow it). 35 35 * **A weekly summary email.** The week's inquiries, how the week compares with the ones before, where inquiries came from, and failed emails or inquiries still waiting for a reply. … … 39 39 Free. No account, no monthly fee. Made by Comma5, a software company in Melbourne, Australia. 40 40 41 **Goes further with Doshpup (optional)** 42 43 Doshpup is the app that goes with this plugin. Connect your website and each inquiry is also kept in your Doshpup account, in Australia, so it is safe if the website goes down. Your team can see inquiries, assign them and follow them up without a WordPress login. The plugin works fully on its own, and nothing is sent unless you connect. Create an account at doshpup.com. 44 41 45 **Works with AI assistants** 42 46 … … 51 55 Each inquiry is sorted into **Sales** or **Help**. Sales leads move through New, Contacted, Quoted, Won and Lost. Help requests are tracked as cases until they are resolved, so every one gets an answer. One click changes a status, right from the list. 52 56 53 Everything stays on your own site . No account or outside service is needed.57 Everything stays on your own site unless you choose to connect to Doshpup. No account or outside service is needed. 54 58 55 59 **Inquiries** … … 100 104 = Is it really free? = 101 105 102 Yes. There is no account or monthly fee, and it runs entirely on your own site. It is made by Comma5, an Australian software company that also offers paid products such as Comma5 Live. You never need them to use this plugin. 106 Yes. There is no account or monthly fee, and it runs entirely on your own site. It is made by Comma5, an Australian software company that also offers paid products such as Comma5 Live. You never need them to use this plugin. Connecting to Doshpup is optional, and the plugin never needs it. 103 107 104 108 = Can my client see inquiries without being an administrator? = … … 116 120 = Does it work with AI assistants like Claude or ChatGPT? = 117 121 118 Yes, from version 1.1.0, on WordPress 6.9 or later. Install the free MCP Adapter plugin from WordPress (https://github.com/WordPress/mcp-adapter), turn on "Allow AI assistants to read inquiries" in Inquiries > Settings > AI assistants, and connect your AI client with an Application Password. It is off by default. Step-by-step instructions: https://comma5.au/ comma5-inquiries-manual/#ai122 Yes, from version 1.1.0, on WordPress 6.9 or later. Install the free MCP Adapter plugin from WordPress (https://github.com/WordPress/mcp-adapter), turn on "Allow AI assistants to read inquiries" in Inquiries > Settings > AI assistants, and connect your AI client with an Application Password. It is off by default. Step-by-step instructions: https://comma5.au/doshpup-inquiries-manual/#ai 119 123 120 124 = Do you send my inquiries to an AI service? = 121 125 122 No. The plugin never sends anything to an AI service , or to us. Nothing happens unless you switch it on: then your own AI client connects to your site as a WordPress user you choose, and sees only what that user is allowed to see. You can leave out names, emails and phone numbers.126 No. The plugin never sends anything to an AI service. Nothing happens unless you switch it on: then your own AI client connects to your site as a WordPress user you choose, and sees only what that user is allowed to see. You can leave out names, emails and phone numbers. 123 127 124 128 = Does it change how Contact Form 7 works? = … … 132 136 = Where is my data stored? = 133 137 134 In your own WordPress database, in the plugin's tables, and attachments in a protected folder inside your uploads folder. Nothing is sent anywhere unless you switch on the optional location lookup (see External services). 138 In your own WordPress database, in the plugin's tables, and attachments in a protected folder inside your uploads folder. Nothing is sent anywhere unless you switch on the optional location lookup or choose to connect to Doshpup (see External services). 139 140 = What is "Connect to Doshpup"? = 141 142 Doshpup is the app that goes with this plugin. Connecting is optional and off until you do it: you create a Doshpup account, copy a connection key from it, and paste the key into Inquiries > Settings > Connect to Doshpup. From then on each new inquiry, and each change to one, is also kept in your Doshpup account, so your inquiries are safe if your website goes down and your team can work on them without logging in to WordPress. Inquiries already on your website are copied across when you connect. A status or type changed in Doshpup stays in Doshpup for now: it is not sent back to your website. Attached files stay on your website: only their names, types and sizes are sent. Disconnect at any time and the sending stops; what is already in Doshpup stays there. See External services for exactly what is sent. 143 144 = Do I need a Doshpup account to use this plugin? = 145 146 No. The plugin saves, sorts and tracks your inquiries on your own website with no account and no outside service. A Doshpup account is only needed if you choose to connect. 135 147 136 148 = Who can see the share link? = … … 161 173 162 174 If your site is behind Cloudflare and you tell the plugin to trust proxy headers, the country is read from Cloudflare's header instead, without contacting any outside service. 175 176 **Doshpup (optional)** 177 178 This plugin can keep a copy of your inquiries in a Doshpup account. Doshpup is an online service run by Comma5, the makers of this plugin. This is **off by default** and only happens if an administrator pastes a Doshpup connection key into Inquiries > Settings > Connect to Doshpup. 179 180 When you connect, and when you press "Test connection", the key is sent to Doshpup to check it. When you connect, the plugin sends the inquiries already on your website. While connected, it sends each new inquiry shortly after it is saved, and again whenever one changes (its status, type, spam flag, email status, location or contact details). "Send existing inquiries", and Sync in Doshpup, send them all again. Each time, this is sent: 181 182 * the visitor's name, company, email address, phone number and message, and their other answers on the form; 183 * where they came from: campaign tags, the referring site, the page they landed on and the pages they viewed, their Google Analytics visitor number if your site uses it, and their country, state or region and city if you have switched on location lookup; 184 * the form's name, the inquiry's type, status, spam flag and reason, and whether its notification email was sent; 185 * the inquiry's history, including the display names of the WordPress users who made changes; 186 * the name, type and size of each attached file. 187 188 Attached files themselves are never sent, and neither are the notification email or its error. Doshpup stores the copies in Australia. Disconnecting stops the sending and removes the key from your website; copies already sent stay in your Doshpup account, including copies of inquiries you later delete in WordPress. You remain responsible for your customers' details, so mention Doshpup in your own privacy policy if you connect. 189 190 * Service: https://doshpup.com/ (inquiries are sent to https://api.doshpup.com) 191 * Terms of service: https://comma5.au/terms/ 192 * Privacy policy: https://doshpup.com/privacy/ 163 193 164 194 == Screenshots == … … 169 199 4. Live results on any phone through a private share link, with no names or contact details. 170 200 5. Choose which forms bring in sales leads and which bring in help requests. 201 6. Optional: connect to Doshpup and your team can work on inquiries without a WordPress login. 171 202 172 203 == Changelog == 204 205 = 1.3.0 = 206 * New logo: the coloured Doshpup logo, matching the Doshpup app. 207 * New: create a free Doshpup account straight from Inquiries > Settings > Connect to Doshpup. 208 * New screenshots and help pages. 209 * Tested with WordPress 7.2. 210 * New: Connect to Doshpup (optional, off unless you connect). Paste a connection key from your Doshpup account in Inquiries > Settings and a copy of each inquiry is kept there. Attached files stay on your website. Connecting copies the inquiries already on your website as well as new ones. You can test the connection, send everything again (from here, or with Sync in Doshpup), and disconnect at any time. See External services for what is sent. 211 * The connection key box is a plain text box, so browsers no longer offer to save the key as a password. 173 212 174 213 = 1.2.1 = -
c5-inquiries/trunk/uninstall.php
r3806787 r3833969 16 16 // Each user's "new since you last looked" marker for the menu count. 17 17 delete_metadata( 'user', 0, 'c5lb_seen_id', '', true ); 18 // The Doshpup connection key never outlives the plugin, whether or not inquiries are kept. 19 delete_option( 'c5lb_doshpup' ); 20 delete_option( 'c5lb_doshpup_lock' ); 21 wp_clear_scheduled_hook( 'c5lb_doshpup_sync' ); 22 wp_clear_scheduled_hook( 'c5lb_doshpup_sweep' ); 18 23 19 24 $c5lb_settings = get_option( 'c5lb_settings', array() );
Note:
See TracChangeset
for help on using the changeset viewer.