Plugin Directory

Changeset 839873


Ignore:
Timestamp:
01/16/2014 08:26:10 PM (12 years ago)
Author:
mthomas9
Message:

Optimizepress compatibility

Location:
purlem-personal-url-marketing
Files:
3 added
2 edited

Legend:

Unmodified
Added
Removed
  • purlem-personal-url-marketing/trunk/purlem.php

    r762173 r839873  
    44Plugin URI: http://purlem.com
    55Description: Personalize your blog to visitors and track results with Personalized URLs (PURLs). <strong>The Plugin Requires a <a href='http://www.purlem.com'>Purlem Account</a>.</strong>
    6 Version: 1.2.8
     6Version: 1.3.0
    77Author: Marty Thomas
    88Author URI: http://purlem.com/company
     
    2929    add_action('update_option_purlemID', 'add_htaccess_code');
    3030    add_action('update_option_purlemURI', 'add_htaccess_code');
    31     add_action('get_header', 'display_purl_code');
     31    add_action('wp_head', 'display_purl_code');
    3232    add_action('the_content', 'display_purl_content');
    3333    add_action('the_title', 'display_purl_header');
     
    8686
    8787    if(get_option('purlapi') == 'file_get_contents') {
    88         $data = @file_get_contents('http://www.purlapi.com/lp/index.php?ID='.$_GET["ID"].'&name='.$_GET["purl"].'&page='.$_GET["page"].'&test='.$_GET["test"].'&wordpress='.$_GET["wordpress"].'&domain='.$_SERVER["HTTP_HOST"]);
     88        $data = @file_get_contents('http://www.purlapi.com/lp/index.php?ID='.$_GET["ID"].'&name='.$_GET["purl"].'&page='.$_GET["page"].'&test='.$_GET["test"].'&wordpress='.$_GET["wordpress"].'&domain='.$_SERVER["HTTP_HOST"].'&useragent='.urlencode($_SERVER['HTTP_USER_AGENT']).'&uri='.urlencode($_SERVER['REQUEST_URI']).'&ip='.urlencode($_SERVER['REMOTE_ADDR']));
    8989    } else {
    90         $curl = @curl_init(); curl_setopt ($curl, CURLOPT_URL, 'http://www.purlapi.com/lp/index.php?ID='.$_GET["ID"].'&name='.$_GET["purl"].'&page='.$_GET["page"].'&test='.$_GET["test"].'&wordpress='.$_GET["wordpress"].'&domain='.$_SERVER["HTTP_HOST"]);
     90        $curl = @curl_init(); curl_setopt ($curl, CURLOPT_URL, 'http://www.purlapi.com/lp/index.php?ID='.$_GET["ID"].'&name='.$_GET["purl"].'&page='.$_GET["page"].'&test='.$_GET["test"].'&wordpress='.$_GET["wordpress"].'&domain='.$_SERVER["HTTP_HOST"].'&useragent='.urlencode($_SERVER['HTTP_USER_AGENT']).'&uri='.urlencode($_SERVER['REQUEST_URI']).'&ip='.urlencode($_SERVER['REMOTE_ADDR']));
    9191        curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);         
    9292        $data = curl_exec ($curl);
  • purlem-personal-url-marketing/trunk/readme.txt

    r762173 r839873  
    55Requires at least: 2.1
    66Tested up to: 3.2.1
    7 Stable tag: 1.2.8
     7Stable tag: 1.3.0
    88
    99Personalize your blog to visitors and track results with Personalized URLs (PURLs). The Plugin Requires a Purlem Account.
Note: See TracChangeset for help on using the changeset viewer.