Referral system?
-
Do you plan to add a referral system? something like that you earn a percentage of the profits of your referrals
-
Well its been asked for before. I mean like every time I meet a new user ??
So I have been planning it out.
I’m thinking more of a gift system rather similar to a lot of Free 2 Play phone games were there is a minimum requirement for the referral to be paid out. Otherwise, you’ll have some person siting on your site creating new accounts for a week straight.
How I would do it, is to allow a time based reward system, that after user has earned X minimum of points they are allowed to gift someone on your site. Both the sender and receiver receive points.
As you can only send a gift one time, it is like a referral but requires some site activity before it can be done.
I suppose I will allow the admin to set requirement to zero, but don’t be surprised when someone makes 50 accounts to gift themselves.
And you could tie it daily rewards that already exist in the 0 point transfer with timer method, so you could just make them log in every day for a week before they send the gift and have a captcha on your login.
But the same sender can invite everyone he wants. So once he has the minimum points he could do many accounts. I think that if the sender earns a percentage of what their referrals earn, there is no problem. If he has 50 accounts he would have to earn points with the 50 accounts to earn the reward.
Most users want a referral system that pays them a percentage of what their referrals earn. That moves them to share the web and that’s what’s important.
Hrm… I know what you mean.
I sort of have that with miner sharing but its agnostic how you got the points that determines your winnings.
I could do something similar, but on the user level. And then have a banking system where referral points could result in passive income off of active income.
Either way, its been posted on the Github new feature list so should have it in a few weeks depending on time.
Thanks for your feedback and use of VYPS!
Had some caffeine and realized this actually would be easy to do rather than complicating it like I wanted to. I will try to keep everything in shortcode in this though except the user meta part.
The issue is that the link has to be around after the fact when they create an account (you can’t add meta to an account otherwise) and I’m not sure if I can make the link survivable because every site uses different registration and verification methods.
And I really do not want to get into the business of what BuddyPress does and recreate the whole login system, so I will only spend a little time on seeing if it possible theme independent.
However, I can create a simple shortcode an admin can put on account page where you can put in the referral code of the person who gave you the link like “YOURSITE034” (or just the user number 3 whatever) and every time that user earns points, that person who is listed in there referral gets points.
Yes it will require them to enter the code manually, but if your users want the referral points from their friends, I’m sure they will help them learn how to copy and paste. Also I think after a users registers you can redirect them to a particular page which could ask them to make sure they have entered their referral code.
That sound good?
Also, I could do this on earning of points or the exchanging of points. But for now, I will just put it in the miners.
- This reply was modified 6 years, 2 months ago by VidYen, LLC.
- This reply was modified 6 years, 2 months ago by VidYen, LLC.
That is a good idea. Also you could do that when a referral press the Redeem button he gets the points and the person who invited him a percentage of that amount in the same time. Maybe that is more easy.
You can use something like this to get the user id
function get_current_user_id () {
if (! function_exists (‘wp_get_current_user’))
return 0;
$ user = wp_get_current_user ();
return (isset ($ user-> ID)? (int) $ user-> ID: 0);
}
Then create a link with that ID and add a cookie that stores the ID to the user who accesses with that link. Then when a user is registered and has that cookie is added to the list of referrals of the user who belongs to the ID. Sorry if I said some stupidity because I’m not an expert.
It would be good to use that with adscend and the miners.
- This reply was modified 6 years, 2 months ago by paracelsocryp.
- This reply was modified 6 years, 2 months ago by paracelsocryp.
Hi @paracelsocryp,
I added a groundwork for the referral system. [vyps-refer] shows the code of the user and they can enter the other. Currently it only gives points for the vy256 miner, but I’m going to add options to the point exchange where referral’s get points. I’m still on fence whether to add an automatic get on the referral shortcode that pulls from url.
And I need to make a short code for the log of how much current user has earned from referrals.
Thanks!
-Felty
- This reply was modified 6 years, 2 months ago by VidYen, LLC.
- This reply was modified 6 years, 2 months ago by VidYen, LLC.
Hi, I added the log short code features. It’s a bit rough, but I think its should do what most would want it to do, but I want to back after finish this other “feature” which will I’ll be stuck in for the next week or so depending.
Let me know if this works or if there is something you’d like to change with it. It’s code based so its not URL. I may do that, but want to get this other feature working first.
Thanks!
-Felty
Hi,
Hi. I have been testing the referral system and I like how it works. It will be useful for my site.
Thsnks.
- This reply was modified 6 years, 2 months ago by paracelsocryp.
Great! I just fixed a bug a minute ago that would give a undefined function when checking adding the refer and checking the log at the same time. Hopefully, its been taken care of so let me know if you run into issues with it.
Thanks!
-Felty
I haven’t heard any issues from others with the refer system, so going to go ahead and mark this as resolve. Reach back out if you run into any issues.
Thanks!
-Felty
- The topic ‘Referral system?’ is closed to new replies.