Affiliate Link to follow numerical sequence only

Hi I am using Post Affiliate Pro as a tracking system. I would like to get Affiliates and Post Affiliate Pro to designate the same Affiliate URL Link to each member as they sign up. I can set Post Affiliate Pro to change the affiliate link to suit all numbers and follow a certain pattern like starting from number 300 going to 301, 302, 303 and so on.

I need to get affiliates plugin to be able to produce a simple affiliate url as well. Is there a way to force the affiliate link sequences? Pref. Numbers as it is the only constant.

What if I just want to take the numbers off the end of the signup affiliates url?
I just want the username to be the affiliate name. Will this be possible and will it conflict if someone tries to sign up with the same username?

In the same thread there is a simple solution that will change the referral link by adding the following to wp-config.php:

define('AFFILIATE_REFERENCE_PREFIX', 'somethinghere');

I've tested this on my end since this is an old thread and I've managed to change referral link with that. After adding it my new users referral link was somethinghere-45. I guess you can use numbers there too but I'm not sure this will get you exactly where you want to be.

If this is not what you're looking for and you need to customize this then you can post a job in our job board where you can hire a developer to assist further:

In short, it is a combination of the user ID plus a fixes KEY value (it can be overridden) that is reverted using strrev().

Now, if you need to integrate our Affiliate tracking with another system, you may want to use one of the provided hooks:
- 'affiliate_click' : It will trigger whenever your site is accessed using a link containing an affiliate reference.
-'affiliate_signup': Triggered when a new signup is completed from a link containing an affiliate reference.

For the parameters sent within each hook, I suggest to search for the hook directly into the code to fully understand it. If there is something unclear, just ping me again here and I'll try to answer your questions.

Hope this helps

Cheers,
Jose

FREE WordPress Tutorials, Tips and Tricks

Enter your email address...

24/7 Unlimited Expert WordPress Support

Being a WPMU DEV member is like having your own WordPress support team - along with 350+ awesome plugins, themes and videos.

How do you rate me?

Thank you for rating your experience!

We’re thrilled to hear you had a great experience with . Would you like to leave a comment about your experience:
Thanks for voting on your experience with , we’d love to get some feedback please.
Ohh no! We’re really sorry to hear you didn’t have a pleasant experience with , we’re always looking at how we can improve and would appreciate you provide some further feedback here please.

it's great that you had a positive one. Based on your experience in this ticket would you please be kind enough to rate us externally on: