Page 1 of 1

referral system

Posted: Thu Nov 04, 2010 3:17 pm
by nite4000
Hi everyone

This project isnt hard as some but lil time is needed to do.

I have a script that I have put a referral matrix into it total of 6 leveles if you count your first referral if not then 5

I have it where it does the input of who is whos referral not I need it to pay the members the correct percentages of the others deposit.

Let me give you example

Dan > Joe > Jack > Steve > Frank > Sassy > Carol
Ref 1 Ref 2 ref 3 ref 4 ref 5


Now the percentages would go from 8% for the first which is Joe and from there it would go 5% to 1% meaning dan gets 8% of joes deposit and dan gets 5% of jacks and gets 4% of steve and 3% of frank and 2% of sassy and 1% of carol



This would work for everyone who had a referral and who did a deposit



I can provide you with the sample pages I did that I would just go to and it would credit the memebers for testing.

As I said it isnt a hard project but I havent been able to get it to work past the first referral.

I would also need to put this code into my payment pages so when deposits are done it would chk and credit the correct members the right percentages.



I would like to get some help on how to make it do this coding to make it give the commisions.