Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

Re: [mv] Partner tracking in MV4



******    message to minivend-users from Mike Heins <mikeh@minivend.com>     ******

Quoting Mike Heins (mike@minivend.com):
> Wait, it doesn't work, sorry. You need to patch lib/Vend/Server.pm:
> 
> 152c152
> < 	if( defined $pairs[0] and $pairs[0] =~ /^	(\w{8,32}) ; /x)  {
> ---
> > 	if( defined $pairs[0] and $pairs[0] =~ /^	(\w{8,32})? ; /x)  {
> 
> > 
> > I also use the [data session arg] to pass arguments to some scripts.
> > 
> > www.silverclicks.com/cgi-bin/silverclicks?;arg;
> > How do I pass the affiliateID to the variable source so I can track my
> > affiliates referrals?[ data session source] and how do I pass the arg to the
> > [data session arg] or will  this be no longer available
> > 
> 
> It will be, once you apply the patch. But the canonical way now is
> to use:
> 
>  http://www.silverclicks.com/cgi-bin/silverclicks?mv_arg=arg
> 
> Thanks for finding this bug.

And I tested without a & sign and found it doesn't work like I said.
Needs a couple of patches:

41c41
< 	if(@Global::argv) {
---
> 	if(@Global::argv > 1) {
152c152
< 	if( defined $pairs[0] and $pairs[0] =~ /^	(\w{8,32}) ; /x)  {
---
> 	if( defined $pairs[0] and $pairs[0] =~ /^	(\w{8,32})? ; /x)  {

-- 
Mike Heins                          http://www.minivend.com/  ___ 
                                    Internet Robotics        |_ _|____
I have a cop friend who thinks      131 Willow Lane, Floor 2  | ||  _ \
he ought be able to give a new      Oxford, OH  45056         | || |_) |
ticket; "too dumb for conditions".  <mikeh@minivend.com>     |___|  _ <
                                    513.523.7621 FAX 7501        |_| \_\
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: