Plugin Directory

Changeset 698566


Ignore:
Timestamp:
04/16/2013 03:14:21 PM (13 years ago)
Author:
zoltan_lengyel
Message:

moved urls from dev server (campayn.net) to live (campayn.com)

Location:
campayn-email-newsletter-sign-up/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • campayn-email-newsletter-sign-up/trunk/campayn.php

    r698547 r698566  
    55Plugin URI: https://github.com/nebojsac/Campayn-WordPress-Plugin
    66Description: Plugin for using the campayn.com API with Wordpress
    7 Version: 0.15
     7Version: 0.16
    88Author: Zoltan Lengyel
    99Author URI: http://brow.hu/
     
    2121  $apikey = get_option('ob_campayn_apikey');
    2222  $apikey = $apikey['text_string'];
    23   $campayn_api = new Pest('http://api.campayn.net/api/v1/');
     23  $campayn_api = new Pest('http://api.campayn.com/api/v1/');
    2424  //$campayn_api = new Pest('http://localhost:6666');
    2525  $campayn_api->curl_opts[CURLOPT_HTTPHEADER] = array('Authorization:TRUEREST apikey='.$apikey);
     
    7373  $fs = $wpdb->get_results('select * from '.$ft);
    7474  if (empty($fs)) {
    75     print 'You don\'t have a signup form set up in Campayn. Click on the <a href="http://campayn.net/contacts">CONTACTS</a> tab and select \'Add Sign Up Form\' by clicking on the Options arrow to the right of you contact list.';
     75    print 'You don\'t have a signup form set up in Campayn. Click on the <a href="http://campayn.com/contacts">CONTACTS</a> tab and select \'Add Sign Up Form\' by clicking on the Options arrow to the right of you contact list.';
    7676    return;
    7777  }
     
    9797//text after 'Sign up free' in admin area
    9898function campayn_signup_callback() {
    99   print "If you don't have a Campayn account you can sign up for free <a href=\"http://campayn.net/signup\">here</a>.";
     99  print "If you don't have a Campayn account you can sign up for free <a href=\"http://campayn.com/signup\">here</a>.";
    100100}
    101101
  • campayn-email-newsletter-sign-up/trunk/campayn_install.php

    r698422 r698566  
    1616   // we will work with delete and re-insert only.
    1717   //
    18    // example json response to store (GET http://api.campayn.net/api/v1/forms.json?filter[form_type]=1):
     18   // example json response to store (GET http://api.campayn.com/api/v1/forms.json?filter[form_type]=1):
    1919   // {   "id"              : "1603",
    2020   //     "contact_list_id" : "1589",
    2121   //     "form_title"      : "Only Email",
    2222   //     "form_type"       : "1",
    23    //     "wp_form"         : "<form id=\"cmp_campayn\" action=\"http:\/\/campayn.net\/contacts\/signup_form_add_contact\/1589\" method=\"post\"><div>\n<label for=\"email\">Email:<span style=\"color:red\">*<\/span><\/label>\n<br \/>\n<input name=\"email\" id=\"email\" type=\"text\" placeholder=\"Email\" class=\"required\"\/><\/div>\n<input type=\"submit\" name=\"submit\" value=\"Subscribe\" \/><input type=\"hidden\" name=\"formId\" value=\"1603\" \/><\/form>",
     23   //     "wp_form"         : "<form id=\"cmp_campayn\" action=\"http:\/\/campayn.com\/contacts\/signup_form_add_contact\/1589\" method=\"post\"><div>\n<label for=\"email\">Email:<span style=\"color:red\">*<\/span><\/label>\n<br \/>\n<input name=\"email\" id=\"email\" type=\"text\" placeholder=\"Email\" class=\"required\"\/><\/div>\n<input type=\"submit\" name=\"submit\" value=\"Subscribe\" \/><input type=\"hidden\" name=\"formId\" value=\"1603\" \/><\/form>",
    2424   //     "list_name":"Sample Contact List"
    2525   // }
  • campayn-email-newsletter-sign-up/trunk/campayn_settings.php

    r698422 r698566  
    3232          'apikey' => array (
    3333              'label' => "Campayn API Key",
    34               'description' => "Enter your Campayn API Key before using the plugin. You can get one <a href=\"http://campayn.net/login?redirect=/users/api\">here</a>.",
     34              'description' => "Enter your Campayn API Key before using the plugin. You can get one <a href=\"http://campayn.com/login?redirect=/users/api\">here</a>.",
    3535              'length' => "65",
    3636              'suffix' => "",
     
    5252          'apikey' => array (
    5353              'label' => "Campayn API Key",
    54               'description' => "Enter your Campayn API Key before using the plugin. You can get one <a href=\"http://campayn.net/login?redirect=/users/api\">here</a>.",
     54              'description' => "Enter your Campayn API Key before using the plugin. You can get one <a href=\"http://campayn.com/login?redirect=/users/api\">here</a>.",
    5555              'length' => "65",
    5656              'suffix' => "",
  • campayn-email-newsletter-sign-up/trunk/readme.txt

    r698547 r698566  
    55Requires at least: 3.3
    66Tested up to: 3.5.1
    7 Stable tag: 0.15
     7Stable tag: 0.16
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1515The Campayn plugin makes it easy to add subscribe forms for your Campayn lists, or subscribe your commenters to a list.
    1616
    17 Campayn is similar to MailChimp, Aweber and Constant Contact but has a Free for Life plan and the lowest cost paid plans. You can sign up for a free account  <a href=\"http://campayn.net/signup\">here</a>.
     17Campayn is similar to MailChimp, Aweber and Constant Contact but has a Free for Life plan and the lowest cost paid plans. You can sign up for a free account  <a href=\"http://campayn.com/signup\">here</a>.
    1818
    1919After installation the setting page will guide you through the setup and you can have your subscription form on your blog within minutes!
Note: See TracChangeset for help on using the changeset viewer.