Getting the information about the referer
deith - January 12, 2009 - 20:30
| Project: | Affiliates |
| Version: | 6.x-1.x-dev |
| Component: | Miscellaneous |
| Category: | feature request |
| Priority: | normal |
| Assigned: | paulbooker |
| Status: | closed |
Description
Hello,
Is there any way of getting information about the user (his id) who redirected actual visitor to my page (through affiliate link)?
Thank You in advance for your answers,
deith

#1
#2
How about we have an administrative page that allows you to select a button (with some attributed redirection page) and then shows you a page with all the affiliate referrals from that button ?
#3
We could probably also have an administrative page that allows you to select an affiliate and then shows you a page with all the affiliate referrals from that affiliate ?
#4
Thank you for your replies, but I meant something different...
I need that information about the affiliate available from every page, not only from administrative one.
Could You give me some PHP code which allow me to get this information (I mean sth similar to information which I have here: "User !user earned !points poins. Total now is !points points." - I'd like to have information about !user available from every page of my website).
#5
subscribing.
#6
subscribing.
This is an issue that I've found with all 'referral'-type modules (referral, invite and now this one). None of them seem to want to show who referred a user TO the site.
Sure it's great to see who a user referred to a site but the purpose I want it for is say a user turns into a great user (in my case a healthy client, buying lots of stuff from me). I want to find out who referred that user to my site/biz so I can reward the referrer.
none of these modules allow you to find this out. or am I mistaken?
I think it should be shown on a user's profile, simply show "referred to this site by 'user-x'". And some option that only admin users can see this info as you wouldn't want the public to necessarily see it. I suppose a proper permission setting should be put in place.
thx for listening!
#7
It seems that refferal.module does just that... or am I mistaken?
I've only managed a very small test with it for an upcoming project, but it seems that that's what it does.
But we'll see... ;)
#8
After reading Asak's comment above and reading through the project page for the "User Referral" module this module looks to be the way to go.
http://drupal.org/project/referral
I didn't know this module existed :-) Please let us know how you get on Asak.
Best, Paul
#9
I didn't see originally that you can manually search for the referrer of a user to the site. It's done in the admin section of Referal. I was looking for it in the user's profile instead.
This module still needs this feature tho I think
#10
I think ill get to this tomorrow :-)
#11
With this small patch it looks to be possible to have all affiliate referrals that come from an affiliate banner to now count towards registered referrals.
#12
#13
Commited to the development branch.
#14
#15
Automatically closed -- issue fixed for 2 weeks with no activity.