Archive

Freelance Projects Tagged ‘referrer’

Add Commission History Table

March 18th, 2010

Hello,

First, here is an overview of my system. Whenever a member
purchases points and the payment status is “instant” or
the E-check status comes back as “Completed”, the points
are added to the member’s account, the commission is added
his referrer’s account and an email is sent to the
referrer.

Sometimes PayPal’s IPN fails. When this happens, the
url_package_fee table is not updated, the points are not
updated to the member’s account, the referrer’s
commissions are not updated to his account and the email is
not sent to the referrer.

When the PayPal’s IPN fails, I search the url_package_fee
table (this is where the details of the purchases are
updated) to see if the transaction was updated there.
Sometimes the info is there and sometimes it’s not. So it
would be hard for me to tell if the referrer’s commissions
were updated to his account when the PayPal’s IPN fails.

So in order to help me to determine if the referrer’s
commissions where updated to his account when the IPN fails,
please do the following:

Note: Attached is my PayPal IPN file (notify.php) so you can
see the exact code. The only thing you will need to do is
create the commission history table and in the notify.php
file, have the script update this table whenever the payment
status is “Instant” or when the E-check status comes back
as “Completed”.

Below is what needs to be done:

1) Create a Commission History table and name it
“url_commission_history”

In this table put the following variables: (Note: Most of
these variables can be found in the url_package_fee table).

- $user_id (This would be the referrer’s user id which is
the person who is receiving the commissions)

- The commission amount (This is the amount the referrer
received as commission from the purchase). This variable is
already in the notify.php file.

- $package_name

- $buy_date

- $payment_type

- $trans_id

- $user_id (This would be the user id of the referral which
is the member who made the purchase)

- When the transaction status comes back as “Instant” or
the E-check status comes back as “Completed”, the
url_package_fee table is updated, the points are updated to
the member’s account who just made the purchase, the
commissions are updated to the referrer’s account and the
referrer is sent the email. Now right after the email is
sent to the referrer, the last thing the IPN should do is
update the “url_commission_history” table.

Now let’s say that the IPN fails. (Note: Sometimes there is
a partial failure meaning the url_package_fee table is
updated Only and sometimes there is a full IPN failure
meaning the url_package_fee table, the points and the
commissions are not updated and the email is not sent to the
referrer). I always know if there is some kind of IPN
failure, because the points are never updated to the
member’s account.

So when there is one of these failures, I should be able to
go to the “url_commission_history” table to see if it was
updated, since this table is updated last in the IPN
process. Now if the transaction is not in the
“url_commission_history table, I can assume that the
commissions were not updated and that the email was not sent
to the referrer.

The goal here is to be able to accurately determine if the
commissions were added to the referrer’s account whenever
there is a partial or full IPN failure. Let me know what you
think is the best way to logically solve this problem.

- Whenever I delete a member from the admin panel, the
script should check the “url_commission_history” table and
delete all records in this table pertaining to that member.
(I delete member’s account from the admin panel, by click
on the “User Management” link, clicking on the email
address of that member and then clicking on the “Delete”
button underneath his account details).

******* NOTE: The commission history table should only be
updated when the payment status is “Instant” or the
E-check status comes back as “Completed”.

2) Commissions Not Added When E-check is completed. The
following problem only exists when an E-check comes back as
“Completed”. When a payment status is “Instant”, every
thing is working fine.

User ID# 4194 E-check was completed. The points were added
to his account which is correct. But here are the problems:

- The commissions were not added to his referrer’s account
User ID# 4193

- And User ID# 4193 did not receive the referrer’s
commission notification email.

The code is already there, you will just need to figure out
why the commission is not being added to the referrer’s
account and why the email is not being sent to him when an
E-check comes back as “Completed”.

3) Url’s not hyperlinked when I send a Plain Text email to
ALL members.

Whenever I send a Plain Text email to all member’s, the
url’s in that email are never hyperlinked. The url’s
should be hyperlinked. You can log into my admin control
panel and click on the “E-mail Members” links to check
this.

Thanks,

Mike

Categories: PHP, Programming

Rus – Add Referrer Url Track

March 3rd, 2010

Hi!

- I’m looking for a Russian-speaking PHP programmer, to help me out with a series of web-site enhancements.

- The current project is ONLY for a referrer-url-tracking feature. If you complete it in fast and professional manner, more tasks will follow.

PROJECT DESCRIPTION
——————-
I have a shop-script based website. I wish to be able to track, which buyers come from where. E.g., when a person comes to the site, his referrer URL must be saved (or, if he types the URL directly into his browser’s address line, save this info). And if he completes an order, referrer URL must be added to his order details.

There should be a page (table), listing:

0. Referrer URLs
1. The total number of visitors from each referrer
2. How many of them made a purchase
3. Average revenue per buyer
4. Total revenue per buyer
5. CPC – cost per click (a textbox, with default value ZERO, that I can edit)
6. OLD referrer URLs (a list)

Each NEW visitor should receive a cookie, so that if he originally comes from a certain referrer URL, doesn’t buy right away but buys later, the script would check the OLD referrer URL in the cookie (or do some other test), and if an old referrer exists, add it to “6. OLD referrer URLs” list.

Please submit your best offer. Thanks!
Nataly

Categories: MySQL, PHP

Tracking And Referrer Url

February 21st, 2010

Hi

I’m looking a code like this site has: http://www.reputationroi.com/offer/gamefly-2/

Description:
+) Traffic source: Search( google, yahoo,…)
example: When a visitor go to this site via a keyword, a parameter will be added on this link to track the keyword which visitor used to search
such as: http://search.yahoo.com/search?p=gamefly&ei=UTF-8&fr=moz2 ( referrer link) and keyword is gamefly

After http://www.reputationroi.com/offer/gamefly-2/f51cfccdc8b3b8608860a49a4f6a945e/
was generated, it will go to a link on this page: Here is http://www.reputationroi.com/o/gamefly-2
You can see http://www.reputationroi.com/o/gamefly-2 under Gamefly or Visit now button.

Finally, i don’t care how to track the keyword because i can do it. But i want to know how http://www.reputationroi.com/offer/gamefly-2/f51cfccdc8b3b8608860a49a4f6a945e/
can go to or call a link on this page, then go to this link

Categories: Programming

Php Header Spoof/rewrite

February 12th, 2010

I need a script that will allow me to change the referrer that the browser submits to the destination server.

Example -

Traffic comes from www.abc.com/example.html
Click sent to www.destination.com
Script changes referrer to www.other-www.com

In this way the destination site can not look at their logs and see the real place that my traffic comes from, it appears that traffic comes from a place that I enter.

Requirement
- must be in PHP and compatible with all browser – no javascript

NOTES:
- Each entry should have its own field to enter a referrer. (ie: links 1 and link 2 may show different referrers.
- Needs to happen instantly, no delays or new pages.
- If you have a free script that counts and changes referrer already, I am willing to use that instead. Mention in your bid that you are charging for a link to the free script. (I am happy to pay for that)

Details – I get traffic from various online forums and send traffic through to affiliate programs. I do not want the affiliate program to see where my traffic comes from, I want them to see that traffic comes from a site on the same server that is running the script.

A whole new script is fine, just as long as I can count clicks.

Payment Terms – Paypal – Pay 100% when I see a working demo on your server.

Categories: PHP, Programming

Refer A Friend Script / Form.

December 21st, 2009

Refer A Friend Requirements.

- People land on the Refer A Friend page after clicking a link in an email and…
- They can refer at least 3 friends, and up to 5.
- I’d like to have the option of making 3 friends required.
- Would like a “captcha” or similar security feature.
- Referrer enters his name and email address.
- Referrer then enters names and email addresses of friends.
- Referrer can see the contents of the email that will be sent and can tweak it.
- Or perhaps they can tweak part of it. I don’t want them to be able to remove the link I put in.
- After submitting their friends, referer is forwarded to the thank you page of my choice.
- Person receiving referal receives a clean, simple email with a link.
- I need this to be simple to implement on a static website html page. We have php 5.x so I assume that the script would need to be compatible.
- Simple instructions to me for implementing the script.
- I should be able to easily tweak the text in email subject / body or field names.

Categories: PHP, Programming

Wordpress Plugin Http_referrer

December 9th, 2009

I need a Wordpress plugin which fetches data from the http_referrer and from google adwords (all in a session cookie for instance). The data needs to be logged and be viewable in the wordpress admin panel. Also I need to fetch data from that session and put it some where in the post/page to show keywords etc. That needs to be done using some inline/shortcode in the post.

Something like: somebody comes from google where he searched for scriptlance coder.

I want logged in my admin panel, source: google.com
keywords: scriptlance coder

In my post/page I want some quicktag so I can create the following:
<h1>[quicktag]</h1>

So this will become:

<h1>scriptlance coder</a>

The plugin needs to check if the referrer is from google adwords or google organic or an other referring site. If you have any question, please send me a pmb.

Categories: Programming, Wordpress

Fake Referrer Plugin Wp

August 12th, 2009

What I’m interested in is a plugin to WP that can fake the referrer for affiliate networks. I have a plugin already, but I want it modified and better. Contact me for more details.

Categories: Programming

Need Help With Php Redirect

August 11th, 2009

Any help would be much appreciated.

I am trying to redirect users based on the referring url. I’ve got it working based one the referring domain, but I want it to work when a query string is attached to the domain.

This is what I have so far.

PHP Code:
<?
$referrer = $_SERVER['HTTP_REFERER'];
if (preg_match(”/google.com/”,$referrer)) {
header(’Location: http://WebsiteA.com’);
} else {
header(’Location: http://WebsiteB.com’);
};
?>

This is what I want to happen, but I know this is not how to do it:

PHP Code:
<?
$referrer = $_SERVER['HTTP_REFERER'];
if (preg_match(”/google.com/url?q=”,$referrer)) {
header(’Location: http://WebsiteA.com’);
} else {
header(’Location: http://WebsiteB.com’);
};
?>

I want to only show WebsiteA.com if the referrer is google.com/url?q=xxxxxx (which includes anything that follows ‘url?q=’)

If the referrer is anything other than google.com/url?q=xxxxx or even just google.com i want the user to go to WebsiteB.com

So, a recap:

I want user to go to WebsiteA if referrer is something like google.com/url?q=widgets&url=23KLNSDL

I want the user to go to WebsiteB if referrer is anything else, even if the referrer is only google.com i want them to go to WebsiteB

Thank you for your help!

Categories: PHP

New Kind Of Get Paid To Click

August 2nd, 2009

I would like to commission a “paid to click” site with a difference.

#Admin needs to be able to create surveys in which advertisers can target specific members. (business to business vs. regular consumers, consumers with kids, etc)
Example: Consumer’s age, sex, income bracket, Single, Married, No. of kids, residential location (city and/ or suburb), interests, anything to help advertisers to target specific consumers.
For example, an orchid shop may want to target a consumer who likes flowers. An insurance company may wish to target car owners.

#Members cannot view ads without filling in the surveys.
Important Note: there are two types of clientele. Advertisers and consumers (web surfers). Advertisers buy

Basic Php Redirect/prosper202

July 31st, 2009

I am using a tracking program to track keywords, landing pages, ads, etc called Prosper 202.

The program is self hosted on one of my domains.

The program cloaks all the above things which is what I want of course, however, according to the

developers it is suppose to only show the domain, which I have the program installed on as the

referring link.

So I ran a few tests but when I checked my “latest visitors” in the cPanel of my hosting, it was

showing blank referrers which I cannot have. There is traffic that I am sending which companies will

look at the referring links and if they see a blank referrer, this could make them uneasy and no

longer want my traffic.

So I need your help/consultation to help me figure out why this is happening. I know this should be

easy to someone that knows a lot about php and redirects as this is what is basically happening. I

am “technical” to some degree but this is beyond me.

The next issue is that there is a about 1% of browsers which are unknown and not recognized that

will “leak” ending up passing the referrer.

My friend told me that I can conditional redirect the traffic based upon the referral via the

htacess file. He said I will have to create a “safe list of browsers” that I can pass on to the

companies. So in essence the file will say “if it’s a browser on the safe list, let it redirect, if

it’s not on the safe list (unknown browser) send it somewhere else.

The other way he told me I could do it is instead of checking if the browser is good or not, we

could check if the referrer is blanked pass it on if not don’t.

He said we could put the redirect before or after prosper. He told me that redirect1.php redirects

to redirect2.php. Redirect 2 will see if it’s blank, if it’s not blank it will kick it back to

redirect 1 to blank it to come back to redirect 2 then pass it. So it’s a conditional redirect. I

have both files for you to make sense of all this. I just need your help in putting this together

and making sure I understand it.

I have the call recorded between my friend and I that you can listen to in order to help you

understand it.

I know that this is not that hard and I feel that I almost have it but I do not want to guess that I

am doing this correctly. I would rather hire you as my “tech” personnel on this.

I am also looking to keeping you for other projects I have going on. Thanks and looking forward to it.

Categories: PHP, Support, XHTML

Unostart – Tpo3

July 15th, 2009

First Program:
The 1st programme which we call UnoStart which is a 3 X 2 cycler who has three or more Revolution or 3 X 2 cyclers
The cost to join is $15
How the cyclers work. And the payouts for each cyclers, 1 to 3 as below.
1st: Cycle the Members get $50 and Sponsor $25 and get a position in the second cycler when completed.
2nd: Cycle the Members get $100 and Sponsor $50 and get a position in the third cycler when completed.
3rd: Cycle the Members get $1200 and Sponsor $725
When he has completed the third cycle it starts again and he get a position back in the first cycler.
Members can have a few ways to pay for their membership but they will have to use 1 payout method which is PayItGlobal to get paid, which means we can do the payouts automatically, when they come due.
We have seen a few other programs which do this and I’m happy to give you links if you need for examples.

Second Program:
Which is used to help the first program can be done in two ways and I’m looking to what will be the best I will try to explain both.
Option1:
Pay it forward component which we call: TPO-3 = The Power of Three

1. There are 2 lists

Categories: CMS, MySQL, PHP

Member Area From Referrer

July 12th, 2009

From a facebook.com page, visitors can click upon a link. This leads to www.domain.com/members

IF the person has not come from a facebook.com page, they will, instead, be directed to www.domain.com/nonmember where there will be an error message saying “You must be a Facebook fan to access the offers”

- When arriving at www.domain.com/members location the user has the following options:
1) read how this site works
2) get a membership number
3) view offers
4) reminder of membership number

Each of these must lead to a separate page. These pages must be within the ‘members’ area and therefore ONLY visible IF the visitor came from the facebook.com page. Otherwise the pages must divert to the “nonmember” message.

options 1) and 3) would lead to simple (but protected) text pages.

*** Option 2 would request the following..
- email address (to send your code to)
- repeat email address
- first name
- surname
- gender (male or female)
- location
- set your own security question (eh “name of favourite pet”)
- answer to the question
- mobile phone number (to send your code to)

All of these are compulsory fields and should be checked / validated.
Any “+” in front of the mobile number should be stripped off.
If the mobile phone number then does not begin with “07″ or “44″ an error message should be generated.
If the mobile phone number begins with “0″, this should be replaced with “44″
If the mobile phone number does not then fir the format “447xxxxxxxxx” (12 digits) an error message should be generated.

There should also be a CAPTCHA code to precent robot entries.

Upon clicking “send” an email should be sent to the address containing a randomly generated 16 digit membership number of the format xxxx-xxxx-xxxx-xxxx

All of the above data (including the membership number) should be stored in a mySQL database.
NB: if the email address is ALREADY stored in the database, an error message to this effect should be returned as opposed to creating a new membership.

*** Option 4 would simply request an email address:
- if this is found in the database, an email is sent containing the membership number
- if it is not found, an error message is returned.

—————–

A further directory (open to all) – www.domain.com/vendor would

- request the membership number using four horizontal boxes in the format xxxx-xxxx-xxxx-xxxx
- request a CAPTCHA code.
- “your vendor name”

If either of the first two were incorrect, an error message would be given.

Otherwise the web page will display “The member is valid. [His/her] name is [firstname] [surname]“.

The member number / name and vendor name would be written to a .txt log file along with the date and time.

—————–

A password protected www.domain.com/admin/ panel would allow and admin to search by email address and to edit any of the information

——————

A final script would request a mobile number. If found in the database, it would return “present”, if not to would return “absent” (no captcha code should be used here).

—————

You will be given fill ftp access to the server and its ‘control panel’ to install and text the scripts.

** Whilst I am not expecting a dazzling web design with fancy graphics, the pages should be presentable and pleasing on the eye.

Categories: MySQL, PHP

Recurring 2×2 Follow Referrer

July 10th, 2009

I need a recurring 2×2 system that is tied up to AlertPay monthly subscription, with rules and mechanics below.

MX1 System Rules:

1) Entry price is $30, but I must have ability to modify this automatically and easily via Admin login.

2) The $30 recurs every month. For every recurring payment, the customer gets a new header or account in a separate matrix from his previous matrix, thus, he will have 12 separate matrices a year for each of the 12 months. Each of those matrices are not connected to each other. Its as if the member joins a new matrix program every month. (Important Note: recurring payments always go to a new matrix, and NOT anywhere inside a persons previous matrix even if that matrix is not yet filled up. In the new matrix, he may follow his sponsor there, but he can never be under his previous month’s matrix).

Also note that if a member fails to pay a monthly subscription, his downline ‘ROLLS UP’ or gets connected to the next available sponsor up.

Example:

MONTH 1
Each pays $30

……………Soul
……..|……………|
……John……….Sue
..|
Bill

MONTH 2
Each recurs payment of $30: They all follow their sponsor

……………Soul
……..|……………|
……John……….Sue
..|
Bill

MONTH 3
John fails to pay month 3. Bill ‘ROLLS UP’ to his next available paid sponsor, who is Soul.

……………Soul
……..|……………|
……Bill……….Sue
..|

3) SPILL OVER IS OK, but only within a slots 2×2 structure. If his structure is filled up, his new recruits goes to his new 2×2.

4) Of course, if a member has many referrals, it will cause him to fill his matrix and produce a new matrix. His further new referrals will go to this new slot. If this new matrix fills up with his many further referrals, he will have a new matrix again where the referrals will come in, and so on.

5) Commissions are only paid out to a person who fills up his own 2×2. Once a 2×2 is full, the person gets paid $100 (this must be easily modified via Admin).

6) Here is where the recycling is vital… ALL NEW RECYCLED ACCOUNTS GO TO THE NEXT AVAILABLE OPEN SLOT IN THE MEMBERS REFERRER. Down below under the line is a diagram of how this works.

NOTE: The first slot in the company, which is at the top, when it recycles, creates another slot at the top again (it’s second slot) at the same level as the first top slot. So as long as the top slot keeps recycling new top sllots are always created. For example…

……………Top ……………Top2
……..|……………|
……Ken……….Joe >>>>>>>>>>>>>
.|……….|…….|…….|
Bob…..Sally…Peter…James

7) In the backend, the genealogy tree must be clear. People can select ‘MATRIX 1′ to see their 1st Matrix. Then if they have already recycled or recurred in payments, they can view ‘MATRIX 2′, and so on.

8) AlertPay will be the pay processor. Please make it easy to auto-activate entries (after payments) and mass payout commissions (automatically at the 10th day of the month in just 1 click, based on performance up to the last day of the previous month).

9) Cut off is every last day of the month and payout is every 10th day of the next month. Between the last day of the month and the 10th day of the following month, the system lists down the accounts that failed to re-subscribe and accounts that canceled their subscriptions… and takes these accounts out of the system, thereby rolling up the paid subscribers to the next upline who is paid.

10) Product is a daily inspirational video package, so it’s viewable or downloadable. People must be sent a download link once they submit payment. Viewing or download system must be secured so not anyone can get its URL and download the products.

11) Members must be able to recruit new members using their sub-domain (i.e. subdomain.domain.com), and not just an affiliate link. So subdomains must automatically be created based on a new member’s username. When signing up, members must be able to check if subdomain is still available, so they can amend their choice username.

12) The admin and backend system must have the features present in the other 2×2 systems out there.

13) New recruits cannot join free. They must pay first before getting into the system.

____________________________________________________________________________________________________________

Below is a sample on how the basic recycling works:

1) Assuming it starts with Soul, who joins by paying $30…

SOUL

2) Soul recruits John, who also pays $30…

….Soul
..|
John

Soul doesn’t get any commissions yet until his 2×2 is full

3) Soul recruits Sue, who also pays $30…

……..Soul
..|……………|
John……….Sue

Soul doesn’t get any commissions yet until his 2×2 is full

4) John recruits Bill, who pays $30…

……………Soul
……..|……………|
……John……….Sue
..|
Bill

5) John recruits Ken, who pays $30…

……………Soul
……..|……………|
……John……….Sue
..|……….|
Bill……..Ken

No one gets any commissions yet.

6) Sue doesn’t work out

7) Bill recruits Bob, who also pays $30…

……………….Soul
………….|……………|
………..John……….Sue
……..|……….|
……Bill……..Ken
.|
Bob

No one gets any commissions yet.

8) John recruits Sally, who also pays $30, and the system places her under Bill.

……………….Soul
…………|……………|
………..John……….Sue
……|………..|
…..Bill……..Ken
.|………|
Bob…..Sally

No one gets any commissions yet.

9) Ken recruits Peter and James, who EACH pay $30…

…………………….Soul
…………….|………………..|
…………..John……………Sue
……..|……………|
……Bill………….Ken
.|……….|…….|…….|
Bob…..Sally…Peter…James

John completes a 2×2, so he gets $100 and gets a new slot in the next vacant slot under his sponsor’s triangle.

…………………….Soul
…………….|………………………|
…………..John………………….Sue
……..|……………|…………….|
……Bill………….Ken………..John (2nd)
.|……….|…….|…….|
Bob…..Sally…Peter…James

Then if John again fills up his 2nd matrix before everyone else,
he goes to the next available slot of his referrer, which is still
under Sue….

………………………….Soul
…………….|……………………………..|
…………..John………………………..Sue
……..|……………|………………..|……………..|
……Bill………….Ken……………John (2nd)…John (3rd)
.|……….|…….|…….|…………..|…..|
Bob…..Sally…Peter…James……Sam…Nick
……………………………………|..|…|..|
…………………………………..A..B…C.D

10) Now look at this very carefully. Once John gets his 3rd account, SOUL WILL HAVE A COMPLETE 2×2, SO SOUL WILL HAVE A NEW ACOUNT IN THE NEXT AVAILABLE SLOT OF HIS SPONSOR. If he is company direct, a new company direct head for Soul will be created.

11) Then if John completes his 3rd account, he will go to the next available open slot of his sponsor Soul, which is at the 2nd account of Soul…

…Soul (2nd acct)
….|
John (4th acct)

12) Now here’s the vital mechanic about the recurring payment… if Soul recurs payment after the examply in (11), his new slot will not go under Soul 02 because our rule is RECURRING PAYMENTS DO NOT GO UNDER A MEMBER’S PREVIOUS TRIANGLE. Thus for the recurring payment, Soul will have a new separate 03. The same is true with John. His new slot from recurring payment (his 5th slot), will not go under Soul’s 2nd account, but in the account of Soul that recurred for the second time, which is Soul 03. So the recurred diagram for them is…

…Soul (3rd acct)
….|
John (5th acct)

In other words, a person’s 2nd month recurring will follow his sponsor’s 2nd month slot as well. A person’s 3rd month recurring will follow his sponsor’s 3rd month recurring as well, and so on.

I hope the above scenario is clear in developing the logic and algorithms for this script. Please email me if you have any questions. Thank you.

Categories: MySQL, PHP, Programming

Php Script/ Custom Referrer

June 2nd, 2009

I have a html file with a form on it. Upon submission it fills in a form on a merchant page and submits it while changing the referrer.

The problem is the page fills out the merchant page correctly, but it isn’t pressing the submit button. I need help with the final piece of this.

Categories: PHP

Matrix 2×2 Follow The Referrer

May 18th, 2009

I need a PHP/MySql script that does a 2×2 recycling “FOLLOW ME” matrix similar to Infinity800 or EZ2×2. You may check out how it works in www.infinity800.com or www.ez2×2.com, but this script is modified a little bit.

I need a programmer who has already done a matrix script, and who knows how they recycle via a follow the referrer basis.

Here are the rules.

1) Entry price is $30, but I must have ability to modify this automatically and easily via Admin login.

2) The $30 recurs every month. For every recurring payment, the customer gets a new header or account in a separate matrix from his previous matrix, thus, he will have 12 separate matrices a year for each of the 12 months. (Important Note: recurring payments always go to a new matrix, and NOT anywhere inside a persons previous matrix even if that matrix is not yet filled up. In the new matrix, he may follow his sponsor there, but he can never be under his previous month’s matrix).

3) Commissions are only paid out to a person who fills up his 2×2. Once a 2×2 is full, the person gets paid $100.

4) Here is where the recycling is vital… ALL NEW RECYCLED ACCOUNTS GO TO THE NEXT AVAILABLE OPEN SLOT IN THE MEMBERS REFERRER. Below is a diagram of how this works.

5) Spill over by a member’s account is possible but only within his active 2×2 and not beyond that.

6) Of course, if he has many spill overs, it will coz him to fill his matrix and produce a new slot. His other referrals will go to this new slot. If this new slot fills up with his many referrals, he will have a new slot again where the referrals will come in, and so on.

7) Admin can spill over anywhere in the matrix to help everyone.

8) Admin can also make unlimited company direct accounts

9) In the backend, the genealogy tree must be clear. People can select ‘MATRIX 1′ to see their 1st Matrix. Then if they have already recycled or recurred in payments, they can view ‘MATRIX 2′, and so on.

10) AlertPay will be the pay processor. Please make it easy to auto-activate entries (after payments) and mass payout commissions (automatically at the 7th day of the month in just 1 click, based on performance up to the last day of the previous month).

11) Cut off is every last day of the month and payout is every 7th day of the next month.

12) Product is a daily inspirational video package, so it’s viewable or downloadable. People must be sent a download link once they submit payment. Viewing or download system must be secured so not anyone can get its URL and download the products.

13) Members must be able to recruit new members using their sub-domain (i.e. subdomain.domain.com), and not just an affiliate link. So subdomains must automatically be created based on a new member’s username. When signing up, members must be able to check if subdomain is still available, so they can amend their choice username.

14) The admin and backend system must have the features present in the other 2×2 systems out there.

15) New recruits cannot join free. They must pay first before getting into the system. But Admin can give free accounts.

Below is a sample on how the recycling works:

1) Assuming it starts with Soul, who joins by paying $30…

SOUL

2) Soul recruits John, who also pays $30…

….Soul
..|
John

Soul doesn’t any commissions yet until his 2×2 is full

3) Soul recruits Sue, who also pays $30…

……..Soul
..|……………|
John……….Sue

Soul doesn’t any commissions yet until his 2×2 is full

4) John recruits Bill, who pays $30…

……………Soul
……..|……………|
……John……….Sue
..|
Bill

5) John recruits Ken, who pays $30…

……………Soul
……..|……………|
……John……….Sue
..|……….|
Bill……..Ken

No one gets any commissions yet.

6) Sue doesn’t work out

7) Bill recruits Bob, who also pays $30…

……………….Soul
………….|……………|
………..John……….Sue
……..|……….|
……Bill……..Ken
.|
Bob

No one gets any commissions yet.

8) John recruits Sally, who also pays $30, and “spills her over” to Bill…

……………….Soul
…………|……………|
………..John……….Sue
……|………..|
…..Bill……..Ken
.|………|
Bob…..Sally

No one gets any commissions yet.

9) Ken recruits Peter and James, who EACH pay $30…

…………………….Soul
…………….|………………..|
…………..John……………Sue
……..|……………|
……Bill………….Ken
.|……….|…….|…….|
Bob…..Sally…Peter…James

John completes a 2×2, so he gets $100 and gets a new slot in the next vacant slot under his sponsor’s triangle.

…………………….Soul
…………….|………………………|
…………..John………………….Sue
……..|……………|…………….|
……Bill………….Ken………..John (2nd)
.|……….|…….|…….|
Bob…..Sally…Peter…James

Then if John again fills up his 2nd matrix before everyone else,
he goes to the next available slot of his referrer, which is still
under Sue….

………………………….Soul
…………….|……………………………..|
…………..John………………………..Sue
……..|……………|………………..|……………..|
……Bill………….Ken……………John (2nd)…John (3rd)
.|……….|…….|…….|…………..|…..|
Bob…..Sally…Peter…James……Sam…Nick
……………………………………|..|…|..|
…………………………………..A..B…C.D

10) Now look at this very carefully. Once John gets his 3rd account, SOUL WILL HAVE A COMPLETE 2×2, SO SOUL WILL HAVE A NEW ACOUNT IN THE NEXT AVAILABLE SLOT OF HIS SPONSOR. If he is company direct, a new company direct head for Soul will be created.

11) Then if John completes his 3rd account, he will go to the next available open slot of his sponsor Soul, which is at the 2nd account of Soul…

…Soul (2nd acct)
….|
John (4th acct)

12) Now here’s the vital mechanic about the recurring payment… if Soul recurs payment after the examply in (11), his new slot will not go under Soul 02 because our rule is RECURRING PAYMENTS DO NOT GO UNDER A MEMBER’S PREVIOUS TRIANGLE. Thus for the recurring payment, Soul will have a new separate 03. The same is true with John. His new slot from recurring payment (his 5th slot), will not go under Soul’s 2nd account, but in the account of Soul that recurred for the second time, which is Soul 03. So the recurred diagram for them is…

…Soul (3rd acct)
….|
John (5th acct)

In other words, a person’s 2nd month recurring will follow his sponsor’s 2nd month slot as well. A person’s 3rd month recurring will follow his sponsor’s 3rd month recurring as well, and so on.

I hope the above scenario is clear in developing the logic and algorithms for this script. Please message me if you have any questions. Thank you.

Categories: MS SQL, PHP, Programming

Script With Custom Referrer

May 17th, 2009

I have a form on my website that fills a form on a merchant website using the “post” function. I am looking to have the referrer changed when my form is submitted. The code must be on my site not the merchant site.

I have included an example of the form. Please convert this over to php also as part of the project.

Categories: PHP

Cookie Flash Stuffer

May 11th, 2009

Uses Flash to stuff cookies on my own pages or 3rd party pages:
Filter by IP, user-agent, country, city/region, ZIP/area code (US only), date/time, hour, day of the week, referrer – control who gets stuffed and who doesn’t.
Limit cookie-stuffing by referrer, date/time, number of hits, number of cookies stuffed.
Expire the campaign after a specified time period or at a specific date/time.
Control the CTR – if you don’t want to cookie-stuff every visitor then only stuff some of them, thus lowering your CTR…
Blank the referrer – works for all campaign types, whether you’re stuffing cookies on your own pages, 3rd party pages or forums.
Detect proxies and choose whether or not to stuff anyone who’s using a proxy.
Rotate up to 100 affiliate URLs, so you’re not dropping the same cookie every time.
Drop up to 100 cookies in one go! (only works when stuffing cookies on your own pages or 3rd party pages, not forum/favicon stuffing).
link cloaker to turn long ugly URLs into nice short ones like http://www.yourdomain.com/redirect/X/.
stuff the target with up to 100 cookies first, then redirect them to the destination URL!
Cookie-stuff visitors website with a pop-up or pop-under.
a pop-under opens in the background, cookie-stuffs them with up to 100 cookies and then redirects to any URL choose…
Cookie-stuff visitors with a banner, a Flash game videoGood, so you’re still there. Ok, we all know that there are two golden rules when it comes to cookie-stuffing:
Don’t get greedy.
Don’t get caught.
I can’t help you with number one, but as far as not getting caught is concerned, Flashstuffer has your back:

Option to automatically stop any cookie-stuffing
Referrer blanking double-check
Browser cookies, Flash cookies and IP addresses are used to tag visitors don’t cookie-stuff the same target twice.
Hostname filter – nobody from that hostname will be stuffed!
Referrer spoofing –
Custom referrers – you can define the referrer you want to leave at the affiliate network
One time only stuffing – (optional) – only those visitors arriving on your landing page from a special redirect link will get cookie-stuffed.
decent Admin Control Panel
Create unlimited cookie-stuffing campaigns from the simple, clean Control Panel – no need to edit complicated .htaccess files or PHP files every time you want to start a new campaign
View log for every cookie-stuffing campaign
shows details for every hit (IP, user-agent, date/time, country, referrer), and if the target wasn’t cookie-stuffed it explains why.
View traffic for every cookie-stuffing campaign by minute, hour, day or week.
View top referrers and IPs for any campaign

Categories: Programming

Referrer Spoofing Script

April 27th, 2009

Hi there,

I would like a script that can spoof the referrer.

For example: Person goes to site a, site a then redirects them to site b, and site b sees site c as the referrer.

I want to be able to make site c anything I want.

I need this done asap!

Categories: PHP, Perl/CGI, Programming

Simple Jquery Function

April 1st, 2009

I need a jQuery code snippet that will detect when the user copies text/image on the page to clipboard and send this information together with current URL and HTTP_REFERRER via Ajax to the specified URL.

1. If Text is copied call target_url?what=text&amp;refer=HTTP_REFERRER&amp;url=[current page url]&amp;content=[copied text]

2. If Image is coped call target_url?what=image&amp;refer=HTTP_REFERRER&amp;url=[current page url]&amp;content=[image title tag]&amp;alt=[image alt tag]&amp;image_url=[image url]

I’d also like the option to call the target URL without Ajax (since ajax will work only on the same server). For example by dynamically creating an invisible iframe.

Categories: Javascript, Programming

Referrer Script Needed

March 31st, 2009

script needed to change referrer in ASP and PHP.

i have traffic that i buy from xyz.com. this traffic goes to mysite.com, from here i send it to affiliate.com.

affiliate.com sees the referrer as xyz.com
i want them to see the referrer as mysite.com

i need this for 2 different sites, one written in PHP and the other in ASP (more important)

Categories: ASP, Javascript, PHP

Simple Jquery Snippet

March 28th, 2009

I need a jQuery code snippet that will detect when the user copies text/image on the page to clipboard and send this information together with HTTP_REFERRER via Ajax to the specified url.

1. If Text is copied call target_url?what=text&amp;refer=HTTP_REFERRER&amp;content=[copied text]

2. If Image is coped call target_url?what=image&amp;refer=HTTP_REFERRER&amp;content=[image title tag]&amp;alt=[image alt tag]&amp;url=[image url]

Categories: Javascript, Programming

Parse Referrer Str Variables

March 19th, 2009

I require a PHP script to parse variables from the referrer. It will then write parsed data to a table in a mySQL db. It will also pass the parsed kw variable to a redirect I use in the format $kw= “KEYWORD”

The parts of the referrer I require written to the db are ‘referring domain’ and ‘keyword’. The query construction will be in various formats, depending on the referrer.

Some examples (not exhaustive)
‘q,query,?_nkw,form_keyword,buscar,search_query,field-keywords,search/q/,satitle,KW,k,OVKEY,keyword,searchfor’ The end delimiter will be usaully ‘&amp;’

Special considerations are queries from best-price.com &amp; dogpile. For best-price.com, if the query is from Yahoo the delimiters will be ‘OVKEY=KEYWORD&amp;’
If from google it will be ’search/q/KEYWORD/s/google/’
If dogpile ‘results/keyword/KEYWORD/

See attached file for url examples.

For the db you will need to create a table in an existing db. The table will have 2 fields, one for referring domain, one for the kw.
EG:
CREATE TABLE `DB_NAME`.`TABLE_NAME` (
field parameters
) ENGINE = InnoDB DEFAULT CHARSET = latin1;

then write

I assume thee flow of logic will be:

Check if referrer string
if not
then set $kw variable to default ‘keyword’ and redirect visitor
if set
then parse domain and check for query string
if no query string
then set $kw variable to default ‘keyword’ and redirect visitor
if query string set $kw variable &amp; redirect and write the domain &amp; kw to db
&lt;=======================================================================&gt;
Do not bid without reading and understanding my requirements fully. If you have any questions, please ask.
I’ll only respond to bids accompanied by a PM. If you leave a bid without a corresponding PM, then the bid will be ignored.
Thank you.

Categories: PHP

Web Site Design & Development

March 16th, 2009

I have 2 related requirements I would like delivered by 1 supplier. When you are quoting please quote for each separately;

1. I need a website template designed. It will have 3 different page styles

Referrer Tracking

March 16th, 2009

Hello,

We are currently doing a beta test run on our new site and have run into an issue tracking referral traffic. The way our system is setup, partners can link to any of our pages and receive credit for traffic they send. Good concept, though we’ve found an issue.

Ok, so here’s where we are at. We are currently using $_SERVER['HTTP_REFERER'] variables to log where the visitor is coming from. Now, here’s what i’ve found, when accessing our site through some partner sites, the code works fine, through others, no HTTP_REFERER is captured (the results are consistant for each partner site). I am using the same browser and receiving two different results, success for some sites and failed (empty) for others, the results are always the same for each site.

I’ve also read that some browsers do no send this data at all.

Ok, so the tracking has turned out to be unreliable. Either I am going to have to double back and make sure all of our partner sites receive in.php tracking links, or someone here has a great solution to this problem. I’m hoping for the ladder.

I have done testing with javascript (document.referrer) and am receiving the same exact results. Is there any way fail-safe way to really capture document referrer’s?

Bid if you have experience with this.

Thanks.

Categories: Javascript, PHP, Programming