• Welcome to Simple Machines Community Forum. Please login or sign up.
October 24, 2021, 06:47:29 AM

News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord


Simple Referrals

Started by Diego Andrés, September 28, 2021, 01:14:54 AM

Previous topic - Next topic

Diego Andrés

Link to the mod





Simple Referrals
Developed by: Diego Andrés

Introduction
Simple Referrals implements a referrals system to your forum.

Features
  • Set a referral using autosuggest in the registration form
  • Use a referral url with the referral id for easy share
  • Display referral count in profile
  • Display referral count in posts
  • Display referral link in their profile
  • Enable/disable the selection of searching users in the registration form
  • Maintenance task for recounting the referral count of each user in the forum

Languages


GitHub
Changelog

SMF Tricks - Free & Premium Responsive Themes for SMF.

Bugo

Thanks for this useful mod.

Russian translation is attached.

Diego Andrés

October 02, 2021, 10:21:20 AM #2 Last Edit: October 14, 2021, 08:41:53 PM by Diego Andrés
Quote from: Bugo on October 02, 2021, 03:25:52 AMThanks for this useful mod.

Russian translation is attached.

Thanks!

1.3 - 03 October 2021
Added a hook for other mods to integrate. Removed in v1.4, just use the same hook as this mod.

1.2 - 02 October 2021
Referral is now stored in session in case the user does not register right away. (Only from direct link)
Russian translation provided by Bugo.

Thanks to @vbgamer45 for the session idea

SMF Tricks - Free & Premium Responsive Themes for SMF.

landyvlad

So to clarify - is there a link in the user profile which sends an invite to a nominated email?

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

Diego Andrés

No, it's just a link to the signup page with the user's id, or can allow guests to search for names

SMF Tricks - Free & Premium Responsive Themes for SMF.

landyvlad

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

Diego Andrés

I'll think about it, really not sure it fits the mod.
I have the feeling you're after some sort of invitations system instead ;D

SMF Tricks - Free & Premium Responsive Themes for SMF.

landyvlad

Could be. 

I haven't got a 2.1 TEST forum I can install this on at the moment to check its functionality so Ip;mnot really sure what the PURPOSE behind your mod is if it doesn't do invites.

For forum owners one of the big challenges (as you know) is getting members on board.
It would be great to have a mod where people could send an invite to their friends, and ideally a means of tracking how many legit people they sign up to the forum.  (I suppose it might need some form of anti-spam protection I'm not sure)

The idea being to get the word out and get people to sign up to the forum.
And it needs to be something that anyone can easily use.

Is this the sort of thing you would consider expanding this mod to do or should I put it in the mod requests area?
Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

shadav

can't find the mod I currently use for 2.0.18 but from the pics of this mod it's basically the same thing
in the user's profile they will find
Referral Link: with a specific link with their user id in it
they copy this link then send it to whomever they want or post it wherever they want for people to register on the forum
when someone clicks on that link and register, it puts who referred them (as it uses their member id in the link) and/or when a member registers they can put the user's name in a field as referred by
in the user profile and on the display.template.php it will show
Referrals: and the number of how many people registered either using their referral link or putting their user name in when registering.
It's not an invite system per say it just keeps track of who and how many people a specific user referred to the forum (that is if the person registering used their link or put their name in the box at registration)

a top referrer page might be nice to entice users to use it more

Diego Andrés

1.3.1 - 05 October 2021
Fixed redirect tag on install
Removed extra spaces



Quote from: shadav on October 05, 2021, 03:25:33 AMa top referrer page might be nice to entice users to use it more

That's a nice idea, I'll definitely add something like that in the future.

SMF Tricks - Free & Premium Responsive Themes for SMF.

landyvlad

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

To paraphrase Kindred: "There are no technical solutions to social problems."

Diego Andrés

October 13, 2021, 10:57:04 PM #11 Last Edit: October 14, 2021, 08:40:32 PM by Diego Andrés
1.4 - 13 October 2021
Added option to send alerts regarding an user using referral link.
Added option to enable top referrals in the forum stats.
Fixed referral field appearing when id is invalid and the guest can't search for other members.

* I won't add/set defaults for the alert :P Maybe I will in the future

SMF Tricks - Free & Premium Responsive Themes for SMF.

Dr Web

October 15, 2021, 05:56:39 PM #12 Last Edit: October 15, 2021, 06:54:25 PM by Dr Web
Thanks for this great Mod.

I translated to portuguese_pt

File attached. Please let me know if I translated parts that shouldn't be translated.

Could you please make it available for SMF 2.0.18? I and I am sure many other members would love to use it.
Never approach a bull from the front, a horse from the rear, or an idiot from any direction ;D

Diego Andrés

1.4.1 - 16 October 2021
Portuguese (PT) translation provided by Dr Web.




Quote from: Dr Web on October 15, 2021, 05:56:39 PMCould you please make it available for SMF 2.0.18? I and I am sure many other members would love to use it.

I will not port it back, there's a referrals mod available for SMF 2.0.x and additionally some hooks aren't available

SMF Tricks - Free & Premium Responsive Themes for SMF.

Dr Web

Quote from: Diego Andrés on October 16, 2021, 09:46:26 AMI will not port it back, there's a referrals mod available for SMF 2.0.x and additionally some hooks aren't available

No problem. I understand. I didn't know there was already another referrals Mod. Thanks. 
 
Never approach a bull from the front, a horse from the rear, or an idiot from any direction ;D

Advertisement: