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

paulbooker - January 19, 2009 - 17:55
Assigned to:Anonymous» paulbooker

#2

paulbooker - January 20, 2009 - 10:48

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

paulbooker - January 20, 2009 - 10:52

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

deith - January 28, 2009 - 20:46

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

asak - January 28, 2009 - 21:28

subscribing.

#6

mdowsett - January 29, 2009 - 15:38

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

asak - January 29, 2009 - 21:27

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.

Users can see a list of users they referred, and the site admin can view more detailed reports.

When the visitor registers on the site, the referral information is used to record the referring user's User ID in the database.

The link for referral for each user is displayed in "my account" menu.

But we'll see... ;)

#8

paulbooker - February 6, 2009 - 15:16

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

mdowsett - February 6, 2009 - 16:50
Category:support request» feature request

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

paulbooker - April 7, 2009 - 16:49

I think ill get to this tomorrow :-)

#11

paulbooker - April 9, 2009 - 16:45
Version:6.x-1.2» 6.x-1.x-dev

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

paulbooker - April 9, 2009 - 16:46
AttachmentSize
affiliates.357813.patch 559 bytes

#13

paulbooker - April 16, 2009 - 08:54

Commited to the development branch.

#14

paulbooker - April 16, 2009 - 13:52
Status:active» fixed

#15

System Message - April 30, 2009 - 14:00
Status:fixed» closed

Automatically closed -- issue fixed for 2 weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.