Anyone here know how to show JUST the affiliate URL in the member's area? I know the tags to show the member's name and email address, but that's it. I would like to show their affiliate URL as a stand alone link whether in HTML or PHP. Any thoughts?
Well, login and copy that link. Click right mouse button on the link and choose "Copy Shortcut" in menu, then you may paste this link anywhere.
Alex, I don't think you're getting what I'm saying. By doing what you just said, I'd only get the affiliate URL for MY account. I want a specific code that will display EACH affiliate their specific URL. For instance, when 'Adam' logs into his account I can use: Welcome, {$smarty.session._amember_user.name_f} to display his first name (in member.html or any html file). I can then display his phone number, last name, but how do I show THEIR affiliate URL? I can even do it in PHP (as per your manual): <? session_start(); print "Welcome, " . $_SESSION['_amember_user']['name_f'] . " " . $_SESSION['_amember_user']['name_l']; ?> I'm interested in showing the affiliate URL in PHP, but if you can come up with a way in HTML, that's fine as well. I'm guessing it might look something like: <? session_start(); print "Welcome, " . $_SESSION['_amember_user']['name_f'] . " your affiliate link is: " . $_SESSION['_amember_user']['affiliate_link']; ?>
Alex, I was showing those codes as an example of what I'd used in my php files. I'm asking for assistance on HOW TO DISPLAY EACH MEMBER THEIR OWN UNIQUE affiliate URL. If I did what you suggested in the first reply, I'd be giving ALL of my members MY affiliate URL and not their own unique link. They'd then be promoting my affiliate account rather than their own. I'm asking for the script/code that I can use to display their link as if I were displaying their name.
There is THE SAME URL FOR ALL USERS. However, when you open it, it displays different info depending on authenticated user. But information about authenticated user is not in URL, it is in cookies and in PHP session. So link is the same for all.
I am not a programmer atall but you can try something like this <? session_start(); print "Welcome, " . $_SESSION['_amember_user']['name_f'] . " your affiliate link is: http://www.yourdomain/amember/go.php?r=".$_SESSION['_amember_id']&i=l0; ?>
affiliate url in email I think you're trying to do what i want which is send emails out to everyone with THEIR specific affiliate URL correctly sent to them. Somethink like: http://www.wmfsb.com/order/go.php?r={$memberid}&i=l0 Is this correct alex?