[3.1][3.2][DEV] Referrals

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Scam Warning
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
dmzx
Registered User
Posts: 713
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

[3.1][3.2][DEV] Referrals

Post by dmzx » Sun Mar 13, 2016 10:04 pm

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.
Last edited by dmzx on Mon Feb 20, 2017 10:32 pm, edited 9 times in total.
dmzx-web.net - Need a Host? - Want to Donate

User avatar
Volksdevil
Registered User
Posts: 2414
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [DEV] Referrals

Post by Volksdevil » Mon Mar 14, 2016 12:46 am

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.
My phpBB Extensions
Finally found great Website Hosting from Image KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Mixer | My Volkswagen Corrado G60

User avatar
dmzx
Registered User
Posts: 713
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Referrals

Post by dmzx » Mon Mar 14, 2016 8:22 am

First post updated
dmzx-web.net - Need a Host? - Want to Donate

User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 2399
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: [DEV] Referrals

Post by HiFiKabin » Mon Mar 14, 2016 12:08 pm

I was thinking about this the other day. Excellent.

Just put it on my test forum and all looks good

arabchaterz
Registered User
Posts: 1
Joined: Tue Mar 15, 2016 8:46 pm

Re: [DEV] Referrals

Post by arabchaterz » Tue Mar 15, 2016 9:27 pm

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!

deco_portugal
Registered User
Posts: 6
Joined: Fri Mar 14, 2014 11:45 am

Re: [DEV] Referrals

Post by deco_portugal » Fri Mar 18, 2016 1:24 pm

I can't see the screenshots. Is it possible to correct it?

User avatar
yasser33311
Registered User
Posts: 240
Joined: Sat Jul 27, 2013 1:27 pm
Location: algeria
Name: yasser ghe
Contact:

Re: [DEV] Referrals

Post by yasser33311 » Sun Mar 20, 2016 7:35 am

very good
PhpBB Services - install, update, upgrade, customize: https://phpbb.services

Holger
Registered User
Posts: 1599
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [DEV] Referrals

Post by Holger » Tue Mar 29, 2016 9:50 am

How does this work exactly?
Do I send a link?
Are you looking for a phpBB Expert? Find a phpBB Expert!
Are you a phpBB Expert? Post your resume!
http://www.phpbbexperts.com

User avatar
dmzx
Registered User
Posts: 713
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [DEV] Referrals

Post by dmzx » Sun May 15, 2016 6:33 pm

First post updated
dmzx-web.net - Need a Host? - Want to Donate

samuel404
Registered User
Posts: 19
Joined: Wed May 11, 2016 5:44 am

Re: [DEV] Referrals

Post by samuel404 » Tue May 17, 2016 5:42 am

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. ;)

User avatar
Hel92
Registered User
Posts: 11
Joined: Sun Aug 02, 2015 1:14 pm

Re: [DEV] Referrals

Post by Hel92 » Thu Jul 07, 2016 12:36 pm

Hi dmzx,

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

Thanks for the great extension!

User avatar
thebigmattb
Registered User
Posts: 47
Joined: Tue Jan 29, 2008 8:21 pm
Location: Sheffield, UK
Contact:

Re: [DEV] Referrals

Post by thebigmattb » Thu Jul 07, 2016 10:20 pm

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.

blood_wolf89
Registered User
Posts: 18
Joined: Thu May 24, 2012 2:43 am

Re: [DEV] Referrals

Post by blood_wolf89 » Fri Jul 08, 2016 12:26 am

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.
Last edited by blood_wolf89 on Fri Jul 08, 2016 1:50 am, edited 1 time in total.

blood_wolf89
Registered User
Posts: 18
Joined: Thu May 24, 2012 2:43 am

Re: [DEV] Referrals

Post by blood_wolf89 » Fri Jul 08, 2016 12:41 am

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.

User avatar
nero
Registered User
Posts: 321
Joined: Fri Mar 13, 2015 8:18 am

Re: [DEV] Referrals

Post by nero » Sat Jul 16, 2016 7:28 am

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?

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: Froddelaar, mh254, nextgen, WelshPaul, Yandex [Bot] and 30 guests