Jump to content

Custom Affiliate URL, Need Affiliate ID


MikeDVB

Recommended Posts

I'm not skilled enough with PHP/Smarty myself so I thought I'd ask.

 

I don't want the whole referral URL but just the Affiliate ID number, we've set up short URLs for our affiliates (http://www.ourdomain.com/012) for affiliate number 012 for example and would like to be able to code it into the template page (affiliates.tpl) to display the short URL as an option.

 

Thanks.

Link to comment
Share on other sites

Perhaps I wasn't clear.

 

I already have it set up to do that - already had mod_rewrite in the .htaccess before I posted here. I don't need to know how to do that.

 

I need to know how to *inside a WHMCS template* get the current user's affiliate ID number (not the full URL, just the NUMBER itself) so that I can display the custom URL in the template.

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated