[ABD] Referrals

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands

[ABD] Referrals

Post 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
- Code update for 3.3.x

Image
Code update admin_controller.
Twig update.

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 Fri Apr 30, 2021 8:32 am, edited 14 times in total.
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
Volksdevil
Registered User
Posts: 2415
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil

Re: [DEV] Referrals

Post 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.
My phpBB Extensions
Finally found great Website Hosting from :arrow: KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Twitch | My Volkswagen Corrado G60
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands

Re: [DEV] Referrals

Post by dmzx »

First post updated
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6792
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James

Re: [DEV] Referrals

Post by HiFiKabin »

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 »

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 »

I can't see the screenshots. Is it possible to correct it?
User avatar
yasser33311
Registered User
Posts: 277
Joined: Sat Jul 27, 2013 1:27 pm
Location: algeria
Name: yasser ghe

Re: [DEV] Referrals

Post by yasser33311 »

very good
PhpBB Services - install, update, upgrade, customize: PM
Holger
Registered User
Posts: 1893
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [DEV] Referrals

Post by Holger »

How does this work exactly?
Do I send a link?
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands

Re: [DEV] Referrals

Post by dmzx »

First post updated
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
samuel404
Registered User
Posts: 19
Joined: Wed May 11, 2016 5:44 am

Re: [DEV] Referrals

Post 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. ;)
User avatar
Hel92
Registered User
Posts: 11
Joined: Sun Aug 02, 2015 1:14 pm

Re: [DEV] Referrals

Post by Hel92 »

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

Re: [DEV] Referrals

Post 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.
blood_wolf89
Registered User
Posts: 18
Joined: Thu May 24, 2012 2:43 am

Re: [DEV] Referrals

Post 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.
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 »

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 »

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?

Return to “Abandoned Extensions”