Jump to content

determining if someone is already an affiliate


peak

Recommended Posts

For the page in question, add {debug} to the template. This will pop up a window containing all of the variables available. There may not be anything about affiliates on that page, though.

 

I'd recommend copying your existing template to a test template and using that, so users don't get popups with all the variables.

Link to comment
Share on other sites

I did do that, but it there is nothing applicable. I was just wondering what the code snippet was that knew if you were an affiliate when you go to affiliates.php. If you are already an affiliate, it goes to your stats, if not, it prompts you to sign up. However, I think that code is embedded in the affiliates.php, rather then the affiliates.tpl, unfortunately!

 

Thanks for the advice!

Link to comment
Share on other sites

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