Home > General > Affiliate Marketing Forum

Prosper202 Mod? (8)


09-09-2011 01:52 PM #1 manutv (Member)
Prosper202 Mod?



c1-c4 variables must be less than 50 characters long

Is there a way to increase the number of characters to 300+?



I looked into my database and edited the 'varchar(50)' to say 'varchar(500) but the c1 still passes just the first 50 characters lol



I'm ready to give away the love letter Mr.Green wrote to me - to the one who helps me out

j/k

I didn't get my letter and my $3 damn you lorenzo


09-09-2011 02:41 PM #2 clicktrack (Member)

You changed the database length correctly but I am guessing the code that enters the info limits it to 50 before entering it to the database so it doesn't break it.

Look in two places. First the page you enter it look at the form and make sure maxlength is not set to 50. Then look at where the form send the info too and look for the variables that captures to form variable and make sure it is not trimming it to 50 characters.

If you are still having issues then let me know and I can see if I can look into it.


09-09-2011 10:28 PM #3 manutv (Member)

clicktrack! Thanks a ton

For others who might be interested in this, here's how you can increase the number of characters for c1-c4:

Edit the functions-tracking202.php file from trackingdomain.com/202-config/

Find this line

Code:
		//only grab the first 50 charactesr of c1
		$c1 = substr($c1, 0, 50);
		$mysql['c1'] = mysql_real_escape_string($c1);
Change the 50 to any number of characters you want

Edit your database like I did in my previous post

Done!

Thanks again to clicktrack


09-15-2011 02:23 PM #4 Mr Baffoe (Veteran Member)

Hi just wondering what kind of use case of C1-C4 would need the extra length. Trying to figure out if we should officially change it or maybe add some other functionality to make up for the need.

Thanks


09-15-2011 03:09 PM #5 manutv (Member)

The offer I'm testing doesn't support pixels, only s2s tracking.

For that, my traffic source requires me to store a key (300+ characters) in my database and send back the data everytime a conversion occurs.

Quite similar to how subids work in Prosper, only difference is that the random number generated in a bit longer.


09-15-2011 03:22 PM #6 Mr Baffoe (Veteran Member)

Quote Originally Posted by lifetweak View Post
The offer I'm testing doesn't support pixels, only s2s tracking.

For that, my traffic source requires me to store a key (300+ characters) in my database and send back the data everytime a conversion occurs.

Quite similar to how subids work in Prosper, only difference is that the random number generated in a bit longer.
Ok interesting, so are you doing something like this &c1=[[[some token to generate the randome key]]


09-15-2011 03:24 PM #7 manutv (Member)

The funny thing is, the subid field the network has..stores only upto 255 characters ( read this ) , so some leads might not get updated with the traffic source, since the data I need to store is mostly about 200-350 characters.

Its great that we can add our pixels to Prosper 1.7! That solves the problem for me


09-15-2011 03:25 PM #8 manutv (Member)

Quote Originally Posted by Mr Baffoe View Post
Ok interesting, so are you doing something like this &c1=[[[some token to generate the randome key]]
yeah exactly


Home > General > Affiliate Marketing Forum