Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Goran87

    (@goran87)

    Hey,

    for existing customers, link will be generated as soon as they come to their account page, where link is located. For new ones, its generated standardly. So untill customer comes to their account page, they wont have referral link, which is ok as in order to see it, they need to go to the account page.

    Hope this helps.

    Thread Starter yelgnissm

    (@yelgnissm)

    Hi Goran!
    Ok, I think you gave another customer a formula as to how the names are generated?
    like is there a pattern?

    like their username, etc?
    What’s the formula that creates their referral URL, I could create the old one’s that way.

    I really need to do that.

    Mark

    Thread Starter yelgnissm

    (@yelgnissm)

    If I could just extrapolate it for the old customers, that would be super helpful.

    Mark

    Hi Goran,

    Thanks for this great plugin !

    I have the same request as yelgnissm. Would be great if we could generate all the gens_referral_id of the customers at once. Then we could send them by email to all our customers.

    Thanks a lot,
    Pierre-Yves

    Plugin Author Goran87

    (@goran87)

    Hi,

    sorry for late reply.

    Actually at beta version it was simply ID of customer, but it was security risk so i had to create it randomly, in class-gens-raf-public.php, there is a function that is creating referral ID’s, called generate_referral_id . On line 144 of that file, there is:

    $referralID = $this->generate_referral_id();

    you could change it to something like:

    $referralID = “ref”.$user_id;

    and then all referral links would be like ref and user id.

    I hope this helps. And sorry for late reply, have some crazy deadlines so cant find enough free time to be faster with replies.

    Thanks for your reply Goran.
    I will test this option.

    Thanks a lot,
    Pierre-Yves

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to retrieve URL for existing customers’ is closed to new replies.