Page 1 of 4

[3.1][3.2][DEV] Referrals

Posted: Sun Mar 13, 2016 10:04 pm
by dmzx
Extension Name: Referrals
Author: dmzx

Special thanks to: martin

Extension Description:
Allows members to refer others.
As requested by an0ther23

Image Image Image

Image
Added controllers.
Code update.

Image
Code update.
Fix double entry.

Image
Code update

Image
Code update

Screenshots:
Image

Image

Image

Image

Image

Image


Extension Download:
Download-link

Installation:
  1. Download the latest release.
  2. Unzip the downloaded release, and change the name of the folder to `referral`.
  3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
  4. Copy the `referral` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at
    (your forum root)/ext/dmzx/referral/composer.json
  5. Navigate in the ACP to `Customise -> Manage extensions`
  6. Look for `Referrals` under the Disabled Extensions list, and click its `Enable` link.

Re: [DEV] Referrals

Posted: Mon Mar 14, 2016 12:46 am
by Volksdevil
When I enable I get server error 500. :)
Edit, seems to be when I enable: Display referral contests on board index:
Edit again, ah, if I create a contest all is well. I don't understand the contest side of things though, can people refer others without contests?

Hmmm, I don't understand it. How do you refer somebody?

Edit: :roll: :lol: Found it in UCP.

Re: [DEV] Referrals

Posted: Mon Mar 14, 2016 8:22 am
by dmzx
First post updated

Re: [DEV] Referrals

Posted: Mon Mar 14, 2016 12:08 pm
by HiFiKabin
I was thinking about this the other day. Excellent.

Just put it on my test forum and all looks good

Re: [DEV] Referrals

Posted: Tue Mar 15, 2016 9:27 pm
by arabchaterz
thank you so much dmzx
really appreciate it i was looking fot it for long time
now you share it with us free bcz some of people ask me for more than 1000$ to create ext like this

thank you so much bro

regards!

Re: [DEV] Referrals

Posted: Fri Mar 18, 2016 1:24 pm
by deco_portugal
I can't see the screenshots. Is it possible to correct it?

Re: [DEV] Referrals

Posted: Sun Mar 20, 2016 7:35 am
by yasser33311
very good

Re: [DEV] Referrals

Posted: Tue Mar 29, 2016 9:50 am
by Holger
How does this work exactly?
Do I send a link?

Re: [DEV] Referrals

Posted: Sun May 15, 2016 6:33 pm
by dmzx
First post updated

Re: [DEV] Referrals

Posted: Tue May 17, 2016 5:42 am
by samuel404
Could you please add a feature that restricts users' registration by invitation only? And the users will invite their friends by sending invitation codes?
I really needed that feature, thank you. ;)

Re: [DEV] Referrals

Posted: Thu Jul 07, 2016 12:36 pm
by Hel92
Hi dmzx,

it looks like the referrals get counted twice. Is it just me?

Thanks for the great extension!

Re: [DEV] Referrals

Posted: Thu Jul 07, 2016 10:20 pm
by thebigmattb
Love this, very close to something I was looking / hoping for! Our forum rewards users for referrals but its very very manual right now!

Maybe not the right place for suggestions but would love to see it send a PM to a specific user or a usergroup (Like admins) to say X has referred X person.

Re: [DEV] Referrals

Posted: Fri Jul 08, 2016 12:26 am
by blood_wolf89
Is this setup to work with Ultimate Points? If not, Where would I edit to add the sql_query to add points?

EDIT: I figured it out. Now my members earn 25 points per referral.

Re: [DEV] Referrals

Posted: Fri Jul 08, 2016 12:41 am
by blood_wolf89
Holger wrote:How does this work exactly?
Do I send a link?
I have looked into the code and found that by adding ?r={USER_ID_HERE} after your url, Who ever's id is entered will get credit for the referral. It looks like a cookie is created for 365 days. When someone with the cookie registers the referrer who's id it is will get the credit.

Re: [DEV] Referrals

Posted: Sat Jul 16, 2016 7:28 am
by nero
blood_wolf89 wrote:Is this setup to work with Ultimate Points? If not, Where would I edit to add the sql_query to add points?

EDIT: I figured it out. Now my members earn 25 points per referral.
Do you perhaps want to share the code?