Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Can we lock members by Affiliate?

by

Tips and Tricks HQ Support Portal › Forums › WP Affiliate Platform › Can we lock members by Affiliate?

Tagged: Affiliate Commission

  • This topic has 11 replies, 6 voices, and was last updated 4 years, 11 months ago by nadirajamal.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • July 26, 2011 at 10:05 am #3893
    PHDLover
    Member

    Hi sir,

    can we lock members by Affiliate? If we have 2 membership type : free and paid. When an affiliate refers person A to be a free member, and whenever later A decide to upgrade his membership to paid member, the affiliate will be awarded commissions.

    So even if the cookie duration already passed but since this affiliate refer this person A to be a member, he will get commission for every purchases by person A..

    July 26, 2011 at 11:57 pm #34728
    amin007
    Participant

    Nope, if the cookie duration is passed then any purchased from person A will not result affiliate commission. Simply increase the cookie duration value to adjust it to where you are comfortable (for example: you can make the cookie duration 10 years if you wanted to).

    December 18, 2012 at 9:15 am #34729
    jerryc
    Member

    OK, suppose we set the cookie duration for 10 years. Then, suppose a free member gets referred to the site from another affiliate, and later upgrades. Which affiliate will get the commission?

    December 18, 2012 at 10:14 pm #34730
    admin
    Keymaster

    It will be the last affiliate who made the referral.

    December 18, 2012 at 10:26 pm #34731
    jerryc
    Member

    Is there a way to edit the code to amend this? If so, where is it? Thanks.

    December 19, 2012 at 1:30 am #34732
    admin
    Keymaster

    yes, you can make it so the plugin doesn’t override an existing affiliate ID cookie. This way the older referral will be in action. Here is what you can do for this:

    Open the “wp_aff_advanced_configs.php” file and look for the following line of code:

    define('WP_AFFILIATE_DO_NOT_OVERRIDE_AFFILIATE_COOKIE', '0');

    Once you find it, change it to the following:

    define('WP_AFFILIATE_DO_NOT_OVERRIDE_AFFILIATE_COOKIE', '1');

    December 19, 2012 at 1:52 am #34733
    jerryc
    Member

    Fantastic!

    I love customization options, especially when they are so easy to do.

    Thanks.

    April 3, 2018 at 5:05 pm #34734
    nadirajamal
    Member

    I’m glad this option exists! Will this mod be overwritten when the plugin is updated?

    April 3, 2018 at 5:14 pm #34735
    wzp
    Moderator

    Will this mod be overwritten when the plugin is updated?

    Yes. You must keep track of all your code customizations and reapply them.

    April 3, 2018 at 5:37 pm #34736
    nadirajamal
    Member

    Thanks; will do. If you’re taking feature requests, having that as a checkbox in the plugin settings would be really handy.

    April 4, 2018 at 5:11 am #34737
    admin
    Keymaster

    I will add it as a checkbox.

    April 4, 2018 at 2:39 pm #34738
    nadirajamal
    Member

    Thanks!

  • Author
    Posts
Viewing 12 posts - 1 through 12 (of 12 total)
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • WP PDF Stamper Documentation
  • WP Photo Seller Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial
  • WP Photo Seller Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Download Monitor

Copyright © 2023 | Tips and Tricks HQ