Please does any one know how to create an automatic referral link to all users register in your site? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Please does any one know how to create an automatic referral link to all users register in your site?

HIW TO CREATE A REFERRAL LINK?

7th Feb 2017, 9:30 AM
Abubakar Yerima
Abubakar Yerima - avatar
13 Answers
+ 4
Ok, explain with examples
7th Feb 2017, 8:37 PM
Daniel
Daniel - avatar
+ 4
Ok, you want a referral link to share or send to other people so, Do you need custom referral link or normal link?
7th Feb 2017, 10:17 PM
Daniel
Daniel - avatar
+ 4
I think with HTML is not possible, I don't know if you can with HTML5 but anyway if you want another day we can do something together, surely you need database MYSQL and javascript or php. Maybe we can comunicate by email.
7th Feb 2017, 11:27 PM
Daniel
Daniel - avatar
+ 4
Maybe you can begin with that as example to do which you want first: http://stackoverflow.com/questions/11811782/form-value-creates-a-url but as I said you must to "save point" for referral or what do you want to do exactly with URL referral?
10th Feb 2017, 11:52 PM
Daniel
Daniel - avatar
+ 4
Abubakar Yerima please, check my codes and tell me if you want something like that. Anyway you need to program more in JS or PHP as I said to give some treatment when somebody do click in that link.
11th Feb 2017, 7:23 AM
Daniel
Daniel - avatar
+ 3
Abubakar what do you want to do exactly? Could you explain me please?
7th Feb 2017, 7:56 PM
Daniel
Daniel - avatar
+ 3
Custom or normal link? For example, if you want to share url to your website you only need to show link to www.yourwebsite.com but if you want a custom link then you need something like www.yourwebsite.com/index.php?ref=user First kind is too easy, second, thinking in "points" to user, you need some kind of database to save referral when somebody use custom url.
7th Feb 2017, 10:29 PM
Daniel
Daniel - avatar
+ 3
Abubakar then you must to do that concatenating url with user. What language do you want to use?
7th Feb 2017, 10:40 PM
Daniel
Daniel - avatar
0
yeas why not
7th Feb 2017, 8:34 PM
Abubakar Yerima
Abubakar Yerima - avatar
0
please how can I created a user registeration form? and after the user have successfullyy register to have a referral link which he can invite his friends
7th Feb 2017, 8:40 PM
Abubakar Yerima
Abubakar Yerima - avatar
0
I need it
7th Feb 2017, 10:23 PM
Abubakar Yerima
Abubakar Yerima - avatar
0
I want it to be automatically when user register the system will create his username in front of index. php?ref=the user. user name
7th Feb 2017, 10:33 PM
Abubakar Yerima
Abubakar Yerima - avatar
0
html if possible
7th Feb 2017, 10:42 PM
Abubakar Yerima
Abubakar Yerima - avatar