'', 'affp_expire' => '', 'affp_redir' => '', 'affp_trkpar' => '', 'affp_usrpage' => '', 'affp_land' => '' ); $ol_flash = ''; if(isset($_POST['affp_submit'])) { $affiliate_plus_cfg['affp_override'] = $_POST['affp_override']; $affiliate_plus_cfg['affp_expire'] = $_POST['affp_expire']; $affiliate_plus_cfg['affp_redir'] = $_POST['affp_redir']; $affiliate_plus_cfg['affp_trkpar'] = $_POST['affp_trkpar']; $affiliate_plus_cfg['affp_usrpage'] = $_POST['affp_usrpage']; $affiliate_plus_cfg['affp_land'] = $_POST['affp_land']; update_option('affiliate_plus_cfg',$affiliate_plus_cfg); $ol_flash = "Your settings have been saved."; } if ($ol_flash != '') echo '

' . $ol_flash . '

'; $affiliate_plus_cfg = get_option('affiliate_plus_cfg'); $affurl = get_option('siteurl').'/?affid='; ?>

Affiliate Plus Settings

override cookie > select if the cookie should be overridden if one already exists
cookie expire number of days untill the cookie expires, 0 to let it expire after session end (ie.closing the browser window)
redirect URL URL to send users to after they log in (does not affect users with admin privileges)
landingpage URL URL to send visitors to after arriving at your site through an affiliate link
affiliate tracking parameter name of the parameter to use for affiliate tracking (ie affid, sendby, hearedfrom) default value is affid, which means user phil should send visitors to phil
warning: this setting should not be changed while your affiliate program is already running as excisting users that have published affiliate links could be sending new signups to the old URL which will no longer track the referral!
show affiliate details on user page > select to show 'referred by' 'number of referrals' and 'affiliate URL' on the users profile page.