With premiums that have no affil id we tend to look for the files that they download instantly and can tell which affiliate these premiums should belong too.
It is not happening that often, but how can we move these premiums to their correct affiliate???
Is this possible in the script or have to do it directly to the database.
We know a few other people that have this issue lately too with their xfs but they dont know how to solve it either.
XFileSharing Pro - premiums that have no affiliate id
It's all about cookie, a few premium users don't enable cookie or don't accetp cookie from your site so xfs can not track the sale from which aff id.
sound like you are shaving , so you should happy with this
I suggest you modify index_dl.pm, put the cookie on download0.html if you have premium plan on it.
sound like you are shaving , so you should happy with this
I suggest you modify index_dl.pm, put the cookie on download0.html if you have premium plan on it.
Code: Select all
if($file->{usr_id})
{
$ses->setCookie("aff",$file->{usr_id},'+14d');
}
return $ses->PrintTemplate("download0.html",
%{$file},
%cc,
'referer' => $f->{referer} );
thanks for reply we will put that on all of our pages.
Is it possible to put premiums to their correct affiliate in the script??
Our do we have to do this manually in the database? We didn't want to go manually into the database but then we do want to credit our affiliates with there premiums they earned/
Anyone know how to do this??
Is it possible to put premiums to their correct affiliate in the script??
Our do we have to do this manually in the database? We didn't want to go manually into the database but then we do want to credit our affiliates with there premiums they earned/
Anyone know how to do this??
just search "download0.html" in index_dl.pm
put
before
put
Code: Select all
if($file->{usr_id})
{
$ses->setCookie("aff",$file->{usr_id},'+14d');
}
Code: Select all
return $ses->PrintTemplate("download0.html",
%{$file},
%cc,
'referer' => $f->{referer} );
Jaychew wrote:just search "download0.html" in index_dl.pm
putbeforeCode: Select all
if($file->{usr_id}) { $ses->setCookie("aff",$file->{usr_id},'+14d'); }
Code: Select all
return $ses->PrintTemplate("download0.html", %{$file}, %cc, 'referer' => $f->{referer} );
Thanks for that tip