Changeset 186562
- Timestamp:
- 12/23/2009 01:17:09 PM (16 years ago)
- Location:
- affiliate-plus/trunk
- Files:
-
- 3 edited
-
affiplus.php (modified) (3 diffs)
-
affipsettings.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
affiliate-plus/trunk/affiplus.php
r178124 r186562 5 5 Description: Affiliate Plus lets your registered users get credit for new users they recruit 6 6 Author: Nico 7 Version: 1. 2.17 Version: 1.3 8 8 Author URI: http://www.blogio.net/blog/ 9 9 Questions, sugestions, problems? Let me know at nico@blogio.net … … 44 44 'affp_redir' => '', 45 45 'affp_trkpar' => '', 46 'affp_usrpage' => '' 46 'affp_usrpage' => '', 47 'affp_land' => '' 47 48 ); 48 49 $affiliate_plus_cfg = get_option('affiliate_plus_cfg'); … … 76 77 // set cookie 77 78 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 79 86 } 80 87 -
affiliate-plus/trunk/affipsettings.php
r169043 r186562 5 5 'affp_redir' => '', 6 6 'affp_trkpar' => '', 7 'affp_usrpage' => '' 7 'affp_usrpage' => '', 8 'affp_land' => '' 8 9 ); 9 10 $ol_flash = ''; … … 14 15 $affiliate_plus_cfg['affp_trkpar'] = $_POST['affp_trkpar']; 15 16 $affiliate_plus_cfg['affp_usrpage'] = $_POST['affp_usrpage']; 17 $affiliate_plus_cfg['affp_land'] = $_POST['affp_land']; 16 18 update_option('affiliate_plus_cfg',$affiliate_plus_cfg); 17 19 $ol_flash = "Your settings have been saved."; … … 45 47 <td>URL to send users to after they log in (does not affect users with admin privileges) </td> 46 48 </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> 47 55 <tr valign="top"> 48 56 <th scope="row">affiliate tracking parameter </th> -
affiliate-plus/trunk/readme.txt
r178126 r186562 4 4 Tags: affiliate, referral, plugin, links 5 5 Requires at least: 2.8.4 6 Tested up to: 2. 8.57 Stable tag: 1. 2.16 Tested up to: 2.9 7 Stable tag: 1.3 8 8 9 9 Affiliate Plus lets your registered users get credit for new users they recruit … … 24 24 == Changelog == 25 25 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 26 30 = 1.2.1 = 27 31 * 30-11-2009
Note: See TracChangeset
for help on using the changeset viewer.