Results 1 to 10 of 223

Hybrid View

  1. #1
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    937
    Plugin Contributions
    9

    Default Re: snap-affiliates?

    Turns out I forgot to include the instructions on how to do this... that or I forgot where did I include it.

    Many people here, hopefully everyone unless you're local testing, changed their ZenCart Admin directory. Since there is no way to call the admin directory via a constant, when coding you have to make a little work around.

    When a new affiliate submits their information, you will get a link to "log in to the affiliate control panel" that will take you to the /admin directory. Obviously, this is not correct.

    To fix this, follow the following steps:

    - Open root/includes/modules/pages/referrer_signup/header_php.php where root is the root directory of the ZenCart install.
    - Go to line 62 and/or look for:
    PHP Code:
        HTTP_SERVER DIR_WS_CATALOG "admin/referrers.php?referrer=" $_SESSION['customer_id']. "&mode=details"
    - In line change the admin/ to match the name of the directory where your admin is. For example, if your directory was mxyzptlk you would change the above to:
    PHP Code:
        HTTP_SERVER DIR_WS_CATALOG "mxyzptlk/referrers.php?referrer=" $_SESSION['customer_id']. "&mode=details"
    Reupload and from that point forward, affiliate apps will have the correct link.

  2. #2
    Join Date
    Jun 2007
    Posts
    474
    Plugin Contributions
    2

    Default Re: snap-affiliates?

    Michael,
    Any chance you might update this to the latest version of Zen?

    -lindasdd

  3. #3
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    937
    Plugin Contributions
    9

    Default Re: snap-affiliates?

    Quote Originally Posted by lindasdd View Post
    Michael,
    Any chance you might update this to the latest version of Zen?

    -lindasdd
    Linda,

    So far I'm not having any problems with 1.3.9h. Are there any problems I should be aware of as I'm in the middle of making a new version?

  4. #4
    Join Date
    Dec 2010
    Posts
    1
    Plugin Contributions
    0

    Default Re: snap-affiliates?

    Hi, I am having the same problem as a previous poster. I have over 50 affiliates and when I try and click on a referrer on the second page it just takes me back to page 1 which means I can't manage any of the referrers on the second page.

    Do you have any idea why this would be doing this and how I could fix it? I'm using Zen Cart 1.3.9d.

    Regards,

    Louis

  5. #5
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    937
    Plugin Contributions
    9

    Default Re: snap-affiliates?

    Quote Originally Posted by Wowee View Post
    Hi, I am having the same problem as a previous poster. I have over 50 affiliates and when I try and click on a referrer on the second page it just takes me back to page 1 which means I can't manage any of the referrers on the second page.

    Do you have any idea why this would be doing this and how I could fix it? I'm using Zen Cart 1.3.9d.

    Regards,

    Louis
    It's a bug from the previous coding. I'm working on getting it fixed for the new version which should release in early 2011. (Swamped with other projects)

    A code-fix will be posted ASAP.

  6. #6
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    937
    Plugin Contributions
    9

    Default Re: snap-affiliates?

    Quote Originally Posted by retched View Post
    It's a bug from the previous coding. I'm working on getting it fixed for the new version which should release in early 2011. (Swamped with other projects)

    A code-fix will be posted ASAP.
    Low and behold, this one didn't even take much though...

    Make the following change in /admin/referrers.php

    BEFORE:
    PHP Code:
         ($referrers[$selected] == $referrer) ? "" zen_href_link(FILENAME_REFERRERS"referrer=" $referrer['customers_id'], 'NONSSL') ); 
    AFTER:

    PHP Code:
         ($referrers[$selected] == $referrer) ? "" zen_href_link(FILENAME_REFERRERS"referrer=" $referrer['customers_id'] . "&offset=" $_GET['offset'] . "&limit=" $_GET['limit'], 'NONSSL') ); 
    Let me know how this does for ya.

  7. #7
    Join Date
    Nov 2010
    Location
    Ohio
    Posts
    13
    Plugin Contributions
    0

    Default Re: snap-affiliates?

    Quote Originally Posted by retched View Post
    Low and behold, this one didn't even take much though...

    Make the following change in /admin/referrers.php

    BEFORE:
    PHP Code:
         ($referrers[$selected] == $referrer) ? "" zen_href_link(FILENAME_REFERRERS"referrer=" $referrer['customers_id'], 'NONSSL') ); 
    AFTER:

    PHP Code:
         ($referrers[$selected] == $referrer) ? "" zen_href_link(FILENAME_REFERRERS"referrer=" $referrer['customers_id'] . "&offset=" $_GET['offset'] . "&limit=" $_GET['limit'], 'NONSSL') ); 
    Let me know how this does for ya.
    I can't find this line of code in ADMIN/referrers.php. What line # is it?



    And, should the admin_level be changed to 0 in this file too if we're experiencing email alerts going out as the 2nd Admin profile?
    Last edited by wifeandmomof4; 16 Feb 2011 at 04:17 PM. Reason: another question

  8. #8
    Join Date
    Mar 2009
    Posts
    86
    Plugin Contributions
    0

    Default Re: snap-affiliates?

    A temporary (yet very long) fix would be to change the persons last name, I just usually put an a in front of their last name and they will skip to the first page so that I can change/pay/approve and once I am done, change their last name back.

    It takes a long time to do this but its the only thing I have found to work.

    Quote Originally Posted by Wowee View Post
    Hi, I am having the same problem as a previous poster. I have over 50 affiliates and when I try and click on a referrer on the second page it just takes me back to page 1 which means I can't manage any of the referrers on the second page.

    Do you have any idea why this would be doing this and how I could fix it? I'm using Zen Cart 1.3.9d.

    Regards,

    Louis

  9. #9
    Join Date
    Jun 2007
    Posts
    32
    Plugin Contributions
    0

    Default Re: snap-affiliates?

    It's a great module and worked great on my site.

    But I have a question about the promotion, if I set a product for promotion, I hope the commision from this is different from other normal product, beacause of the lower promotion price.

    Wish the function would be add in the next vision

  10. #10
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    937
    Plugin Contributions
    9

    Default Re: snap-affiliates?

    Quote Originally Posted by goagal View Post
    It's a great module and worked great on my site.

    But I have a question about the promotion, if I set a product for promotion, I hope the commision from this is different from other normal product, beacause of the lower promotion price.

    Wish the function would be add in the next vision
    When you mention promotions, you mean like 50% off promotions?

    This should already be the case for the current version but I will double check it soon. Look out for a site to host this and other modules I modify/create.

 

 

Similar Threads

  1. v151 Snap Affiliates v2.0 for v1.5.0 and later
    By lat9 in forum All Other Contributions/Addons
    Replies: 463
    Last Post: 7 Aug 2025, 11:28 AM
  2. v151 snap affiliates bitcoins
    By unckle fester in forum All Other Contributions/Addons
    Replies: 6
    Last Post: 6 Jun 2014, 07:44 AM
  3. Snap Affiliates Module?
    By asauterChicago in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 12 Apr 2013, 09:45 AM
  4. snap affiliates not emailing
    By mindcraft in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 9 Apr 2012, 11:19 PM
  5. oh Snap!! Broke it again.
    By Serious in forum Basic Configuration
    Replies: 4
    Last Post: 20 Feb 2011, 05:42 PM

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