Skip to content
This repository has been archived by the owner on May 3, 2022. It is now read-only.

Commit

Permalink
Bump to version 1.2.1
Browse files Browse the repository at this point in the history
1. Update references from FrontDesk to Platform CRM
  • Loading branch information
Aaron Huisinga committed Jan 25, 2016
1 parent 0a4e2bd commit 2d19f78
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

WordPress funnel that collects visitor contact information in exchange for a customized report from a Real Estate agent.

The plugin hooks into FrontDesk using the official API to sync the data of the person submitting the form.
The plugin hooks into Platform CRM using the official API to sync the data of the person submitting the form.

The website owner is able to collect the name, email, and address information of the user and has a new potential customer.
6 changes: 3 additions & 3 deletions classes/class-frontdesk.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ public function __construct($api_version = 1)
$this->api_key = get_option('pf_frontdesk_key');
}
$this->api_version = $api_version;
$this->api_base = 'https://tryfrontdesk.com/api/v' . $api_version . '/';
$this->api_base = 'https://platformcrm.com/api/v' . $api_version . '/';
$this->guzzle = new Client();

// Display admin notices when required
Expand Down Expand Up @@ -226,10 +226,10 @@ public function add_error_var($location)
public function adminNotices()
{
if (isset($_GET[$this->token . '_frontdesk_error']))
echo '<div class="error"><p>A Campaign with this URL already exists. No new FrontDesk Campaign has been created.</p></div>';
echo '<div class="error"><p>A Campaign with this URL already exists. No new Platform CRM Campaign has been created.</p></div>';

if (isset($_GET[$this->token . '_frontdesk_success']))
echo '<div class="updated"><p>A Campaign for this Homes Report has been successfully setup on FrontDesk!</p></div>';
echo '<div class="updated"><p>A Campaign for this Homes Report has been successfully setup on Platform CRM!</p></div>';
}

}
4 changes: 2 additions & 2 deletions classes/class-homes-report-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function register_settings()
$this,
'slug_field'
], $this->token, 'customize' );
add_settings_field( $this->token . '_frontdesk_key', __( 'FrontDesk API key:', $this->token ), [
add_settings_field( $this->token . '_frontdesk_key', __( 'Platform CRM API key:', $this->token ), [
$this,
'frontdesk_key_field'
], $this->token, 'customize' );
Expand Down Expand Up @@ -198,7 +198,7 @@ public function frontdesk_key_field()
$data = $option;

echo '<input id="frontdesk_key" type="text" name="' . $this->token . '_frontdesk_key" value="' . $data . '"/>
<label for="frontdesk_key"><span class="description">' . __( 'Enter your API key generated by FrontDesk. To access your API key, visit <a href="https://tryfrontdesk.com/account/api" target="_blank">https://tryfrontdesk.com/account/api</a>.', $this->token ) . '</span></label>';
<label for="frontdesk_key"><span class="description">' . __( 'Enter your API key generated by Platform CRM. To access your API key, visit <a href="https://platformcrm.com/account/api" target="_blank">https://platformcrm.com/account/api</a>.', $this->token ) . '</span></label>';

}

Expand Down
4 changes: 2 additions & 2 deletions homes-report.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php namespace ColdTurkey\HomesReport;
/*
* Plugin Name: Homes Report
* Version: 1.2
* Version: 1.2.1
* Plugin URI: http://www.coldturkeygroup.com/
* Description: WordPress funnel that collects visitor contact information in exchange for a customized report from a Real Estate agent.
* Author: Cold Turkey Group
Expand All @@ -20,7 +20,7 @@
define('HOMES_REPORT_PLUGIN_PATH', trailingslashit(plugin_dir_path(__FILE__)));

if (!defined('HOMES_REPORT_PLUGIN_VERSION'))
define('HOMES_REPORT_PLUGIN_VERSION', '1.2');
define('HOMES_REPORT_PLUGIN_VERSION', '1.2.1');

require_once('classes/class-homes-report.php');

Expand Down
4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ Contributors: Aaron Huisinga
Tags: real estate, platform, homes report
Requires at least: 3.5
Tested up to: 4.3
Stable tag: 1.2
Stable tag: 1.2.1

WordPress funnel that collects visitor contact information in exchange for a customized report from a Real Estate agent.

== Description ==

WordPress funnel that collects visitor contact information in exchange for a customized report from a Real Estate agent.

The plugin hooks into FrontDesk using the official API to sync the data of the person submitting the form.
The plugin hooks into Platform CRM using the official API to sync the data of the person submitting the form.

The website owner is able to collect the name, email, and address information of the user and has a new potential customer.

Expand Down
8 changes: 4 additions & 4 deletions templates/single-email.php
Original file line number Diff line number Diff line change
Expand Up @@ -412,8 +412,8 @@
<?php if ( $subscriber->frontdesk_id != null ) { ?>
<tr>
<td align="center" valign="middle" class="emailButtonContent" style="color: #FFFFFF;font-family: 'Helvetica Neue',Arial,Helvetica,sans-serif;font-size: 16px;line-height: 1.6875;text-align: center;letter-spacing: 0.04em;padding: 10px 22px;-webkit-font-smoothing: antialiased;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
<a href="https://tryfrontdesk.com/subscribers/' . $subscriber->frontdesk_id . '" target="_blank" style="color: #FFFFFF;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;">View
Prospect on FrontDesk</a>
<a href="https://platformcrm.com/subscribers/' . $subscriber->frontdesk_id . '" target="_blank" style="color: #FFFFFF;text-decoration: none;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;">View
Prospect on Platform CRM</a>
</td>
</tr>
<?php } ?>
Expand Down Expand Up @@ -442,13 +442,13 @@
<tr>
<td valign="top" class="utilityLink" style="font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 12px;line-height: 133%;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
<span class="notlook">
<a href="https://tryfrontdesk.com/terms-of-service" target="_blank" style="color: #3A3A3A;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;">Terms
<a href="https://platformcrm.com/terms-of-service" target="_blank" style="color: #3A3A3A;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;">Terms
of Service</a>
</span>
</td>
<td valign="top" class="utilityLink" style="font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 12px;line-height: 133%;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;mso-table-lspace: 0pt;mso-table-rspace: 0pt;">
<span class="notlook">
<a href="https://tryfrontdesk.com/privacy-policy" target="_blank" style="color: #3A3A3A;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;">Privacy
<a href="https://platformcrm.com/privacy-policy" target="_blank" style="color: #3A3A3A;-webkit-text-size-adjust: 100%;-ms-text-size-adjust: 100%;">Privacy
Policy</a>
</span>
</td>
Expand Down

0 comments on commit 2d19f78

Please sign in to comment.