Page 5 of 23 FirstFirst ... 3456715 ... LastLast
Results 41 to 50 of 223
  1. #41
    Join Date
    Apr 2009
    Location
    Portland, Oregon
    Posts
    29
    Plugin Contributions
    0

    Default Re: snap-affiliates?

    Has anyone been able to make Snap Affiliates play nice with the SSU (Simple SEO Urls) module? The problem i'm having is with the referral links and the fact that they need to be re-structured to work through SSU's mod-rewrite of URLs.

  2. #42
    Join Date
    May 2006
    Posts
    31
    Plugin Contributions
    0

    Default Re: snap-affiliates?

    Yeah, you would need to change the URL for using SEO
    instead of ABC.com/&referrer=CNWR_11280387020
    The correct one would be ABC.com?referrer=CNWR_11280387020

  3. #43
    Join Date
    Jan 2010
    Posts
    182
    Plugin Contributions
    0

    Default Re: snap-affiliates?

    I am experiencing the same problem as buildingblocks:
    Once I input an address to submit I get this page....

    1054 Unknown column 'REFERRER_DEFAULT_COMMISSION' in 'field list'
    in:
    [insert into referrers (referrer_customers_id, referrer_key, referrer_homepage, referrer_approved, referrer_banned, referrer_commission) values(24,"REFERRER_KEY_PREFIX241280770555","www.testaffiliates.com", 0, 0, REFERRER_DEFAULT_COMMISSION)]

    So, where can I go from here. I am using 1.3.8a and have used the sql file accordingly by copy/paste/send and have installed everything properly to my knowledge.

    I am stuck at this point. I'm not seeing where buildingblocks fixed this.

    Thank you.

  4. #44
    Join Date
    Jan 2010
    Posts
    182
    Plugin Contributions
    0

    Default Re: snap-affiliates?

    To expand upon the above in my last post. I would like some clarification on the "Edit the includes/snapconfigure.php file to reflect your site preferences."

    Maybe that's it.

    Thanks again

  5. #45
    Join Date
    Jan 2010
    Posts
    182
    Plugin Contributions
    0

    Default Re: snap-affiliates?

    Fix to the above...
    OK - So it seems to be version 1.0.2 that you want found on the creators website - I had 1.0. The file that I had to swap out was \includes\modules\pages\referrer_signup\header.php

    That seemed to get rid of that fault when signing up.

  6. #46
    Join Date
    Jan 2010
    Posts
    182
    Plugin Contributions
    0

    Default Re: snap-affiliates?

    This mod works great!

    I am trying to add customer name to the referrer page in admin when an order is displayed for that referrer's commission. I have the layout in the table correctly, but need better code to actually display the customer's name in the currently blank field. Here is my current code:

    This is what I added to the below, what I am missing here?
    printf("<tr>\n");
    printf("<td class='%s'>\n", $toggle ? "historyA" : "historyB" );
    printf("%s\n", $order['customer_name']);




    foreach( $referrers[$selected]['orders'] as $order ) {
    $total = floatval( $order['order_total'] ) - floatval( $order['value'] );
    $commission = floatval( $order['commission_rate'] );

    if( $total < 0 ) {
    $total = 0;
    }
    printf("<tr>\n");
    printf("<td class='%s'>\n", $toggle ? "historyA" : "historyB" );
    printf("%s\n", $order['customer_name']);

    printf("</td>\n");
    printf("<td class='%s'>\n", $toggle ? "historyA" : "historyB" );
    printf("%s\n", $order['date_purchased']);
    printf("</td>\n");


    Thanks

  7. #47
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    521
    Plugin Contributions
    3

    Default Re: snap-affiliates?

    Quote Originally Posted by thelawman View Post
    I had the same issue with the email error.

    Try editing the includes/modules/pages/referrer_signup/header.php file line 56 from 'admin_level = 1' to 'admin_level = 0' or you can do what I did and create a second admin user called Affiliate Manager with a new email address (I used [email protected]) and left the code as is at 'Admin_Level = 1 '

    The pay button is for a manual pay system, i.e you send them a check or PayPal, etc. and then click the button to change the status.

    For me... when an email is sent to the affiliate all it says is
    I'm running into the same problem here...

    I edited the functions_email.php file to echo the filename being used for the template...

    The logic is obviously correct but here's the weird thing:
    C:/Program Files/Abyss Web Server/htdocs/zencart/email/email_template_referrer_banned.html

    C:/Program Files/Abyss Web Server/htdocs/zencart/email/email_template_default.html

    It's outputting BOTH the default AND the name of the file that I want to use. Obviously, something is wrong here...

  8. #48
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    521
    Plugin Contributions
    3

    Default Re: snap-affiliates?

    And after some time looking into this... I figured it out.

    Evidently, if you are using Plain Text.. You'll get this looking the right way... however, if you're HTML... You're screwed.

    So here are the edits you'll need to make, some might be redundant but feel free to let me know (so that I can change mine as well)

    You'll need to make these changes to admin/referrers.php

    1. Look for
      PHP Code:
      function send_notification_email($referrer$subject$text) { 
    2. Change this to
      PHP Code:
      function send_notification_email($referrer$subject$text$block$module_used) { 
    3. Look for
      PHP Code:
            zen_mail($customer['customers_firstname'] . " " $customer['customers_lastname'], 
    4. Now, this one is tricky. In this code block you need to make some changes here... after $admin['admin_email'] add and a comma (,) and then this
      PHP Code:
                 $block,           $module_used 
    5. Now when you're ready... find
      PHP Code:
                     "Your " TITLE " referrer account has been approved!",
                     
      $main_body 
    6. Then after $main_body add a comma, and then add:
      PHP Code:
                     $content_map,
                     
      "referrer_approved" 
    7. Now find
      PHP Code:
                       "Your " TITLE " referrer account has been suspended.",
                       
      $main_body 
    8. After $main_body, add a comma then add
      PHP Code:
                       $content_map,
                       
      "referrer_banned" 
    9. Lastly find,
      PHP Code:
                     "Your " TITLE " commission payment has been made.",
                     
      $main_body 
    10. Then add a comma after $main_body, then add
      PHP Code:
                     $content_map,
                     
      "referrer_paid" 

    And After this you should have emails being sent to people that aren't using EMAIL_TEMPLATE_DEFAULT.PHP but the right one.

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

    Default Re: snap-affiliates?

    Something to work on:

    - Ability to edit details in ACP.
    - Ability to deny applications in ACP.
    - Ability to edit details on the customer side. (Some might change websites.)
    - Ability to add "Where to send my check?"

  10. #50
    Join Date
    May 2010
    Posts
    24
    Plugin Contributions
    0

    Default Re: snap-affiliates?

    Thanks for working on the email issues retched and please keep posting your fixes!!!
    The man who smiles when things go wrong has thought of someone to blame it on. - Robert Bloch

 

 
Page 5 of 23 FirstFirst ... 3456715 ... LastLast

Similar Threads

  1. v151 Snap Affiliates v2.0 for v1.5.0 and later
    By lat9 in forum All Other Contributions/Addons
    Replies: 459
    Last Post: 21 Feb 2023, 05:13 PM
  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

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