BitShares Forum

Main => Technical Support => Topic started by: mf-tzo on April 19, 2017, 11:44:08 pm

Title: Is the referral link broken?
Post by: mf-tzo on April 19, 2017, 11:44:08 pm
I know that a couple of people recently have registered via bitshares.gr and they should have been registered under my name and I see they haven't.
I have done a test myself as well and it seems that the referral doesn't work anymore?
https://bitshares.openledger.info/?r=mf-tzo#/create-account

Did I miss something?
Title: Re: Is the referral link broken?
Post by: svk on April 20, 2017, 04:05:47 am
Not sure it should work written like that, you should put the ?r=x at the very end of the URL.
Title: Re: Is the referral link broken?
Post by: fav on April 20, 2017, 05:25:33 am
Not sure it should work written like that, you should put the ?r=x at the very end of the URL.

ref links used to work like this, but anyways: better ask openledger, maybe they broke something
Title: Re: Is the referral link broken?
Post by: xeroc on April 20, 2017, 08:39:42 am
Not sure it should work written like that, you should put the ?r=x at the very end of the URL.
The reflink has to be *before* the #. Otherwise, it won't be sent to the server or interpreted as query string.
Title: Re: Is the referral link broken?
Post by: svk on April 20, 2017, 03:17:59 pm
That is partially true, ref links are not sent directly to the server via the URL though, the query parameter is captured and stored client-side in localstorage. It is then sent to the faucet in the xhr request.
Title: Re: Is the referral link broken?
Post by: mf-tzo on April 20, 2017, 05:28:34 pm
thank you guys...so what is the conclusion? how should I write exactly the ref link in my case to work? @ccedk ? any opinion on that? @xeroc and @svk and @fav can you guys run your tests with your ref links and see what works so we are all on the same page?