PDA

View Full Version : $Affiliate_taxssn works in email, not in News


AlanT
15th October 2005, 07:40 PM
Today I've been trying to figure out how to add the referrer id for each affiliate into the resource pages, News postings, and email broadcasts. The resource pages were very easy to add the new code to, and so was the News broadcast, but the email broadcast is proving difficult.

What confused me was that the same subroutine is being called for both News postings and email broadcasts.

I just tested the code listing provided in the new test.html resource page in the Broadcast Message section of the admin panel. This was edited to include the referrer id as I created it.

What I just found has revealed that the $Affiliate_taxssn code is not working in News postings, although it IS working for email broadcasts.

Here is what I received through email:


Date : 2005-10-15

Time : 01:15:37

Affiliate ID : 2

Affiliate Referrer ID :

Affiliate name : Alan Tutt

Affiliate firstname : Alan

Affiliate lastname : Tutt

Affiliate username : Alan@PowerKeysPub.com

Affiliate password : ******

Affiliate company : PowerKeys Publishing

Affiliate weburl : http://www.PowerKeysPub.com

Affiliate street : 1805 Walker Ave NW

Affiliate city : Grand Rapids

Affiliate state : MI

Affiliate country : United States

Affiliate zipcode : 49504

Affiliate phone :

Affiliate fax :

Affiliate taxssn : 352-70-6666

And here is the exact same message as it appears in the News:

Date : 2005-10-15

Time : 01:15:14

Affiliate ID : 2

Affiliate Referrer ID : powerkeys

Affiliate name : Alan Tutt

Affiliate firstname : Alan

Affiliate lastname : Tutt

Affiliate username : Alan@PowerKeysPub.com

Affiliate password : *****

Affiliate company : PowerKeys Publishing

Affiliate weburl : http://www.PowerKeysPub.com

Affiliate street : 1805 Walker Ave NW

Affiliate city : Grand Rapids

Affiliate state : MI

Affiliate country : United States

Affiliate zipcode : 49504

Affiliate phone :

Affiliate fax :

Affiliate taxssn :

From this, you can see that the new referrer id code is working in the News post, but not in the email, and the system taxssn code is working in the email, but not in the News post.

It is clear that something is different between the two processes that is not defining all of the codes the same.

Thanks.

martin
18th October 2005, 05:37 PM
Hi

In patch3 there was $Affiliate_taxssn issue fixed, as well as $Affiliate_refid variable added.

Patch is available for you in our members area.

Martin