I need two different shortcodes for the following situations:
Jack is already an affiliate. His ID is ref-jack001.
John is not an affiliate. He is a visitor.
John clicks on Jack's link: site.com/?ref-jack001.
John is still a visitor, not an affiliate. When he signs up, I want a message to say "Your senior is Jack, ref-jack001".
Q1: What are the shortcodes for Jack (affiliate name) and ref-jack001 (affiliate ID)?
Now, John has become an affiliate through Jack. I want a message to show "Hi, John. This is your affiliate ID: ref-john002. Your senior is Jack, ref-jack001".
Q2: What are the shortcodes for John now? ref-john002 and ref-jack001.
The difference between Q1 and Q2 is John is a visitor in Q1, and is an affiliate in Q2.
Many thanks in advance.