Plugin Directory

Changeset 186562


Ignore:
Timestamp:
12/23/2009 01:17:09 PM (16 years ago)
Author:
mindnl
Message:
 
Location:
affiliate-plus/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • affiliate-plus/trunk/affiplus.php

    r178124 r186562  
    55Description: Affiliate Plus lets your registered users get credit for new users they recruit
    66Author: Nico
    7 Version: 1.2.1
     7Version: 1.3
    88Author URI: http://www.blogio.net/blog/
    99Questions, sugestions, problems? Let me know at nico@blogio.net
     
    4444        'affp_redir'            => '',
    4545        'affp_trkpar'           => '',
    46         'affp_usrpage'          => ''
     46        'affp_usrpage'          => '',
     47        'affp_land'             => ''
    4748    );
    4849    $affiliate_plus_cfg = get_option('affiliate_plus_cfg');
     
    7677        // set cookie
    7778        setcookie('affiplus', $affid, $exp, '/', $affp_domain[0]);
    78     }
     79        if($affiliate_plus_cfg['affp_land']) {
     80            header("Location: ".$affiliate_plus_cfg['affp_land']);
     81            exit(0);
     82        }
     83    }
     84
     85   
    7986}
    8087   
  • affiliate-plus/trunk/affipsettings.php

    r169043 r186562  
    55    'affp_redir'            => '',
    66    'affp_trkpar'           => '',
    7     'affp_usrpage'          => ''
     7    'affp_usrpage'          => '',
     8    'affp_land'             => ''
    89);
    910$ol_flash = '';
     
    1415    $affiliate_plus_cfg['affp_trkpar'] = $_POST['affp_trkpar'];
    1516    $affiliate_plus_cfg['affp_usrpage'] = $_POST['affp_usrpage'];
     17    $affiliate_plus_cfg['affp_land'] = $_POST['affp_land'];
    1618    update_option('affiliate_plus_cfg',$affiliate_plus_cfg);
    1719    $ol_flash = "Your settings have been saved.";
     
    4547    <td>URL to send users to after they log in (does not affect users with admin privileges) </td>
    4648</tr>
     49<tr>
     50<tr valign="top">
     51<th scope="row">landingpage URL </th>
     52    <td><input name="affp_land" type="text" value="<?php echo $affiliate_plus_cfg['affp_land'];?>" size="30" maxlength="100"></td>
     53    <td>URL to send visitors to after arriving at your site through an affiliate link</td>
     54</tr>
    4755<tr valign="top">
    4856<th scope="row">affiliate tracking parameter </th>
  • affiliate-plus/trunk/readme.txt

    r178126 r186562  
    44Tags: affiliate, referral, plugin, links
    55Requires at least: 2.8.4
    6 Tested up to: 2.8.5
    7 Stable tag: 1.2.1
     6Tested up to: 2.9
     7Stable tag: 1.3
    88
    99Affiliate Plus lets your registered users get credit for new users they recruit
     
    2424== Changelog ==
    2525
     26= 1.3 =
     27* 23-12-2009
     28*added landingpage parameter to the settings page to redirect all incomming affiliate links to a certain page
     29
    2630= 1.2.1 =
    2731* 30-11-2009
Note: See TracChangeset for help on using the changeset viewer.