Jump to content

[paid] modifying the 4.5 referral system


Recommended Posts

Posted (edited)

In IPB3, I used a hook called "(DP34) Referrals System", which was great.

I'd like similar functionality in IPB 4.5.

Seems like 4.5 does include a referral system, but it would need to be modified in a couple ways:

1) The referral links would need to have a random value (currently referral links appear to send a key=value of _rid=[uid] where uid is the user id of the person generating the referral link), I would like it to be something like _rid=[random string]

2) The registration system would need to be modified to only permit users to register that had valid referral codes, and keep track of when a code was used and expire it, so it couldn't be used multiple times.

I'm willing to pay for this to be done, and if you want to sell the hook or give it away to others after the fact, that's fine with me.

Send me a PM if you'd like to talk more!

 

e: Now that I think about it a bit more, I don't think the referral code needs to be random, it just needs to be long enough and user-specific, so instead of the uid it would be a hash of something unique.  I was initially thinking the username but that can changed.  Hashing the uid is probably not going to result in enough entropy.  Either way, doesn't have to be "random", or expiring, but must be unique.

 

Edited by Michael Warren
Posted
5 hours ago, Michael Warren said:

In IPB3, I used a hook called "(DP34) Referrals System", which was great.

Hmm..

 

5 hours ago, Michael Warren said:

1) The referral links would need to have a random value (currently referral links appear to send a key=value of _rid=[uid] where uid is the user id of the person generating the referral link), I would like it to be something like _rid=[random string]

screen_8.thumb.png.e4622eb1f75e28f2c1fa9e26bef450f9.png

 

5 hours ago, Michael Warren said:

2) The registration system would need to be modified to only permit users to register that had valid referral codes, and keep track of when a code was used and expire it, so it couldn't be used multiple times.

screen_0.thumb.png.b15c759e8d5fc7757f9e86fa47da1a33.png

 

Type: Force

Expire:

screen_1.thumb.png.e40639d1989310f58839fb7526637754.png

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...