Page 27 of 46 FirstFirst ... 17252627282937 ... LastLast
Results 261 to 270 of 460
  1. #261
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    8
    Plugin Contributions
    0

    Default Re: Snap Affiliates v2.0 for v1.5.0 and later

    Thanks for a great plugin. My client wants the referrers to land on an other page then the homepage. Is it possible to change the URL of the page for all referrals? I've been through most of the php but can't find it. I know i can change it with the deeplink generator but my clients expects a vast amount of affiliates so preffers it automated.

  2. #262
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,410
    Plugin Contributions
    94

    Default Re: Snap Affiliates v2.0 for v1.5.0 and later

    Quote Originally Posted by dsvb View Post
    Thanks for a great plugin. My client wants the referrers to land on an other page then the homepage. Is it possible to change the URL of the page for all referrals? I've been through most of the php but can't find it. I know i can change it with the deeplink generator but my clients expects a vast amount of affiliates so preffers it automated.
    Are you saying that you want a different landing page if the page access was made with the referrer parameter set? If so, you could make your modification to /includes/init_includes/init_snap.php to perform your custom redirect.
    Code:
    <?php
    /*-----
    ** Initialize the session's referrer key.
    */
    //-bof-v2.1.2a
    if (!defined('SNAP_COOKIE_LIFETIME')) {
      define ('SNAP_COOKIE_LIFETIME', 60*60*24*365);
    }
    //-eof-v2.1.2a
    if( isset($_GET['referrer']) ) {
      if( strpos($_GET['referrer'], SNAP_KEY_PREFIX) === 0 ) {
        if( strlen($_GET['referrer']) < 24 ) {
          $_SESSION['referrer_key'] = $_GET['referrer'];
          setcookie("referrer_key", $_GET['referrer'], time() + SNAP_COOKIE_LIFETIME, "/");  /*v2.1.2c*/
    //- Insert your custom redirect here
        }
      }
    
    } else if( $_COOKIE['referrer_key'] ) {
      if( strpos($_COOKIE['referrer_key'], SNAP_KEY_PREFIX) === 0 ) {
        if( strlen($_COOKIE['referrer_key']) < 24 ) {
          $_SESSION['referrer_key'] = $_COOKIE['referrer_key'];
        }
      }
    }

  3. #263
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    8
    Plugin Contributions
    0

    Default Re: Snap Affiliates v2.0 for v1.5.0 and later

    Thanks, but what should I put there? Just to be clear: all I want is a different landing URL for all referrers, thanks in advance

  4. #264
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,410
    Plugin Contributions
    94

    Default Re: Snap Affiliates v2.0 for v1.5.0 and later

    Are you planning on creating a brand-new page for the landing or are you going to use an EZ-Page?

  5. #265
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    8
    Plugin Contributions
    0

    Default Re: Snap Affiliates v2.0 for v1.5.0 and later

    preferably a brand-new page

  6. #266
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,410
    Plugin Contributions
    94

    Default Re: Snap Affiliates v2.0 for v1.5.0 and later

    So, what you'd insert at the spot I indicated is
    Code:
    zen_redirect (zen_href_link (FILENAME_NEW_PAGE_NAME));
    where you've previously set
    Code:
    define ('FILENAME_NEW_PAGE_NAME', 'new_page_name');
    To create a new page is pretty easy, just follow the example provided by the "About Us" plugin.

  7. #267
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    8
    Plugin Contributions
    0

    Default Re: Snap Affiliates v2.0 for v1.5.0 and later

    works ! Thanks a million

  8. #268
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,410
    Plugin Contributions
    94

    Default Re: Snap Affiliates v2.0 for v1.5.0 and later

    Excellent! I'm glad you got it working.

  9. #269
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,410
    Plugin Contributions
    94

    Default Re: Snap Affiliates v2.0 for v1.5.0 and later

    I've submitted v2.7.3 to the Plugins for review. This update adds the home-page link to the admin's Customers->Referrers page, making it possible for the admin to copy/paste the information.

  10. #270
    Join Date
    Nov 2014
    Location
    United States
    Posts
    2
    Plugin Contributions
    0

    Default Re: Snap Affiliates v2.0 for v1.5.0 and later

    Is there anyway to give people a choice of either X dollars in cash or Y dollars in credit for our site?

 

 
Page 27 of 46 FirstFirst ... 17252627282937 ... LastLast

Similar Threads

  1. snap-affiliates?
    By JohnBoyCR in forum All Other Contributions/Addons
    Replies: 222
    Last Post: 16 Oct 2016, 08:10 PM
  2. v139h Seperate login for sales affiliates and distributors ?
    By respawnedelectronics in forum General Questions
    Replies: 4
    Last Post: 5 Jul 2014, 04:40 PM
  3. v151 snap affiliates bitcoins
    By unckle fester in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 6 Jun 2014, 07:44 AM
  4. Snap Affiliates Module?
    By asauterChicago in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 12 Apr 2013, 09:45 AM
  5. snap affiliates not emailing
    By mindcraft in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 9 Apr 2012, 11:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR