Hola,
Es cierto lo que dices MinervaH, el sistema de afiliados de AP es realmente malo. Sin embargo para los que usen AP y les interese un sistema de afiliados, en su foro Brandee Diggs (fundador y dueño) posteó una manera de integrarlo con iDevAffiliate. Aqui les dejo el post con las instrucciónes para los que estén interesados.
Cita: HOW TO INTEGRATE INTO YOUR INSTALLATION
First: Get it here - iDevDirect - iDevAffiliate [click here]
[1] Upload the script to any folder of your choice. It can be in a folder called /affiliates, or whatever you prefer.
[2] go through the setup and installation instructions provided by iDevAffiliate to get the system installed and running properly. Make sure during setup you have Enable Recurring Sales? set to yes.
[3] Pay Per Sale option is what I have tested and seems to be the best method of affiliate payout.
[4] Under the "Payout Settings" area, put total_due_reoccur as the Pass-Thru Variable Name for tracking. This will ensure that you are paying commission on 'what reoccurs' as opposed to monthly on initial payments ( which could be more than the recurring )
[5] Under the "Order Tracking" area, here is what I put in there: domain_name
** this lets you see the referrar & the domain that signed up in the admin area
[6] Open up your 'invoice_new.php' file and your 'mail_payment.php' file in an editor and at the bottom of the file, put your 'processing code' in there like this:
File: invoice_new.php
CODE
include $server_inc."/footer3.php";
mysql_close($dblink);
?>
<!-- Start iDevAffiliate Processing Code -->
<? include("/home/username/public_html/affiliates/sale.php"); ?>
<!-- End iDevAffiliate Processing Code -->
File: mail_payment.php
CODE
mysql_close($dblink);
?>
<!-- Start iDevAffiliate Processing Code -->
<? include("/home/username/public_html/affiliates/sale.php"); ?>
<!-- End iDevAffiliate Processing Code -->
This will allow both paid orders and mail in payment orders to be tracked.
[7] Now you need to remove the referral tracking from the internal system in your step_one.php file. Open up /step_one.php and change this:
line: 170 - 172
CODE
<tr>
<td width='40%' align='left' valign='top'><img src='".$http_images."/space.gif' width='32' height='1'>".$stepone_referralinput."</td>
<td width='60%' align='left' valign='top'><input ".$orderinput_style." type='text' size='30' maxlength='255' name='referrer_id' value='".((isset($xreferrer_id))?"".$xreferrer_id. "":"".((isset($referrer_id))?"".$referrer_id."":"" )."")."'> ".$text_optional."</td>
</tr>
To this:
CODE
<tr>
<td width='40%' align='left' valign='top'></td>
<td width='60%' align='left' valign='top'><input ".$orderinput_style." type='hidden' size='30' maxlength='255' name='referrer_id' value=''></td>
</tr>
[8] Now you need to change the link from to the existing affiliate menu to the new affiliate system you just installed and configured. Open up /client_area.php and change this:
Line: 193
CODE
echo show_affiliate_client($http_images, $uid, $sid, $http_web);
echo("
</td>
To this:
CODE
#echo show_affiliate_client($http_images, $uid, $sid, $http_web);
echo("
<img src='".$http_images."/menu_arrow.gif'><b>Affilates Area </b><a href='http://yoursite.com/affiliates/' target='_blank'>Click to Enter</a></b>
</td>
If you have any links pointing to the existing affiliate signup for normal affiliates and pointing to clogin.php for affiliate login, please manually change them to the path of your iDevAffiliate installation.
This should do the trick.
NOTE: This does not integrated into the existing admin area nor does it share the same user & pass as the /clogin.php for the clients. I am working on that automation and once I have that deeper integration completed, I will share my results with the community.
Thanks.
A manera de aclaración, parece que solamente funciona para algunas versiones de iDevAffiliate, sin embargo vale la pena probarlo...